#install-app[hidden], #install-nudge[hidden] {
	display: none !important;
}
#install-nudge, #install-help {
	color: #221b21;
}
#install-app {
	margin: 0;
}

.ye-pride-hero #install-apple {
	grid-area: apple;
	justify-self: end;
	min-height: 44px;
	margin: 0;
}

.ye-pride-hero #install-apple,
#install-apple-walkthrough [data-install-next] {
	padding: 8px 13px;
	border: 1px solid #241732;
	border-radius: 9px;
	background: #241732;
	color: #fff;
	font: 850 14px/1.2 "DM Sans", system-ui, sans-serif;
	text-transform: uppercase;
	cursor: pointer;
}

.ye-pride-hero #install-apple:hover,
#install-apple-walkthrough [data-install-next]:hover {
	background: #542879;
}

.ye-pride-hero #install-apple span {
	margin-inline-start: 3px;
	font-size: 17px;
}

#install-nudge, #install-help {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e4d8ec;
	border-top: 4px solid #000;
	border-radius: 7px;
	padding: 16px;
	box-shadow: 0 7px 28px #221b2129;
}
#install-nudge {
	position: fixed;
	z-index: 1050;
	inset-inline-end: clamp(20px, 4vw, 36px);
	bottom: max(14px, env(safe-area-inset-bottom));
	width: min(395px, calc(100% - 40px));
}
@media (max-width: 760px) {
	#install-nudge {
		inset-inline: 0;
		bottom: calc(78px + env(safe-area-inset-bottom));
		width: min(395px, calc(100% - 32px));
		margin-inline: auto;
	}
}
#install-help {
	width: min(490px, calc(100% - 40px));
	max-height: calc(100dvh - 28px);
	margin: auto;
}
#install-help::backdrop {
	background: #24182380;
}

#install-help.ye-pride-apple-help {
	inset: auto 0 0;
	width: min(100%, 480px);
	max-width: 100%;
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
	margin: 0 auto;
	padding: 16px 16px max(15px, env(safe-area-inset-bottom));
	border: 1px solid #d6bee3;
	border-radius: 19px 19px 0 0;
	background: #fffafd;
	color: #26173a;
	font-family: "DM Sans", system-ui, sans-serif;
}

.ye-pride-apple-help .ye-pride-install-heading {
	gap: 9px;
	margin-bottom: 10px;
}

.ye-pride-apple-help .ye-pride-apple-install-icon {
	flex: 0 0 40px;
	border-radius: 10px;
}

#install-help.ye-pride-apple-help h2 {
	flex: 1;
	margin: 0;
	font-size: clamp(18px, 5vw, 23px);
}

.ye-pride-apple-help .ye-pride-install-close {
	border-radius: 50%;
	background: #eee2f5;
	color: #542879;
}

#install-help .ye-pride-apple-step-count {
	margin-bottom: 4px;
	color: #542879;
	font-size: 13px;
	font-weight: 850;
}

#install-apple-walkthrough h3 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 850;
}

.ye-pride-install-layouts,
.ye-pride-install-step-nav {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

#install-apple-walkthrough button {
	min-height: 44px;
}

#install-help .ye-pride-install-layouts button,
#install-help [data-install-prev] {
	padding: 7px 10px;
	border: 1px solid #d8c5e3;
	border-radius: 8px;
	background: #fff;
	color: #26173a;
	font: 800 14px/1.15 "DM Sans", system-ui, sans-serif;
	cursor: pointer;
}

.ye-pride-install-layouts button {
	flex: 1;
}

#install-help .ye-pride-install-layouts button:hover,
#install-help [data-install-prev]:hover {
	background: #f5eef9;
}

#install-help .ye-pride-install-layouts button[aria-pressed="true"] {
	border-color: #9a74b2;
	background: #e9d7f6;
}

#install-apple-walkthrough [data-install-next] {
	min-width: 105px;
	margin-inline-start: auto;
}

.ye-pride-install-example {
	margin-top: 9px;
	padding: 9px;
	border: 1px solid #deccea;
	border-radius: 10px;
	background: #f7effa;
}

.ye-pride-install-example-title {
	margin-bottom: 6px;
	color: #675271;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.ye-pride-install-toolbar,
.ye-pride-install-example-row {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 33px;
	padding: 5px 7px;
	border-radius: 7px;
	background: #fff;
	font-size: 14px;
	font-weight: 750;
}

.ye-pride-install-toolbar {
	background: #e9dfef;
}

.ye-pride-install-site {
	min-width: 0;
	flex: 1;
	overflow: hidden;
	padding: 4px;
	border-radius: 5px;
	background: #fff;
	font-size: 12px;
	text-align: center;
	text-overflow: ellipsis;
}

.ye-pride-install-mark,
.ye-pride-install-plus {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	border: 2px solid #8144a9;
	border-radius: 7px;
	background: #f8ebff;
	color: #542879;
}

.ye-pride-install-share-icon {
	position: relative;
	width: 12px;
	height: 11px;
	margin-top: 5px;
	border: 1.5px solid currentColor;
	border-top-color: transparent;
	border-radius: 2px;
}

.ye-pride-install-share-icon::before {
	content: "↑";
	position: absolute;
	inset: -10px 0 auto;
	line-height: 1.4;
	text-align: center;
}

#install-help .ye-pride-install-example p {
	margin-top: 5px;
	color: #542879;
	font-weight: 800;
}

.ye-pride-install-highlight {
	margin-top: 5px;
	outline: 2px solid #8144a9;
	background: #f3e7fc;
	color: #542879;
}

.ye-pride-install-arrow {
	flex: 0 0 auto;
	color: #542879;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.ye-pride-install-switch-arrow {
	margin-inline-start: auto;
}

#install-help .ye-pride-install-missing-action {
	margin-top: 8px;
	font-size: 13px;
}

.ye-pride-install-switch {
	width: 25px;
	height: 14px;
	flex: 0 0 25px;
	border: 2px solid #60854f;
	border-radius: 9px;
	background: radial-gradient(circle at 75% 50%, #fff 0 4px, #60854f 4.5px);
}

#install-nudge h2, #install-help h2 {
	margin: 0 0 5px;
	font-size: 20px;
	line-height: 1.15;
	font-weight: 800;
}
#install-help h3 {
	margin: 12px 0 3px;
	font-size: 16px;
	font-weight: 750;
}
#install-nudge p, #install-help p {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: #514759;
}
#install-nudge .ye-pride-install-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 12px;
}
#install-nudge .ye-pride-install-actions button {
	width: 100%;
	margin: 0;
	white-space: normal;
}
#nudge-install {
	grid-column: 1 / -1;
}
.ye-pride-install-heading {
	display: flex;
	align-items: center;
	gap: 5px 10px;
	justify-content: space-between;
}
.ye-pride-install-heading form {
	margin: 0;
}
.ye-pride-programme button.ye-pride-button,
#install-nudge button.ye-pride-button,
.ye-pride-install-text {
	min-height: 44px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.22;
	text-transform: uppercase;
	cursor: pointer;
}

.ye-pride-programme button.ye-pride-button,
#install-nudge button.ye-pride-button {
	border: 1px solid #000;
	border-radius: 5px;
	padding: 9px 12px;
	background: #000;
	color: #fff;
}

.ye-pride-programme button.ye-pride-button:hover,
#install-nudge button.ye-pride-button:hover {
	border-color: #2d2b2f;
	background: #2d2b2f;
	color: #fff;
}

#install-nudge button[data-dismiss-install] {
	border: 1px solid #8b759d;
	border-radius: 5px;
	padding: 8px 10px;
	background: #faf5ff;
	color: #241633;
}

#install-nudge button[data-dismiss-install]:hover {
	border-color: #60338a;
	background: #f0e4fd;
	color: #241633;
}

.ye-pride-programme button.ye-pride-view-button[aria-pressed="false"] {
	border-color: #d4cbd8;
	background: #fff;
	color: #000;
}

.ye-pride-programme button.ye-pride-view-button[aria-pressed="false"]:hover {
	border-color: #000;
	background: #f4f3f4;
}

#install-nudge button:focus-visible,
#install-help button:focus-visible {
	outline: 2px solid #60338a;
	outline-offset: 3px;
}

.ye-pride-install-text {
	color: #221b21;
	background: transparent;
	border: 0;
	padding: 5px 2px;
}
.ye-pride-install-text:hover {
	text-decoration: underline;
}
.ye-pride-install-close {
	min-width: 44px;
	font-size: 22px;
	line-height: 1;
}
