/* Jack.com SPIN+ wheel – [spinlife_spinplus_wheel] */

.spw {
	--spw-orange: #ec6608;
	--spw-orange-light: #ff9a1f;
	--spw-ink: #2b2f36;
	--spw-muted: #8a8f98;
	--spw-seg: #c5cad3;
	--spw-battle: #1fe392;
	/* Almost white at the top, fading to light grey */
	--spw-panel: linear-gradient(180deg, #fcfcfd 0%, #f2f3f5 40%, #e7e9ed 100%);

	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	padding: 40px 0 60px;
	font-family: Kanit, sans-serif;
	color: var(--spw-ink);
}

.spw *,
.spw *::before,
.spw *::after {
	box-sizing: border-box;
}

.spw .spw-title {
	margin: 0 0 24px;
	font-family: Kanit, sans-serif;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	color: var(--spw-ink);
}

.spw .spw-title span {
	color: var(--spw-orange);
}

/* ---------- Layout ---------- */

.spw-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	grid-template-areas:
		"board main"
		"board steps";
	gap: 8px 24px;
	padding: 24px;
	border-radius: 12px;
	background: var(--spw-panel);
}

.spw-board { grid-area: board; }
.spw-main  { grid-area: main; position: relative; }
/* Bottom edge lines up with the last row of the board */
.spw-steps { grid-area: steps; align-self: end; }

/* ---------- Board ---------- */

.spw-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px 18px;
	margin-bottom: 14px;
	font-size: 11px;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--spw-muted);
}

.spw-meta__item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.spw-meta__item strong {
	font-weight: 600;
}

.spw-meta__item img {
	width: 16px;
	height: 16px;
}

.spw-board__head,
.spw-row {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 64px 46px;
	align-items: center;
	padding: 0 12px;
}

.spw-board__head {
	padding-bottom: 4px;
	font-size: 11px;
	font-style: italic;
	color: var(--spw-orange);
}

.spw-board__head span:last-child,
.spw-row__pct {
	text-align: right;
}

.spw .spw-rows {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* More than 20 players: the list keeps the height of 20 rows and scrolls */
.spw .spw-rows--scroll {
	position: relative;
	max-height: calc(20 * 26px + 19 * 6px + 6px);
	overflow-y: auto;
	margin: 0 -4px;
	padding: 3px 4px;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.spw-rows--scroll .spw-row {
	flex-shrink: 0;
}

/* Three-digit ranks */
.spw-rows--scroll .spw-row__rank {
	font-size: 14px;
}

.spw-row {
	height: 26px;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(20, 25, 35, .08);
	font-size: 12px;
	font-style: italic;
	font-weight: 700;
	white-space: nowrap;
	transition: background .3s, color .3s;
}

.spw-row__rank {
	font-size: 17px;
	font-weight: 600;
	color: #b9bec7;
}

.spw-row__user {
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: .5px;
}

.spw-row--empty {
	color: var(--spw-muted);
	font-weight: 400;
}

/* Rank colour = the access the wager gives (see the legend under the list) */
.spw-row--battle .spw-row__rank {
	color: var(--spw-battle);
}

.spw-row--wheel .spw-row__rank {
	color: var(--spw-orange);
}

.spw-row--winner {
	background: linear-gradient(180deg, var(--spw-orange-light), var(--spw-orange));
	color: #fff;
}

.spw-row--winner .spw-row__rank {
	color: #fff;
}

.spw .spw-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 28px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.spw-legend__item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 11px;
	font-style: italic;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.spw-legend__item::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	border-radius: 3px;
	background: var(--spw-orange);
}

.spw-legend__item--battle::before {
	background: var(--spw-battle);
}

/* ---------- Latest winners ---------- */

/* Top-right corner, next to the wheel (static on small screens) */
.spw-winners {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	isolation: isolate;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	width: 320px;
}

/* Light band behind the pentagons */
.spw-winners::before {
	content: "";
	position: absolute;
	top: 22px;
	right: -24px;
	left: 0;
	z-index: -1;
	height: 34px;
	background: linear-gradient(90deg, rgba(220, 223, 229, 0) 0%, #dcdfe5 30%, #d3d7de 100%);
}

.spw-winners__label {
	margin-right: 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.spw-winners__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 78px;
	aspect-ratio: 480 / 458;
	padding-bottom: 10px;
	background: center / 100% 100% no-repeat;
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25));
	color: #fff;
	text-align: center;
}

.spw-winners__user {
	max-width: 90%;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 10px;
	font-style: italic;
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
}

.spw-winners__prize {
	font-size: 17px;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	color: #ffd21f;
}

.spw .spw-winners__terms {
	flex-basis: 100%;
	max-width: 260px;
	margin: 4px 0 0 auto;
	font-size: 8.5px;
	font-style: italic;
	line-height: 1.3;
	text-align: right;
	color: var(--spw-muted);
}

/* ---------- Wheel ---------- */

/* Gap = how far the pointer sticks out (36px) + ~22px to the button, as in the sketch */
.spw-stage {
	display: flex;
	align-items: center;
	gap: 58px;
	margin: 24px 0 28px;
}

.spw-wheel {
	position: relative;
	flex: 0 1 500px;
	min-width: 0;
}

.spw-wheel__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	filter: drop-shadow(0 8px 14px rgba(30, 35, 45, .18));
}

.spw-wheel__rim {
	fill: #fff;
	stroke: #dde0e5;
	stroke-width: 1;
}

.spw-wheel__rotor {
	transform-box: fill-box;
	transform-origin: center;
}

.spw-seg {
	fill: url(#spw-grey);
	stroke: #fff;
	stroke-width: 3;
	stroke-linejoin: round;
}

.spw-seg--top {
	fill: url(#spw-orange);
}

/* After a spin: fade the other slices so the winning one stands out */
.spw-slice {
	transition: opacity .5s;
}

.has-winner .spw-slice:not(.is-winner) {
	opacity: .35;
}

.spw-label {
	font-family: Kanit, sans-serif;
	font-style: italic;
	font-weight: 700;
	fill: #fff;
	filter: drop-shadow(0 1px 1.5px rgba(40, 45, 55, .45));
}

.spw-label--top {
	filter: drop-shadow(0 1px 1.5px rgba(120, 40, 0, .5));
}

.spw-label__rank {
	font-weight: 800;
}

.spw-label--pct {
	font-weight: 500;
}

.spw-label--empty {
	font-size: 22px;
}

/* Hub: white ring around a light grey disc with the outlined JA/CK logo */
.spw-hub {
	fill: #fff;
	stroke: #d3d7dd;
	stroke-width: 1.5;
	filter: drop-shadow(0 2px 4px rgba(30, 35, 45, .18));
}

.spw-hub__inner {
	fill: url(#spw-hub);
	stroke: #c6cbd3;
	stroke-width: 1;
}

/* Grey logo with a light edge, slightly pressed into the disc as in the sketch */
.spw-hub__logo {
	fill: url(#spw-logo);
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 2px;
	stroke-linejoin: round;
	filter: drop-shadow(0 1px 1px rgba(60, 68, 80, .35));
}

/* Orange triangle at 3 o'clock, just off the rim, pointing left into the wheel */
.spw-wheel__pointer {
	position: absolute;
	top: 50%;
	/* Tip rests on the white rim, pointing straight at a slice */
	right: -36px;
	z-index: 1;
	width: 44px;
	height: 48px;
	margin-top: -24px;
	filter: drop-shadow(3px 4px 4px rgba(0, 0, 0, .3));
}

.spw-wheel__pointer svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}


/* Only the button counts for centring, so it lines up with the pointer */
.spw-controls {
	position: relative;
	display: flex;
	justify-content: center;
	width: 150px;
	/* The button's 3px bottom edge makes it look low next to the pointer */
	margin-top: -3px;
}

.spw-controls__note {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	left: 0;
	font-size: 11px;
	line-height: 1.3;
	text-align: center;
	color: var(--spw-muted);
}

/* ---------- How it works ---------- */

.spw-how {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 460px;
	margin-left: auto;
	padding: 6px 14px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(20, 25, 35, .08);
}

.spw-how__title {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.spw-how__title svg {
	flex-shrink: 0;
}

.spw .spw-how p {
	margin: 0;
	font-size: 11px;
	line-height: 1.4;
}

.spw-how em {
	font-weight: 600;
}

/* ---------- Steps ---------- */

.spw-steps__row {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 18px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(20, 25, 35, .08);
}

.spw .spw-steps__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 14px;
	flex: 1;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: spw-step;
}

/* Number and text centred against each other, whatever the text's height */
.spw-steps__list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	line-height: 1.3;
	counter-increment: spw-step;
}

.spw-steps__list li::before {
	content: counter(spw-step) ".";
	flex: none;
	min-width: 22px;
	font-size: 24px;
	line-height: 1;
	font-style: italic;
	font-weight: 700;
	color: var(--spw-orange);
}

.spw-steps__list a {
	color: inherit;
}

.spw-steps__list a:hover {
	color: var(--spw-orange);
}

.spw-steps__list strong {
	font-weight: 600;
}

/* ---------- Buttons ---------- */

.spw .spw-btn {
	display: inline-block;
	min-width: 130px;
	padding: 4px 18px 3px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(180deg, #ffb126 0%, #ff8c00 55%, #f07000 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 0 #c95300, 0 5px 6px rgba(0, 0, 0, .2);
	font-family: Kanit, sans-serif;
	font-size: 21px;
	font-style: italic;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	text-shadow: 0 1px 0 #b34a00, 0 0 2px rgba(150, 60, 0, .6);
	cursor: pointer;
	transition: filter .15s, transform .15s;
}

/* Keep the theme's button styles (BuddyBoss/Elementor) off our buttons. The
   button.spw-btn selectors outrank the site's inline
   [type="button"]:not(.sc-nav, …) rule, which would otherwise win at rest. */
.spw .spw-btn,
.spw .spw-btn:hover,
.spw .spw-btn:focus,
.spw .spw-btn:active,
.spw button.spw-btn,
.spw button.spw-btn:hover,
.spw button.spw-btn:focus,
.spw button.spw-btn:active {
	height: auto !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: linear-gradient(180deg, #ffb126 0%, #ff8c00 55%, #f07000 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 0 #c95300, 0 5px 6px rgba(0, 0, 0, .2) !important;
	font-family: Kanit, sans-serif !important;
	font-style: italic !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: uppercase !important;
	text-shadow: 0 1px 0 #b34a00, 0 0 2px rgba(150, 60, 0, .6) !important;
	color: #fff !important;
	opacity: 1 !important;
	outline: none;
}

.spw .spw-btn:hover,
.spw .spw-btn:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.spw .spw-btn:focus-visible {
	outline: 2px solid var(--spw-orange);
	outline-offset: 3px;
}

.spw .spw-btn:active,
.spw button.spw-btn:active {
	transform: translateY(1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 0 #c95300, 0 2px 3px rgba(0, 0, 0, .2) !important;
}

/* While the wheel is spinning */
.spw .spw-btn[aria-disabled="true"] {
	cursor: default;
}

.spw .spw-spin {
	min-width: 150px;
	font-size: 26px;
}

.spw .spw-btn--small {
	min-width: 0;
	font-size: 15px;
}

/* Text-link buttons. The theme and Elementor style every <button> as a filled
   button, hence the !important resets. */
.spw button.spw-link,
.spw button.spw-link:hover,
.spw button.spw-link:focus {
	display: inline !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	text-transform: none !important;
	text-shadow: none !important;
	text-decoration: underline !important;
	color: var(--spw-orange) !important;
	vertical-align: baseline !important;
	cursor: pointer;
}

.spw button.spw-link:hover {
	text-decoration-thickness: 2px !important;
}

.spw button.spw-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ---------- Modals ---------- */

body.spw-modal-open {
	overflow: hidden;
}

.spw-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(18, 20, 26, .78);
	animation: spw-fade .25s ease-out;
}

.spw-modal[hidden] {
	display: none;
}

.spw-modal > :focus {
	outline: none;
}

@keyframes spw-fade {
	from { opacity: 0; }
}

@keyframes spw-pop {
	from { opacity: 0; transform: scale(.7); }
}

/* Winner – big gold pentagon */
/* Everything is sized from --w (the pentagon's width) – percentages would be
   relative to the full-screen overlay instead. */
.spw .spw-winner__box {
	--w: min(420px, calc(100vw - 32px));

	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	width: var(--w);
	max-width: var(--w);
	height: calc(var(--w) * 458 / 480);
	margin: 0;
	padding: calc(var(--w) * .09) calc(var(--w) * .12) 0;
	background: center / 100% 100% no-repeat;
	filter: drop-shadow(0 0 30px rgba(255, 210, 31, .35));
	color: #fff;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	animation: spw-pop .45s cubic-bezier(.2, 1.4, .4, 1);
}

.spw-winner__box > span {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.spw-winner__title {
	font-size: calc(var(--w) * 0.11);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.spw-winner__user {
	margin-top: calc(var(--w) * 0.02);
	font-size: calc(var(--w) * 0.075);
	font-style: italic;
	line-height: 1.1;
	text-transform: uppercase;
	color: #ffd21f;
}

.spw-winner__box > .spw-winner__pct {
	width: 70%;
	margin-top: calc(var(--w) * 0.02);
	font-size: calc(var(--w) * 0.042);
	display: flex;
	align-items: center;
	gap: calc(var(--w) * 0.03);
}

.spw-winner__pct::before,
.spw-winner__pct::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, .35);
}

.spw-winner__prize {
	font-size: calc(var(--w) * 0.18);
	font-style: italic;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.5px;
	background: linear-gradient(180deg, #fff27a 20%, #ffc400 60%, #f59e00 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 3px 0 #3a2a05);
}

.spw-winner__label {
	font-size: calc(var(--w) * 0.046);
	font-style: italic;
	font-weight: 700;
	text-transform: uppercase;
}

.spw-winner__date {
	margin-top: calc(var(--w) * 0.015);
	font-size: calc(var(--w) * 0.036);
	font-style: italic;
	color: rgba(255, 255, 255, .7);
}

.spw .spw-winner button.spw-link {
	margin-top: calc(var(--w) * 0.025);
	font-size: calc(var(--w) * 0.034) !important;
	color: rgba(255, 255, 255, .75) !important;
}

/* Provably fair panel */
.spw-fair__box {
	position: relative;
	width: min(640px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 26px 28px;
	border-radius: 12px;
	background: #fff;
	font-size: 13px;
	line-height: 1.5;
	animation: spw-pop .3s ease-out;
}

.spw .spw-fair__box h2,
.spw .spw-fair__box h3 {
	margin: 0 0 10px;
	font-family: Kanit, sans-serif;
	text-transform: uppercase;
	color: var(--spw-ink);
}

.spw .spw-fair__box h2 { font-size: 22px; }
.spw .spw-fair__box h3 { margin-top: 18px; font-size: 15px; }

.spw .spw-fair__box pre {
	margin: 10px 0;
	padding: 10px 12px;
	border-radius: 6px;
	background: #f2f3f5;
	font-size: 12px;
	white-space: pre-wrap;
}

.spw .spw-fair__steps {
	margin: 0 0 12px;
	padding-left: 20px;
}

.spw-fair__steps li {
	margin: 0 0 4px;
}

/* Formula and technical values – folded away */
.spw-fair__more {
	margin: 0 0 14px;
}

.spw-fair__more summary {
	font-weight: 600;
	color: var(--spw-muted);
	cursor: pointer;
}

.spw-fair__more[open] summary {
	margin-bottom: 8px;
}

.spw-fair__more p {
	margin: 0;
}

.spw-fair__list {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 4px 12px;
	margin: 0 0 14px;
}

.spw-fair__list dt {
	font-weight: 600;
}

.spw-fair__list dd {
	display: flex;
	gap: 8px;
	align-items: baseline;
	min-width: 0;
	margin: 0;
}

/* One line each – Copy gives the whole value */
.spw-fair__list code {
	min-width: 0;
	overflow: hidden;
	font-size: 11px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.spw .spw-fair__list .spw-copy {
	flex: none;
	font-size: 12px;
}

/* The picked spin: name, winner and Verify on one row */
.spw-fair__pick {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 8px;
}

.spw .spw-fair__pick h3 {
	margin: 0;
}

/* Every spin – a click shows its details below */
.spw .spw-fair__history {
	max-height: 140px;
	overflow-y: auto;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	border: 1px solid #e3e5e9;
	border-radius: 6px;
}

.spw-fair__history li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 4px 10px;
}

.spw-fair__history li:nth-child(odd) { background: #f7f8fa; }
.spw-fair__history li.is-selected { background: #fdebdc; }
.spw-fair__history li span:last-child { text-align: right; }

.spw .spw-fair__history button.spw-link {
	justify-self: start;
	font-weight: 600;
}

.spw-fair__result {
	margin: 0 0 10px;
	font-weight: 600;
}

.spw-fair__result .is-ok  { color: #1e9e4a; }
.spw-fair__result .is-bad { color: #d12b2b; }

.spw button.spw-modal__close,
.spw button.spw-modal__close:hover,
.spw button.spw-modal__close:focus {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 36px !important;
	height: 36px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: none !important;
	box-shadow: none !important;
	font: 400 28px/1 Kanit, sans-serif !important;
	color: var(--spw-muted) !important;
	cursor: pointer;
}

.spw button.spw-modal__close:hover {
	background: #f2f3f5 !important;
	color: var(--spw-ink) !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.spw-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"main"
			"board"
			"steps";
		gap: 16px;
		padding: 16px;
	}

	.spw-winners,
	.spw-how {
		max-width: none;
		margin: 0;
	}

	.spw-winners {
		position: relative;
		justify-content: center;
		width: auto;
		margin-bottom: 16px;
	}

	.spw-winners::before {
		right: 0;
		background: linear-gradient(90deg, rgba(220, 223, 229, 0), #d6dae1 25%, #d6dae1 75%, rgba(220, 223, 229, 0));
	}

	.spw .spw-winners__terms {
		max-width: none;
		margin-left: 0;
		text-align: center;
	}

	.spw-stage {
		flex-direction: column;
		gap: 16px;
	}

	/* Room for the note under the button */
	.spw-controls {
		margin-bottom: 20px;
	}

	.spw-wheel {
		flex: none;
		width: calc(100% - 36px);
		max-width: 460px;
		margin-right: 36px;
	}

	.spw-wheel__pointer {
		right: -28px;
		width: 34px;
		height: 37px;
		margin-top: -18.5px;
	}

	.spw-steps__row {
		flex-direction: column;
		align-items: stretch;
	}

	.spw .spw-steps__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.spw-steps .spw-btn {
		align-self: center;
	}
}

@media (max-width: 600px) {
	.spw {
		padding: 24px 0 32px;
	}

	.spw-layout {
		padding: 12px;
		border-radius: 8px;
	}

	.spw-how {
		flex-direction: column;
		align-items: flex-start;
	}

	.spw-fair__box {
		padding: 22px 16px;
	}

	.spw-fair__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.spw-fair__list dd {
		margin-bottom: 6px;
	}

	/* "Next spin hash" stays on one row */
	.spw-fair__list--next {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.spw-modal,
	.spw-winner__box,
	.spw-fair__box {
		animation: none;
	}
}
