*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #07182E;
	color: #172138;
	font-family: Outfit, Arial, Helvetica, sans-serif;
	font-weight: 400;
}

img { max-width: 100%; }

.tb-screen {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 100vh;
}

.tb-screen-art { display: none; }

.tb-scene { display: contents; }

.tb-top {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 28px 0;
	color: #fff;
}

.tb-logo img {
	display: block;
	height: 84px;
	width: auto;
}

.tb-name {
	margin: 0;
	padding-left: 16px;
	border-left: 1px solid rgba(216, 174, 72, .85);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	text-decoration: none;
}

.tb-nav {
	display: flex;
	align-items: center;
	gap: 0;
	margin-left: auto;
}

.tb-nav a,
.tb-nav button {
	border: 0;
	padding: 0 0 0 16px;
	margin-left: 16px;
	background: none;
	color: #F6E7C2;
	font: inherit;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none;
}

.tb-nav a {
	padding-left: 0;
	margin-left: 0;
}

.tb-nav button {
	border-left: 1px solid rgba(216, 174, 72, .75);
}

.tb-nav a:hover,
.tb-nav button:hover { color: #fff; }

.tb-layout {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 16px;
	align-items: center;
	width: calc(100% - 28px);
	margin: 0 auto;
	padding: 0 0 6px;
	min-height: 0;
}

.tb-hero {
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.tb-hero-art {
	display: block;
	width: 100%;
	height: auto;
	max-height: calc(100vh - 112px);
	object-fit: contain;
	object-position: left center;
}

.tb-hero-mobile { display: none; }

.tb-campaign {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.tb-panel-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.tb-card {
	width: min(540px, 100%);
	background: #FFF7E8;
	border: 1px solid rgba(216, 174, 72, .95);
	border-radius: 28px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
	padding: 20px 28px 16px;
}

.tb-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.tb-steps li {
	display: flex;
	align-items: center;
}

.tb-steps li:not(:last-child)::after {
	content: "";
	width: 36px;
	height: 1px;
	margin: 0 10px;
	background: #E4C98A;
}

.tb-steps button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 0;
	padding: 2px;
	background: none;
	color: #8A7344;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
}

.tb-steps button:disabled { cursor: default; }

.tb-num {
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #EFE4CC;
	color: #172138;
	font-size: 13px;
	letter-spacing: 0;
}

.tb-steps li.is-on button { color: #172138; }
.tb-steps li.is-on .tb-num { background: #D8AE48; color: #172138; }
.tb-steps li.is-done button { color: #172138; }
.tb-steps li.is-done .tb-num { background: #E4C56A; }

.tb-eyebrow {
	margin: 0;
	text-align: center;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #A80F14;
}

.tb-title-gap { min-height: 1.15em; }

.tb-card-title,
.tb-result h2 {
	margin: 4px 0 0;
	text-align: center;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	font-size: clamp(30px, 3vw, 40px);
	line-height: 1.05;
	color: #172138;
}

.tb-sub {
	margin: 6px 0 0;
	text-align: center;
	color: #5C5348;
	font-size: 16px;
	line-height: 1.35;
}

.tb-label {
	display: block;
	margin: 14px 0 8px;
	text-align: center;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #6B5C4C;
}

.tb-codes {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.tb-codes input {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	max-width: 64px;
	height: 62px;
	border: 1px solid #E4D3B4;
	border-radius: 14px;
	background: #fff;
	color: #172138;
	font-family: Outfit, "Segoe UI", Arial, sans-serif;
	font-size: 30px;
	font-weight: 600;
	font-variant-numeric: tabular-nums lining-nums;
	text-align: center;
	text-transform: uppercase;
}

.tb-codes input:focus {
	outline: none;
	border-color: #D8AE48;
	box-shadow: 0 0 0 3px rgba(216, 174, 72, .35);
}

.tb-hint,
.tb-note {
	margin: 10px 0 0;
	text-align: center;
	color: #6B5C4C;
	font-size: 14px;
	line-height: 1.4;
}

.tb-hint .tb-quiet { margin-left: 6px; }

#tb-btn-code:not(:disabled)::after,
#tb-btn-person:not(:disabled)::after {
	content: " \2192";
	font-weight: 500;
}

.tb-quiet,
.tb-text,
.tb-foot button {
	border: 0;
	padding: 0;
	background: transparent;
	color: #8A6230;
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.tb-where {
	margin: 8px auto 0;
	max-width: 34rem;
	text-align: center;
	color: #5C5348;
	font-size: 14px;
	line-height: 1.45;
}

.tb-error {
	margin: 10px 0 0;
	text-align: center;
	color: #A80F14;
	font-size: 15px;
}

.tb-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	border: 0;
	height: 52px;
	padding: 0 28px;
	border-radius: 14px;
	cursor: pointer;
	background: #A80F14;
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .01em;
	box-shadow: 0 10px 22px rgba(168, 15, 20, .28);
}

.tb-btn--wide { width: 100%; }

.tb-btn:hover { background: #8E0C12; }
.tb-btn:disabled { opacity: .55; cursor: wait; }

.tb-code-ok {
	margin: 0 0 8px;
	text-align: center;
	color: #5C5348;
	font-size: 15px;
	letter-spacing: .06em;
}

.tb-code-ok b {
	font-weight: 600;
	letter-spacing: .16em;
	color: #172138;
}

.tb-claim { margin-top: 12px; text-align: left; }

.tb-claim-lead {
	margin: 0 0 8px;
	text-align: center;
	color: #172138;
}

.tb-claim label {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: #6B5C4C;
}

.tb-claim input[type="text"],
.tb-claim input[type="email"],
.tb-claim input[type="tel"],
.tb-claim input:not([type]) {
	display: block;
	width: 100%;
	height: 48px;
	margin-top: 6px;
	padding: 0 14px;
	border: 1px solid #E4D3B4;
	border-radius: 12px;
	background: #fff;
	color: #172138;
	font: 16px/1.2 Outfit, Arial, sans-serif;
}

.tb-claim input:focus {
	outline: none;
	border-color: #D8AE48;
	box-shadow: 0 0 0 3px rgba(216, 174, 72, .28);
}

.tb-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.4;
	color: #172138;
}

.tb-check input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex: 0 0 auto;
	accent-color: #A80F14;
}

.tb-check a { color: #8A6230; }

body[data-step="wheel"] .tb-card {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	padding-left: 0;
	padding-right: 0;
}

body[data-step="wheel"] .tb-steps button { color: rgba(255, 247, 232, .7); }
body[data-step="wheel"] .tb-steps li.is-on button,
body[data-step="wheel"] .tb-steps li.is-done button { color: #F0D78A; }
body[data-step="wheel"] .tb-num { background: rgba(255, 247, 232, .16); color: #fff; }
body[data-step="wheel"] .tb-steps li.is-on .tb-num { background: #D8AE48; color: #172138; }
body[data-step="wheel"] .tb-code-ok,
body[data-step="wheel"] .tb-code-ok b { color: #F6E7C2; }
body[data-step="wheel"] .tb-code-ok b { color: #fff; }

.tb-panel--wheel { text-align: center; }

.tb-wheel-block {
	position: relative;
	width: min(100%, 520px);
	margin: 0 auto;
}

.tb-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: visible;
}

.tb-stage::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 196, 70, .34) 54%, rgba(255, 170, 40, .08) 68%, transparent 76%);
	filter: blur(1px);
}

.tb-layer,
.tb-rotor {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.tb-layer,
.tb-rotor svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

#tb-back { z-index: 0; pointer-events: none; }
.tb-rotor { z-index: 1; transform-origin: 50% 50%; }
#tb-front { z-index: 2; pointer-events: none; }

.tb-kicker {
	margin: 0;
	text-align: center;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-size: 12px;
	color: #A80F14;
}

.tb-result-copy {
	margin: 12px auto 0;
	max-width: 28rem;
	text-align: center;
	color: #5C5348;
	font-size: 17px;
	line-height: 1.45;
}

.tb-prize.is-grand #tb-result-copy {
	max-width: 22rem;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(7, 24, 51, .72);
	color: #F8E7B0;
}

.tb-saved {
	margin: 16px auto 0;
	max-width: 24rem;
	text-align: left;
}

.tb-saved div {
	display: grid;
	grid-template-columns: 9.5rem 1fr;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(23, 33, 56, .1);
}

.tb-saved dt {
	margin: 0;
	color: #8A6230;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.tb-saved dd {
	margin: 0;
	color: #172138;
	font-size: 16px;
	overflow-wrap: anywhere;
}

.tb-thanks {
	margin: 16px 0 0;
	text-align: center;
	color: #145C45;
	font-size: 15px;
	white-space: nowrap;
}

#tb-again, #tb-save, #tb-save-note { display: none; }

.tb-live {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.tb-foot {
	margin: 0;
	padding: 0 16px 6px;
	text-align: center;
}

body[data-step="code"] .tb-foot,
body[data-step="prize"] .tb-foot { display: none; }

.tb-legal {
	background: #A80F14;
	color: #fff;
	text-align: center;
	padding: 10px 16px 12px;
}

.tb-legal p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

.tb-legal a { color: #fff; }

.tb-bon {
	font-weight: 600;
	letter-spacing: .08em;
	color: #172138;
}

.tb-modal {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: rgba(7, 24, 46, .62);
}

.tb-modal[hidden] { display: none; }

.tb-modal-card {
	width: min(400px, 100%);
	padding: 26px 24px 22px;
	border-radius: 22px;
	background: #FFF7E8;
	border: 1px solid rgba(216, 174, 72, .9);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	text-align: left;
}

.tb-modal-kicker {
	margin: 0;
	color: #A80F14;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.tb-modal-card h2 {
	margin: 6px 0 16px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	color: #172138;
}

.tb-modal-list { margin: 0; }

.tb-modal-list div {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 8px;
	padding: 10px 0;
	border-top: 1px solid #F0E6D6;
}

.tb-modal-list dt {
	margin: 0;
	color: #8A7968;
	font-size: 13px;
	line-height: 1.4;
}

.tb-modal-list dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}

.tb-modal-list a {
	color: #172138;
	text-decoration: none;
}

.tb-modal-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.tb-who-card {
	position: relative;
	width: min(560px, 100%);
	padding: 28px 28px 22px;
}

.tb-who-card .tb-modal-list div {
	grid-template-columns: 88px minmax(0, 1fr);
	align-items: start;
}

.tb-who-card .tb-modal-list dd {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.tb-who-open {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	line-height: 0;
	cursor: pointer;
}

.tb-who-open:focus-visible {
	outline: 2px solid #C4922A;
	outline-offset: 3px;
	border-radius: 50%;
}

.tb-where-card {
	position: relative;
	width: min(480px, 100%);
	max-height: calc(100vh - 32px);
	padding: 18px 18px 16px;
	overflow: auto;
	text-align: center;
}

.tb-where-card h2 {
	margin: 2px 28px 12px;
	text-align: center;
	font-size: 30px;
}

.tb-where-x {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #172138;
	font: 600 22px/34px Outfit, "Segoe UI", sans-serif;
	cursor: pointer;
	box-shadow: 0 0 0 1px rgba(216, 174, 72, .9);
}

.tb-where-shot {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: calc(100vh - 196px);
	height: auto;
	margin: 0 auto;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(216, 174, 72, .85), 0 10px 28px rgba(23, 33, 56, .16);
}

.tb-voucher {
	position: relative;
	width: min(300px, 92%);
	margin: 14px auto 0;
}

.tb-voucher-face { position: relative; }

.tb-voucher-face img {
	display: block;
	width: 100%;
	height: auto;
}

.tb-voucher-face img[hidden] { display: none !important; }

.tb-voucher.is-used .tb-voucher-face { filter: grayscale(1) brightness(.96); }

.tb-voucher-stamp {
	position: absolute;
	left: 6%;
	right: 6%;
	top: 42%;
	z-index: 3;
	margin: 0;
	padding: 10px 8px 8px;
	transform: rotate(-8deg);
	text-align: center;
	color: #8A0301;
	background: rgba(255, 250, 242, .94);
	border: 2px solid #8A0301;
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(23, 33, 56, .22);
	font-family: Outfit, "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: clamp(22px, 6vw, 34px);
	letter-spacing: .28em;
	line-height: 1;
}

.tb-voucher-stamp::before {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px solid rgba(138, 3, 1, .45);
	border-radius: 3px;
	pointer-events: none;
}

.tb-voucher-body {
	position: absolute;
	left: 14%;
	right: 14%;
	top: 4%;
	height: 40%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 2px;
	overflow: hidden;
	text-align: center;
}

.tb-voucher-kicker,
.tb-voucher-name {
	margin: 0;
	color: #8A0301;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	line-height: 1.05;
}

.tb-voucher-kicker { font-size: clamp(16px, 3.2vw, 22px); }
.tb-voucher-name { font-size: clamp(18px, 3.4vw, 26px); }

.tb-voucher-code {
	margin: 18px 0 0;
	color: #172138;
	font-family: Outfit, "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: clamp(16px, 4.2vw, 24px);
	letter-spacing: .06em;
	line-height: 1.15;
	word-break: break-all;
}

.tb-voucher img.tb-voucher-qr:not([hidden]) {
	display: block;
	width: 92px;
	height: auto;
	margin: 10px auto 0;
	padding: 4px;
	background: #fff;
	border-radius: 6px;
}

.tb-voucher-off {
	margin: 2px 0 0;
	color: #8A0301;
	font-family: Outfit, "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: clamp(26px, 5vw, 40px);
	line-height: 1;
}

.tb-voucher-until {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 47%;
	margin: 0;
	text-align: center;
	color: #6B5344;
	font-family: Outfit, "Segoe UI", sans-serif;
	font-size: clamp(9px, 2vw, 12px);
	font-weight: 500;
	line-height: 1.15;
}

.tb-noscript {
	text-align: center;
	color: #F6E7C2;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
	outline: 2px solid #D8AE48;
	outline-offset: 3px;
}

.tb-codes input:focus-visible { outline: none; }

@media (min-width: 981px) {
	body[data-step="code"],
	body[data-step="details"],
	body[data-step="wheel"],
	body[data-step="prize"] {
		position: relative;
		width: 100%;
		height: 100vh;
		overflow: hidden;
		background: #07182E;
	}

	body[data-step="code"] .tb-screen,
	body[data-step="details"] .tb-screen,
	body[data-step="wheel"] .tb-screen,
	body[data-step="prize"] .tb-screen {
		container-type: size;
		max-width: 100%;
		max-height: 100vh;
		height: auto;
		min-height: 0;
		flex: none;
		position: absolute;
		left: 50%;
		top: 50%;
		display: block;
		transform: translate(-50%, -50%);
	}

	body[data-step="code"] .tb-screen,
	body[data-step="details"] .tb-screen,
	body[data-step="wheel"] .tb-screen,
	body[data-step="prize"] .tb-screen {
		width: min(100%, calc(100vh * 1774 / 887));
		aspect-ratio: 1774 / 887;
	}

	body:is([data-step="code"], [data-step="prize"]) .tb-screen-art--code.tb-screen-art--fit,
	body[data-step="details"] .tb-screen-art--data.tb-screen-art--fit,
	body[data-step="wheel"] .tb-screen-art--wheel.tb-screen-art--fit {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: contain;
		object-position: center center;
		z-index: 0;
		pointer-events: none;
		image-rendering: auto;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-top,
	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-legal {
		position: absolute;
		z-index: 5;
		pointer-events: auto;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-layout {
		position: absolute;
		z-index: 2;
		pointer-events: none;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-panel-wrap,
	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-card,
	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-steps,
	body[data-step="wheel"] .tb-wheel-block,
	body[data-step="wheel"] #tb-btn-spin,
	body[data-step="wheel"] #tb-spin-error {
		pointer-events: auto;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-top {
		left: 0;
		top: 0;
		right: 0;
		height: auto;
		min-height: 9%;
		padding: 1.2% 16% 0 1.1%;
		gap: 1cqw;
		align-items: flex-start;
		background: transparent;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-logo img {
		height: 16.5cqh;
		width: auto;
		opacity: 1;
		filter: drop-shadow(0 0.4cqh 0.8cqh rgba(0, 0, 0, .35));
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-nav {
		margin: 2.1cqh 0 0 auto;
		flex-shrink: 0;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-nav a,
	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-nav button {
		color: #F6E7C2;
		border-color: rgba(216, 174, 72, .85);
		font-size: 1.18cqw;
		white-space: nowrap;
		text-decoration: underline;
		text-underline-offset: 0.22em;
		text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-nav a:hover,
	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-nav button:hover {
		color: #fff;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-layout {
		inset: 0;
		width: auto;
		margin: 0;
		padding: 0;
		display: block;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-hero {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	body:is([data-step="code"], [data-step="prize"]) .tb-panel-wrap {
		position: absolute;
		z-index: 2;
		left: 51%;
		top: 14%;
		width: 26%;
		height: 64%;
		display: block;
	}

	body[data-step="details"] .tb-panel-wrap {
		position: absolute;
		z-index: 2;
		left: 54%;
		top: 11%;
		width: 25%;
		height: 70%;
		display: block;
	}

	body:is([data-step="code"], [data-step="prize"]) .tb-card,
	body[data-step="details"] .tb-card {
		width: 100%;
		height: 100%;
		border-radius: 1.7cqw;
		padding: 1.1cqh 1.35cqw 1cqh;
		box-shadow: 0 1.4cqh 2.6cqh rgba(0, 0, 0, .28);
		overflow: auto;
	}

	body[data-step="code"] .tb-card {
		display: flex;
		flex-direction: column;
		justify-content: safe center;
	}

	body[data-step="prize"] .tb-card {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}

	body[data-step="code"] #tb-step-code { display: contents; }

	body:is([data-step="code"], [data-step="details"], [data-step="prize"]) .tb-steps { margin: 0 0 0.4cqh; }
	body:is([data-step="code"], [data-step="details"], [data-step="prize"]) .tb-steps button {
		font-size: 0.68cqw;
		letter-spacing: .02em;
		white-space: nowrap;
	}
	body:is([data-step="code"], [data-step="details"], [data-step="prize"]) .tb-steps li:not(:last-child)::after {
		width: 0.9cqw;
		margin: 0 0.28cqw;
	}
	body:is([data-step="code"], [data-step="details"], [data-step="prize"]) .tb-steps li:not(:last-child)::after { width: 1.5cqw; margin: 0 0.45cqw; }
	body:is([data-step="code"], [data-step="details"], [data-step="prize"]) .tb-num { width: 1.7cqw; height: 1.7cqw; font-size: 1cqw; }

	body[data-step="code"] .tb-eyebrow { order: 1; margin: 0; font-size: 0.95cqw; }
	body[data-step="code"] .tb-card-title { order: 2; margin: 0.15cqh 0 0; font-size: 2.35cqw; }
	body[data-step="code"] .tb-sub { order: 3; margin: 0.2cqh 0 0; font-size: 1.12cqw; }
	body[data-step="code"] .tb-steps { order: 4; }
	body[data-step="code"] .tb-label { order: 5; margin: 0.7cqh 0 0.45cqh; font-size: 0.95cqw; }
	body[data-step="code"] .tb-codes { order: 6; gap: 0.55cqw; }
	body[data-step="code"] .tb-codes input {
		height: 7.2cqh;
		max-width: none;
		font-size: 2cqw;
		border-radius: 0.9cqw;
	}
	body[data-step="code"] .tb-hint { order: 7; margin: 0.55cqh 0 0; font-size: 1.05cqw; }
	body[data-step="code"] .tb-where { order: 8; font-size: 1.05cqw; }
	body[data-step="code"] .tb-error { order: 9; font-size: 1.1cqw; }
	body[data-step="code"] #tb-btn-code {
		order: 10;
		height: 6.1cqh;
		margin-top: 0.9cqh;
		font-size: 1.4cqw;
		border-radius: 1cqw;
	}
	body[data-step="code"] .tb-note { order: 11; margin: 0.5cqh 0 0; font-size: 1.02cqw; }

	body[data-step="details"] .tb-eyebrow { margin: 0; font-size: 0.92cqw; }
	body[data-step="details"] .tb-title-gap {
		margin: 0;
		height: 2.4cqw;
		font-size: 2.15cqw;
	}
	body[data-step="details"] .tb-sub { margin: 0.15cqh 0 0; font-size: 1.05cqw; }
	body[data-step="details"] .tb-code-ok { margin: 0.3cqh 0; font-size: 1.08cqw; color: #172138; }
	body[data-step="details"] .tb-code-ok b { color: #172138; }
	body[data-step="details"] .tb-claim { margin-top: 0.2cqh; }
	body[data-step="details"] .tb-claim label { margin-top: 0.45cqh; font-size: 1cqw; }
	body[data-step="details"] .tb-claim input {
		height: 4.5cqh;
		margin-top: 0.15cqh;
		font-size: 1.15cqw;
		padding: 0 0.8cqw;
		border-radius: 0.7cqw;
	}
	body[data-step="details"] .tb-check { margin-top: 0.45cqh; font-size: 0.98cqw; gap: 0.45cqw; line-height: 1.25; }
	body[data-step="details"] .tb-check input { width: 1.15cqw; height: 1.15cqw; }
	body[data-step="details"] #tb-btn-person {
		height: 5.6cqh;
		margin-top: 0.7cqh;
		font-size: 1.35cqw;
		border-radius: 1cqw;
	}

	body[data-step="prize"] .tb-kicker { font-size: 1.05cqw; }
	body[data-step="prize"] .tb-result h2 { margin-top: 0.2cqh; font-size: 2.2cqw; }
	body[data-step="prize"] .tb-result-copy { font-size: 1.1cqw; }
	body[data-step="prize"] .tb-voucher { width: 62%; max-width: none; }

	body[data-step="wheel"] .tb-panel-wrap,
	body[data-step="wheel"] .tb-card {
		position: static;
		width: auto;
		height: auto;
		display: block;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	body[data-step="wheel"] .tb-steps {
		position: absolute;
		left: 42%;
		top: 9%;
		width: 28%;
		margin: 0;
		z-index: 3;
		background: transparent;
		justify-content: center;
	}

	body[data-step="wheel"] .tb-steps button { font-size: 0.78cqw; letter-spacing: .02em; white-space: nowrap; }
	body[data-step="wheel"] .tb-steps li:not(:last-child)::after { width: 1cqw; margin: 0 0.28cqw; }
	body[data-step="wheel"] .tb-num { width: 1.45cqw; height: 1.45cqw; font-size: 0.82cqw; }

	body[data-step="wheel"] .tb-code-ok {
		position: absolute;
		left: 40%;
		top: 13.2%;
		width: 30%;
		margin: 0;
		z-index: 3;
		background: transparent;
		font-size: 1cqw;
	}

	body[data-step="wheel"] .tb-wheel-block {
		position: absolute;
		left: 47%;
		top: 19%;
		width: 28%;
		margin: 0;
		z-index: 2;
	}

	body[data-step="wheel"] #tb-btn-spin {
		position: absolute;
		left: 50%;
		top: 69%;
		width: 22%;
		height: 6.2cqh;
		margin: 0;
		z-index: 4;
		font-size: 1.35cqw;
		border-radius: 1cqw;
	}

	body[data-step="wheel"] #tb-spin-error {
		position: absolute;
		left: 45%;
		top: 83%;
		width: 30%;
		margin: 0;
		z-index: 4;
		font-size: 1.1cqw;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-legal {
		top: 87%;
		height: 11.5%;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-legal {
		left: 0;
		right: 0;
		padding: 0 6%;
		background: transparent;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-legal p,
	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-legal a {
		color: #fff;
		font-size: 1.02cqw;
		line-height: 1.25;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-legal a {
		font-weight: 600;
		text-decoration: underline;
		text-underline-offset: 0.18em;
	}

	body:is([data-step="code"], [data-step="details"], [data-step="wheel"], [data-step="prize"]) .tb-foot { display: none; }

	body[data-step="prize"] .tb-panel-wrap,
	body[data-step="prize"] .tb-card {
		position: static;
		width: auto;
		height: auto;
		display: block;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		overflow: visible;
	}

	body[data-step="prize"] .tb-steps {
		position: absolute;
		left: 14%;
		top: 8.6%;
		width: 32%;
		margin: 0;
		z-index: 6;
		background: transparent;
		justify-content: center;
	}

	body[data-step="prize"] .tb-steps button {
		font-size: 0.72cqw;
		letter-spacing: .03em;
		white-space: nowrap;
		color: #F6E7C2;
		text-shadow: 0 1px 2px rgba(0, 0, 0, .75);
	}
	body[data-step="prize"] .tb-steps li.is-on button,
	body[data-step="prize"] .tb-steps li.is-done button { color: #F8E7B0; }
	body[data-step="prize"] .tb-steps li:not(:last-child)::after { width: 1.1cqw; margin: 0 0.35cqw; background: rgba(240, 212, 138, .9); }
	body[data-step="prize"] .tb-num { width: 1.45cqw; height: 1.45cqw; font-size: 0.82cqw; }

	body[data-step="prize"] .tb-result {
		position: absolute;
		left: 49.5%;
		top: 16.5%;
		width: 33%;
		height: 67%;
		z-index: 3;
		margin: 0;
		padding: 0;
		overflow: visible;
		background: transparent;
		border: 0;
		box-shadow: none;
		pointer-events: auto;
	}

	.tb-prize {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		height: 100%;
		width: auto;
		aspect-ratio: 521 / 640;
		margin-inline: auto;
		padding: 14% 8% 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.tb-prize-frame {
		position: absolute;
		inset: 0;
		z-index: 0;
		width: 100%;
		height: 100%;
		object-fit: contain;
		pointer-events: none;
	}

	.tb-prize-spark {
		position: absolute;
		left: 50%;
		bottom: 7%;
		z-index: 1;
		width: 72%;
		height: auto;
		transform: translateX(-50%);
		pointer-events: none;
	}

	.tb-prize-ribbon {
		position: absolute;
		left: 50%;
		top: 0;
		z-index: 3;
		width: 104%;
		height: auto;
		transform: translate(-50%, -36%);
		pointer-events: none;
	}

	.tb-prize-won {
		position: relative;
		z-index: 3;
		margin: 0 0 0.15cqh;
		color: #F8E7B0;
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: 1.85cqw;
		font-style: italic;
		font-weight: 700;
		line-height: 1;
		text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
	}

	body[data-step="prize"] .tb-result h2 {
		margin: 0;
		color: #F8E7B0;
		font-size: 2.4cqw;
		line-height: 1;
	}

	.tb-prize-won,
	.tb-ticket,
	.tb-prize-row,
	body[data-step="prize"] .tb-result h2,
	body[data-step="prize"] .tb-result-copy,
	body[data-step="prize"] .tb-thanks,
	body[data-step="prize"] .tb-claim {
		position: relative;
		z-index: 2;
	}

	.tb-ticket { position: relative; width: 90%; margin: 0.1cqh 0 0; container-type: inline-size; }

	.tb-ticket-art {
		display: block;
		width: 100%;
		height: auto;
	}

	.tb-ticket-copy {
		position: absolute;
		left: 6%;
		right: 6%;
		top: 9%;
		height: 40%;
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		justify-items: center;
		text-align: center;
	}

	.tb-ticket-name,
	.tb-ticket-off,
	.tb-ticket-code {
		margin: 0;
		color: #3a2412;
		font-family: "Cormorant Garamond", Georgia, serif;
		font-weight: 700;
		line-height: 1.05;
	}

	.tb-ticket-name {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 94%;
		min-width: 0;
		font-size: 6.4cqi;
		text-align: center;
		text-wrap: balance;
	}
	.tb-ticket-name span { display: block; max-width: 100%; text-align: center; }
	.tb-ticket.is-long .tb-ticket-name { font-size: 5.1cqi; line-height: 1.05; }
	.tb-ticket-copy:not(:has(.tb-ticket-off:not([hidden]))):not(:has(.tb-ticket-code:not([hidden]))) { grid-template-columns: 1fr; }
	.tb-ticket-copy:not(:has(.tb-ticket-off:not([hidden]))):not(:has(.tb-ticket-code:not([hidden]))) .tb-ticket-name { max-width: 92%; }
	.tb-ticket-off,
	.tb-ticket-code {
		width: 100%;
		margin: 0;
		padding: 0;
		border-left: 2px solid rgba(90, 52, 16, .45);
		font-family: Outfit, "Segoe UI", sans-serif;
		font-weight: 700;
		font-size: 12.5cqi;
		letter-spacing: 0;
		text-align: center;
	}

	.tb-ticket .tb-voucher-stamp { top: 28%; }

	.tb-prize-row {
		position: absolute;
		left: 8%;
		right: 8%;
		bottom: 15%;
		z-index: 2;
		display: grid;
		grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.62fr);
		grid-template-areas: "date qr" "who qr";
		gap: 0.32cqh 0.4cqw;
		width: auto;
		margin: 0;
		align-items: stretch;
	}
	.tb-pill-date { grid-area: date; }
	.tb-pill-who { grid-area: who; }
	.tb-pill-qr { grid-area: qr; }

	.tb-pill {
		display: flex;
		align-items: center;
		gap: 0.4cqw;
		min-width: 0;
		min-height: 0;
		overflow: hidden;
		padding: 0.4cqh 0.8cqw;
		border-radius: 0.9cqw;
		background: #fff8ec;
		border: 1px solid #e4c56a;
		box-shadow: 0 0.3cqh 0.8cqh rgba(80, 40, 8, .12);
		color: #3a2412;
	}

	.tb-pill svg {
		flex: 0 0 auto;
		width: 1.7cqw;
		height: 1.7cqw;
	}

	.tb-pill p,
	.tb-who p {
		margin: 0;
		font-size: 1.05cqw;
		line-height: 1.28;
	}

	.tb-pill span { color: #7a5a28; }
	.tb-who span { display: inline; color: #7a5a28; }

	.tb-pill b,
	.tb-who b {
		font-weight: 600;
		color: #2a1c10;
	}

	.tb-pill-date p span { font-size: 0.82cqw; }
	.tb-pill-date b { display: block; font-size: 0.95cqw; white-space: nowrap; }

	.tb-pill-qr { justify-content: center; align-items: center; padding: 0.35cqh; }
	.tb-pill-qr img {
		width: auto;
		height: 100%;
		max-width: 100%;
		max-height: 9.2cqh;
		object-fit: contain;
		background: #fff;
	}

	.tb-pill-qr:has(img[hidden]) { display: none; }
	.tb-prize-row:has(.tb-pill-qr:has(img[hidden])) {
		grid-template-columns: 1fr;
		grid-template-areas: "date" "who";
	}

	.tb-prize:has(#tb-voucher[hidden]) .tb-prize-won,
	.tb-prize:has(#tb-voucher[hidden]) .tb-prize-row { display: none; }

	.tb-prize:has(#tb-voucher:not([hidden])) .tb-result-copy { display: none; }

	body[data-step="prize"] .tb-thanks {
		position: absolute;
		left: 8%;
		right: 8%;
		bottom: 36.5%;
		margin: 0;
		z-index: 4;
		color: #F8E7B0;
		font-size: 1.05cqw;
		text-align: center;
		white-space: normal;
		text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
	}

	body[data-step="prize"] #tb-again {
		position: absolute;
		left: 50%;
		bottom: 2.2%;
		z-index: 5;
		display: block;
		margin: 0;
		padding: 0;
		transform: translateX(-50%);
		color: #3a2412;
		font-family: Outfit, "Segoe UI", sans-serif;
		font-size: 0.95cqw;
		font-weight: 600;
		letter-spacing: .01em;
		line-height: 1;
		text-decoration: none;
		white-space: nowrap;
		text-shadow: 0 1px 0 rgba(255, 246, 220, .85);
	}

	.tb-who { min-width: 0; overflow: hidden; }
	.tb-who p {
		display: flex;
		gap: 0.25em;
		min-width: 0;
		margin: 0;
		overflow: hidden;
		font-size: 0.76cqw;
		line-height: 1.25;
		white-space: nowrap;
	}
	.tb-who p span { flex: 0 0 auto; }
	.tb-who p b {
		min-width: 0;
		overflow: hidden;
		font-weight: 600;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	body[data-step="prize"] .tb-claim {
		width: 92%;
		min-width: 0;
		max-width: 100%;
		margin: 0.4cqh 0 0;
	}

	body[data-step="prize"] .tb-claim-lead { margin: 0; font-size: 0.98cqw; }
	body[data-step="prize"] .tb-claim label { min-width: 0; max-width: 100%; margin-top: 0.3cqh; font-size: 0.95cqw; }
	body[data-step="prize"] .tb-claim input {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
		height: 4cqh;
		margin-top: 0.1cqh;
		overflow: hidden;
		font-size: 1.05cqw;
		padding: 0 0.7cqw;
		border-radius: 0.6cqw;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	body[data-step="prize"] .tb-prize:has(#tb-claim:not([hidden])) .tb-prize-row {
		visibility: hidden;
		pointer-events: none;
	}
	body[data-step="prize"] .tb-check { margin-top: 0.28cqh; font-size: 0.88cqw; line-height: 1.2; }
	body[data-step="prize"] .tb-check input { width: 1.05cqw; height: 1.05cqw; }
	body[data-step="prize"] #tb-btn-claim {
		height: 4.8cqh;
		margin-top: 0.45cqh;
		font-size: 1.2cqw;
		border-radius: 0.9cqw;
	}
}

@media (min-width: 981px) and (min-aspect-ratio: 22/10) {
	body[data-step="code"] .tb-screen,
	body[data-step="prize"] .tb-screen {
		width: min(100%, calc(100vh * 1916 / 821));
		aspect-ratio: 1916 / 821;
	}

	body[data-step="details"] .tb-screen {
		width: min(100%, calc(100vh * 1933 / 814));
		aspect-ratio: 1933 / 814;
	}

	body[data-step="wheel"] .tb-screen {
		width: min(100%, calc(100vh * 1983 / 793));
		aspect-ratio: 1983 / 793;
	}

	body:is([data-step="code"], [data-step="prize"]) .tb-screen-art--code.tb-screen-art--fit,
	body[data-step="details"] .tb-screen-art--data.tb-screen-art--fit,
	body[data-step="wheel"] .tb-screen-art--wheel.tb-screen-art--fit {
		display: none;
	}

	body:is([data-step="code"], [data-step="prize"]) .tb-screen-art--code.tb-screen-art--wide,
	body[data-step="details"] .tb-screen-art--data.tb-screen-art--wide,
	body[data-step="wheel"] .tb-screen-art--wheel.tb-screen-art--wide {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: contain;
		object-position: center center;
		z-index: 0;
		pointer-events: none;
	}

	body:is([data-step="code"], [data-step="prize"]) .tb-panel-wrap {
		left: 52.5%;
		top: 12%;
		width: 27%;
		height: 64%;
	}

	body[data-step="details"] .tb-panel-wrap {
		left: 51%;
		top: 11%;
		width: 30%;
		height: 76%;
	}

	body[data-step="wheel"] .tb-steps {
		left: 44%;
		top: 8%;
		width: 32%;
	}

	body[data-step="wheel"] .tb-code-ok {
		left: 38%;
		top: 13%;
		width: 32%;
	}

	body[data-step="wheel"] .tb-wheel-block {
		left: 46%;
		top: 14%;
		width: 30%;
	}

	body[data-step="wheel"] #tb-btn-spin {
		left: 50%;
		top: 76%;
		width: 22%;
	}

	body[data-step="wheel"] #tb-spin-error {
		left: 42%;
		top: 89%;
		width: 34%;
	}

	body:is([data-step="code"], [data-step="prize"]) .tb-legal {
		top: 87.5%;
		height: 11%;
	}

	body[data-step="details"] .tb-legal,
	body[data-step="wheel"] .tb-legal {
		top: 92.6%;
		height: 6.6%;
	}

	body[data-step="details"] .tb-legal p,
	body[data-step="wheel"] .tb-legal p {
		font-size: 0.9cqw;
		line-height: 1.15;
	}

	body[data-step="prize"] .tb-panel-wrap,
	body[data-step="prize"] .tb-card {
		position: static;
		left: auto;
		top: auto;
		width: auto;
		height: auto;
	}

	body[data-step="prize"] .tb-steps {
		left: 15%;
		top: 7.6%;
		width: 30%;
	}

	body[data-step="prize"] .tb-result {
		left: 48.5%;
		top: 16%;
		width: 34%;
		height: 67%;
	}
}

@media (max-height: 860px) and (min-width: 981px) {
	.tb-top { padding-top: 6px; }
	.tb-logo img { height: 58px; }
	.tb-name { font-size: 28px; }
	.tb-card { padding: 12px 20px 12px; }
	.tb-codes input { height: 52px; font-size: 26px; }
	.tb-card-title { font-size: 32px; }
	.tb-btn { height: 46px; margin-top: 10px; }
	.tb-hero-art { max-height: calc(100vh - 108px); }
	.tb-legal { padding: 8px 16px; }
	.tb-legal p { font-size: 13px; }
}

@media (max-width: 980px) {
	.tb-scene {
		display: block;
		order: 2;
		position: relative;
		width: 100%;
		overflow: hidden;
		aspect-ratio: 1000 / 742;
		background: #07182E;
		z-index: 1;
		pointer-events: none;
	}

	body[data-step="code"] .tb-scene .tb-screen-art--code.tb-screen-art--fit,
	body[data-step="details"] .tb-scene .tb-screen-art--data.tb-screen-art--fit,
	body[data-step="wheel"] .tb-scene .tb-screen-art--wheel.tb-screen-art--fit,
	body[data-step="prize"] .tb-scene .tb-screen-art--code.tb-screen-art--fit {
		display: block;
		position: absolute;
		top: 0;
		left: calc(100% * -20 / 1000);
		width: calc(100% * 1774 / 1000);
		height: auto;
		max-width: none;
		max-height: none;
		object-fit: fill;
		object-position: left top;
		z-index: 1;
		pointer-events: none;
	}

	.tb-top { order: 1; }
	.tb-layout { order: 3; }
	.tb-foot { order: 4; }
	.tb-legal { order: 5; }

	.tb-top,
	.tb-layout,
	.tb-legal,
	.tb-foot {
		position: relative;
		z-index: 1;
	}

	.tb-layout {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		width: min(520px, calc(100% - 24px));
		padding-top: 8px;
	}

	.tb-hero {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tb-hero-art,
	.tb-hero-mobile { display: none; }

	.tb-top { padding: 8px 10px 0; gap: 8px; align-items: center; }
	.tb-name { font-size: 22px; border: 0; padding-left: 0; }
	.tb-logo img { height: 54px; }
	.tb-nav { min-width: 0; }
	.tb-nav button { border: 0; margin-left: 8px; padding-left: 8px; }
	.tb-nav a,
	.tb-nav button { font-size: 12px; }
	body[data-step="code"] { height: auto; overflow: visible; }
	body[data-step="code"] .tb-foot { display: block; }
	html { overflow-x: clip; }
	.tb-screen { min-width: 0; max-width: 100%; }
	.tb-layout { min-width: 0; max-width: 100%; }
	.tb-panel-wrap, .tb-card { min-width: 0; max-width: 100%; }
	.tb-steps { width: 100%; max-width: 100%; }
	.tb-steps button { font-size: 9px; letter-spacing: 0; gap: 3px; }
	body[data-step="prize"] .tb-steps button { color: #F6E7C2; }
	body[data-step="prize"] .tb-steps li.is-on button,
	body[data-step="prize"] .tb-steps li.is-done button { color: #F8E7B0; }
	.tb-num { width: 18px; height: 18px; font-size: 10px; }
	.tb-steps li:not(:last-child)::after { width: 8px; margin: 0 3px; }
	.tb-nav a,
	.tb-nav button { font-size: 11px; }
	.tb-card { padding: 16px 14px 14px; }
	body[data-step="prize"] .tb-card {
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 18px 0 8px;
		overflow: visible;
	}
	.tb-steps { position: relative; z-index: 2; }
	.tb-prize {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		width: 100%;
		margin-top: 12px;
		padding: 54px 16px 14px;
		background: transparent;
		border: 0;
		box-shadow: none;
	}
	.tb-prize-frame {
		position: absolute;
		inset: 0;
		z-index: 0;
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: center top;
		pointer-events: none;
	}
	.tb-prize-spark {
		position: absolute;
		left: 50%;
		bottom: 8%;
		z-index: 1;
		width: 78%;
		height: auto;
		transform: translateX(-50%);
		pointer-events: none;
	}
	.tb-prize-ribbon {
		position: absolute;
		left: 50%;
		top: 0;
		z-index: 3;
		width: min(280px, 86%);
		height: auto;
		transform: translate(-50%, -34%);
	}
	.tb-prize-won,
	.tb-ticket,
	.tb-prize-row,
	.tb-thanks,
	.tb-result-copy {
		position: relative;
		z-index: 2;
	}
	.tb-prize-won {
		margin: 0 0 2px;
		color: #F8E7B0;
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: 22px;
		font-style: italic;
		font-weight: 700;
		line-height: 1;
	}
	.tb-thanks {
		order: 2;
		color: #F8E7B0;
		font-size: 15px;
		white-space: normal;
	}
	.tb-prize-row { order: 3; }
	body[data-step="prize"] #tb-save:not([hidden]) {
		display: flex;
		order: 4;
		width: 100%;
		margin-top: 12px;
	}
	body[data-step="prize"] #tb-save-note:not([hidden]) {
		display: block;
		order: 4;
		margin: 8px 0 0;
		text-align: center;
		color: #F8E7B0;
		font-size: 14px;
		line-height: 1.35;
	}
	body[data-step="prize"] #tb-again {
		position: relative;
		order: 5;
		display: block;
		margin: 10px 0 0;
		color: #F8E7B0;
		font-family: Outfit, "Segoe UI", sans-serif;
		font-size: 16px;
		font-weight: 600;
		text-decoration: underline;
		text-underline-offset: 3px;
		text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
	}
	.tb-ticket { position: relative; width: 100%; order: 1; }
	.tb-ticket-art { display: block; width: 100%; height: auto; }
	.tb-ticket-copy {
		position: absolute;
		left: 6%;
		right: 6%;
		top: 9%;
		height: 40%;
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		justify-items: center;
		text-align: center;
	}
	.tb-ticket-name,
	.tb-ticket-off,
	.tb-ticket-code {
		margin: 0;
		color: #3a2412;
		font-family: "Cormorant Garamond", Georgia, serif;
		font-weight: 700;
		line-height: 1.05;
	}
	.tb-ticket-name {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 94%;
		min-width: 0;
		font-size: clamp(18px, 5.2vw, 28px);
		text-align: center;
		text-wrap: balance;
	}
	.tb-ticket-name span { display: block; max-width: 100%; text-align: center; }
	.tb-ticket.is-long .tb-ticket-name { font-size: clamp(16px, 4.5vw, 21px); line-height: 1.05; }
	.tb-ticket-off,
	.tb-ticket-code {
		width: 100%;
		min-width: 0;
		padding-left: 8px;
		border-left: 2px solid rgba(90, 52, 16, .45);
		font-family: Outfit, "Segoe UI", sans-serif;
		font-weight: 700;
		font-size: clamp(32px, 10vw, 52px);
		text-align: center;
	}
	.tb-prize-row {
		display: grid;
		grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.72fr);
		grid-template-areas: "date qr" "who qr";
		gap: 8px;
		width: 100%;
		align-items: stretch;
	}
	.tb-pill-date { grid-area: date; }
	.tb-pill-who { grid-area: who; min-width: 0; }
	.tb-pill-qr { grid-area: qr; }
	.tb-pill {
		display: flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
		overflow: hidden;
		padding: 8px 12px;
		border-radius: 16px;
		background: #fff8ec;
		border: 1px solid #e4c56a;
		color: #3a2412;
	}
	.tb-pill svg { width: 22px; height: 22px; flex: 0 0 auto; }
	.tb-pill p, .tb-who p { margin: 0; font-size: 13px; line-height: 1.3; }
	.tb-who { min-width: 0; overflow: hidden; }
	.tb-who p {
		display: flex;
		gap: 0.25em;
		min-width: 0;
		overflow: hidden;
		white-space: nowrap;
	}
	.tb-who p span { flex: 0 0 auto; }
	.tb-who p b {
		min-width: 0;
		overflow: hidden;
		font-weight: 600;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.tb-who span, .tb-pill-date span { color: #7a5a28; }
	.tb-pill-date span { display: block; }
	.tb-pill-date b { display: block; }
	.tb-pill-qr { justify-content: center; align-items: center; min-width: 0; padding: 6px; }
	.tb-pill-qr img {
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 112px;
		object-fit: contain;
		background: #fff;
	}
	.tb-pill-qr:has(img[hidden]) { display: none; }
	.tb-prize-row:has(.tb-pill-qr:has(img[hidden])) {
		grid-template-columns: 1fr;
		grid-template-areas: "date" "who";
	}
	.tb-ticket-copy:not(:has(.tb-ticket-off:not([hidden]))):not(:has(.tb-ticket-code:not([hidden]))) {
		grid-template-columns: 1fr;
	}
	body[data-step="prize"] .tb-prize:has(#tb-voucher:not([hidden])):has(#tb-claim[hidden]) {
		width: min(100%, 440px);
		aspect-ratio: 521 / 640;
		margin-top: 44px;
		margin-inline: auto;
		padding: 58px 8% 12px;
		gap: 8px;
		justify-content: flex-start;
	}
	body[data-step="prize"] .tb-prize:has(#tb-voucher:not([hidden])):has(#tb-claim[hidden]) .tb-ticket,
	body[data-step="prize"] .tb-prize:has(#tb-voucher:not([hidden])):has(#tb-claim[hidden]) .tb-prize-row {
		width: 100%;
	}
	body[data-step="prize"] .tb-prize:has(#tb-voucher:not([hidden])):has(#tb-claim[hidden]) #tb-again {
		margin-top: auto;
	}
	.tb-prize:has(#tb-voucher[hidden]) .tb-prize-won,
	.tb-prize:has(#tb-voucher[hidden]) .tb-prize-row { display: none; }
	.tb-prize:has(#tb-voucher:not([hidden])) .tb-result-copy { display: none; }
	body[data-step="prize"] .tb-result h2 {
		margin: 0;
		text-align: center;
		color: #F8E7B0;
		font-size: 32px;
	}
	.tb-voucher-face > img { max-height: 38vh; width: auto; margin-inline: auto; }
	.tb-codes { gap: 6px; }
	.tb-codes input {
		max-width: none;
		height: 52px;
		font-size: clamp(20px, 6vw, 28px);
		border-radius: 12px;
	}
}

@media (max-width: 420px) {
	.tb-top { flex-wrap: nowrap; align-items: center; }
	.tb-nav { width: auto; margin-left: auto; }
	.tb-logo img { height: 52px; }
	.tb-nav a,
	.tb-nav button { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	.tb-btn { transition: none; }
}

body[data-step="prize"] .tb-prize.is-lose {
	width: min(100%, 420px);
	aspect-ratio: 521 / 640;
	margin-top: 28px;
	margin-inline: auto;
	padding: 0;
	gap: 0;
	justify-content: center;
}
body[data-step="prize"] .tb-prize.is-lose #tb-result-kicker {
	display: none;
}
body[data-step="prize"] .tb-prize.is-lose #tb-result-copy {
	position: absolute;
	left: 16%;
	right: 16%;
	top: 32%;
	bottom: 26%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	max-width: none;
	padding: 0;
	color: #F8E7B0;
	font-size: clamp(17px, 4.6vw, 24px);
	line-height: 1.35;
	text-align: center;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}
body[data-step="prize"] .tb-prize.is-lose #tb-again {
	position: absolute;
	left: 50%;
	bottom: 8%;
	z-index: 5;
	margin: 0;
	transform: translateX(-50%);
}
