@font-face {
	font-family: Archivo;
	src: url("archivo-black.woff2") format("woff2");
	font-weight: 900;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url("dm-sans.woff2") format("woff2");
	font-weight: 100 1000;
	font-display: swap;
}

.pride-poster,
.ye-pride-app-backdrop {
	background: linear-gradient(129deg, #f6ffad 0 38%, #e7f38d 38.1% 53%, #ff9fce 53.1% 77%, #dfaaff 77.1%);
}

.pride-poster::before,
.ye-pride-app-backdrop::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(#5c397c .65px, transparent .8px) 0 0 / 7px 7px;
	opacity: .16;
}

body.ye-pride-poster {
	margin: 0;
	font: 16px/1.45 "DM Sans", system-ui, sans-serif;
	background: #f6ffad;
	color: #211432;
}

.ye-pride-poster *,
.ye-pride-poster *::before,
.ye-pride-poster *::after {
	box-sizing: border-box;
}

.pride-poster {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	padding: clamp(32px, 6vw, 90px) max(24px, env(safe-area-inset-right))
		clamp(32px, 6vw, 90px) max(24px, env(safe-area-inset-left));
}

.pride-poster::before {
	z-index: -1;
}

.pride-poster-content {
	display: grid;
	grid-template: "art brand" auto "art title" auto "art links" auto / minmax(0, 1.14fr) minmax(0, 1fr);
	align-items: center;
	width: min(100%, 1150px);
	gap: 24px clamp(22px, 4.5vw, 74px);
}

.pride-poster-brand {
	grid-area: brand;
	display: block;
	width: clamp(142px, 17.8vw, 213px);
	height: auto;
}

#pride-install-title {
	grid-area: title;
	z-index: 1;
}

.ye-pride-display-title {
	margin: 0;
	font: 900 clamp(40px, 5.7vw, 84px)/.93 Archivo, "Arial Black", sans-serif;
	letter-spacing: -.076em;
	color: #25123e;
}

.ye-pride-display-title span {
	display: block;
	width: max-content;
	margin: 9px 0 0 -6px;
	padding: 2px 9px 7px 6px;
	background: #542979;
	color: #fff7fc;
	transform: rotate(-3deg);
}

.pride-poster-art {
	grid-area: art;
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	aspect-ratio: 1.39;
	min-width: 0;
	border: 2px solid #321c45;
	border-radius: 12px;
	background: linear-gradient(145deg, #dba0fd 0 59%, #ffafd6 59.1% 76%, #fae989 76.1%);
	box-shadow: 9px 9px 0 #321c45;
	transform: rotate(-4deg);
}

.pride-poster-art::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: repeating-linear-gradient(90deg, transparent 0 22px, #4b296b1d 22px 23px),
		repeating-linear-gradient(0deg, transparent 0 22px, #4b296b1d 22px 23px);
}

.pride-poster-art img {
	display: block;
	width: 100%;
	height: auto;
	transform: rotate(4deg);
}

.pride-poster-actions {
	grid-area: links;
	display: grid;
	justify-items: start;
	gap: 7px;
	z-index: 1;
}

.pride-poster-ios-steps {
	width: min(100%, 400px);
	padding: 14px 17px;
	border: 1px solid #54297950;
	border-radius: 12px;
	background: #fff9f5f2;
	box-shadow: 0 5px 16px #452c6426;
}

.pride-poster-ios-steps h2 {
	margin: 0 0 7px;
	color: #542979;
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 900;
	line-height: 1.15;
	text-transform: uppercase;
}

.pride-poster-ios-steps ol {
	margin: 0;
	padding-inline-start: 1.3em;
}

.pride-poster-ios-steps li {
	padding-inline-start: .2em;
	line-height: 1.35;
}

.pride-poster-ios-steps li + li {
	margin-top: 4px;
}

.pride-poster-ios-steps li::marker {
	color: #542979;
	font-weight: 800;
}

.pride-poster .pride-poster-download {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: min(100%, 330px);
	min-height: 62px;
	padding: 10px 44px;
	border: 1px solid #211432;
	border-radius: 12px;
	background: #211432;
	color: #fff6fe;
	box-shadow: 0 8px 22px #3a1c663b;
	font: 900 clamp(15px, 2.1vw, 17px)/1.1 "DM Sans", system-ui, sans-serif;
	letter-spacing: .055em;
	text-align: center;
	cursor: pointer;
}

.pride-poster-download:hover {
	background: #3c2557;
}

.pride-poster-download span {
	position: absolute;
	right: 20px;
	font-size: 21px;
}

.pride-poster-download:focus-visible {
	outline: 3px solid #692f82;
	outline-offset: 4px;
}

@media (max-width: 850px) {
	.pride-poster,
	.ye-pride-app-backdrop {
		background: linear-gradient(157deg, #f3fda5 0 37%, #edfa9c 37.1% 47%, #ffadd5 47.1% 72%, #dda9ff 72.1%);
	}

	.pride-poster {
		padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
			max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
	}

	.pride-poster-content {
		grid-template: "brand" "title" "art" "links" / minmax(0, 1fr);
		width: min(100%, 500px);
		justify-items: center;
		gap: 21px;
	}

	.pride-poster-content.has-ios-install {
		grid-template-areas: "brand" "title" "links" "art";
	}

	.pride-poster-brand {
		width: 157px;
	}

	#pride-install-title {
		font-size: clamp(34px, 10.7vw, 62px);
		text-align: center;
	}

	#pride-install-title span {
		margin-inline: auto;
	}

	.pride-poster-art {
		width: min(91%, 405px);
		margin: 1px 0 5px;
		box-shadow: 6px 6px 0 #321c45;
	}

	.pride-poster-actions {
		justify-items: center;
		width: min(100%, 340px);
	}

	.pride-poster .pride-poster-download {
		width: 100%;
	}
}

@media (max-width: 365px) {
	.pride-poster-content {
		gap: 16px;
	}

	.pride-poster-brand {
		width: 139px;
	}

	.pride-poster .pride-poster-download {
		min-height: 56px;
	}
}
