/* SFC Spin Wheel — Figma popup implementation */
.sfc-spin-wheel,
.sfc-spin-wheel * {
	box-sizing: border-box;
}

.sfc-spin-wheel {
	position: fixed;
	inset: 0;
	z-index: 1000001;
	display: grid;
	place-items: center;
	padding: 20px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease, visibility 0s linear 360ms;
	font-family: "Avenir Next", Avenir, Arial, sans-serif;
}

.sfc-spin-wheel.is-open,
.sfc-spin-wheel.is-closing {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.sfc-spin-wheel.is-open {
	transition: opacity 220ms ease, visibility 0s linear 0s;
}

.sfc-spin-wheel-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 31, 62, 0.58);
	opacity: 0;
	transition: opacity 220ms ease;
}

.sfc-spin-wheel.is-open .sfc-spin-wheel-overlay,
.sfc-spin-wheel.is-closing .sfc-spin-wheel-overlay {
	opacity: 1;
}

.sfc-spin-wheel-dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: calc(100vh - 40px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 32px;
	border: 1px solid #d4af37;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 16px 16px rgba(0, 26, 51, 0.2);
	transform: translateY(20px) scale(0.98);
	transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sfc-spin-wheel.is-open .sfc-spin-wheel-dialog {
	transform: translateY(0) scale(1);
}

.sfc-spin-wheel.is-result .sfc-spin-wheel-dialog {
	width: min(580px, 100%);
	border-width: 2px;
	box-shadow: 0 16px 32px rgba(0, 26, 51, 0.2);
}

.sfc-spin-wheel.is-closing .sfc-spin-wheel-dialog {
	transform: translateY(20px) scale(0.98);
}

.sfc-spin-wheel-language {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: inline-flex;
	min-width: 52px;
	height: 32px;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	border: 0;
	border-radius: 10px;
	background: #fffdf8;
	color: #022147;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.7px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(2, 33, 71, 0.12), inset 0 -2px 0 rgba(212, 175, 55, 0.72);
	transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sfc-spin-wheel-language:hover,
.sfc-spin-wheel-language:focus-visible {
	background: #faf3e0;
	color: #0467c3;
	box-shadow: 0 6px 14px rgba(2, 33, 71, 0.16), inset 0 -2px 0 #d4af37;
	transform: translateY(-1px);
}

.sfc-spin-wheel-language:focus-visible {
	outline: 2px solid #32de8a;
	outline-offset: 3px;
}

.sfc-spin-wheel-language:active {
	transform: translateY(0) scale(0.96);
}

.sfc-spin-wheel-button:focus-visible,
.sfc-spin-wheel-decline:focus-visible,
.sfc-spin-wheel-terms:focus-visible,
.sfc-spin-wheel-open:focus-visible {
	outline: 2px solid #32de8a;
	outline-offset: 3px;
}

.sfc-spin-wheel-view {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 24px;
	width: 100%;
}

.sfc-spin-wheel-view[hidden] {
	display: none !important;
}

.sfc-spin-wheel-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	text-align: center;
}

.sfc-spin-wheel-title,
.sfc-spin-wheel-subtitle,
.sfc-spin-wheel-lead,
.sfc-spin-wheel-consent,
.sfc-spin-wheel-decline,
.sfc-spin-wheel-terms {
	margin: 0;
}

.sfc-spin-wheel-title {
	color: #022147;
	font-size: 32px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.36;
	text-align: center;
	text-transform: uppercase;
}

.sfc-spin-wheel-subtitle {
	color: #0467c3;
	font-size: 18px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.4;
	text-transform: uppercase;
}

.sfc-spin-wheel-lead {
	max-width: 460px;
	margin: 0 auto;
	color: #475569;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	text-transform: none;
}

.sfc-spin-wheel-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	color: #475569;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.38;
	text-align: left;
	cursor: pointer;
}

.sfc-spin-wheel-consent input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 3px;
}

.sfc-spin-wheel-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sfc-wheel {
	position: relative;
	display: grid;
	width: 100%;
	height: 334px;
	flex: 0 0 auto;
	place-items: center;
	overflow: visible;
}

.sfc-wheel-stage {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	transform-origin: center;
	will-change: transform;
}

.sfc-wheel-rotor {
	container-type: inline-size;
	position: relative;
	width: min(300.6px, 100%);
	height: auto;
	aspect-ratio: 1;
	transform: rotate(var(--sfc-wheel-rotation, 218.74deg));
	transform-origin: center;
	transition: transform 3600ms cubic-bezier(0.65, 0, 0.35, 1);
	will-change: transform;
	backface-visibility: hidden;
}

.sfc-spin-wheel.is-open:not(.is-spinning) .sfc-wheel-stage {
	animation: sfc-wheel-preview 4.5s ease-in-out infinite;
	animation-play-state: running;
}

.sfc-spin-wheel.is-spinning .sfc-wheel-rotor {
	animation: none !important;
}

.sfc-spin-wheel.is-spinning .sfc-wheel-stage {
	animation: none !important;
}

.sfc-wheel-artboard {
	position: relative;
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
}

.sfc-wheel-frame {
	position: absolute;
	top: -8%;
	left: -8%;
	display: block;
	width: 116%;
	height: 116%;
	max-width: none;
}

.sfc-wheel-labels {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 97%;
	height: 100.5%;
	transform: translate(-50%, -50%) rotate(180deg);
	transform-origin: center;
}

.sfc-wheel-label {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	color: #fff;
	font-size: clamp(7px, 2.9cqw, 9.5px);
	font-weight: 400;
	letter-spacing: 0.35px;
	line-height: 1.14;
	text-align: center;
	white-space: normal;
	overflow-wrap: normal;
	word-break: normal;
	text-wrap: balance;
	transform-origin: center;
}

.sfc-wheel-label strong {
	display: block;
	width: 100%;
	max-width: 100%;
	font-size: clamp(9px, 4.2cqw, 12.5px);
	font-weight: 700;
	line-height: 1.28;
	text-transform: uppercase;
}

.sfc-wheel-label > span {
	width: 100%;
	max-width: 100%;
}

.sfc-wheel-label-solo {
	top: 44.72%;
	left: 84.92%;
	width: 20.45%;
	height: 25.33%;
	transform: translateX(-50%) rotate(98.35deg);
}

.sfc-wheel-label-duo {
	top: 69.74%;
	left: 62.03%;
	width: 28.46%;
	height: 23.55%;
	transform: translateX(-50%) rotate(159.73deg);
}

.sfc-wheel-label-second-ticket {
	top: 56.47%;
	left: 27.68%;
	width: 36.34%;
	height: 32.87%;
	font-size: clamp(8px, 3.7cqw, 11px);
	letter-spacing: 0.25px;
	transform: translateX(-50%) rotate(-141.15deg);
}

.sfc-wheel-label-second-ticket strong,
.sfc-wheel-label-three strong,
.sfc-wheel-label-half-price strong {
	font-size: clamp(8px, 3.7cqw, 11px);
}

.sfc-wheel-label-three {
	top: 24.57%;
	left: 17.36%;
	width: 35.06%;
	height: 37.36%;
	font-size: clamp(8px, 3.7cqw, 11px);
	letter-spacing: 0.25px;
	text-transform: uppercase;
	transform: translateX(-50%) rotate(-79.56deg);
}

.sfc-wheel-label-half-price {
	top: 5.75%;
	left: 39.51%;
	width: 41.86%;
	height: 27.06%;
	font-size: clamp(8px, 3.7cqw, 11px);
	transform: translateX(-50%) rotate(-17.15deg);
}

.sfc-wheel-label-free-ticket {
	top: 6.71%;
	left: 74.28%;
	width: 39.18%;
	height: 37.06%;
	transform: translateX(-50%) rotate(43.51deg);
}

.sfc-wheel-label-free-ticket strong {
	font-size: clamp(8px, 3.2cqw, 10px);
}

.sfc-wheel-pointer {
	position: absolute;
	left: 50%;
	z-index: 3;
	width: min(36.072px, 12%);
	height: auto;
	transform: translateX(-50%);
	transform-origin: 50% 100%;
	will-change: transform;
}

.sfc-wheel-pointer-top {
	/* Figma places the rotated SVG tip about 15px inside the wheel edge. */
	top: calc(50% - min(150.3px, 50%) - min(33px, 16%));
}

.sfc-wheel-pointer-image,
.sfc-wheel-hub-image {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.sfc-wheel-pointer-image {
	transform: rotate(180deg);
	transform-origin: center;
}

.sfc-wheel-hub {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	width: min(48.096px, 16%);
	height: auto;
	transform: translate(-50%, -50%);
}

.sfc-spin-wheel-button {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 24px;
	border: 0;
	border-radius: 10px;
	background: #32de8a;
	color: #022147;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.38;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

.sfc-spin-wheel-button:hover:not(:disabled),
.sfc-spin-wheel-button:focus-visible:not(:disabled) {
	box-shadow: 0 8px 16px rgba(0, 72, 137, 0.16);
	transform: translateY(-1px);
}

.sfc-spin-wheel-button:disabled {
	background: #e0e0e0;
	color: #475569;
	cursor: not-allowed;
	opacity: 0.6;
}

.sfc-spin-wheel-decline,
.sfc-spin-wheel-terms {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.38;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.sfc-spin-wheel-decline {
	color: #eb5757;
}

.sfc-spin-wheel-terms {
	color: #022147;
}

.sfc-spin-wheel-form-wheel {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 334px;
}

.sfc-spin-wheel-form {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin: 0;
}

.sfc-spin-wheel-email-field {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 46px;
}

.sfc-spin-wheel-email-field input {
	display: block;
	width: 100%;
	height: 46px;
	padding: 12px 46px 12px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	color: #022147;
	font: inherit;
	font-size: 16px;
	line-height: 1.38;
	outline: none;
}

.sfc-spin-wheel-email-field input:focus {
	border-color: #32de8a;
	box-shadow: 0 0 0 2px rgba(50, 222, 138, 0.2);
}

#sfc-spin-wheel-modal .sfc-spin-wheel-email-field input::placeholder,
#sfc-spin-wheel-modal .sfc-spin-wheel-email-field input::-webkit-input-placeholder,
#sfc-spin-wheel-modal .sfc-spin-wheel-email-field input::-moz-placeholder,
#sfc-spin-wheel-modal .sfc-spin-wheel-email-field input:-ms-input-placeholder {
	font-family: inherit;
	font-weight: 400 !important;
}

.sfc-spin-wheel-email-check {
	position: absolute;
	right: 16px;
	display: none;
	width: 16px;
	height: 16px;
}

.sfc-spin-wheel-email-field.is-valid .sfc-spin-wheel-email-check {
	display: block;
}

.sfc-spin-wheel-email-field.is-invalid input {
	border-color: #eb5757;
}

.sfc-spin-wheel-email-field.is-pending input {
	border-color: #d4af37;
}

.sfc-spin-wheel-email-field.is-used .sfc-spin-wheel-email-check {
	display: none;
}

.sfc-spin-wheel-form.is-email-used .sfc-spin-wheel-button-submit {
	display: none !important;
}

.sfc-spin-wheel-status {
	min-height: 0;
	margin: -8px 0 0;
	color: #eb5757;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
}

.sfc-spin-wheel-status:empty {
	display: none;
}

.sfc-result-view {
	position: relative;
	overflow: hidden;
}

.sfc-result-sparkles {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.sfc-result-star {
	position: absolute;
	display: block;
	max-width: none;
	height: auto;
}

.sfc-result-star-main {
	top: 44px;
	left: 9%;
	width: 36px;
}

.sfc-result-star-small {
	top: 76px;
	right: 10%;
	width: 24px;
}

.sfc-result-star-bottom {
	bottom: 104px;
	left: 12%;
	width: 28px;
}

.sfc-result-star-right {
	right: 10%;
	bottom: 164px;
	width: 32px;
}

.sfc-result-body,
.sfc-result-promo,
.sfc-result-footer {
	position: relative;
	z-index: 1;
}

.sfc-result-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	text-align: center;
}

.sfc-result-badge,
.sfc-result-title,
.sfc-result-offer,
.sfc-result-description,
.sfc-result-label,
.sfc-result-copy-status,
.sfc-result-email-status,
.sfc-result-apply,
.sfc-result-expires,
.sfc-result-legal {
	margin: 0;
}

.sfc-result-badge {
	padding: 6px 16px;
	border: 1px solid #d4af37;
	border-radius: 100px;
	background: #faf3e0;
	color: #022147;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
	text-transform: uppercase;
}

.sfc-result-title {
	width: 100%;
	background: linear-gradient(186deg, #1575ba 6.5%, #044b8f 102.3%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	font-size: 24px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
}

.sfc-result-offer {
	width: 100%;
	padding: 16px;
	border: 1px solid #d4af37;
	border-radius: 12px;
	background: #faf3e0;
	color: #022147;
	font-size: 36px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.2;
	text-align: center;
}

.sfc-result-description {
	width: 100%;
	color: #475569;
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	text-align: center;
}

.sfc-result-promo {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: stretch;
	width: 100%;
}

.sfc-result-label {
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.sfc-result-code {
	display: flex;
	min-height: 56px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	color: #022147;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 1px;
	text-align: left;
	cursor: pointer;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sfc-result-code:hover,
.sfc-result-code:focus-visible {
	border-color: #0467c3;
	box-shadow: 0 0 0 2px rgba(4, 103, 195, 0.12);
	transform: translateY(-1px);
}

.sfc-result-copy {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	color: #475569;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
}

.sfc-result-copy img,
.sfc-result-apply img,
.sfc-result-cta img {
	display: block;
	flex: 0 0 auto;
	max-width: none;
}

.sfc-result-copy-status,
.sfc-result-email-status {
	color: #0467c3;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
}

.sfc-result-copy-status.is-error,
.sfc-result-email-status {
	color: #eb5757;
}

.sfc-result-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	text-align: center;
}

.sfc-result-apply {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	color: #0467c3;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
}

.sfc-result-cta {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 24px;
	border-radius: 8px;
	background: #32de8a;
	color: #022147;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.38;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.sfc-result-cta:hover,
.sfc-result-cta:focus-visible {
	box-shadow: 0 8px 16px rgba(0, 72, 137, 0.16);
	transform: translateY(-1px);
}

button.sfc-result-cta {
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

.sfc-result-expires {
	width: 100%;
	color: #d4af37;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.sfc-result-legal {
	width: 100%;
	color: #475569;
	font-size: 16px;
	font-weight: 500;
	line-height: 16px;
	text-align: center;
}

.sfc-spin-wheel-open {
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	background: #32de8a;
	color: #022147;
	font-family: "Avenir Next", Avenir, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

body.sfc-spin-wheel-open {
	overflow: hidden;
}

.sfc-spin-wheel.is-large .sfc-wheel-rotor {
	width: min(334px, 100%);
}

.sfc-spin-wheel.is-large .sfc-wheel-pointer {
	width: min(40.08px, 12%);
}

.sfc-spin-wheel.is-large .sfc-wheel-pointer-top {
	top: calc(50% - min(167px, 50%) - min(36.73px, 16%));
}

.sfc-spin-wheel.is-large .sfc-wheel-hub {
	width: min(53.44px, 16%);
}

.sfc-spin-wheel.is-spinning .sfc-wheel-pointer-top {
	animation: sfc-spin-wheel-pointer 420ms ease-in-out infinite alternate;
}

@keyframes sfc-spin-wheel-pointer {
	from { transform: translateX(-50%) rotate(-2deg); }
	to { transform: translateX(-50%) rotate(2deg); }
}

@keyframes sfc-wheel-preview {
	0% {
		/* Rest angle is exactly between the two upper SVG pins. */
		transform: scale(1);
	}
	20% {
		/* 0.9s zoom-in with no rotation. */
		transform: scale(1.06);
	}
	28.889% {
		transform: scale(1.06);
	}
	44.444% {
		transform: scale(1.06);
	}
	60% {
		transform: scale(1.06);
	}
	66.667% {
		transform: scale(1.06);
		/* Keep the zoom-out as one continuous, smooth segment. */
		animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes sfc-wheel-preview-rotation {
	0%,
	20% {
		transform: rotate(218.74deg);
	}
	28.889% {
		/* This angle places the first white SVG pin at 12 o'clock. */
		transform: rotate(231.71deg);
	}
	44.444% {
		/* This angle places the neighbouring white SVG pin at 12 o'clock. */
		transform: rotate(205.77deg);
	}
	60% {
		transform: rotate(231.71deg);
	}
	66.667%,
	100% {
		transform: rotate(218.74deg);
	}
}

.sfc-spin-wheel.is-open:not(.is-spinning) .sfc-wheel-rotor {
	animation: sfc-wheel-preview-rotation 4.5s ease-in-out infinite;
}

@media screen and (max-width: 640px) {
	.sfc-spin-wheel {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		overflow: hidden;
		padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	}

	.sfc-spin-wheel-dialog {
		width: 100%;
		min-width: 0;
		min-height: 0;
		max-height: calc(100vh - 32px);
		max-height: calc(100dvh - 32px);
		padding: 24px 16px;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-gutter: stable;
	}

	.sfc-spin-wheel-language {
		top: 12px;
		right: 14px;
		min-width: 50px;
		height: 30px;
		padding-right: 11px;
		padding-left: 11px;
	}

	.sfc-spin-wheel-title {
		font-size: clamp(26px, 8vw, 32px);
	}

	.sfc-spin-wheel-subtitle {
		font-size: 16px;
	}

	.sfc-spin-wheel-lead {
		font-size: 13px;
	}

	.sfc-spin-wheel-consent,
	.sfc-spin-wheel-decline,
	.sfc-spin-wheel-terms {
		font-size: 15px;
	}

	.sfc-result-title {
		font-size: 21px;
	}

	.sfc-result-offer {
		padding: 14px 12px;
		font-size: clamp(25px, 8vw, 32px);
	}

	.sfc-result-description,
	.sfc-result-apply,
	.sfc-result-expires,
	.sfc-result-legal {
		font-size: 14px;
	}

	.sfc-result-code {
		gap: 8px;
		padding: 14px 12px;
	}

	.sfc-result-cta {
		padding-right: 14px;
		padding-left: 14px;
		font-size: 14px;
	}

	.sfc-wheel,
	.sfc-spin-wheel-form-wheel {
		height: min(334px, calc(100vw - 60px));
	}

	/* Keep the stage square on phones so the pointer follows the wheel edge
	 * when the rotor is reduced to fit the available width. */
	.sfc-wheel-stage {
		width: min(334px, calc(100vw - 60px));
		height: min(334px, calc(100vw - 60px));
	}

	.sfc-wheel-pointer-top {
		/* Align the pointer tip with the scaled frame instead of the old
		 * desktop-sized radius. */
		top: calc(50% - 38.5% - min(17%, 51.1px) + 15px);
	}

	.sfc-wheel-rotor {
		width: min(300.6px, 77%);
	}

	.sfc-spin-wheel.is-large .sfc-wheel-rotor {
		width: min(334px, 77%);
	}

	.sfc-spin-wheel.is-large .sfc-wheel-pointer-top {
		top: calc(50% - 38.5% - min(17%, 56.78px) + 15px);
	}

	/* The pointer must stay fixed while the wheel rotates. The small bounce
	 * animation makes it detach from the frame on narrow screens. */
	.sfc-spin-wheel.is-spinning .sfc-wheel-pointer-top {
		animation: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfc-spin-wheel,
	.sfc-spin-wheel-overlay,
	.sfc-spin-wheel-dialog,
	.sfc-wheel-stage,
	.sfc-wheel-rotor,
	.sfc-spin-wheel-button {
		transition-duration: 1ms;
	}

	.sfc-spin-wheel.is-spinning .sfc-wheel-pointer-top {
		animation: none;
	}

	.sfc-spin-wheel.is-open:not(.is-spinning) .sfc-wheel-stage,
	.sfc-spin-wheel.is-open:not(.is-spinning) .sfc-wheel-rotor {
		animation: none;
	}
}
