.lucky-wheel-sheet {
	position: fixed;
	inset: 0;
	z-index: 13090;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 14px;
	box-sizing: border-box;
	pointer-events: none;
	visibility: hidden;
}

.lucky-wheel-sheet.is-open {
	pointer-events: auto;
	visibility: visible;
}

.lucky-wheel-sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.48);
	-webkit-backdrop-filter: blur(14px) saturate(1.15);
	backdrop-filter: blur(14px) saturate(1.15);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.lucky-wheel-sheet.is-open .lucky-wheel-sheet__backdrop {
	opacity: 1;
}

.lucky-wheel-sheet__panel {
	position: relative;
	z-index: 1;
	width: min(480px, 100%);
	max-width: 480px;
	height: auto;
	max-height: calc(100dvh - 32px);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #f8fafc;
	border-radius: 20px;
	border-top: 3px solid var(--primary-color, #717fe0);
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, 0.06),
		0 24px 64px rgba(15, 23, 42, 0.28),
		-24px 0 48px rgba(15, 23, 42, 0.1),
		24px 0 48px rgba(15, 23, 42, 0.1);
	padding: 0;
	transform: translateY(18px) scale(0.985);
	opacity: 0;
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.lucky-wheel-sheet.is-open .lucky-wheel-sheet__panel {
	transform: translateY(0) scale(1);
	opacity: 1;
}

@media (min-width: 992px) {
	.lucky-wheel-sheet {
		padding: 28px 16px;
	}

	.lucky-wheel-sheet__backdrop {
		background: rgba(15, 23, 42, 0.42);
	}

	.lucky-wheel-sheet__panel {
		max-height: calc(100dvh - 56px);
	}
}

.lucky-wheel-sheet__accent {
	display: none;
}

.lucky-wheel-sheet__close.mini-drawer-close {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	z-index: 5;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.lucky-wheel-sheet__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	display: flex;
	flex-direction: column;
	padding: 14px 16px 20px;
}

.lucky-wheel-sheet__header {
	flex: 0 0 auto;
	box-sizing: border-box;
	min-height: 48px;
	padding: 8px 52px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.lucky-wheel-sheet__title {
	margin: 0;
	font-size: clamp(1.05rem, 3.8vw, 1.35rem);
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.lucky-wheel-sheet__subtitle {
	margin: 4px 0 0;
	font-size: 0.86rem;
	color: #64748b;
	line-height: 1.35;
}

.lucky-wheel-sheet__wheel-wrap {
	position: relative;
	flex: 0 0 auto;
	width: min(280px, 78vw, 42dvh);
	margin: 4px auto 8px;
	align-self: center;
	overflow: visible;
}

.lucky-wheel-sheet__pointer {
	position: absolute;
	top: -6px;
	left: 50%;
	z-index: 2;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 18px solid var(--primary-color, #717fe0);
	transform: translateX(-50%);
	filter: drop-shadow(0 2px 2px rgba(15, 23, 42, 0.2));
}

.lucky-wheel-sheet__wheel-spin {
	width: 100%;
	transform-origin: 50% 50%;
	will-change: transform;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.lucky-wheel-sheet__wheel {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
	filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--primary-color, #717fe0) 28%, transparent));
}

.lucky-wheel-sheet__hub {
	fill: #fff;
	stroke: color-mix(in srgb, var(--primary-color, #717fe0) 35%, #fff);
	stroke-width: 3;
}

.lucky-wheel-sheet__hub-text {
	fill: var(--primary-color, #717fe0);
	font-size: 16px;
	font-weight: 800;
}

.lucky-wheel-sheet__seg {
	stroke: #fff;
	stroke-width: 2.5;
}

.lucky-wheel-sheet__seg--accent {
	stroke: #fff;
}

.lucky-wheel-sheet__seg--pas {
	stroke: #e2e8f0;
}

.lucky-wheel-sheet__seg-label {
	fill: #0f172a;
	font-size: 8.6px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	pointer-events: none;
	paint-order: stroke fill;
	stroke: rgba(255, 255, 255, 0.92);
	stroke-width: 0.7px;
}

.lucky-wheel-sheet__form-wrap,
.lucky-wheel-sheet__result {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 0 1 auto;
	min-height: 0;
	width: 100%;
	box-sizing: border-box;
}

.lucky-wheel-sheet__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lucky-wheel-sheet__fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px 14px 12px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.lucky-wheel-sheet__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lucky-wheel-sheet__label {
	font-size: 0.74rem;
	font-weight: 700;
	color: #475569;
	margin: 0;
}

.lucky-wheel-sheet__control,
.lucky-wheel-sheet__input {
	width: 100%;
}

.lucky-wheel-sheet__control {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.lucky-wheel-sheet__control:focus-within {
	outline: none;
	border-color: var(--primary-color, #717fe0);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color, #717fe0) 22%, transparent);
}

/* Premium hata: ince çerçeve + soft ring, pembe dolgu yok */
.lucky-wheel-sheet__control.fv-invalid,
.lucky-wheel-sheet__control.fv-invalid:focus-within {
	outline: none;
	border-color: var(--fv-error, #dc2626) !important;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
	background-color: #fff !important;
}

.lucky-wheel-sheet__input {
	border: 0;
	border-radius: 12px;
	padding: 11px 14px;
	font-size: 16px;
	color: #0f172a;
	background: transparent;
}

.lucky-wheel-sheet__input:focus {
	outline: none;
}

.lucky-wheel-sheet__phone-wrap {
	overflow: hidden;
}

.lucky-wheel-sheet__phone-wrap .iti {
	width: 100%;
	display: block;
}

.lucky-wheel-sheet__phone-wrap .iti .iti__tel-input,
.lucky-wheel-sheet__phone-wrap .lucky-wheel-sheet__input {
	border: 0;
	border-radius: 0;
	outline: none;
	box-shadow: none;
}

.lucky-wheel-sheet__field .fv-help-invalid {
	margin: 0;
	padding: 0 2px;
	font-size: 11.5px;
	line-height: 1.35;
	font-weight: 600;
	letter-spacing: 0.01em;
}

/* Consent: tek kart; satır satır pembe kutu yok */
.lucky-wheel-sheet__consents.account-register-consent {
	margin: 0;
	padding: 4px 0 2px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
	overflow: visible;
}

.lucky-wheel-sheet__consents > .account-drawer-field {
	margin: 0;
	padding: 0 4px 2px;
}

.lucky-wheel-sheet__consents > .account-drawer-field + .account-drawer-field {
	border-top: 1px solid #f1f5f9;
	margin-top: 2px;
	padding-top: 2px;
}

.lucky-wheel-sheet__consents .account-register-consent__item.js-input-container {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.lucky-wheel-sheet__consents .account-register-consent__toggle.toggle-switchy {
	width: 100%;
	gap: 10px !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	padding: 10px 12px;
}

.lucky-wheel-sheet__consents .account-register-consent__toggle > input + .toggle,
.lucky-wheel-sheet__consents .account-register-consent__toggle > input + .ts-track {
	width: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	flex: 0 0 44px !important;
	margin: 1px 0 0 !important;
}

.lucky-wheel-sheet__consents .account-register-consent__toggle > input + .toggle + .label,
.lucky-wheel-sheet__consents .account-register-consent__toggle > input + .ts-track + .label {
	margin: 0 !important;
	padding: 0 !important;
}

.lucky-wheel-sheet__consents .account-register-consent__toggle .js-legal-page-link {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--primary-color, #717fe0);
}

.lucky-wheel-sheet__consents .js-input-container.fv-invalid,
.lucky-wheel-sheet__consents .account-register-consent__item.js-input-container.fv-invalid {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy > input:not(:checked) + .toggle,
.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy > input:not(:checked) + .ts-track {
	background: #fecaca !important;
	box-shadow: inset 0 0 0 1.5px var(--fv-error, #dc2626), 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy > input:not(:checked) + .toggle > .switch,
.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy > input:not(:checked) + .ts-track > .ts-knob,
.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy > input:not(:checked) + .ts-track > .switch {
	border-color: var(--fv-error, #dc2626) !important;
	background: #fff !important;
}

.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy > input + .toggle + .label,
.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy > input + .ts-track + .label {
	color: #991b1b !important;
}

.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy .js-legal-page-link,
.lucky-wheel-sheet__consents .js-input-container.fv-invalid .toggle-switchy .js-legal-page-link.hov-cl1 {
	color: var(--fv-error, #dc2626) !important;
	text-decoration-color: var(--fv-error, #dc2626) !important;
}

.lucky-wheel-sheet__consents .account-drawer-field .fv-help-invalid {
	margin: 0 12px 8px;
	padding: 0;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.35;
}

/* Sözleşme modalı çarkın üstünde kalsın */
body.lucky-wheel-open .legal-page-modal,
body.lucky-wheel-closing .legal-page-modal,
.legal-page-modal {
	z-index: 13200 !important;
}

.lucky-wheel-sheet__notice {
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff1f2;
	color: #be123c;
	font-size: 0.85rem;
	font-weight: 600;
}

.lucky-wheel-sheet__footer {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	background: #f8fafc;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}

.lucky-wheel-sheet__cta {
	margin-top: 0;
	border: 0;
	border-radius: 14px;
	min-height: 52px;
	width: 100%;
	padding: 0 18px;
	background: var(--primary-color, #717fe0);
	color: var(--on-primary, #fff);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--primary-color, #717fe0) 28%, transparent);
}

.lucky-wheel-sheet__cta:disabled {
	opacity: 0.65;
}

.lucky-wheel-sheet__cta--ghost {
	background: #fff;
	color: #0f172a;
	box-shadow: none;
	border: 1px solid #e2e8f0;
	text-transform: none;
}

.lucky-wheel-sheet__result {
	text-align: center;
	padding: 16px 14px 14px;
	border-radius: 18px;
	background:
		radial-gradient(120% 80% at 50% 0%,
			color-mix(in srgb, var(--primary-color, #717fe0) 10%, transparent) 0%,
			transparent 55%),
		linear-gradient(180deg, #fffefb 0%, #ffffff 48%, #fafbff 100%);
	border: 1px solid color-mix(in srgb, var(--primary-color, #717fe0) 16%, #e8ecf2);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 10px 28px rgba(15, 23, 42, 0.05);
	align-items: stretch;
}

.lucky-wheel-sheet__result-label {
	margin: 0;
	order: 1;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94a3b8;
}

.lucky-wheel-sheet__result-code {
	margin: 0;
	order: 3;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1.5px dashed color-mix(in srgb, var(--primary-color, #717fe0) 48%, #e2e8f0);
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--primary-color, #717fe0) 12%, #fff) 0%,
			color-mix(in srgb, var(--primary-color, #717fe0) 5%, #fff) 100%
		);
	font-size: clamp(1.15rem, 4vw, 1.35rem);
	font-weight: 900;
	letter-spacing: 0.1em;
	color: #0f172a;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	word-break: break-all;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 6px 16px color-mix(in srgb, var(--primary-color, #717fe0) 12%, transparent);
}

.lucky-wheel-sheet__result-detail,
.lucky-wheel-sheet__result-howto,
.lucky-wheel-sheet__result-next {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.45;
	color: #64748b;
}

.lucky-wheel-sheet__result-prize {
	order: 2;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 4px 0 6px;
	padding: 16px 16px 14px;
	border-radius: 18px;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(120% 90% at 50% 0%,
			color-mix(in srgb, var(--primary-color, #f5c518) 38%, transparent) 0%,
			transparent 58%),
		linear-gradient(
			160deg,
			color-mix(in srgb, var(--primary-color, #f5c518) 28%, #fff) 0%,
			#fff 46%,
			color-mix(in srgb, var(--primary-color, #f5c518) 10%, #fff) 100%
		);
	border: 1px solid color-mix(in srgb, var(--primary-color, #f5c518) 42%, #e2e8f0);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 12px 28px color-mix(in srgb, var(--primary-color, #f5c518) 22%, rgba(15, 23, 42, 0.08));
}

.lucky-wheel-sheet__result-prize::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(
		115deg,
		transparent 0%,
		rgba(255, 255, 255, 0.45) 42%,
		transparent 68%
	);
	opacity: 0.55;
	z-index: 0;
}

.lucky-wheel-sheet__result-extra,
.lucky-wheel-sheet__result-detail {
	position: relative;
	z-index: 1;
}

.lucky-wheel-sheet__result-extra {
	margin: 0;
	padding: 0;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.25;
	color: #0f172a;
	text-transform: none;
	opacity: 0.92;
}

.lucky-wheel-sheet__result-detail {
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-size: clamp(1.35rem, 5vw, 1.7rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #0f172a;
	text-wrap: balance;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.lucky-wheel-sheet__urgency {
	order: 4;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	flex: 0 0 auto;
	margin: 2px 0;
	padding: 8px 8px 7px;
	border-radius: 12px;
	overflow: visible;
	isolation: isolate;
	background: linear-gradient(180deg, #fff7f7 0%, #ffe8ea 100%);
	border: 1px solid #fecaca;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
	animation: lw-urgency-glow 2.4s ease-in-out infinite;
}

.lucky-wheel-sheet__urgency-label {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
	color: #b91c1c;
	line-height: 1.25;
}

.lucky-wheel-sheet__countdown {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	width: 100%;
	box-sizing: border-box;
	flex: 0 0 auto;
}

.lucky-wheel-sheet__countdown.has-days {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lucky-wheel-sheet__countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	min-width: 0;
	min-height: 38px;
	padding: 5px 2px 4px;
	box-sizing: border-box;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #fecaca;
	box-shadow: none;
}

.lucky-wheel-sheet__countdown-unit strong {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 0.88rem;
	font-weight: 900;
	line-height: 1.1;
	color: #dc2626;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum";
	letter-spacing: 0;
}

.lucky-wheel-sheet__countdown-unit small {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 0.52rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #9f1239;
	line-height: 1.15;
	white-space: nowrap;
}

.lucky-wheel-sheet__countdown-sep {
	display: none;
}

.lucky-wheel-sheet__urgency-until {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	font-size: 0.66rem;
	font-weight: 700;
	text-align: center;
	color: #9f1239;
	line-height: 1.3;
}

.lucky-wheel-sheet__urgency.is-expired {
	background: linear-gradient(180deg, #7f1d1d 0%, #991b1b 100%);
	border-color: #7f1d1d;
	animation: none;
}

.lucky-wheel-sheet__urgency.is-expired .lucky-wheel-sheet__urgency-label,
.lucky-wheel-sheet__urgency.is-expired .lucky-wheel-sheet__urgency-until,
.lucky-wheel-sheet__urgency.is-expired .lucky-wheel-sheet__countdown-unit strong {
	color: #fecaca;
}

.lucky-wheel-sheet__urgency.is-expired .lucky-wheel-sheet__countdown-unit {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(254, 202, 202, 0.35);
}

.lucky-wheel-sheet__urgency.is-expired .lucky-wheel-sheet__countdown-unit small {
	color: #fda4af;
}

.lucky-wheel-sheet__urgency.is-used {
	background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
	border-color: #6ee7b7;
	animation: none;
}

.lucky-wheel-sheet__urgency.is-used .lucky-wheel-sheet__urgency-label,
.lucky-wheel-sheet__urgency.is-used .lucky-wheel-sheet__urgency-until {
	color: #065f46;
}

.lucky-wheel-sheet__result-code.is-used {
	opacity: 0.72;
	text-decoration: line-through;
	border-style: solid;
	border-color: #94a3b8;
	color: #64748b;
}

@keyframes lw-urgency-glow {
	0%, 100% { box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08); }
	50% { box-shadow: 0 6px 16px rgba(220, 38, 38, 0.16); }
}

.lucky-wheel-sheet__result-howto {
	order: 5;
	color: #94a3b8;
	font-size: 0.8rem;
}

.lucky-wheel-sheet__result-next {
	order: 6;
	font-size: 0.78rem;
	font-weight: 600;
	color: #64748b;
}

.lucky-wheel-sheet__result-link {
	order: 7;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	align-self: stretch;
	box-sizing: border-box;
	width: 100%;
	min-height: 2.65rem;
	margin-top: 6px;
	padding: 0.55rem 0.95rem;
	border-radius: 12px;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #0f172a;
	text-decoration: none;
	border: 1.5px solid color-mix(in srgb, var(--primary-color, #717fe0) 48%, #cbd5e1);
	background:
		linear-gradient(
			145deg,
			color-mix(in srgb, var(--primary-color, #717fe0) 22%, #fff) 0%,
			color-mix(in srgb, var(--primary-color, #717fe0) 8%, #fff) 55%,
			#fff 100%
		);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 6px 16px -10px color-mix(in srgb, var(--primary-color, #717fe0) 45%, transparent);
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease;
}

.lucky-wheel-sheet__result-link[hidden] {
	display: none !important;
}

.lucky-wheel-sheet__result-link-icon,
.lucky-wheel-sheet__result-link-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 1;
}

.lucky-wheel-sheet__result-link-icon {
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 8px;
	font-size: 0.88rem;
	color: var(--primary-ink, #0f172a);
	background: color-mix(in srgb, var(--primary-color, #717fe0) 32%, #fff);
	border: 1px solid color-mix(in srgb, var(--primary-color, #717fe0) 40%, #e2e8f0);
}

.lucky-wheel-sheet__result-link-text {
	flex: 1 1 auto;
	text-align: center;
	min-width: 0;
}

.lucky-wheel-sheet__result-link-chevron {
	font-size: 1.15rem;
	color: #0f172a;
	opacity: 0.72;
}

.lucky-wheel-sheet__result-link:hover,
.lucky-wheel-sheet__result-link:focus-visible {
	color: #0f172a;
	border-color: color-mix(in srgb, var(--primary-color, #717fe0) 62%, #94a3b8);
	background:
		linear-gradient(
			145deg,
			color-mix(in srgb, var(--primary-color, #717fe0) 30%, #fff) 0%,
			color-mix(in srgb, var(--primary-color, #717fe0) 12%, #fff) 55%,
			#fff 100%
		);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 10px 22px -12px color-mix(in srgb, var(--primary-color, #717fe0) 55%, transparent);
	outline: none;
}

.lucky-wheel-sheet__result-link:active {
	transform: scale(0.985);
}

.lucky-wheel-sheet.is-result .lucky-wheel-sheet__footer {
	padding-top: 8px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.lucky-wheel-sheet.is-result .js-lucky-wheel-copy {
	min-height: 48px;
}

.lucky-wheel-sheet__result {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: stretch;
	text-align: center;
	flex: 0 1 auto;
	min-height: 0;
	width: 100%;
	box-sizing: border-box;
}

/* Sonuç ekranında çark gizlenir — odak kupon/ödül */
.lucky-wheel-sheet.is-result .lucky-wheel-sheet__wheel-wrap {
	display: none !important;
}

.lucky-wheel-sheet.is-result .lucky-wheel-sheet__subtitle {
	display: none;
}

.lucky-wheel-sheet.is-result .lucky-wheel-sheet__header {
	padding-bottom: 16px;
	min-height: 52px;
}

body.lucky-wheel-open .site-whatsapp-fab,
body.lucky-wheel-closing .site-whatsapp-fab,
body.lucky-wheel-open .btn-back-to-top,
body.lucky-wheel-closing .btn-back-to-top,
body.lucky-wheel-open .lucky-wheel-fab,
body.lucky-wheel-closing .lucky-wheel-fab {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

/* Checkout sticky dock: çark açıkken üstte kalmasın */
body.lucky-wheel-open .checkout-mobile-dock,
body.lucky-wheel-closing .checkout-mobile-dock,
body.lucky-wheel-open .checkout-sticky-dock,
body.lucky-wheel-closing .checkout-sticky-dock {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* —— Lucky wheel FAB = cart-sticky dock ile aynı tip / boyut —— */
.lucky-wheel-fab {
	display: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: var(--fab-dock-border);
	border-radius: var(--fab-dock-radius, 18px);
	background: var(--fab-dock-bg);
	box-shadow: var(--fab-dock-shadow);
	color: var(--fab-dock-ink);
	cursor: pointer;
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	isolation: isolate;
	overflow: visible;
	transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

/* Kampanya başlığı — premium yatay tip balonu
   --fab-tip-x / --fab-tip-caret-x: JS viewport kenar çarpışması (mobil sol FAB) */
.lucky-wheel-fab__tip {
	--fab-tip-x: 0px;
	--fab-tip-caret-x: 50%;
	position: absolute;
	left: 50%;
	bottom: calc(100% + 6px);
	z-index: 3;
	box-sizing: border-box;
	width: max-content;
	max-width: min(300px, calc(100vw - 28px));
	padding: 0;
	border: none;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translateX(calc(-50% + var(--fab-tip-x))) translateY(6px) scale(0.96);
	filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.16))
		drop-shadow(0 2px 8px color-mix(in srgb, var(--primary-color, #f5c518) 28%, transparent));
	transition:
		opacity 0.28s ease,
		visibility 0.28s ease,
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lucky-wheel-fab__tip.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	cursor: pointer;
	transform: translateX(calc(-50% + var(--fab-tip-x))) translateY(0) scale(1);
}

.lucky-wheel-fab__tip-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	max-width: inherit;
	padding: 9px 14px;
	border-radius: inherit;
	border: 1px solid color-mix(in srgb, var(--primary-color, #f5c518) 42%, rgba(255, 255, 255, 0.9));
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			color-mix(in srgb, var(--primary-color, #f5c518) 14%, #ffffff) 48%,
			#ffffff 100%
		);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		inset 0 -1px 0 color-mix(in srgb, var(--primary-color, #f5c518) 12%, transparent),
		0 0 0 1px color-mix(in srgb, var(--primary-color, #f5c518) 10%, transparent);
}

.lucky-wheel-fab__tip-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(
		145deg,
		color-mix(in srgb, var(--primary-color, #f5c518) 92%, #fff) 0%,
		var(--primary-color, #f5c518) 55%,
		color-mix(in srgb, var(--primary-color, #f5c518) 70%, #0f172a) 100%
	);
	color: #0f172a;
	font-size: 0.72rem;
	line-height: 1;
	box-shadow:
		0 2px 6px color-mix(in srgb, var(--primary-color, #f5c518) 45%, transparent),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.lucky-wheel-fab__tip-text {
	flex: 0 1 auto;
	min-width: 0;
	color: #0f172a;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lucky-wheel-fab__tip::after {
	content: '';
	position: absolute;
	left: var(--fab-tip-caret-x);
	top: calc(100% - 5px);
	width: 10px;
	height: 10px;
	margin-left: -5px;
	background: linear-gradient(
		135deg,
		color-mix(in srgb, var(--primary-color, #f5c518) 14%, #ffffff) 0%,
		#ffffff 100%
	);
	border-right: 1px solid color-mix(in srgb, var(--primary-color, #f5c518) 42%, rgba(255, 255, 255, 0.9));
	border-bottom: 1px solid color-mix(in srgb, var(--primary-color, #f5c518) 42%, rgba(255, 255, 255, 0.9));
	transform: rotate(45deg);
	border-radius: 2px;
	z-index: -1;
}

body.lucky-wheel-open .lucky-wheel-fab__tip,
body.lucky-wheel-closing .lucky-wheel-fab__tip {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.lucky-wheel-fab__glow {
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	background: radial-gradient(circle at 50% 42%,
		color-mix(in srgb, var(--primary-color, #f5c518) 48%, transparent) 0%,
		transparent 70%);
	opacity: 0.5;
	pointer-events: none;
	z-index: 0;
	animation: luckyWheelFabGlow 2.8s ease-in-out infinite;
}

.lucky-wheel-fab__icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 0;
	filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.18));
}

.lucky-wheel-fab__svg {
	display: block;
	width: 46px;
	height: 50px;
	overflow: visible;
}

.lucky-wheel-fab__pointer {
	fill: color-mix(in srgb, var(--primary-color, #f5c518) 72%, #0f172a);
}

.lucky-wheel-fab__pointer-stem {
	fill: color-mix(in srgb, var(--primary-color, #f5c518) 55%, #0f172a);
}

.lucky-wheel-fab__bezel {
	fill: color-mix(in srgb, var(--primary-color, #f5c518) 78%, #0f172a);
}

.lucky-wheel-fab__bezel-inner {
	fill: #fff;
}

.lucky-wheel-fab__seg--theme {
	fill: var(--primary-color, #f5c518);
}

.lucky-wheel-fab__seg--white {
	fill: #ffffff;
}

.lucky-wheel-fab__spokes {
	stroke: color-mix(in srgb, var(--primary-color, #f5c518) 28%, #64748b);
	stroke-width: 0.85;
	stroke-linecap: round;
	pointer-events: none;
}

.lucky-wheel-fab__pegs {
	fill: color-mix(in srgb, var(--primary-color, #f5c518) 55%, #0f172a);
	stroke: #fff;
	stroke-width: 0.45;
}

.lucky-wheel-fab__hub-outer {
	fill: #fff;
	stroke: color-mix(in srgb, var(--primary-color, #f5c518) 65%, #64748b);
	stroke-width: 1.2;
}

.lucky-wheel-fab__hub {
	fill: var(--primary-color, #f5c518);
}

.lucky-wheel-fab__hub-dot {
	fill: #fff;
}

.lucky-wheel-fab__stand {
	fill: color-mix(in srgb, var(--primary-color, #f5c518) 35%, #1e293b);
}

.lucky-wheel-fab__wheel {
	transform-box: fill-box;
	transform-origin: center;
	animation: luckyWheelFabSpin 3.6s linear infinite;
}

.lucky-wheel-fab:hover,
.lucky-wheel-fab:focus-visible {
	transform: translateY(-2px) scale(1.03);
	box-shadow: var(--fab-dock-shadow-hover);
	filter: brightness(1.03);
	outline: none;
}

.lucky-wheel-fab:hover .lucky-wheel-fab__wheel,
.lucky-wheel-fab:focus-visible .lucky-wheel-fab__wheel {
	animation-duration: 1.2s;
}

@keyframes luckyWheelFabSpin {
	to { transform: rotate(360deg); }
}

@keyframes luckyWheelFabGlow {
	0%, 100% { opacity: 0.32; transform: scale(1); }
	50% { opacity: 0.68; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
	.lucky-wheel-fab__wheel,
	.lucky-wheel-fab__glow {
		animation: none !important;
	}
}

/* Hesabım sayfalarında çark FAB yok */
body.account-page-body .lucky-wheel-fab {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

@media (max-width: 991px) {
	.lucky-wheel-fab__svg {
		width: 44px;
		height: 48px;
	}

	.checkout-sticky-dock .lucky-wheel-fab,
	.lucky-wheel-fab {
		display: flex !important;
		align-items: center;
		justify-content: center;
		position: fixed;
		z-index: 1102;
		width: var(--fab-dock-size-sm, 52px);
		height: var(--fab-dock-size-sm, 52px);
		/* Sepet yoksa sol ilk slot — logout / boş sepet */
		left: calc(16px + env(safe-area-inset-left, 0px));
		right: auto;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		animation: cartStickyPillNudge 7.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
		will-change: transform, left;
		pointer-events: auto;
		transition:
			left 0.48s cubic-bezier(0.22, 1, 0.36, 1),
			bottom 0.28s cubic-bezier(0.22, 1, 0.36, 1),
			transform 0.22s ease,
			box-shadow 0.22s ease,
			filter 0.22s ease;
	}

	/* Tip açıkken FAB scale nudge kapalı — tooltip çarktan uzaklaşmasın */
	.lucky-wheel-fab:has(.lucky-wheel-fab__tip.is-visible) {
		animation: none;
		transform: none;
	}

	.lucky-wheel-fab__tip {
		display: none !important;
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.lucky-wheel-fab__tip::after {
		display: none !important;
	}

	/* PDP Sepete Ekle dock: sepet/WA ile aynı satır (altta değil, yanında) */
	body.produce-detail-page.has-produce-detail-bottom-dock .checkout-sticky-dock .lucky-wheel-fab,
	body.produce-detail-page.has-produce-detail-bottom-dock .lucky-wheel-fab {
		bottom: calc(var(--produce-detail-buy-dock-height, 4.5rem) + var(--produce-detail-fab-gap, 10px));
	}

	/* Sepet sticky varken çark, sepet FAB'ın hemen sağı */
	body.has-cart-sticky-bar .lucky-wheel-fab {
		left: calc(
			16px + env(safe-area-inset-left, 0px)
			+ var(--fab-dock-size-sm, 52px) + 12px
		);
	}

	/* WA varken BT sol slotta: sepet yoksa çark BT'nin sağı */
	body.has-back-to-top.has-whatsapp-fab:not(.has-cart-sticky-bar) .lucky-wheel-fab {
		left: calc(
			16px + env(safe-area-inset-left, 0px)
			+ var(--fab-dock-size-sm, 52px) + 12px
		);
	}

	/* BT sol slotta + sepet varken çark bir slot daha sağa */
	body.has-back-to-top.has-whatsapp-fab.has-cart-sticky-bar .lucky-wheel-fab {
		left: calc(
			16px + env(safe-area-inset-left, 0px)
			+ (var(--fab-dock-size-sm, 52px) + 12px) * 2
		);
	}

	body.cart-drawer-open .lucky-wheel-fab,
	body.cart-drawer-closing .lucky-wheel-fab,
	body.wishlist-drawer-open .lucky-wheel-fab,
	body.wishlist-drawer-closing .lucky-wheel-fab,
	body.account-drawer-open .lucky-wheel-fab,
	body.mobile-menu-open .lucky-wheel-fab,
	body.contact-drawer-open .lucky-wheel-fab,
	body.checkout-order-page .lucky-wheel-fab,
	body.shopping-cart-page .lucky-wheel-fab,
	body.has-checkout-mobile-dock .lucky-wheel-fab {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
}

@media (min-width: 992px) {
	.lucky-wheel-fab__svg {
		width: 48px;
		height: 52px;
	}

	.checkout-sticky-dock .lucky-wheel-fab {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		position: relative;
		flex: 0 0 auto;
		order: 2;
		width: var(--fab-dock-size);
		height: var(--fab-dock-size);
		left: auto;
		right: auto;
		bottom: auto;
		animation: none;
		pointer-events: auto;
	}

	/* Web: tip FAB'dan belirgin boşluk — bitişik/sıkışık görünmesin */
	.lucky-wheel-fab__tip {
		bottom: calc(100% + 32px);
		filter: drop-shadow(0 16px 32px rgba(15, 23, 42, 0.12))
			drop-shadow(0 4px 14px color-mix(in srgb, var(--primary-color, #f5c518) 18%, transparent));
	}

	.lucky-wheel-fab__tip.is-visible {
		transform: translateX(calc(-50% + var(--fab-tip-x))) translateY(0) scale(1);
	}

	.lucky-wheel-fab__tip-inner {
		padding: 12px 20px;
		gap: 10px;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.95),
			0 1px 2px rgba(15, 23, 42, 0.04),
			0 10px 28px -12px rgba(15, 23, 42, 0.18);
	}

	.lucky-wheel-fab__tip-text {
		font-size: 0.875rem;
		letter-spacing: -0.02em;
	}

	/* Ok, tip ile FAB arasında havada kalsın (çark pointer'a yapışmasın) */
	.lucky-wheel-fab__tip::after {
		top: calc(100% - 3px);
		width: 11px;
		height: 11px;
		margin-left: -5.5px;
	}

	/* Dock: balon çarka hizalı, sola taşsın ama çarkın üstünde dursun */
	.checkout-sticky-dock .lucky-wheel-fab .lucky-wheel-fab__tip {
		left: auto;
		right: 50%;
		bottom: calc(100% + 32px);
		transform: translateX(50%) translateX(var(--fab-tip-x)) translateY(10px) scale(0.96);
	}

	.checkout-sticky-dock .lucky-wheel-fab .lucky-wheel-fab__tip.is-visible {
		transform: translateX(50%) translateX(var(--fab-tip-x)) translateY(0) scale(1);
	}

	.checkout-sticky-dock .lucky-wheel-fab .lucky-wheel-fab__tip::after {
		left: var(--fab-tip-caret-x, 50%);
		right: auto;
		margin-left: -5.5px;
	}

	.checkout-sticky-dock .site-whatsapp-fab {
		order: 4;
	}

	body.checkout-order-page .lucky-wheel-fab,
	body.shopping-cart-page .lucky-wheel-fab {
		display: none !important;
	}
}

@media (max-width: 991px) {
	.lucky-wheel-sheet {
		padding: 10px 10px;
	}

	.lucky-wheel-sheet__panel {
		max-height: calc(100dvh - 20px);
	}

	.lucky-wheel-sheet__scroll {
		padding: 10px 12px 12px;
		gap: 0;
	}

	.lucky-wheel-sheet__header {
		min-height: 40px;
		padding: 4px 44px 6px;
	}

	.lucky-wheel-sheet__title {
		font-size: 1.05rem;
		line-height: 1.2;
	}

	.lucky-wheel-sheet__subtitle {
		margin-top: 2px;
		font-size: 0.78rem;
	}

	/* Çark boyutu korunur — yalnızca dikey boşluk sıkışır */
	.lucky-wheel-sheet__wheel-wrap {
		width: min(280px, 78vw);
		margin: 2px auto 4px;
	}

	.lucky-wheel-sheet__form-wrap {
		gap: 8px;
	}

	.lucky-wheel-sheet__form {
		gap: 8px;
	}

	.lucky-wheel-sheet__fields {
		gap: 8px;
		padding: 8px 10px 8px;
		border-radius: 12px;
	}

	.lucky-wheel-sheet__field {
		gap: 3px;
	}

	.lucky-wheel-sheet__label {
		font-size: 0.68rem;
	}

	.lucky-wheel-sheet__control {
		border-radius: 10px;
	}

	.lucky-wheel-sheet__input {
		padding: 8px 11px;
		font-size: 15px;
		border-radius: 10px;
		line-height: 1.25;
	}

	.lucky-wheel-sheet__phone-wrap .iti__selected-flag {
		padding-left: 8px;
		padding-right: 6px;
	}

	.lucky-wheel-sheet__field .fv-help-invalid {
		font-size: 11px;
	}

	.lucky-wheel-sheet__consents.account-register-consent {
		padding: 2px 0;
		border-radius: 12px;
	}

	.lucky-wheel-sheet__consents .account-register-consent__toggle.toggle-switchy {
		padding: 7px 10px;
	}

	.lucky-wheel-sheet__consents .account-register-consent__toggle > input + .toggle + .label,
	.lucky-wheel-sheet__consents .account-register-consent__toggle > input + .ts-track + .label {
		font-size: 0.72rem;
		line-height: 1.3;
	}

	.lucky-wheel-sheet__footer {
		gap: 6px;
		padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	}

	.lucky-wheel-sheet__cta {
		min-height: 44px;
		border-radius: 12px;
		font-size: 0.92rem;
	}

	.lucky-wheel-sheet__close.mini-drawer-close {
		top: 8px;
		right: 8px;
		width: 32px;
		height: 32px;
	}
}

@media (max-width: 575px) {
	.lucky-wheel-sheet__scroll {
		padding-left: 10px;
		padding-right: 10px;
	}

	.lucky-wheel-sheet__footer {
		padding-left: 10px;
		padding-right: 10px;
	}

	/* Çarkı küçültme — form sıkışık kalsın */
	.lucky-wheel-sheet__wheel-wrap {
		width: min(280px, 82vw);
		margin: 2px auto 4px;
	}

	.lucky-wheel-sheet__fields {
		padding: 8px 10px;
		gap: 7px;
	}

	.lucky-wheel-sheet__consents .account-register-consent__toggle.toggle-switchy {
		padding: 6px 10px;
	}
}

@media (min-width: 992px) {
	.lucky-wheel-sheet__scroll {
		max-width: 520px;
		width: 100%;
		margin: 0 auto;
		padding-top: calc(18px + env(safe-area-inset-top, 0px));
	}

	.lucky-wheel-sheet__footer {
		max-width: 520px;
		width: 100%;
		margin: 0 auto;
	}

	.lucky-wheel-sheet__wheel-wrap {
		width: min(300px, 36vw, 44dvh);
	}
}

@media (max-width: 991px) and (max-height: 760px) {
	.lucky-wheel-sheet__subtitle {
		display: none;
	}

	.lucky-wheel-sheet__header {
		padding-bottom: 4px;
	}

	.lucky-wheel-sheet__fields {
		gap: 6px;
		padding: 7px 9px;
	}

	.lucky-wheel-sheet__input {
		padding: 7px 10px;
		font-size: 15px;
	}

	.lucky-wheel-sheet__consents .account-register-consent__toggle.toggle-switchy {
		padding: 6px 9px;
	}

	.lucky-wheel-sheet__cta {
		min-height: 42px;
	}
}
