/* Halloween 2026 skin for the homepage. Every rule here needs html.is-halloween, which halloween.js sets only
   before 2026-11-01T00:00:00Z, so after that the homepage renders exactly as without this file. */

html.is-halloween {
	--hw-candle: #ffe6b3;
	--hw-pumpkin: #ff9a3d;
	--hw-pumpkin-deep: #ee6f22;
	--hw-ember: #c9461b;
	--hw-bone: #efe3cf;
	--hw-dusk: #c9a27f;
	--hw-glass: rgba(34, 20, 50, .5);
	--hw-rim: rgba(255, 158, 78, .24);
	--hw-rim-strong: rgba(255, 170, 92, .5);
}

html.is-halloween body {
	background-image:
		radial-gradient(1100px 520px at 50% 820px, rgba(238, 111, 34, .09) 0%, transparent 70%),
		radial-gradient(1100px 640px at 50% 380px, #1a1029 0%, var(--void) 62%);
}

html.is-halloween .hw-px {
	image-rendering: pixelated;
	image-rendering: crisp-edges;
	-webkit-user-drag: none;
	user-select: none;
}

/* ---- the countdown ---- */
/* The countdown must not push Create account off the first screen (owner, 2026-10-07): it keeps its spacing tight,
   sits the eyebrow and the date either side of the digits on wide screens, and the three drop to 2x on short ones. */
html.is-halloween .hw-hero {
	position: relative;
	margin: 22px auto 0;
	animation: rise .5s ease-out .2s backwards;
}

html.is-halloween .hw-hero [hidden] { display: none; }

/* Create account lands on /?auth=register, where landing.js shows the sign-up form (#reserve-block) under the three,
   then its result (#success-block): keep the countdown out of that flow so the form stays above the fold */
html.is-halloween .hero:has(#reserve-block:not([hidden])) .hw-hero,
html.is-halloween .hero:has(#success-block:not([hidden])) .hw-hero { display: none; }

html.is-halloween .hw-eyebrow,
html.is-halloween .hw-live-kicker {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--hw-pumpkin);
	text-shadow: 0 0 18px rgba(255, 128, 40, .45);
}

html.is-halloween .hw-eyebrow img,
html.is-halloween .hw-live-kicker img {
	width: 48px;
	height: 32px;
	filter: drop-shadow(0 0 10px rgba(255, 128, 40, .45));
}

html.is-halloween .hw-count {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: clamp(4px, 1.4vw, 20px);
	margin-top: 10px;
	font-size: clamp(50px, min(9.4vw, 12.6vh), 132px);
}

/* the candle behind the numbers */
html.is-halloween .hw-count::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 44%;
	width: min(820px, 100%);
	height: 190%;
	transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, rgba(255, 126, 38, .2) 0%, rgba(238, 100, 30, .08) 52%, transparent 100%);
	z-index: -1;
	pointer-events: none;
	animation: hw-candle 6.5s ease-in-out infinite;
}

html.is-halloween .hw-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
}

html.is-halloween .hw-unit strong {
	display: block;
	min-width: 2ch;
	font-family: var(--display);
	font-weight: 400;
	font-size: 1em;
	line-height: .92;
	text-align: center;
	font-variant-numeric: tabular-nums;
	color: var(--hw-pumpkin);
	background: linear-gradient(180deg, #fff3d6 6%, #ffc673 38%, #ff8d2e 68%, #d4521c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 .16em rgba(255, 118, 30, .5)) drop-shadow(0 .03em 0 rgba(72, 22, 4, .9));
}

html.is-halloween .hw-unit em {
	margin-top: .42em;
	font-family: var(--body);
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--hw-dusk);
	/* the letter-spacing trails the last letter; pull it back so labels centre under the digits */
	margin-right: -.3em;
}

html.is-halloween .hw-sep {
	position: relative;
	width: .08em;
	height: .92em;
}

html.is-halloween .hw-sep::before,
html.is-halloween .hw-sep::after {
	content: "";
	position: absolute;
	left: 50%;
	width: .075em;
	height: .075em;
	margin-left: -.0375em;
	background: var(--hw-pumpkin);
	box-shadow: 0 0 .12em rgba(255, 128, 40, .9);
	transform: rotate(45deg);
	opacity: .85;
}

html.is-halloween .hw-sep::before { top: 30%; }
html.is-halloween .hw-sep::after { top: 60%; }

/* the date line and How it works: one row where it fits, two where it does not */
html.is-halloween .hw-meta {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 22px;
	margin-top: 10px;
}

html.is-halloween .hw-when {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 15.5px;
	color: var(--hw-bone);
	letter-spacing: .01em;
}

html.is-halloween .hw-when time { font-weight: 600; color: var(--hw-candle); }

html.is-halloween .hw-dot {
	width: 5px;
	height: 5px;
	background: var(--hw-pumpkin);
	transform: rotate(45deg);
	opacity: .8;
}

html.is-halloween .hw-how-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 6px;
	color: var(--hw-dusk);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: color .15s ease;
}

html.is-halloween .hw-how-link::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

html.is-halloween .hw-how-link:hover { color: var(--hw-candle); }
html.is-halloween .hw-how-link:focus-visible { color: var(--hw-candle); outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 6px; }

/* ---- live: the countdown has reached zero ---- */
html.is-halloween .hw-live { animation: hw-reveal .7s ease-out backwards; }

html.is-halloween .hw-live-title {
	margin-top: 12px;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(40px, 5.4vw, 74px);
	line-height: 1.08;
	text-wrap: balance;
	filter: drop-shadow(0 0 .16em rgba(255, 118, 30, .45)) drop-shadow(0 .03em 0 rgba(72, 22, 4, .9));
}

/* each wrapped line gets the whole candle gradient */
html.is-halloween .hw-live-title span {
	color: var(--hw-pumpkin);
	background: linear-gradient(180deg, #fff3d6 6%, #ffc673 40%, #ff8d2e 72%, #d4521c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

html.is-halloween .hw-live-sub {
	margin: 12px auto 0;
	text-wrap: balance;
	max-width: 46ch;
	color: var(--hw-bone);
	font-size: 16px;
}

/* phones give .btn-gold 92vw, wider than the hero's content box; keep the button inside it and centred */
html.is-halloween .hw-play { margin-top: 20px; max-width: 100%; }
html.is-halloween .hw-live .hw-how-link { display: flex; width: max-content; margin: 6px auto 0; }

/* ---- the night round the three characters ---- */
/* the moon's top stays just under the countdown, so it never sits behind the unit labels or How it works */
html.is-halloween .hw-scene {
	position: absolute;
	left: 0;
	right: 0;
	top: -8px;
	bottom: 34px;
	pointer-events: none;
	z-index: -1;
}

/* a hazy harvest moon rising out of the mist behind the three */
html.is-halloween .hw-moon,
html.is-halloween .hw-moon-glow {
	position: absolute;
	left: 50%;
	top: 0;
	width: 372px;
	height: 372px;
	margin-left: -186px;
	border-radius: 50%;
}

html.is-halloween .hw-moon-glow {
	box-shadow:
		0 0 70px 8px rgba(255, 150, 60, .2),
		0 0 220px 60px rgba(238, 111, 34, .1);
}

html.is-halloween .hw-moon {
	background:
		radial-gradient(circle at 36% 32%, rgba(255, 244, 214, .7) 0%, rgba(255, 236, 196, .18) 30%, transparent 46%),
		radial-gradient(circle at 62% 38%, rgba(190, 96, 40, .22) 0 6%, rgba(190, 96, 40, 0) 9%),
		radial-gradient(circle at 44% 60%, rgba(190, 96, 40, .18) 0 5%, rgba(190, 96, 40, 0) 8%),
		radial-gradient(circle at 70% 64%, rgba(190, 96, 40, .16) 0 4%, rgba(190, 96, 40, 0) 6.5%),
		radial-gradient(circle at 27% 50%, rgba(190, 96, 40, .14) 0 3.5%, rgba(190, 96, 40, 0) 6%),
		radial-gradient(circle at 50% 50%, #fbd193 0%, #f2ad63 50%, #db8240 86%, #c96b33 100%);
	opacity: .72;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, .35) 78%, transparent 96%);
	mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, .35) 78%, transparent 96%);
}

html.is-halloween .hw-sky {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

html.is-halloween .hw-flight {
	position: absolute;
	left: 0;
	width: 100%;
	height: 40px;
	animation: hw-fly 30s linear infinite;
}

html.is-halloween .hw-flight-1 { top: 13%; animation-duration: 27s; animation-delay: -9s; }
html.is-halloween .hw-flight-2 { top: 31%; animation-duration: 38s; animation-delay: -27s; }
html.is-halloween .hw-flight-3 { top: 6%; animation-duration: 46s; animation-delay: -4s; animation-direction: reverse; }

html.is-halloween .hw-bat {
	position: absolute;
	left: 0;
	top: 0;
	animation: hw-bob 3.2s ease-in-out infinite;
}

html.is-halloween .hw-flight-2 .hw-bat { animation-duration: 2.6s; }
html.is-halloween .hw-flight-3 .hw-bat { animation-duration: 3.8s; }

html.is-halloween .hw-bat img {
	display: block;
	filter: drop-shadow(0 0 6px rgba(10, 4, 20, .7));
	animation: hw-flap .32s steps(1) infinite;
}

html.is-halloween .hw-flight-1 .hw-bat img { width: 48px; height: 48px; }
html.is-halloween .hw-flight-3 .hw-bat img { width: 32px; height: 32px; animation-duration: .4s; opacity: .85; }
html.is-halloween .hw-flight-2 .hw-bat img { width: 24px; height: 24px; animation-duration: .36s; }

html.is-halloween .hw-mist {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	height: 120px;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

html.is-halloween .hw-mist-layer {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 200%;
	background:
		radial-gradient(ellipse 22% 46% at 18% 72%, rgba(206, 192, 236, .16) 0%, transparent 70%),
		radial-gradient(ellipse 30% 38% at 52% 84%, rgba(206, 192, 236, .13) 0%, transparent 70%),
		radial-gradient(ellipse 18% 40% at 83% 70%, rgba(206, 192, 236, .12) 0%, transparent 70%);
	background-size: 50% 100%;
	background-repeat: repeat-x;
	animation: hw-mist 64s linear infinite;
}

html.is-halloween .hw-mist-near {
	top: 30px;
	opacity: .8;
	background-position: 37% 0;
	animation-duration: 41s;
	animation-direction: reverse;
}

html.is-halloween .trio { margin-top: 14px; }

/* warm the existing floor glow and character focus */
html.is-halloween .floor {
	background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(255, 128, 40, .24) 0%, rgba(238, 111, 34, .07) 55%, transparent 75%);
}

html.is-halloween .champ:hover img,
html.is-halloween .champ:focus-visible img,
html.is-halloween .champ.is-chosen img {
	filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .65)) drop-shadow(0 0 22px rgba(255, 128, 40, .5));
}

html.is-halloween .champ-plate { color: var(--hw-pumpkin); text-shadow: 0 2px 12px rgba(238, 111, 34, .6); }

/* ---- How it works ---- */
html.is-halloween .hw-how {
	position: relative;
	z-index: 1;
	max-width: 1160px;
	margin: 26px auto 0;
	padding: 0 28px;
	text-align: center;
	scroll-margin-top: 24px;
}

html.is-halloween .hw-how-head h2 {
	margin-top: 6px;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.1;
	color: var(--hw-bone);
	text-shadow: 0 4px 26px rgba(238, 111, 34, .3);
}

html.is-halloween .hw-kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--hw-pumpkin);
}

html.is-halloween .hw-steps {
	list-style: none;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.22fr);
	gap: 14px;
	margin-top: 26px;
	text-align: left;
}

html.is-halloween .hw-step,
html.is-halloween .hw-supply,
html.is-halloween .hw-rare {
	border: 1px solid var(--hw-rim);
	background:
		linear-gradient(180deg, rgba(255, 236, 214, .05) 0%, rgba(255, 236, 214, 0) 42%),
		var(--hw-glass);
	box-shadow: inset 0 1px 0 rgba(255, 220, 180, .07);
}

html.is-halloween .hw-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 20px 20px;
	border-radius: 12px;
}

html.is-halloween .hw-art {
	height: 112px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2px;
	border-radius: 9px;
	background: radial-gradient(closest-side, rgba(255, 128, 40, .16), transparent 100%);
}

html.is-halloween .hw-art img { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); }
html.is-halloween .hw-art .hw-x3 { width: 144px; height: 96px; }
html.is-halloween .hw-art .hw-x2 { width: 128px; height: 128px; margin: -8px 0; }

html.is-halloween .hw-step h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--display);
	font-weight: 400;
	font-size: 23px;
	line-height: 1.15;
	color: var(--hw-bone);
}

html.is-halloween .hw-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid var(--hw-rim-strong);
	color: var(--hw-pumpkin);
	font-family: var(--body);
	font-size: 13px;
	font-weight: 600;
}

html.is-halloween .hw-step p {
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.55;
}

html.is-halloween .hw-step .hw-foot { color: var(--hw-dusk); }
html.is-halloween .hw-step-treat .hw-foot { margin-top: auto; }

html.is-halloween .hw-big {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

html.is-halloween .hw-big strong {
	font-family: var(--display);
	font-weight: 400;
	font-size: 46px;
	line-height: 1;
	color: var(--hw-pumpkin);
	text-shadow: 0 0 22px rgba(255, 118, 30, .4);
}

html.is-halloween .hw-big span { color: var(--hw-bone); font-size: 15px; }

html.is-halloween .hw-ladder {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 6px;
}

html.is-halloween .hw-ladder li {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 7px 0 6px;
	border-radius: 7px;
	border: 1px solid rgba(255, 158, 78, calc(.16 + var(--step, 0) * .1));
	background: rgba(238, 111, 34, calc(.05 + var(--step, 0) * .07));
	color: var(--hw-candle);
	font-family: var(--display);
	font-size: 19px;
	line-height: 1;
	text-align: center;
}

html.is-halloween .hw-ladder b { font-weight: 400; }

html.is-halloween .hw-ladder small {
	font-family: var(--body);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--hw-dusk);
}

html.is-halloween .hw-ladder .hw-ladder-top small { color: #4a2408; }

html.is-halloween .hw-ladder li:nth-child(2) { --step: 1; }
html.is-halloween .hw-ladder li:nth-child(3) { --step: 2; }
html.is-halloween .hw-ladder li:nth-child(4) { --step: 3; }

html.is-halloween .hw-ladder li + li::before {
	content: "";
	position: absolute;
	left: -6px;
	top: 50%;
	width: 6px;
	height: 1px;
	background: var(--hw-rim-strong);
}

html.is-halloween .hw-ladder .hw-ladder-top {
	color: #2a1404;
	border-color: #ffc477;
	background: linear-gradient(180deg, #ffd08a 0%, #ff9a3d 100%);
	box-shadow: 0 0 18px rgba(255, 128, 40, .35);
}

html.is-halloween .hw-games {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin-top: auto;
	padding-top: 4px;
}

html.is-halloween .hw-games li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	text-align: center;
	color: var(--hw-dusk);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.25;
}

html.is-halloween .hw-games img { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }

html.is-halloween .hw-supply {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 14px;
	padding: 14px 20px;
	border-radius: 12px;
	color: var(--muted);
	font-size: 14.5px;
	text-align: left;
}

html.is-halloween .hw-supply img { flex: 0 0 auto; width: 32px; height: 32px; }
html.is-halloween .hw-supply strong { color: var(--hw-candle); font-weight: 600; }

html.is-halloween .hw-rares { margin-top: 30px; }

html.is-halloween .hw-rares-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-family: var(--display);
	font-weight: 400;
	font-size: 26px;
	color: var(--hw-bone);
}

html.is-halloween .hw-rares-title span {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--body);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--hw-dusk);
}

/* the rarity ramp: bone (common) to ember (rarest) */
html.is-halloween .hw-rares-title span::before,
html.is-halloween .hw-rares-title span::after {
	content: "";
	width: 64px;
	height: 2px;
	border-radius: 2px;
}

html.is-halloween .hw-rares-title span::before { background: linear-gradient(90deg, transparent, var(--hw-bone)); }
html.is-halloween .hw-rares-title span::after { background: linear-gradient(90deg, var(--hw-pumpkin), var(--hw-ember), transparent); }

html.is-halloween .hw-rare-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(9, minmax(0, 1fr));
	gap: 8px;
	margin-top: 16px;
}

html.is-halloween .hw-rare {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 6px 12px;
	border-radius: 10px;
	border-color: rgba(255, 158, 78, calc(.12 + var(--hw-tier, 0) * .035));
	color: var(--hw-bone);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
}

html.is-halloween .hw-rare img { width: 96px; height: 64px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); }

html.is-halloween .hw-legendary {
	border-color: rgba(255, 120, 52, .75);
	background:
		radial-gradient(closest-side at 50% 38%, rgba(255, 96, 32, .22), transparent 100%),
		var(--hw-glass);
	box-shadow: 0 0 26px rgba(238, 90, 30, .28), inset 0 1px 0 rgba(255, 220, 180, .1);
}

html.is-halloween .hw-legendary em {
	font-style: normal;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #ff7a3c;
	text-shadow: 0 0 10px rgba(255, 96, 32, .7);
	margin-right: -.22em;
}

html.is-halloween .hw-rules {
	margin-top: 22px;
	/* the rules line must stay readable: --faint is 3.7:1 on the void, --muted 7.8:1 */
	color: var(--muted);
	font-size: 13.5px;
}

/* ---- motion ---- */
@keyframes hw-candle {
	0%, 100% { opacity: .92; transform: translate(-50%, -50%) scale(1); }
	18% { opacity: .78; }
	22% { opacity: 1; transform: translate(-50%, -50%) scale(1.02); }
	47% { opacity: .86; }
	51% { opacity: .97; transform: translate(-50%, -50%) scale(.99); }
	73% { opacity: .82; }
	77% { opacity: 1; }
}

@keyframes hw-fly {
	from { transform: translateX(-8%); }
	to { transform: translateX(104%); }
}

@keyframes hw-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(14px); }
}

@keyframes hw-flap {
	0% { transform: scaleY(1); }
	50% { transform: scaleY(.55); }
}

@keyframes hw-mist {
	to { transform: translateX(-50%); }
}

@keyframes hw-reveal {
	from { opacity: 0; transform: translateY(10px) scale(.98); }
	to { opacity: 1; transform: none; }
}

/* ---- layout ---- */
/* wide screens: eyebrow | digits | date, one band instead of three rows */
@media (min-width: 981px) {
	html.is-halloween .hw-countdown {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
		column-gap: clamp(24px, 2.4vw, 36px);
	}
	/* the eyebrow column may run a little past the digits' height without making the band taller */
	html.is-halloween .hw-eyebrow {
		justify-self: end;
		flex-direction: column;
		align-items: flex-end;
		gap: 8px;
		margin: -8px -.22em -8px 0;
		font-size: 12px;
		letter-spacing: .22em;
		line-height: 1.55;
		text-align: right;
	}
	html.is-halloween .hw-eyebrow > span > span { display: block; }
	/* the letter-spacing trails the last letter; the negative right margin above lines the text up with the digits */
	html.is-halloween .hw-eyebrow img { width: 96px; height: 64px; margin-right: .22em; }
	html.is-halloween .hw-count { margin-top: 0; gap: clamp(4px, .9vw, 14px); font-size: clamp(76px, min(7.8vw, 12.6vh), 120px); }
	html.is-halloween .hw-count::before { width: 820px; height: 170%; }
	html.is-halloween .hw-meta {
		justify-self: start;
		flex-direction: column;
		align-items: flex-start;
		margin-top: 0;
	}
	html.is-halloween .hw-when { flex-direction: column; align-items: flex-start; gap: 3px; font-size: 16px; text-align: left; }
	html.is-halloween .hw-when .hw-dot { display: none; }
	html.is-halloween .hw-meta .hw-how-link { margin: 2px 0 -10px -6px; }
}

/* short screens: the three at 2x (as on phones) so the countdown and Create account both fit */
@media (min-width: 761px) and (max-height: 879px) {
	html.is-halloween .trio { gap: clamp(18px, 4vw, 52px); padding-bottom: 36px; }
	html.is-halloween .champ-warrior img, html.is-halloween .champ-mage img { height: 186px; }
	html.is-halloween .champ-knight img { height: 202px; }
	html.is-halloween .champ-plate { font-size: 15px; bottom: -32px; }
	html.is-halloween .hw-scene { top: 0; }
	html.is-halloween .hw-moon, html.is-halloween .hw-moon-glow { width: 260px; height: 260px; margin-left: -130px; }
	html.is-halloween .hw-moon-glow { box-shadow: 0 0 56px 6px rgba(255, 150, 60, .2), 0 0 150px 40px rgba(238, 111, 34, .1); }
	html.is-halloween .hw-flight-1 .hw-bat img { width: 32px; height: 32px; }
	html.is-halloween .hw-mist { height: 96px; }
}

@media (min-width: 981px) and (max-height: 760px) {
	html.is-halloween .hw-hero { margin-top: 10px; }
	html.is-halloween .hw-count { font-size: clamp(76px, min(7.8vw, 12vh), 120px); }
	html.is-halloween .trio { margin-top: 4px; padding-bottom: 34px; }
}

@media (max-width: 980px) {
	html.is-halloween .hw-steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
	html.is-halloween .hw-rare-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; margin-left: auto; margin-right: auto; }
	html.is-halloween .hw-supply { max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
	html.is-halloween .hw-hero { margin-top: 10px; }
	html.is-halloween .hw-eyebrow, html.is-halloween .hw-live-kicker { gap: 10px; font-size: 11px; letter-spacing: .2em; }
	html.is-halloween .hw-unit em { font-size: 10px; letter-spacing: .22em; margin-right: -.22em; }
	html.is-halloween .hw-when { font-size: 14px; }
	html.is-halloween .hw-count { margin-top: 6px; }
	html.is-halloween .hw-meta { margin-top: 8px; }
	html.is-halloween .hw-meta .hw-how-link { min-height: 36px; }
	html.is-halloween .trio { margin-top: 6px; padding-bottom: 34px; }
	html.is-halloween .hw-scene { top: -4px; }
	html.is-halloween .hw-moon, html.is-halloween .hw-moon-glow { width: 244px; height: 244px; margin-left: -122px; }
	html.is-halloween .hw-moon-glow { box-shadow: 0 0 50px 6px rgba(255, 150, 60, .2), 0 0 120px 30px rgba(238, 111, 34, .1); }
	html.is-halloween .hw-rares-title span { font-size: 10.5px; letter-spacing: .18em; gap: 10px; }
	html.is-halloween .hw-rares-title span::before, html.is-halloween .hw-rares-title span::after { width: 28px; }
	html.is-halloween .hw-flight-1 .hw-bat img { width: 32px; height: 32px; }
	html.is-halloween .hw-mist { height: 90px; }
	html.is-halloween .hw-how { padding: 0 18px; margin-top: 18px; }
	/* phones: the art sits beside the step's heading instead of above it */
	html.is-halloween .hw-step {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 10px 12px;
		padding: 14px 16px 18px;
	}
	html.is-halloween .hw-step > * { grid-column: 1 / -1; }
	html.is-halloween .hw-step > h3 { grid-column: 1; grid-row: 1; }
	html.is-halloween .hw-step > .hw-art { grid-column: 2; grid-row: 1; height: 64px; margin: 0; background: none; }
	html.is-halloween .hw-art .hw-x3 { width: 96px; height: 64px; }
	html.is-halloween .hw-art .hw-x2 { width: 64px; height: 64px; margin: 0; }
	html.is-halloween .hw-step-treat .hw-foot { margin-top: 0; }
	html.is-halloween .hw-rare-list { gap: 6px; }
	html.is-halloween .hw-rare { padding: 12px 4px 10px; font-size: 12px; }
	html.is-halloween .hw-supply { align-items: flex-start; }
}

/* narrow phones: the date line no longer fits one row; stack it without the diamond rather than leave it hanging */
@media (max-width: 380px) {
	html.is-halloween .hw-when { flex-direction: column; gap: 2px; }
	html.is-halloween .hw-when .hw-dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html.is-halloween .hw-hero,
	html.is-halloween .hw-live,
	html.is-halloween .hw-count::before,
	html.is-halloween .hw-flight,
	html.is-halloween .hw-bat,
	html.is-halloween .hw-bat img,
	html.is-halloween .hw-mist-layer { animation: none; }
	html.is-halloween .hw-flight-1 { transform: translateX(22%); }
	html.is-halloween .hw-flight-2 { transform: translateX(66%); }
	html.is-halloween .hw-flight-3 { transform: translateX(78%); }
}
