/* Home page (2026-11-16). Loaded only by StorefrontController::home.
 * Uses the site tokens from app.css (--cobalt, --display, --ui, --body) and
 * adds two of its own: hot pink (already the button colour) and a sun yellow
 * for anything that means "new". */

:root {
	--hot: #ff3b70;
	--hot-deep: #e62b5d;
	--sun: #ffcf33;
	--night: #0b1a56;
	--line: #e6e8ef;
}

/* ---------------------------------------------------------------- hero -- */
.hx {
	position: relative;
	overflow: hidden;
	color: #fff;
	background-color: var(--night);
	background-image:
		linear-gradient(100deg, rgba(11, 26, 86, 0.94) 0%, rgba(11, 26, 86, 0.78) 45%, rgba(11, 26, 86, 0.35) 100%),
		url('https://epicsnackbox-originals.b-cdn.net/images/heroes/hero-cobalt.webp');
	background-size: cover;
	background-position: center;
}
.hx-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	padding-top: 3.25rem;
	padding-bottom: 3.5rem;
}
.hx-eyebrow {
	margin: 0 0 0.9rem;
	font-family: var(--ui);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.85rem;
	color: var(--sun);
}
.hx-title {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(2.2rem, 4.7vw, 3.8rem);
	line-height: 0.98;
	letter-spacing: -0.01em;
	text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.hx-title span { color: var(--hot); }
.hx-sub {
	max-width: 46ch;
	margin: 1.2rem 0 1.6rem;
	font-size: 1.08rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}
.hx-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hx-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}
.hx-stats li, .hx-stats a {
	font-family: var(--ui);
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	color: #fff;
	text-decoration: none;
}
.hx-stats li {
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.07);
}
.hx-stats strong { color: var(--sun); font-size: 1.05rem; margin-right: 0.15rem; }
.hx-stats a:hover { text-decoration: underline; }

/* ----------------------------------------------------------- box deck -- */
.deck { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.deck-stage {
	position: relative;
	width: min(100%, 420px);
	aspect-ratio: 1 / 1.2;
	outline: none;
	touch-action: pan-y;
}
.deck-stage:focus-visible { outline: 3px solid var(--sun); outline-offset: 10px; border-radius: 20px; }
.deck-card {
	position: absolute;
	inset: 0 0 auto 0;
	display: block;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
	transform-origin: 50% 110%;
	transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease, filter 0.45s ease;
	will-change: transform;
}
.deck-card picture, .deck-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.deck-card[data-pos="0"] { z-index: 6; transform: rotate(-2deg); }
.deck-card[data-pos="1"] { z-index: 5; transform: translate(9%, 2%) rotate(6deg) scale(0.93); filter: brightness(0.82); }
.deck-card[data-pos="2"] { z-index: 4; transform: translate(17%, 4%) rotate(12deg) scale(0.86); filter: brightness(0.66); }
.deck-card:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]) {
	z-index: 1;
	opacity: 0;
	transform: translate(20%, 6%) rotate(14deg) scale(0.8);
	pointer-events: none;
}
.deck-card[data-pos="0"]:hover { transform: rotate(-1deg) translateY(-6px); }
.deck-tag {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.8rem 1rem 0.95rem;
	background: #fff;
}
.deck-name {
	font-family: var(--ui);
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--cobalt-deep);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.deck-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--grey); }
.deck-price { font-family: var(--ui); font-weight: 700; font-size: 1.2rem; color: var(--hot); }
.deck-new {
	font-family: var(--ui);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--sun);
	color: var(--ink);
	padding: 0.1rem 0.5rem;
	border-radius: 4px;
}
.deck-controls { position: relative; z-index: 8; display: flex; align-items: center; gap: 0.9rem; margin-top: 1.75rem; }
.deck-btn, .rail-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}
.deck-btn:hover { background: var(--hot); border-color: var(--hot); transform: scale(1.06); }
.deck-btn:focus-visible, .rail-btn:focus-visible, .chip:focus-visible, .tile-peek:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.deck-count { font-family: var(--ui); letter-spacing: 0.08em; min-width: 4ch; text-align: center; }

/* -------------------------------------------------------------- ticker -- */
.ticker {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--sun);
	border-top: 3px solid var(--ink);
	border-bottom: 3px solid var(--ink);
	overflow: hidden;
}
.ticker-label {
	position: relative;
	z-index: 2;
	flex: none;
	align-self: stretch;
	display: flex;
	align-items: center;
	padding: 0 1rem 0 1.25rem;
	background: var(--ink);
	color: var(--sun);
	font-family: var(--display);
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-row { display: flex; gap: 0.5rem; margin: 0; padding: 0.55rem 0.25rem; list-style: none; }
.ticker-row a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.2rem 0.85rem 0.2rem 0.25rem;
	border-radius: 99px;
	background: #fff;
	border: 2px solid var(--ink);
	color: var(--ink);
	text-decoration: none;
	font-family: var(--ui);
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
}
.ticker-row a:hover { background: var(--ink); color: #fff; }
.ticker-row img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #fff; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------------ section heads -- */
.hd {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}
.hd--center { justify-content: center; text-align: center; }
.hd h2 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
	line-height: 1.05;
	color: var(--cobalt-deep);
}
.hd-kicker {
	margin: 0 0 0.35rem;
	font-family: var(--ui);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hot);
}
.hd-sub { margin: 0.5rem 0 0; color: var(--grey); }
.hd-tools { display: flex; align-items: center; gap: 0.5rem; }
.hd-link {
	font-family: var(--ui);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--hot);
	text-decoration: none;
	white-space: nowrap;
}
.hd-link:hover { text-decoration: underline; }
.hd--light h2 { color: #fff; }
.hd--light .hd-sub { color: rgba(255, 255, 255, 0.75); }
.hd--light .hd-link { color: var(--sun); }
.rail-btn { border-color: var(--line); background: #fff; color: var(--cobalt-deep); }
.rail-btn:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

/* ------------------------------------------------------- fresh drops -- */
.fresh { background: #fffaf0; }
.rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 200px;
	gap: 1rem;
	margin: 0;
	padding: 0.5rem 0.25rem 1rem;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: thin;
}
.rail-item { scroll-snap-align: start; }
.nc {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0.7rem;
	background: #fff;
	border: 2px solid var(--ink);
	border-radius: 14px;
	box-shadow: 4px 4px 0 var(--ink);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.18s, box-shadow 0.18s;
}
.nc:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--hot); }
.nc-stamp {
	position: absolute;
	top: -10px;
	left: 10px;
	z-index: 1;
	padding: 0.15rem 0.55rem;
	background: var(--sun);
	border: 2px solid var(--ink);
	border-radius: 6px;
	font-family: var(--ui);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transform: rotate(-3deg);
}
.nc-img { display: block; aspect-ratio: 1; margin-bottom: 0.6rem; }
.nc-img img { width: 100%; height: 100%; object-fit: contain; }
.nc-brand {
	font-family: var(--ui);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--grey);
}
.nc-title {
	margin: 0.15rem 0 0.5rem;
	font-size: 0.88rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nc-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.nc-price { font-family: var(--ui); font-weight: 700; font-size: 1.15rem; color: var(--cobalt-deep); }
.nc-low { font-size: 0.75rem; font-weight: 600; color: var(--crimson); }

/* ----------------------------------------------------------- box wall -- */
.boxwall {
	background:
		radial-gradient(circle at 90% 100%, rgba(255, 207, 51, 0.14), transparent 45%),
		radial-gradient(circle at 10% 0%, rgba(80, 96, 192, 0.55), transparent 45%),
		var(--cobalt-deep);
	color: #fff;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.chip {
	padding: 0.5rem 1rem;
	border-radius: 99px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: #fff;
	font-family: var(--ui);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip span { opacity: 0.7; margin-left: 0.2rem; }
.chip:hover { border-color: #fff; }
.chip.is-on { background: #fff; border-color: #fff; color: var(--cobalt-deep); }
.chip--new.is-on { background: var(--sun); border-color: var(--sun); color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.tile {
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--ink);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38); }
.tile[hidden] { display: none; }
.tile-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #f3f4f8; }
.tile-photo, .tile-photo picture, .tile-photo img { display: block; width: 100%; height: 100%; }
.tile-photo img { object-fit: cover; transition: transform 0.6s ease; }
.tile:hover .tile-photo img { transform: scale(1.04); }
.tile-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10%; height: 100%; }
.tile-collage img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 10px; }
.tile-inside {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-content: center;
	gap: 8px;
	padding: 12%;
	background: rgba(26, 45, 122, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.tile-inside a {
	display: block;
	aspect-ratio: 1;
	background: #fff;
	border-radius: 10px;
	padding: 6px;
	transform: scale(0.85);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tile-inside img { width: 100%; height: 100%; object-fit: contain; }
.tile-inside a:hover { outline: 3px solid var(--sun); }
.tile.is-peek .tile-inside { opacity: 1; visibility: visible; transition-delay: 0s; }
.tile.is-peek .tile-inside a { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
	.tile-media:hover .tile-inside { opacity: 1; visibility: visible; transition-delay: 0.25s; }
	.tile-media:hover .tile-inside a { transform: scale(1); transition-delay: 0.25s; }
}
.tile-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 0.25rem 0.65rem;
	background: var(--sun);
	border: 2px solid var(--ink);
	border-radius: 6px;
	font-family: var(--ui);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transform: rotate(-3deg);
}
.tile-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.1rem; border-top: 6px solid var(--cobalt); }
.tile--t1 .tile-body { border-top-color: var(--hot); }
.tile--t2 .tile-body { border-top-color: #12a5d6; }
.tile--t3 .tile-body { border-top-color: #f2711c; }
.tile-body h3 { margin: 0 0 0.35rem; font-family: var(--ui); font-weight: 700; font-size: 1.2rem; line-height: 1.15; text-transform: uppercase; }
.tile-body h3 a { color: var(--cobalt-deep); text-decoration: none; }
.tile-body h3 a::after { content: ''; } /* the photo link carries the big hit area */
.tile-body h3 a:hover { color: var(--hot); }
.tile-body p {
	margin: 0 0 0.9rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: #4b5060;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tile-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.tile-price { font-family: var(--ui); font-weight: 700; font-size: 1.35rem; color: var(--hot); }
.tile-price s { font-size: 0.95rem; color: var(--grey); font-weight: 500; }
.tile-peek {
	padding: 0.45rem 0.8rem;
	border-radius: 99px;
	border: 2px solid var(--cobalt);
	background: #fff;
	color: var(--cobalt);
	font-family: var(--ui);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}
.tile-peek:hover, .tile-peek[aria-expanded="true"] { background: var(--cobalt); color: #fff; }
.boxwall-empty { text-align: center; color: rgba(255, 255, 255, 0.8); }
/* First nine boxes show; the rest wait behind "Show all" (or any filter). */
.boxwall:not(.show-all) .tile.is-more { display: none; }
.boxwall.show-all .boxwall-more { display: none; }
.boxwall-more { margin: 2rem 0 0; text-align: center; }
@media (min-width: 641px) { .boxwall-more--phone { display: none; } }
@media (max-width: 640px) {
	.boxwall:not(.show-all) .tile:nth-child(n+5) { display: none; }
}

/* -------------------------------------------------------------- ladder -- */
.ladder {
	background:
		repeating-conic-gradient(from 0deg at 85% 50%, rgba(255, 255, 255, 0.05) 0deg 10deg, transparent 10deg 20deg),
		var(--hot);
	color: #fff;
}
.ladder-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; }
.ladder .hd-kicker { color: var(--sun); }
.ladder h2 { margin: 0 0 0.75rem; font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.05; text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.18); }
.ladder-copy > p { margin: 0 0 1.25rem; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.ladder-slide { display: block; margin-bottom: 0.6rem; }
.ladder-slide > span { display: flex; justify-content: space-between; font-family: var(--ui); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.35rem; }
.ladder-slide output { font-family: var(--display); font-size: 1.3rem; color: var(--sun); }
.ladder-slide input { width: 100%; accent-color: var(--sun); height: 28px; cursor: pointer; }
.ladder-copy .ladder-result { min-height: 1.6em; margin: 0 0 1.25rem; font-weight: 600; font-size: 1.05rem; color: #fff; }
.ladder .btn--pink { background: var(--ink); }
.ladder .btn--pink:hover { background: #000; box-shadow: none; }
.tickets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; align-items: end; }
.ticket {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	padding: 1.1rem 0.4rem;
	background: #fff8ec;
	color: var(--ink);
	border: 2px dashed rgba(35, 36, 37, 0.35);
	border-radius: 10px;
	text-align: center;
	transform: translateY(0);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, box-shadow 0.3s;
}
.ticket:nth-child(2) { padding-bottom: 1.6rem; }
.ticket:nth-child(3) { padding-bottom: 2.1rem; }
.ticket:nth-child(4) { padding-bottom: 2.6rem; }
.ticket:nth-child(5) { padding-bottom: 3.1rem; }
.ticket-at { font-family: var(--ui); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.ticket strong { font-family: var(--display); font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--hot); line-height: 1.1; }
.ticket-off { font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ticket.is-hit { background: var(--sun); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: translateY(-6px); }
.ticket.is-hit .ticket-at { color: var(--ink); }

/* ------------------------------------------------------- filling fast -- */
.wall-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
	grid-template-rows: auto auto;
	gap: 0.9rem;
}
.wall-top, .wall-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0.8rem;
	background: #fff;
	border: 2px solid var(--ink);
	border-radius: 14px;
	box-shadow: 4px 4px 0 var(--ink);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.18s, box-shadow 0.18s;
}
.wall-top:hover, .wall-cell:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--cobalt); }
.wall-top { grid-row: span 2; background: linear-gradient(180deg, #fff 55%, #fff6d6 100%); box-shadow: 6px 6px 0 var(--hot); }
.wall-top img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.wall-cell img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 0.4rem; }
.wall-top-body { display: flex; flex-direction: column; gap: 0.3rem; margin-top: auto; }
.wall-top-title { font-family: var(--ui); font-weight: 700; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; }
.wall-rank {
	position: absolute;
	top: 8px;
	left: 8px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--cobalt);
	color: #fff;
	font-family: var(--display);
	font-size: 0.85rem;
	z-index: 1;
}
.wall-top .wall-rank { width: 46px; height: 46px; font-size: 1.3rem; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); }
.wall-cell .nc-title { font-size: 0.82rem; }
.wall-note { margin: 1rem 0 0; font-size: 0.82rem; color: var(--grey); }

/* ------------------------------------------------------- how it works -- */
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.how-steps li { position: relative; padding: 1.5rem 1.4rem 1.4rem; background: #fff; border: 2px solid var(--line); border-radius: 16px; }
.how-n {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 0.8rem;
	border-radius: 12px;
	background: var(--cobalt);
	color: #fff;
	font-family: var(--display);
	transform: rotate(-6deg);
}
.how-steps li:nth-child(2) .how-n { background: var(--hot); }
.how-steps li:nth-child(3) .how-n { background: var(--sun); color: var(--ink); }
.how-steps h3 { margin: 0 0 0.4rem; font-family: var(--ui); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: var(--cobalt-deep); }
.how-steps p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: #4b5060; }

/* --------------------------------------------------------- responsive -- */
@media (max-width: 1000px) {
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wall-top { grid-column: span 2; grid-row: span 2; }
	.ladder-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
	.hx-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.25rem; padding-bottom: 2.5rem; }
	.hx-copy { text-align: center; }
	.hx-sub { margin-left: auto; margin-right: auto; }
	.hx-actions, .hx-stats { justify-content: center; }
	.deck-stage { width: min(78%, 360px); }
	.how-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.tiles { grid-template-columns: 1fr; }
	.tickets { gap: 0.35rem; }
	.ticket { padding-left: 0.15rem; padding-right: 0.15rem; }
	.ticket-at { font-size: 0.68rem; }
	.wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wall-top { grid-column: span 2; grid-row: auto; }
	.rail { grid-auto-columns: 168px; }
	.hd-tools .rail-btn { display: none; }
	.ticker-label { padding: 0 0.7rem; font-size: 0.75rem; }
}

/* ------------------------------------------------------ reduced motion -- */
@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation: none; overflow-x: auto; width: auto; flex: 1; min-width: 0; }
	.ticker-track .ticker-row[aria-hidden="true"] { display: none; }
	.deck-card, .tile, .tile-photo img, .tile-inside, .tile-inside a, .ticket, .nc, .wall-top, .wall-cell { transition: none; }
	.tile:hover, .deck-card[data-pos="0"]:hover { transform: none; }
	.rail { scroll-behavior: auto; }
}

/* /new uses the fresh-drops card in a wrapping grid. */
.rail--grid {
	grid-auto-flow: row;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	overflow: visible;
	row-gap: 1.6rem;
	padding-top: 0.9rem;
}
@media (max-width: 640px) {
	.rail--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.75rem; }
}
