/* Room 02 — The golden ticket. A Sweet Hyper bar to unwrap (paper peel → foil tear → chocolate),
   the DOM golden ticket (foil, guilloché, scalloped edge), its entry form, the shop hunt corners and the dialog.
   Classes: sh-tk-*. Component variables: --tk-*. */

/* ---------- The room panel ---------- */
.sh-tk-room {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--sh-cinema); color: #fff;
	padding-block: calc(var(--band) * .85);
}
.sh-main > .sh-tk-room { margin: 10px; border-radius: 34px; }
.sh-main > :is(.sh-band--yellow, .sh-band--royal, .sh-band--choc, .sh-credits) + .sh-tk-room { margin-top: 0; }
@media (max-width: 699px) { .sh-main > .sh-tk-room { margin: 6px; border-radius: 24px; } }
.sh-tk-room__glow {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 55% at 74% 46%, rgba(255, 210, 0, .1), transparent 70%),
		radial-gradient(80% 60% at 0% 100%, rgba(11, 58, 145, .55), transparent 70%),
		radial-gradient(50% 40% at 100% 0%, rgba(11, 58, 145, .4), transparent 70%);
}
.sh-tk-room__in {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(28px, 5vw, 80px); align-items: center;
}
@media (min-width: 960px) {
	.sh-tk-room__in { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); grid-template-rows: auto auto; }
	.sh-tk-room__copy { grid-column: 1; grid-row: 1 / span 2; }
	.sh-tk-stage { grid-column: 2; grid-row: 1; }
	/* The outcome sits on the stage floor, under the bar, so it shows without scrolling. */
	.sh-tk-result { grid-column: 2; grid-row: 1; align-self: end; position: relative; z-index: 4; margin-bottom: 7%; }
}
/* Phones/tablets: the copy column dissolves so the stage sits between the intro and the form. */
@media (max-width: 959px) {
	.sh-tk-room__copy, .sh-tk-intro { display: contents; }
	.sh-tk-room__copy > .sh-room { order: 1; }
	.sh-tk-intro > .sh-h2, .sh-tk-intro > .sh-lede { order: 2; }
	.sh-tk-intro > .sh-tk-room__lede { margin-bottom: 0; }
	.sh-tk-stage { order: 3; }
	.sh-tk-room__act, .sh-tk-room__how { order: 4; }
	.sh-tk-room__act { justify-content: center; }
	.sh-tk-room__how { text-align: center; }
	.sh-tk-result { order: 5; }
	.sh-tk-entry { order: 6; margin-top: 18px; }
	.sh-tk-hunt { order: 7; }
}
.sh-tk-room__h { color: #fff; max-width: 13ch; }
.sh-tk-room__lede { color: rgba(255, 255, 255, .84); opacity: 1; max-width: 44ch; }
.sh-tk-room__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sh-tk-room__go { min-height: 56px; padding-inline: 1.6em; font-size: 1.08rem; }
.sh-tk-room__go .sh-icon { color: var(--sh-gold); }
.sh-tk-room__left { margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .7); }
.sh-tk-room__how { margin: 14px 0 0; font-size: .93rem; color: rgba(255, 255, 255, .62); }
@media (hover: none), (pointer: coarse) { .sh-tk-room__how { display: none; } }
.sh-tk-entry .sh-h2:focus { outline: none; }

/* The hunt: five pips and the aisles they're hiding in. */
.sh-tk-hunt { margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; border-top: 1px solid rgba(255, 215, 0, .22); }
.sh-tk-hunt__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; }
.sh-tk-hunt__h { margin: 0; font-family: var(--f-d); font-weight: 720; font-size: 1.12rem; letter-spacing: -.01em; }
.sh-tk-hunt__count { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.sh-tk-hunt__count b { font-family: var(--f-d); font-weight: 760; color: var(--sh-gold); font-size: 1.05rem; }
.sh-tk-pips { display: inline-flex; gap: 4px; }
.sh-tk-pips i { width: 16px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, .14); transition: background-color .4s, transform .5s var(--ease-pop); }
.sh-tk-pips i.is-on { background: var(--sh-foilgold); background-size: 300% 100%; transform: rotate(-6deg); }
.sh-tk-hunt__p { margin: 10px 0 14px; color: rgba(255, 255, 255, .72); font-size: .95rem; line-height: 1.55; max-width: 52ch; }
.sh-tk-hunt__p a { color: var(--sh-gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sh-tk-hunt__go { color: #fff; }

/* ---------- The stage ---------- */
.sh-tk-stage {
	--tk-bar-y: 50%;
	position: relative; aspect-ratio: 1 / .9; width: 100%; max-width: 640px; justify-self: center;
	margin-block: 24px 6px; user-select: none; -webkit-user-select: none;
}
@media (max-width: 959px) {
	.sh-tk-stage { aspect-ratio: 1 / .66; --tk-bar-y: 50%; max-width: 520px; margin-block: 30px 18px; }
	.sh-tk-stage.is-won { aspect-ratio: 1 / 1.02; }
}
.sh-tk-stage__beam {
	position: absolute; inset: -12% 6% 0; pointer-events: none;
	background: conic-gradient(from 180deg at 50% 0%, transparent 157deg, rgba(255, 247, 176, .1) 170deg, rgba(255, 247, 176, .16) 180deg, rgba(255, 247, 176, .1) 190deg, transparent 203deg);
	-webkit-mask: linear-gradient(#000 30%, transparent 92%); mask: linear-gradient(#000 30%, transparent 92%);
}
.sh-tk-stage__floor {
	position: absolute; left: 12%; right: 12%; top: calc(var(--tk-bar-y) + 22%); height: 9%;
	background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); filter: blur(4px); pointer-events: none;
	transition: top .9s var(--ease), opacity .6s;
}
.sh-tk-stage__gold {
	position: absolute; left: 50%; top: var(--tk-bar-y); width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 210, 0, .38), rgba(255, 210, 0, .1) 55%, transparent 72%);
	opacity: 0; pointer-events: none; transition: opacity 1s var(--ease);
}
.sh-tk-stage.is-gold .sh-tk-stage__gold { opacity: 1; }

.sh-tk-bar {
	position: absolute; left: 50%; top: var(--tk-bar-y); width: 86%; aspect-ratio: 2 / 1; translate: -50% -50%;
	z-index: 2; container-type: inline-size;
}
.sh-tk-bar__fx { position: absolute; inset: 0; } /* GSAP moves these wrappers; CSS places their parents */
.sh-tk-stage__fly { position: relative; }
.sh-tk-bar__tilt {
	position: absolute; inset: 0; rotate: -3deg;
	transform: perspective(1100px) rotateX(var(--tk-rx, 0deg)) rotateY(var(--tk-ry, 0deg));
	transition: transform .5s var(--ease);
}
.sh-tk-stage.is-won .sh-tk-bar { top: 77%; scale: .74; }
.sh-tk-stage.is-won .sh-tk-stage__floor { top: calc(77% + 17%); }
.sh-tk-stage.is-won .sh-tk-stage__gold { top: 30%; }

/* The chocolate: moulded pieces (SVG pattern) with a gloss that sweeps once on reveal. */
.sh-tk-choc { position: absolute; inset: 0; border-radius: 3cqw; filter: drop-shadow(0 2.4cqw 3cqw rgba(0, 0, 0, .55)); }
.sh-tk-choc svg { display: block; width: 100%; height: 100%; }
.sh-tk-choc__gloss { position: absolute; inset: 0; border-radius: 2.6cqw; overflow: hidden; pointer-events: none; }
.sh-tk-choc__gloss::before {
	content: ""; position: absolute; inset: -20% auto -20% 0; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 236, 214, .32) 45%, rgba(255, 236, 214, .05) 60%, transparent);
	translate: -120% 0; rotate: 8deg;
}
.sh-tk-bar.is-gloss .sh-tk-choc__gloss::before { animation: sh-tk-gloss 1.3s .1s var(--ease) both; }
@keyframes sh-tk-gloss { to { translate: 320% 0; } }

/* Silver foil: a crinkled lighting map (SVG filter as an image, rasterised once) over brushed silver.
   Crimped at both ends; split into a lid and a body along a jagged tear. */
.sh-tk-foil {
	position: absolute; inset: -2.2% -3.2%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 320' preserveAspectRatio='none'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .042' numOctaves='4' seed='5' result='n'/%3E%3CfeDiffuseLighting in='n' surfaceScale='3.4' lighting-color='%23fff' result='d'%3E%3CfeDistantLight azimuth='235' elevation='44'/%3E%3C/feDiffuseLighting%3E%3CfeSpecularLighting in='n' surfaceScale='3.4' specularConstant='.85' specularExponent='22' lighting-color='%23fff' result='s'%3E%3CfeDistantLight azimuth='235' elevation='52'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='s' in2='d' operator='arithmetic' k2='.9' k3='1'/%3E%3C/filter%3E%3Crect width='640' height='320' filter='url(%23f)'/%3E%3C/svg%3E") center / 100% 100%,
		linear-gradient(100deg, #7d848c, #dfe4e9 16%, #9aa2aa 32%, #f2f4f6 50%, #8f969e 68%, #d7dce1 84%, #80878f);
	background-blend-mode: multiply;
	filter: drop-shadow(0 1.6cqw 2.4cqw rgba(0, 0, 0, .5));
	--tk-crimp: polygon(0 4%, 2.2% 9%, 0 14%, 2.2% 19%, 0 24%, 2.2% 29%, 0 34%, 2.2% 39%, 0 44%, 2.2% 49%, 0 54%, 2.2% 59%, 0 64%, 2.2% 69%, 0 74%, 2.2% 79%, 0 84%, 2.2% 89%, 0 94%, 3% 100%, 97% 100%, 100% 94%, 97.8% 89%, 100% 84%, 97.8% 79%, 100% 74%, 97.8% 69%, 100% 64%, 97.8% 59%, 100% 54%, 97.8% 49%, 100% 44%, 97.8% 39%, 100% 34%, 97.8% 29%, 100% 24%, 97.8% 19%, 100% 14%, 97.8% 9%, 100% 4%, 97% 0, 3% 0);
}
.sh-tk-foil--lid { clip-path: polygon(3% 0, 97% 0, 100% 4%, 97.8% 9%, 100% 14%, 97.8% 19%, 100% 24%, 97.8% 29%, 100% 34%, 97.8% 39%, 100% 44%, 92% 41%, 85% 47%, 78% 40%, 70% 46%, 63% 39%, 55% 45%, 48% 38%, 41% 46%, 33% 40%, 26% 47%, 18% 41%, 10% 46%, 2.2% 44%, 0 44%, 2.2% 39%, 0 34%, 2.2% 29%, 0 24%, 2.2% 19%, 0 14%, 2.2% 9%, 0 4%); }
.sh-tk-foil--body { clip-path: polygon(0 44%, 2.2% 44%, 10% 46%, 18% 41%, 26% 47%, 33% 40%, 41% 46%, 48% 38%, 55% 45%, 63% 39%, 70% 46%, 78% 40%, 85% 47%, 92% 41%, 100% 44%, 97.8% 49%, 100% 54%, 97.8% 59%, 100% 64%, 97.8% 69%, 100% 74%, 97.8% 79%, 100% 84%, 97.8% 89%, 100% 94%, 97% 100%, 3% 100%, 0 94%, 2.2% 89%, 0 84%, 2.2% 79%, 0 74%, 2.2% 69%, 0 64%, 2.2% 59%, 0 54%, 2.2% 49%); }
.sh-tk-foil--lid { filter: none; }

/* The paper sleeve: royal paper, red band, the logo. --tk-fold (0–50%) is the peel: the front is clipped
   from the top and the paper's back (white) lies folded over it below the crease. */
.sh-tk-paper {
	--tk-fold: 0%;
	position: absolute; left: 13%; right: 13%; top: -4%; bottom: -4%;
	cursor: grab; touch-action: auto;
}
.sh-tk-stage.is-busy .sh-tk-paper, .sh-tk-stage.is-open .sh-tk-paper { cursor: default; }
.sh-tk-paper.is-drag { cursor: grabbing; }
.sh-tk-paper__front {
	position: absolute; inset: 0; overflow: hidden; border-radius: .6cqw;
	clip-path: inset(var(--tk-fold) 0 0 0);
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 6px),
		repeating-linear-gradient(0deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 9px),
		radial-gradient(120% 95% at 30% 18%, #1752bd, #0b3a91 52%, #072865);
	box-shadow: 0 1.6cqw 3cqw rgba(0, 0, 0, .5);
}
.sh-tk-paper__front::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .42), transparent 7%, transparent 92%, rgba(0, 0, 0, .4)),
		linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 12%, transparent 88%, rgba(0, 0, 0, .3));
}
.sh-tk-paper__perf { position: absolute; left: 3%; right: 3%; top: 9.5%; border-top: .35cqw dashed rgba(255, 255, 255, .32); }
.sh-tk-paper__logo { position: absolute; left: 50%; top: 15%; width: 52%; height: auto; translate: -50% 0; filter: drop-shadow(0 .5cqw .8cqw rgba(0, 0, 0, .35)); pointer-events: none; }
.sh-tk-paper__band {
	position: absolute; left: 0; right: 0; top: 63%; height: 17%;
	display: grid; place-items: center;
	background: linear-gradient(180deg, #f2101e, #e3000f 45%, #b8000c);
	box-shadow: 0 -.45cqw 0 var(--sh-yellow), 0 .45cqw 0 var(--sh-yellow);
}
.sh-tk-paper__band span { font-family: var(--f-d); font-weight: 780; font-size: max(12px, 4.1cqw); letter-spacing: -.01em; color: #fff; line-height: 1; }
.sh-tk-paper__ed {
	position: absolute; left: 0; right: 0; bottom: 6%; text-align: center;
	font-family: var(--f-title); font-style: italic; font-weight: 560; font-variation-settings: "WONK" 1;
	font-size: max(12px, 2.7cqw); color: var(--sh-gold); letter-spacing: .01em;
}
@container (max-width: 460px) { .sh-tk-paper__ed { display: none; } } /* would be under 12px on phones */
.sh-tk-paper__back {
	position: absolute; left: 0; right: 0; top: var(--tk-fold); height: var(--tk-fold);
	border-radius: 0 0 .6cqw .6cqw; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(10, 30, 70, .34), rgba(10, 30, 70, .06) 22%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .5) 92%, rgba(10, 30, 70, .14)),
		linear-gradient(90deg, #c9d2e2, #eef2f8 20%, #f6f8fb 50%, #eef2f8 80%, #c9d2e2);
	box-shadow: 0 1.2cqw 1.8cqw -0.4cqw rgba(0, 0, 0, .5);
	visibility: hidden;
}
.sh-tk-paper.is-folding .sh-tk-paper__back { visibility: visible; }
.sh-tk-paper__tab {
	position: absolute; left: 50%; top: 0; translate: -50% -58%;
	display: inline-flex; align-items: center; gap: .3em;
	padding: .55cqw 1.6cqw .6cqw; border-radius: 99px;
	background: var(--sh-yellow); color: var(--sh-ink);
	font: 700 max(12px, 2.1cqw)/1 var(--f-t); letter-spacing: .02em;
	box-shadow: 0 .5cqw 1.2cqw rgba(0, 0, 0, .35);
	transition: opacity .25s, translate .45s var(--ease-pop);
}
.sh-tk-paper__tab svg { width: 2.2cqw; height: 2.2cqw; }
.sh-tk-paper.is-folding .sh-tk-paper__tab { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
	.sh-tk-paper:hover .sh-tk-paper__tab { translate: -50% -40%; }
}
@media (hover: none), (pointer: coarse) { .sh-tk-paper { cursor: default; } .sh-tk-paper__tab { display: none; } }

/* Ticket slot in the stage (positioned for the win; JS flies it out of the wrapper). */
.sh-tk-stage__ticket { position: absolute; left: 50%; top: 3%; width: 94%; translate: -50% 0; z-index: 1; visibility: hidden; }
.sh-tk-stage.is-won .sh-tk-stage__ticket { visibility: visible; }
.sh-tk-stage__ticket .sh-tk-ticket { rotate: -2.5deg; }

/* Sparkles */
.sh-tk-spark { position: fixed; z-index: 260; width: 14px; height: 14px; pointer-events: none; color: var(--sh-gold); }
.sh-tk-spark svg { display: block; width: 100%; height: 100%; }
.sh-tk-stage .sh-tk-spark { position: absolute; z-index: 5; }

/* Result line under the stage */
.sh-tk-result { text-align: center; margin: 4px auto 0; max-width: 520px; }
.sh-tk-result__h { margin: 0 0 12px; font-family: var(--f-d); font-weight: 720; font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -.01em; }
.sh-tk-result__act { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; }
.sh-tk-result .sh-link { color: #fff; font-size: .95rem; }

/* ---------- The golden ticket (DOM) ---------- */
.sh-tk-ticket {
	--tk-x: 100%;
	position: relative; width: 100%; aspect-ratio: 1000 / 480; container-type: inline-size;
	filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45)) drop-shadow(0 0 26px rgba(255, 210, 0, .22));
	transform: perspective(900px) rotateX(var(--tk-tx, 0deg)) rotateY(var(--tk-ty, 0deg));
	transition: transform .6s var(--ease);
}
.sh-tk-ticket.is-live { transition: transform .12s linear; }
.sh-tk-ticket__face {
	--tk-sc: 1.25cqw;
	position: absolute; inset: 0; overflow: hidden; color: #3b2700;
	background: var(--sh-foilgold); background-size: 260% 100%; background-position: var(--tk-x) 50%;
	-webkit-mask:
		radial-gradient(circle at 50% 0, #0000 var(--tk-sc), #000 calc(var(--tk-sc) + .5px)) 0 0 / calc(var(--tk-sc) * 3.2) 51% repeat-x,
		radial-gradient(circle at 50% 100%, #0000 var(--tk-sc), #000 calc(var(--tk-sc) + .5px)) 0 100% / calc(var(--tk-sc) * 3.2) 51% repeat-x;
	mask:
		radial-gradient(circle at 50% 0, #0000 var(--tk-sc), #000 calc(var(--tk-sc) + .5px)) 0 0 / calc(var(--tk-sc) * 3.2) 51% repeat-x,
		radial-gradient(circle at 50% 100%, #0000 var(--tk-sc), #000 calc(var(--tk-sc) + .5px)) 0 100% / calc(var(--tk-sc) * 3.2) 51% repeat-x;
}
.sh-tk-ticket__face::before { /* fine foil grain */
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
	background: repeating-linear-gradient(115deg, rgba(120, 80, 0, .08) 0 1px, transparent 1px 3px);
}
.sh-tk-ticket__decor { position: absolute; inset: 0; width: 100%; height: 100%; color: #5a3d00; }
.sh-tk-ticket__sheen {
	position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .95) 46%, rgba(255, 255, 255, 0) 58%);
	background-size: 260% 100%; background-position: var(--tk-x) 0;
}
.sh-tk-ticket.is-ambient:not(.is-off) .sh-tk-ticket__face,
.sh-tk-ticket.is-ambient:not(.is-off) .sh-tk-ticket__sheen { animation: sh-tk-sheen 5.5s ease-in-out infinite alternate; }
@keyframes sh-tk-sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.sh-tk-ticket__seal {
	position: absolute; left: 19%; top: 50%; translate: -50% -50%; width: 12.4cqw; aspect-ratio: 1; border-radius: 50%;
	display: grid; place-items: center;
	background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 55%), rgba(120, 80, 0, .12);
}
.sh-tk-ticket__seal span {
	font-family: var(--f-title); font-style: italic; font-weight: 640; font-variation-settings: "WONK" 1, "opsz" 144;
	font-size: 5.6cqw; line-height: 1; letter-spacing: -.04em; translate: -.2cqw .2cqw;
}
.sh-tk-ticket__copy {
	position: absolute; left: 38.6%; right: 5.5%; top: 12%; bottom: 12%;
	display: flex; flex-direction: column; justify-content: space-between;
}
.sh-tk-ticket__kick { font: 680 1.75cqw/1.2 var(--f-t); letter-spacing: .2em; text-transform: uppercase; }
.sh-tk-ticket__title {
	font-family: var(--f-title); font-style: italic; font-weight: 600; font-variation-settings: "WONK" 1, "opsz" 144;
	font-size: 9.4cqw; line-height: .92; letter-spacing: -.015em; margin-top: -.2em;
}
.sh-tk-ticket__admit { font: 600 2.35cqw/1.25 var(--f-t); }
.sh-tk-ticket__row { display: flex; align-items: baseline; justify-content: space-between; gap: 2cqw; padding-top: 1.4cqw; border-top: .25cqw solid rgba(70, 45, 0, .45); }
.sh-tk-ticket__code { font: 600 1.8cqw/1 var(--f-t); white-space: nowrap; }
.sh-tk-ticket__code b { font-family: var(--f-d); font-weight: 760; font-size: 3.5cqw; letter-spacing: .02em; }
.sh-tk-ticket__close { font: 600 1.75cqw/1.2 var(--f-t); text-align: right; }
.sh-tk-ticket__close b { font-weight: 760; }
/* Narrow tickets (phones, dialog): every line at 12px or more; the code and close date stack. */
@container (max-width: 600px) {
	.sh-tk-ticket__seal { width: 11cqw; }
	.sh-tk-ticket__seal span { font-size: 5cqw; }
	.sh-tk-ticket__copy { left: 36.8%; right: 4%; top: 11%; bottom: 10%; }
	.sh-tk-ticket__kick { font-size: 12px; letter-spacing: .05em; white-space: nowrap; }
	.sh-tk-ticket__title { font-size: 8.6cqw; }
	.sh-tk-ticket__admit { font-size: 12px; line-height: 1.2; }
	.sh-tk-ticket__row { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 4px; }
	.sh-tk-ticket__code { font-size: 12px; }
	.sh-tk-ticket__code b { font-size: max(14px, 3.5cqw); }
	.sh-tk-ticket__close { font-size: 12px; text-align: left; }
}

/* ---------- Entry form (on the dark room / dialog) ---------- */
.sh-tk-form { margin-top: 6px; }
.sh-tk-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sh-tk-form__grid { display: grid; gap: 14px 16px; }
@media (min-width: 560px) { .sh-tk-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-tk-form .sh-field--wide { grid-column: 1 / -1; } }
.sh-tk-form .sh-field label { color: #fff; }
.sh-tk-form .sh-field__err { color: #ffb4b4; }
.sh-tk-form .sh-field.is-bad input, .sh-tk-form .sh-field.is-bad select { border-color: #ff6b6b; }
.sh-tk-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.sh-tk-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--sh-gold); }
.sh-tk-consent label { font-size: .92rem; line-height: 1.45; color: rgba(255, 255, 255, .78); cursor: pointer; }
.sh-tk-consent strong { display: block; color: #fff; font-weight: 700; font-size: .98rem; }
.sh-tk-form__status:empty { display: none; }
.sh-tk-form__status { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; font-weight: 650; background: rgba(255, 107, 107, .14); color: #ffd0d0; }
.sh-tk-form__status.is-ok { background: rgba(255, 210, 0, .14); color: var(--sh-gold-hi); }
.sh-tk-form__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.sh-tk-form__fine { margin: 14px 0 0; font-size: .82rem; line-height: 1.5; color: rgba(255, 255, 255, .58); max-width: 60ch; }
.sh-tk-form__fine a { color: var(--sh-gold); }
.sh-tk-done { padding: 22px 22px 24px; border-radius: 20px; background: rgba(255, 210, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 210, 0, .3); }
.sh-tk-done__h { margin: 0 0 8px; font-family: var(--f-d); font-weight: 760; font-size: 1.4rem; letter-spacing: -.015em; color: var(--sh-gold); }
.sh-tk-done p { margin: 0 0 16px; color: rgba(255, 255, 255, .86); line-height: 1.55; }
.sh-tk-done__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sh-tk-done__act .sh-link { color: #fff; }

/* ---------- Hunt: a ticket tucked behind product photos ---------- */
.sh-tk-peek {
	position: absolute; top: 0; right: 0; z-index: 0;
	width: 84px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	rotate: 24deg; translate: 8px 6px; transform-origin: 30% 80%;
	-webkit-tap-highlight-color: transparent;
	animation: sh-tk-nudge 4.8s 1.5s ease-in-out infinite;
}
.sh-tk-peek::before { content: ""; position: absolute; inset: -8px -6px; } /* bigger hit area */
.sh-tk-peek__t {
	position: absolute; inset: 0; display: grid; place-items: center; border-radius: 3px;
	background: var(--sh-foilgold); background-size: 260% 100%; background-position: 20% 50%;
	box-shadow: 0 2px 6px rgba(80, 50, 0, .35), inset 0 0 0 1.5px rgba(90, 61, 0, .5), inset 0 0 0 4px rgba(255, 247, 176, .6), inset 0 0 0 5px rgba(90, 61, 0, .35);
	color: #4a3200; font: italic 600 13px/1 var(--f-title); font-variation-settings: "WONK" 1; letter-spacing: -.01em;
	-webkit-mask: radial-gradient(circle at 50% 0, #0000 2.5px, #000 3px) 0 0 / 8px 51% repeat-x, radial-gradient(circle at 50% 100%, #0000 2.5px, #000 3px) 0 100% / 8px 51% repeat-x;
	mask: radial-gradient(circle at 50% 0, #0000 2.5px, #000 3px) 0 0 / 8px 51% repeat-x, radial-gradient(circle at 50% 100%, #0000 2.5px, #000 3px) 0 100% / 8px 51% repeat-x;
	transition: background-position .5s var(--ease);
}
.sh-tk-peek:hover .sh-tk-peek__t, .sh-tk-peek:focus-visible .sh-tk-peek__t { background-position: 80% 50%; }
.sh-tk-peek:focus-visible { outline: 3px solid var(--sh-sky); outline-offset: 2px; border-radius: 4px; }
@keyframes sh-tk-nudge { 0%, 86%, 100% { translate: 8px 6px; } 90% { translate: 2px 0; } 94% { translate: 7px 5px; } }
/* Product cards: the photo sits above the ticket, the tile's white ground below it. */
.sh-site .sh-tk-has .sh-card__photo { z-index: 1; }
.sh-card.sh-tk-has > .sh-tk-peek { top: 8px; right: 8px; }
/* Single product gallery */
.sh-tk-has-g .woocommerce-product-gallery__wrapper, .sh-tk-has-g .flex-viewport { position: relative; z-index: 1; }
.sh-tk-peek--g { width: 120px; height: 60px; top: 3%; right: auto; left: 3%; rotate: -16deg; translate: 0 0; animation-name: sh-tk-nudge-g; }
.sh-tk-peek--g .sh-tk-peek__t { font-size: 18px; }
@keyframes sh-tk-nudge-g { 0%, 86%, 100% { translate: 0 0; } 90% { translate: -6px -6px; } 94% { translate: -1px -1px; } }
.sh-tk-fly { position: fixed; z-index: 260; pointer-events: none; margin: 0; }

/* ---------- Dialog (hunt win, or a waiting ticket on any page) ---------- */
.sh-tk-dlg {
	width: min(600px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 28px;
	background: var(--sh-cinema); color: #fff; overflow: auto; overscroll-behavior: contain;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 210, 0, .2);
}
.sh-tk-dlg::backdrop { background: rgba(4, 15, 43, .78); }
.sh-tk-dlg[open] { animation: sh-tk-dlg .5s var(--ease) both; }
@keyframes sh-tk-dlg { from { opacity: 0; translate: 0 24px; scale: .97; } }
.sh-tk-dlg__in { position: relative; padding: clamp(22px, 5vw, 38px); background: radial-gradient(80% 50% at 50% 30%, rgba(255, 210, 0, .1), transparent 70%); }
.sh-tk-dlg__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.sh-tk-dlg__x:hover { background: rgba(255, 255, 255, .2); }
.sh-tk-dlg__x .sh-icon { width: 20px; height: 20px; }
.sh-tk-dlg__h { margin: 0 0 8px; font-family: var(--f-d); font-weight: 760; font-size: clamp(1.6rem, 4.6vw, 2.2rem); line-height: 1; letter-spacing: -.025em; padding-right: 40px; text-wrap: balance; }
.sh-tk-dlg__p { margin: 0 0 18px; color: rgba(255, 255, 255, .8); line-height: 1.5; }
.sh-tk-dlg__ticket { margin: 6px 4px 22px; }
html.sh-tk-lock { overflow: hidden; }

/* ---------- Reduced motion: complete and still ---------- */
@media (prefers-reduced-motion: reduce) {
	.sh-tk-peek { animation: none; }
	.sh-tk-ticket, .sh-tk-bar__tilt { transition: none; transform: none; }
	.sh-tk-ticket__sheen { display: none; }
	.sh-tk-dlg[open] { animation: none; }
	.sh-tk-bar.is-gloss .sh-tk-choc__gloss::before { animation: none; }
}
