.tag-mobile-app-splash[hidden],
.tag-mobile-app-offer[hidden],
.tag-mobile-app-modal[hidden],
.tag-mobile-app-notify[hidden] {
	display: none !important;
}

.tag-mobile-app-splash,
.tag-mobile-app-offer,
.tag-mobile-app-modal,
.tag-mobile-app-notify {
	box-sizing: border-box;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tag-mobile-app-ineligible .tag-mobile-app-splash,
.tag-mobile-app-ineligible .tag-mobile-app-offer,
.tag-mobile-app-ineligible .tag-mobile-app-modal,
.tag-mobile-app-ineligible .tag-mobile-app-notify {
	display: none !important;
}


.tag-mobile-app-splash {
	--tag-mobile-app-splash-image: none;
	position: fixed;
	z-index: 2147483600;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
	background:
		linear-gradient(180deg, rgba(16, 34, 46, 0.28), rgba(12, 20, 28, 0.68)),
		var(--tag-mobile-app-splash-image),
		radial-gradient(circle at 20% 18%, rgba(115, 216, 255, 0.38), transparent 34%),
		radial-gradient(circle at 80% 0%, rgba(255, 215, 136, 0.30), transparent 28%),
		linear-gradient(135deg, #10273b 0%, #1f5775 36%, #2f8fb8 62%, #f3be6a 100%);
	background-size: cover, cover, auto, auto, auto;
	background-position: center center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .32s ease, visibility .32s ease;
	overflow: hidden;
}

.tag-mobile-app-splash.is-visible {
	opacity: 1;
	visibility: visible;
}

.tag-mobile-app-splash__backdrop {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 15, 20, .15), rgba(8, 15, 20, .55));
}

.tag-mobile-app-splash__glow {
	position: absolute;
	border-radius: 999px;
	filter: blur(8px);
	opacity: .55;
	pointer-events: none;
}

.tag-mobile-app-splash__glow--one {
	width: min(58vw, 340px);
	height: min(58vw, 340px);
	top: 8%;
	left: -10%;
	background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 65%);
}

.tag-mobile-app-splash__glow--two {
	width: min(72vw, 420px);
	height: min(72vw, 420px);
	bottom: -8%;
	right: -14%;
	background: radial-gradient(circle, rgba(255,210,130,.45), rgba(255,210,130,0) 65%);
}

.tag-mobile-app-splash__content {
	position: relative;
	z-index: 1;
	width: min(100%, 560px);
	padding: 28px 28px 24px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 28px;
	background: rgba(8, 20, 29, 0.32);
	box-shadow: 0 24px 70px rgba(0,0,0,.28);
	backdrop-filter: blur(18px);
	text-align: center;
	color: #fff;
}

.tag-mobile-app-splash__icon {
	display: inline-block;
	width: 94px;
	height: 94px;
	margin: 0 auto 18px;
	border-radius: 24px;
	box-shadow: 0 14px 36px rgba(0,0,0,.28);
	background: rgba(255,255,255,.12);
}

.tag-mobile-app-splash__eyebrow {
	margin: 0 0 8px !important;
	color: rgba(255,255,255,.82);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tag-mobile-app-splash h1 {
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(28px, 5vw, 42px) !important;
	font-weight: 800 !important;
	line-height: 1.06 !important;
	text-wrap: balance;
}

.tag-mobile-app-splash__message {
	margin: 14px auto 0 !important;
	max-width: 34ch;
	color: rgba(255,255,255,.92) !important;
	font-size: clamp(15px, 2.8vw, 18px) !important;
	line-height: 1.55 !important;
	text-wrap: balance;
}

.tag-mobile-app-splash__loader {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 24px;
}

.tag-mobile-app-splash__loader span {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: rgba(255,255,255,.92);
	animation: tagMobileAppSplashPulse 1.15s ease-in-out infinite;
}

.tag-mobile-app-splash__loader span:nth-child(2) {
	animation-delay: .15s;
}

.tag-mobile-app-splash__loader span:nth-child(3) {
	animation-delay: .3s;
}

body.tag-mobile-app-splash-open {
	overflow: hidden;
}

@keyframes tagMobileAppSplashPulse {
	0%, 80%, 100% {
		transform: translateY(0) scale(.72);
		opacity: .45;
	}
	40% {
		transform: translateY(-3px) scale(1);
		opacity: 1;
	}
}

.tag-mobile-app-offer {
	position: fixed;
	z-index: 2147483000;
	right: 14px;
	bottom: calc(14px + env(safe-area-inset-bottom));
	left: 14px;
	margin: 0 auto;
	max-width: 620px;
}

.tag-mobile-app-offer__card {
	position: relative;
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	gap: 15px;
	padding: 18px;
	border: 1px solid rgba(36, 27, 23, 0.12);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.985);
	box-shadow: 0 18px 50px rgba(31, 24, 20, 0.24);
	color: #241b17;
	backdrop-filter: blur(12px);
}

.tag-mobile-app-offer__icon {
	display: block;
	width: 68px;
	height: 68px;
	border-radius: 15px;
	background: #fff;
	object-fit: contain;
}

.tag-mobile-app-offer__content {
	min-width: 0;
	padding-right: 22px;
}

.tag-mobile-app-offer__eyebrow {
	margin: 0 0 4px !important;
	color: #6d635d;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .07em;
	line-height: 1.2;
	text-transform: uppercase;
}

.tag-mobile-app-offer h2,
.tag-mobile-app-modal h2 {
	margin: 0 0 7px !important;
	color: #241b17 !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	line-height: 1.18 !important;
}

.tag-mobile-app-offer__content > p:not(.tag-mobile-app-offer__eyebrow) {
	margin: 0 !important;
	color: #59504b !important;
	font-size: 14px !important;
	line-height: 1.48 !important;
}

.tag-mobile-app-offer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 13px;
}

.tag-mobile-app-button {
	appearance: none;
	min-height: 42px;
	margin: 0;
	padding: 0 16px;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1;
	cursor: pointer;
}

.tag-mobile-app-button--primary {
	border: 1px solid #2b8fbf;
	background: #2fb4f4;
	color: #10232d;
}

.tag-mobile-app-button--primary:hover,
.tag-mobile-app-button--primary:focus-visible {
	background: #53c3f7;
}

.tag-mobile-app-button--secondary {
	border: 1px solid #d9d2cc;
	background: #f7f4f1;
	color: #403630;
}

.tag-mobile-app-offer__close,
.tag-mobile-app-modal__close,
.tag-mobile-app-notify__dismiss {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #6b625d;
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
}

.tag-mobile-app-offer__close {
	position: absolute;
	top: 8px;
	right: 8px;
}

.tag-mobile-app-offer__close:hover,
.tag-mobile-app-offer__close:focus-visible,
.tag-mobile-app-modal__close:hover,
.tag-mobile-app-modal__close:focus-visible,
.tag-mobile-app-notify__dismiss:hover,
.tag-mobile-app-notify__dismiss:focus-visible {
	background: #f0ece8;
	color: #241b17;
}

.tag-mobile-app-modal {
	position: fixed;
	z-index: 2147483001;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
}

.tag-mobile-app-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(29, 23, 19, .58);
}

.tag-mobile-app-modal__panel {
	position: relative;
	width: min(100%, 560px);
	max-height: min(78dvh, 650px);
	padding: 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0,0,0,.3);
	overflow-y: auto;
}

.tag-mobile-app-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
}

.tag-mobile-app-modal__steps {
	margin: 18px 0 14px 22px;
	padding: 0;
	color: #403630;
	font-size: 16px;
	line-height: 1.55;
}

.tag-mobile-app-modal__steps li + li {
	margin-top: 10px;
}

.tag-mobile-app-modal__generic p,
.tag-mobile-app-modal__note {
	color: #5b514b;
	font-size: 15px;
	line-height: 1.55;
}

.tag-mobile-app-modal__note {
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px solid #e9e3de;
}

body.tag-mobile-app-modal-open {
	overflow: hidden;
}

.tag-mobile-app-notify {
	position: fixed;
	z-index: 2147482999;
	right: 14px;
	bottom: calc(14px + env(safe-area-inset-bottom));
	left: 14px;
	margin: 0 auto;
	max-width: 620px;
}

.tag-mobile-app-notify__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 16px;
	border: 1px solid rgba(36, 27, 23, .12);
	border-radius: 16px;
	background: rgba(255,255,255,.985);
	box-shadow: 0 16px 42px rgba(31,24,20,.2);
	color: #241b17;
}

.tag-mobile-app-notify strong,
.tag-mobile-app-notify span {
	display: block;
}

.tag-mobile-app-notify strong {
	margin-bottom: 3px;
	font-size: 15px;
}

.tag-mobile-app-notify span {
	color: #625852;
	font-size: 13px;
	line-height: 1.4;
}

.tag-mobile-app-notify__actions {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
}

@media (max-width: 520px) {
	.tag-mobile-app-offer__card {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 12px;
		padding: 15px;
	}

	.tag-mobile-app-offer__icon {
		width: 54px;
		height: 54px;
		border-radius: 12px;
	}

	.tag-mobile-app-offer h2,
	.tag-mobile-app-modal h2 {
		font-size: 18px !important;
	}

	.tag-mobile-app-offer__actions {
		flex-direction: column;
	}

	.tag-mobile-app-button {
		width: 100%;
	}

	.tag-mobile-app-notify__inner {
		align-items: stretch;
		flex-direction: column;
	}

	.tag-mobile-app-notify__actions .tag-mobile-app-button {
		width: auto;
		flex: 1 1 auto;
	}
}

@media (min-width: 1367px), (hover: hover) and (pointer: fine) {
	html:not(.tag-mobile-app-eligible) .tag-mobile-app-offer,
	html:not(.tag-mobile-app-eligible) .tag-mobile-app-modal,
	html:not(.tag-mobile-app-eligible) .tag-mobile-app-notify {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tag-mobile-app-offer *,
	.tag-mobile-app-modal *,
	.tag-mobile-app-notify * {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}

/* Firebase notification connection feedback. */
.tag-mobile-app-notify__status {
	margin-top: 5px;
	color: #39721d !important;
	font-size: 12px !important;
	font-weight: 650;
}

.tag-mobile-app-notify__status.is-error {
	color: #9b1c1c !important;
}

.tag-mobile-app-button:disabled {
	cursor: wait;
	opacity: .68;
}

/* Installed PWA navigation shell. Hidden in ordinary browser tabs. */
.tag-mobile-app-nav {
	display: none;
}

html.tag-mobile-app-standalone body {
	padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
}

html.tag-mobile-app-standalone .tag-mobile-app-nav {
	position: fixed;
	z-index: 2147482998;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	min-height: 66px;
	padding: 5px max(10px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
	border-top: 1px solid rgba(36, 27, 23, .12);
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 -8px 28px rgba(31, 24, 20, .10);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.tag-mobile-app-nav a {
	display: flex;
	min-width: 0;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 2px;
	border-radius: 12px;
	color: #5f5650;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
}

.tag-mobile-app-nav a span {
	font-size: 25px;
	font-weight: 500;
	line-height: 1;
}

.tag-mobile-app-nav a strong {
	font-size: 11px;
	font-weight: 750;
	line-height: 1.15;
}

.tag-mobile-app-nav a.is-active {
	background: rgba(47, 180, 244, .12);
	color: #166e98;
}

@media (min-width: 1367px) {
	.tag-mobile-app-nav {
		display: none !important;
	}
}


@media (max-width: 640px) {
	.tag-mobile-app-splash__content {
		padding: 24px 20px 22px;
		border-radius: 24px;
	}

	.tag-mobile-app-splash__icon {
		width: 84px;
		height: 84px;
		margin-bottom: 16px;
	}
}
