/* =========================================================================
   Spin to win
   ========================================================================= */

.tv-spin[hidden] { display: none; }

.tv-spin {
	position: fixed;
	inset: 0;
	z-index: 220;
}

.tv-spin__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 15, 10, .72);
	backdrop-filter: blur(8px);
}

.tv-spin__stage {
	position: absolute;
	inset: 10px;
	display: grid;
	align-items: center;
	padding: 14px;
	border-radius: 26px;
	border: 1px solid rgba(232, 196, 74, .55);
	background:
		radial-gradient(circle at 18% 12%, rgba(232, 196, 74, .22), transparent 28%),
		radial-gradient(circle at 82% 18%, rgba(246, 224, 138, .16), transparent 24%),
		radial-gradient(circle at 50% 48%, rgba(201, 162, 39, .18), transparent 46%),
		linear-gradient(180deg, #16140c 0%, #0a0907 100%);
	box-shadow:
		0 0 0 1px rgba(255, 236, 170, .12) inset,
		0 40px 90px -34px rgba(0, 0, 0, .75);
	overflow: hidden;
}

.tv-spin__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 78%, rgba(246, 205, 85, .2), transparent 12%),
		radial-gradient(circle at 88% 72%, rgba(232, 196, 74, .16), transparent 14%),
		linear-gradient(135deg, rgba(255, 236, 170, .08), transparent 22%);
	pointer-events: none;
}

.tv-spin__glitz {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.tv-spin__glitz span {
	position: absolute;
	width: 9px;
	height: 16px;
	border-radius: 2px;
	background: linear-gradient(180deg, #ffe9a8 0%, #d4a017 100%);
	box-shadow: 0 0 8px rgba(232, 196, 74, .55);
	opacity: .78;
}

.tv-spin__glitz span:nth-child(1)  { top: 14%; left: 8%;  transform: rotate(18deg); }
.tv-spin__glitz span:nth-child(2)  { top: 22%; left: 86%; transform: rotate(-24deg); width: 7px; height: 12px; }
.tv-spin__glitz span:nth-child(3)  { top: 38%; left: 5%;  transform: rotate(-38deg); }
.tv-spin__glitz span:nth-child(4)  { top: 48%; left: 91%; transform: rotate(32deg); width: 8px; height: 14px; }
.tv-spin__glitz span:nth-child(5)  { top: 62%; left: 10%; transform: rotate(12deg); }
.tv-spin__glitz span:nth-child(6)  { top: 70%; left: 84%; transform: rotate(-16deg); }
.tv-spin__glitz span:nth-child(7)  { top: 18%; left: 18%; transform: rotate(50deg); width: 6px; height: 11px; opacity: .5; }
.tv-spin__glitz span:nth-child(8)  { top: 28%; left: 76%; transform: rotate(-48deg); width: 6px; height: 10px; opacity: .45; }
.tv-spin__glitz span:nth-child(9)  { top: 78%; left: 18%; transform: rotate(-28deg); width: 7px; height: 13px; }
.tv-spin__glitz span:nth-child(10) { top: 82%; left: 78%; transform: rotate(22deg); }
.tv-spin__glitz span:nth-child(11) { top: 8%;  left: 62%; transform: rotate(8deg); width: 5px; height: 9px; opacity: .4; }
.tv-spin__glitz span:nth-child(12) { top: 54%; left: 4%;  transform: rotate(64deg); width: 5px; height: 9px; opacity: .4; }

.tv-spin__head {
	position: relative;
	z-index: 3;
	padding: 6px 42px 2px;
	text-align: center;
}

.tv-spin__headline {
	margin: 0;
	font-size: clamp(28px, 7vw, 40px);
	font-weight: 800;
	line-height: .95;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: linear-gradient(180deg, #fff6d0 0%, #f0d36a 42%, #c49212 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 14px rgba(232, 196, 74, .45));
}

.tv-spin__tagline {
	margin: 8px 0 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #e8c44a;
}

.tv-spin__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 236, 170, .55);
	border-radius: 50%;
	background: linear-gradient(180deg, #f6e08a 0%, #c9a227 100%);
	color: #1a1408;
	box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .65);
}

.tv-spin__grid {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 18px;
	width: min(1180px, 100%);
	margin-inline: auto;
}

.tv-spin__copy,
.tv-spin__wheelpanel,
.tv-spin__terms {
	min-width: 0;
}

.tv-spin__copy {
	padding: 22px 18px 18px;
}

.tv-spin__eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tv-accent);
}

.tv-spin__title {
	margin-top: 10px;
	font-size: clamp(34px, 6vw, 68px);
	line-height: .95;
	letter-spacing: -.055em;
	color: var(--tv-ink);
}

.tv-spin__text {
	margin-top: 14px;
	max-width: 46ch;
	font-size: 16px;
	color: var(--tv-ink-2);
}

.tv-spin__list {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.tv-spin__list-item {
	display: grid;
	gap: 2px;
	padding: 12px 14px;
	border-radius: 16px;
	border: 1px solid rgba(20, 21, 15, .08);
	background: rgba(255, 255, 255, .8);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .84) inset;
}

.tv-spin__list-item strong {
	font-size: 13px;
	letter-spacing: .04em;
}

.tv-spin__list-item span {
	font-size: 12px;
	color: var(--tv-muted);
}

.tv-spin__list-item.is-gold strong,
.tv-spin__list-item.is-sage strong,
.tv-spin__list-item.is-olive strong {
	color: #7b7830;
}

.tv-spin__list-item.is-cream strong {
	color: #55544a;
}

.tv-spin__list-item.is-ink strong {
	color: #11110d;
}

.tv-spin__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.tv-spin__note {
	margin-top: 12px;
	font-size: 12.5px;
	color: var(--tv-muted);
}

.tv-spin__wheelpanel {
	display: grid;
	gap: 16px;
	align-items: center;
	justify-items: center;
	padding: 18px 18px 24px;
}

.tv-spin__terms {
	position: absolute;
	inset: 0;
	z-index: 8;
	overflow: auto;
	display: grid;
	gap: 14px;
	padding: 22px 20px 18px;
	border: 1px solid rgba(20, 21, 15, .08);
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(248, 244, 233, .94) 100%);
	box-shadow: 0 16px 32px -22px rgba(20, 21, 15, .25);
}

.tv-spin__terms[hidden] { display: none; }

.tv-spin__terms-button {
	padding: 4px 8px;
	border: 0;
	background: transparent;
	font-size: 12px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: #e8c44a;
	cursor: pointer;
}

.tv-spin__terms-button:hover,
.tv-spin__terms-button:focus-visible { color: #fff6d0; }

.tv-spin__terms-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(20, 21, 15, .1);
	border-radius: 50%;
	background: #fff;
	color: var(--tv-ink);
}

.tv-spin__terms-head p {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tv-accent);
}

.tv-spin__terms-head h3 {
	margin-top: 6px;
	font-size: 24px;
	line-height: .98;
	letter-spacing: -.04em;
	color: var(--tv-ink);
}

.tv-spin__terms-list {
	display: grid;
	gap: 0;
	border-top: 1px solid rgba(20, 21, 15, .08);
	border-bottom: 1px solid rgba(20, 21, 15, .08);
}

.tv-spin__term {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid rgba(20, 21, 15, .08);
}

.tv-spin__term:first-child {
	border-top: 0;
}

.tv-spin__term-icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #7b7830;
	color: #fffdf6;
	box-shadow: 0 8px 18px -12px rgba(123, 120, 48, .65);
}

.tv-spin__term-icon .tv-icon {
	width: 16px;
	height: 16px;
}

.tv-spin__term-copy h4 {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--tv-ink);
}

.tv-spin__term-copy p {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.55;
	color: var(--tv-muted);
}

.tv-spin__terms-foot {
	display: grid;
	gap: 8px;
	padding-top: 2px;
	text-align: center;
}

.tv-spin__terms-foot p {
	font-size: 12px;
	color: var(--tv-ink-2);
}

.tv-spin__terms-foot strong {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--tv-ink);
}

.tv-spin__wheelstage {
	position: relative;
	width: clamp(280px, 34vw, 360px);
	max-width: 100%;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	filter: drop-shadow(0 0 28px rgba(232, 196, 74, .32));
}

.tv-spin__pointer {
	position: absolute;
	top: -2%;
	left: 50%;
	z-index: 3;
	display: block;
	width: min(8%, 46px);
	transform: translateX(-50%);
	pointer-events: none;
}

.tv-spin__wheel {
	--tv-spin-rotation: 0deg;
	position: relative;
	width: 100%;
	height: 100%;
	transform: rotate(var(--tv-spin-rotation));
	transition: transform 6.2s cubic-bezier(.12, .84, .12, 1);
}

.tv-spin__wheel-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tv-spin__wheel-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	display: block;
	width: min(32%, 116px);
	aspect-ratio: 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: transform .24s var(--tv-ease);
}

.tv-spin__wheel-badge img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

.tv-spin__wheel-badge::after {
	content: "";
	position: absolute;
	inset: 4%;
	border: 2px solid rgba(246, 205, 85, .72);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	.tv-spin__wheel-badge:hover {
		transform: translate(-50%, -50%) scale(1.06);
	}

	.tv-spin__wheel-badge:hover::after {
		animation: tv-spin-wheel-pulse 1.25s ease-out infinite;
	}
}

.tv-spin__wheel-badge:focus-visible {
	outline: 3px solid #f6cd55;
	outline-offset: 5px;
}

@keyframes tv-spin-wheel-pulse {
	0% { opacity: .7; transform: scale(.86); }
	75%, 100% { opacity: 0; transform: scale(1.22); }
}

.tv-spin__auth[hidden] { display: none; }

.tv-spin__auth {
	position: fixed;
	inset: 0;
	z-index: 8;
	display: grid;
	place-items: center;
	padding: 20px;
}

.tv-spin.is-auth .tv-spin__stage { visibility: hidden; }
.tv-spin.is-auth .tv-spin__auth { display: grid !important; }

.tv-spin__auth-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 15, 10, .48);
	backdrop-filter: blur(5px);
}

.tv-spin__auth-card {
	position: relative;
	z-index: 1;
	width: min(100%, 470px);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 32px;
	border: 1px solid rgba(20, 21, 15, .1);
	border-radius: 24px;
	background: #fffef9;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
}

.tv-spin__auth-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(20, 21, 15, .1);
	border-radius: 50%;
	background: #fff;
	color: var(--tv-ink);
}

.tv-spin__auth-eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tv-accent);
}

.tv-spin__auth-title {
	margin-top: 8px;
	font-size: clamp(30px, 7vw, 46px);
	line-height: .95;
	letter-spacing: -.04em;
	color: var(--tv-ink);
}

.tv-spin__auth-text {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tv-ink-2);
}

.tv-spin__auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin-top: 24px;
	padding: 4px;
	border-radius: 12px;
	background: #efeee6;
}

.tv-spin__auth-tabs button {
	padding: 10px 8px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	font-size: 13px;
	font-weight: 800;
	color: var(--tv-ink-2);
}

.tv-spin__auth-tabs button.is-active {
	background: #fff;
	color: var(--tv-ink);
	box-shadow: 0 2px 8px rgba(20, 21, 15, .09);
}

.tv-spin__auth-form {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.tv-spin__auth-form label {
	display: grid;
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
	color: var(--tv-ink);
}

.tv-spin__auth-form input {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid rgba(20, 21, 15, .16);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-weight: 500;
}

.tv-spin__auth-form input:focus {
	border-color: var(--tv-accent);
	outline: 3px solid rgba(139, 136, 58, .16);
}

.tv-spin__auth-namefields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.tv-spin__auth-forgot {
	margin: -4px 0 0;
	font-size: 12px;
	font-weight: 700;
}

.tv-spin__auth-forgot button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: var(--tv-ink-2);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.tv-spin__auth-forgot button:hover {
	color: var(--tv-accent);
}

.tv-spin__auth-message {
	min-height: 1.3em;
	margin: -2px 0 0;
	font-size: 12px;
	font-weight: 700;
	color: #9b2c1f;
}

.tv-spin__auth-message.is-ok { color: #4e6f29; }

.tv-spin__auth-form .tv-btn {
	justify-content: center;
	width: 100%;
}

.tv-spin__button {
	position: static;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: min(100%, 280px);
	min-height: 52px;
	margin: 4px auto 0;
	padding: 14px 22px;
	border: 1px solid rgba(255, 236, 170, .55);
	border-radius: 14px;
	background: linear-gradient(180deg, #f6e08a 0%, #e0b63a 48%, #c49212 100%);
	color: #1a1408;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	box-shadow:
		0 10px 24px -10px rgba(196, 146, 18, .85),
		inset 0 1px 0 rgba(255, 255, 255, .45);
}

.tv-spin__button::before,
.tv-spin__button::after {
	content: "»";
	font-size: 16px;
	line-height: 1;
	opacity: .85;
}

.tv-spin__button::after {
	content: "«";
}

.tv-spin__button:disabled {
	opacity: .65;
	cursor: wait;
}

.tv-spin__result {
	display: grid;
	gap: 10px;
	padding: 18px;
	border: 1px solid rgba(20, 21, 15, .08);
	border-radius: 22px;
	background: rgba(255, 255, 255, .88);
	box-shadow: var(--tv-shadow-sm);
	text-align: center;
}

.tv-spin__result-eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tv-accent);
}

.tv-spin__result-title {
	font-size: clamp(28px, 5vw, 42px);
	letter-spacing: -.05em;
	line-height: .98;
	color: var(--tv-ink);
}

.tv-spin__result-text {
	font-size: 15px;
	color: var(--tv-ink-2);
}

.tv-spin__code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-inline: auto;
	padding: 12px 14px;
	border: 1px dashed rgba(20, 21, 15, .22);
	border-radius: 14px;
	background: #fff;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .12em;
}

.tv-spin__result-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 4px;
}

.tv-spin.is-open .tv-spin__stage {
	animation: tv-spin-pop .28s var(--tv-ease);
}

.tv-spin.is-spinning .tv-spin__wheel {
	filter: saturate(1.08) contrast(1.02);
}

.tv-spin.is-result .tv-spin__wheelstage {
	opacity: .12;
	pointer-events: none;
	transform: scale(.92);
}

.tv-spin.is-result .tv-spin__wheel {
	transition-duration: 0s;
}

@keyframes tv-spin-pop {
	from { opacity: 0; transform: translateY(18px) scale(.97); }
	to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
	.tv-spin__stage {
		inset: 18px;
		padding: 20px;
		border-radius: 32px;
	}

	.tv-spin__grid {
		grid-template-columns: minmax(0, 1.04fr) minmax(356px, .96fr);
		grid-template-areas:
			"copy terms"
			"wheel terms";
		column-gap: 18px;
		row-gap: 0;
		align-items: center;
	}

	.tv-spin__copy {
		grid-area: copy;
		padding: 32px 34px 32px 24px;
	}

	.tv-spin__wheelpanel {
		grid-area: wheel;
		padding: 16px 20px 20px;
	}

	.tv-spin__terms {
		grid-area: terms;
		align-self: stretch;
	}

	.tv-spin__result {
		width: min(100%, 380px);
	}
}

@media (min-width: 1140px) {
	.tv-spin__title {
		font-size: clamp(48px, 4.8vw, 74px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tv-spin__stage {
		transition: none !important;
		animation: none !important;
	}
}

/* =========================================================================
   Wheel-first layout
   -------------------------------------------------------------------------
   The popup is deliberately wheel-first: the supporting copy stays out of the
   interaction path so the centre control is immediately available, and the
   dialog is sized to the wheel rather than stretched to the viewport.
   ========================================================================= */

.tv-spin {
	display: grid;
	place-items: center;
	padding: 16px;
}

/* Sized to its contents and centred, instead of a near-fullscreen sheet. */
.tv-spin__stage {
	position: relative;
	inset: auto;
	width: min(460px, 100%);
	max-height: calc(100vh - 32px);
	padding: 22px 18px 18px;
	overflow: auto;
	overscroll-behavior: contain;
}

.tv-spin__close {
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
}

.tv-spin__grid {
	grid-template-columns: 1fr !important;
	grid-template-areas: "wheel" !important;
	width: 100%;
	height: auto;
	gap: 0;
	place-items: center;
}

.tv-spin__copy { display: none !important; }

.tv-spin__wheelpanel {
	grid-area: wheel;
	width: 100%;
	height: auto;
	gap: 12px;
	padding: 8px 0 0;
	place-content: center;
}

.tv-spin__wheelstage {
	width: min(300px, 72vw, 44vh);
	height: auto;
}

/* Once a prize is showing, the wheel steps back to make room for it. */
.tv-spin.is-result .tv-spin__wheelstage {
	width: min(190px, 48vw);
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.tv-spin__button { display: inline-flex; }

.tv-spin.is-result .tv-spin__button,
.tv-spin.is-result .tv-spin__glitz {
	display: none;
}

.tv-spin.is-result .tv-spin__head {
	padding-bottom: 0;
}

.tv-spin.is-terms .tv-spin__head,
.tv-spin.is-terms .tv-spin__glitz,
.tv-spin.is-terms .tv-spin__button {
	visibility: hidden;
}

.tv-spin__terms-button { margin-top: 0; }

.tv-spin__terms {
	max-height: 100%;
}

.tv-spin__result {
	width: 100%;
	padding: 14px;
	gap: 8px;
}

.tv-spin__result-title { font-size: clamp(22px, 6vw, 30px); }

.tv-spin__result-text { font-size: 14px; }

/* ---- Prize applied to the basket, and its 24 hour clock ---------------- */

.tv-spin__applied {
	margin: 0;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--tv-ink-2);
}

.tv-spin__applied.is-ok { color: #4e6f29; }

.tv-spin__applied.is-expired { color: #9b2c1f; }

.tv-spin__countdown {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid rgba(20, 21, 15, .1);
	border-radius: 999px;
	background: rgba(255, 255, 255, .7);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tv-muted);
}

.tv-spin__countdown strong {
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	letter-spacing: .04em;
	color: var(--tv-ink);
}

.tv-spin__countdown.is-expired strong { color: #9b2c1f; }

.tv-spin__countdown[hidden],
.tv-spin__applied[hidden],
.tv-spin__result-actions .tv-btn[hidden] { display: none !important; }

@media (max-width: 899px) {
	.tv-spin { padding: 10px; }
	.tv-spin__stage { padding: 14px; }
	.tv-spin__wheelstage { width: min(260px, 74vw, 40vh); }
	.tv-spin.is-result .tv-spin__wheelstage { width: min(150px, 44vw); }
}

/* The result card, its code chip and the copy button all set an explicit
 * display value, which beats the `hidden` attribute. Restore it so nothing
 * from the result state leaks into the first view. */
.tv-spin__result[hidden],
.tv-spin__code[hidden],
.tv-spin__result .tv-btn[hidden],
.tv-spin__auth-namefields[hidden],
.tv-spin__auth-card .tv-social[hidden],
[data-tv-spin-auth-password][hidden] { display: none !important; }

/* Signed-out spin: show the sign in / create account card on its own. */
.tv-spin.is-auth .tv-spin__backdrop { display: none; }
.tv-spin.is-auth .tv-spin__stage { visibility: hidden; pointer-events: none; }

/* The sign-in card keeps the Google button and the email tabs a touch tighter
 * together than a full page would. Base .tv-social styles live in trove.css. */
.tv-spin__auth-card .tv-social { margin-top: 20px; }
.tv-spin__auth-card .tv-social + .tv-spin__auth-tabs { margin-top: 4px; }

/* ---- Narrow screens -----------------------------------------------------
 * Grid and flex children default to min-width:auto, so a nowrap button or a
 * long discount code can force the dialog wider than the phone it is on and
 * push the prize off the right-hand edge. Every box in the chain is allowed
 * to shrink, and the buttons are allowed to use two lines.
 * ---------------------------------------------------------------------- */

.tv-spin__stage,
.tv-spin__grid,
.tv-spin__wheelpanel,
.tv-spin__result,
.tv-spin__result-actions {
	min-width: 0;
	max-width: 100%;
}

.tv-spin { overflow: auto; }

.tv-spin__applied,
.tv-spin__result-text,
.tv-spin__result-title {
	overflow-wrap: anywhere;
}

/* Minted codes are longer than the fixed ones they replace. */
.tv-spin__code {
	max-width: 100%;
	overflow-wrap: anywhere;
	letter-spacing: .08em;
}

.tv-spin__result-actions .tv-btn {
	white-space: normal;
	flex: 0 1 auto;
}

@media (max-width: 420px) {
	.tv-spin__result-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.tv-spin__result-actions .tv-btn { width: 100%; }

	.tv-spin__countdown { flex-wrap: wrap; }
}

/* The one-spin-a-day rule, stated on the result card so a wheel that will not
 * turn again reads as a rule rather than a fault. */
.tv-spin__note-line[hidden] { display: none !important; }

.tv-spin__note-line {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--tv-muted);
}

/* A disabled spin control should look spent, not broken. */
.tv-spin__wheel-badge:disabled,
.js-tv-spin-start:disabled {
	opacity: .55;
	cursor: not-allowed;
}
