/**
 * Hide vertical divider next to prize pool / trophy icon.
 */
.st-game-wrapper .tournament-card__header-divider {
	display: none;
}

/**
 * Space between label and trophy / prize (no pipe — wl-tournaments-modern adds a ::after bar; we remove it below).
 */
.st-game-wrapper .tournament-card__header-prizepool-wrapper {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.35rem;
	margin-left: 0.2rem;
}

/**
 * Prize pool trophy: Font Awesome icon with gold colour (flex-centered; avoid top/vertical-align nudge).
 */
.st-game-wrapper .tournament-card__trophy-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.15em;
	font-size: 1.125rem;
	line-height: 1;
	color: #e8b923;
}

/**
 * Live tournament cards: shape, radius, countdown blocks, header colour only.
 * No overflow or transform on .tournament-card-inner – do not affect flip.
 * Remove outer borders and theme gradients (no yellow/pink at top/bottom).
 */
/* Outer card: full 16px radius + overflow so bottom is rounded */
.st-game-wrapper .wl-tournaments-modern .tournament-card {
	border-radius: 16px !important;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.st-game-wrapper .wl-tournaments-modern .tournament-card-inner,
.st-game-wrapper .wl-tournaments-modern .tournament-card-inner.tournament-1,
.st-game-wrapper .wl-tournaments-modern .tournament-card-inner.tournament-2,
.st-game-wrapper .wl-tournaments-modern .tournament-card-inner.tournament-3 {
	background: transparent !important;
	border: none !important;
	border-radius: 16px;
	box-shadow: none !important;
}

/* Override theme header gradients – dark bar front and back */
.st-game-wrapper .wl-tournaments-modern .tournament-card__header,
.st-game-wrapper .wl-tournaments-modern .tournament-card-inner.tournament-1 .tournament-card__header,
.st-game-wrapper .wl-tournaments-modern .tournament-card-inner.tournament-2 .tournament-card__header,
.st-game-wrapper .wl-tournaments-modern .tournament-card-inner.tournament-3 .tournament-card__header {
	background: rgb(30, 30, 30) !important;
	color: #fff !important;
	border-radius: 16px 16px 0 0;
}

/*
 * SSR uses class tournament-{index} (1-based). Theme only sets width:100% on tournament-1…3 headers;
 * tournament-4+ kept base .tournament-card__header (inline-flex, shrink-wrapped). Force full width.
 */
.st-game-wrapper .wl-tournaments-modern .tournament-card-inner .tournament-card__header {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}

.st-game-wrapper .wl-tournaments-modern .tournament-card__header .heading-duration,
.st-game-wrapper .wl-tournaments-modern .tournament-card__header .heading-prize {
	color: #fff !important;
}

.st-game-wrapper .wl-tournaments-modern .tournament-card__countdown .progress-countdown__item,
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__content-countdown .progress-countdown__item {
	background: #1a1a1a !important;
	border-radius: 8px !important;
	padding: 4px 8px !important;
}

/* Card back: keep background image, add darker overlay when flipped */
.st-game-wrapper .wl-tournaments-modern .tournament-card-back .tournament-card__body {
	position: relative;
	background-size: cover !important;
	background-position: center !important;
}

.st-game-wrapper .wl-tournaments-modern .tournament-card-back .tournament-card__body::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 100%);
	pointer-events: none;
	z-index: 0;
}

/* Base theme (custom-ui-theme) puts a full-bleed ::before gradient on .tournament-card__body.
   Without this, that layer sits above flex content and steals clicks — correct href on hover,
   but clicks never reach the Play <a> (looks like a dead link or same-page reload). */
.st-game-wrapper .tournament-card__body::before {
	pointer-events: none;
}

.st-game-wrapper .wl-tournaments-modern .tournament-card-back .tournament-card__body > * {
	position: relative;
	z-index: 1;
}

/* Card back: hide prize-money to free space for card list items (tournament info is on card front header) */
.st-game-wrapper .wl-tournaments-modern .tournament-card-back .prize-money {
	display: none !important;
}

/* Header: prize + tournament info in one centered, wrapping row */
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-center,
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__header-center {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.05rem 0.2rem;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}
/* Remove decorative pipe after “Prize” (wl-tournaments-modern.css ::after " | ") — not used on this site */
.st-game-wrapper .wl-tournaments-modern .tournament-card__header .heading-duration::after,
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__header .heading-duration::after {
	content: none !important;
	display: none !important;
}
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-center .tournament-card__header-prizepool-wrapper {
	margin-left: 0.15rem;
}
/* Single card: center block is full width; “More info” sits in the corner, not between title and blurb */
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__header {
	position: relative;
	display: block;
	padding: 0.5rem 2.75rem 0.5rem 0.75rem;
	box-sizing: border-box;
}
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__header .single-tournaments-card__info-wrapper {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	z-index: 2;
}
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__header-title {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.1rem 0.2rem;
}
/* Tournament info — pill chip; same type scale as heading-duration / heading-prize */
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-center .tournament-card__header-info,
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__header-center .tournament-card__header-info {
	box-sizing: border-box;
	flex: 0 1 auto;
	align-self: center;
	min-width: 0;
	max-width: 100%;
	margin: 0 0 0 3px;
	padding: 0.2em 0.38em;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 9999px;
	font-size: 1rem !important;
	line-height: 1.25;
	font-weight: 600 !important;
	color: #fff !important;
	background: rgba(0, 0, 0, 0.28);
	max-height: 5em;
	overflow-y: auto;
	text-align: center;
	position: relative;
	z-index: 1;
	-webkit-overflow-scrolling: touch;
}
/* API HTML: keep copy in the same typographic run as the prize line */
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-info p,
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-info span,
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-info div,
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-info strong {
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
	text-align: inherit !important;
}
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-center .tournament-card__header-info p,
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__header-center .tournament-card__header-info p {
	display: inline;
	margin: 0;
}
.st-game-wrapper .wl-tournaments-modern .tournament-card__header-center .tournament-card__header-info p + p::before,
.st-game-wrapper .wl-tournaments-modern .single-tournament-card__header-center .tournament-card__header-info p + p::before {
	content: ' ';
}
.entry-content .st-game-wrapper .wl-tournaments-modern .tournament-card__header-center .tournament-card__header-info,
.entry-content .st-game-wrapper .wl-tournaments-modern .single-tournament-card__header-center .tournament-card__header-info,
.entry-content .st-game-wrapper .wl-tournaments-modern .tournament-card__header-center .tournament-card__header-info p,
.entry-content .st-game-wrapper .wl-tournaments-modern .single-tournament-card__header-center .tournament-card__header-info p {
	font-size: 1rem !important;
	font-weight: 600 !important;
}
.st-game-wrapper .wl-tournaments-modern .tournament-info--front:not(.tournament-card__header-info) p {
	margin: 0 0 0.4em;
}
.st-game-wrapper .wl-tournaments-modern .tournament-info--front:not(.tournament-card__header-info) p:last-child {
	margin-bottom: 0;
}

/* Tournament info pill: brand tint (PHP: wl_tournament_info_brand_class on API HTML text) */
.st-game-wrapper .tournament-card__header-info.tournament-info--brand-gamdom {
	background: rgba(34, 139, 34, 0.5) !important;
	border-color: rgba(180, 255, 180, 0.35) !important;
}
.st-game-wrapper .tournament-card__header-info.tournament-info--brand-amazon {
	background: rgba(230, 126, 34, 0.45) !important;
	border-color: rgba(255, 200, 120, 0.4) !important;
}

/* Play URL: match .wl-play-page-tournament-card-header pill specificity so theme / layout rules cannot override brand tint */
.entry-content .st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info.tournament-info--brand-gamdom,
.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info.tournament-info--brand-gamdom {
	background: rgba(34, 139, 34, 0.5) !important;
	border-color: rgba(180, 255, 180, 0.35) !important;
}
.entry-content .st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info.tournament-info--brand-amazon,
.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info.tournament-info--brand-amazon {
	background: rgba(230, 126, 34, 0.45) !important;
	border-color: rgba(255, 200, 120, 0.4) !important;
}

/* Upcoming section H2 + “Next tournament” line — mobile rules hide .tournament-card__name on live cards only */
.st-game-wrapper .tournaments-main-container.upcoming-tournaments .tournaments-title-container .title-heading {
	display: block;
	margin-top: 20px;
	margin-bottom: 0;
	padding-top: 0;
	line-height: 1.2;
}
/* Override wl-mobile 28px !important on .tournaments-main-container .title-heading */
@media screen and (max-width: 991px) {
	.st-game-wrapper .tournaments-main-container.upcoming-tournaments .tournaments-title-container .title-heading {
		font-size: 1.5rem !important;
	}
}
/* Inner per-card wrapper also uses .upcoming-tournaments; do not inherit section margin (see custom-ui-theme 1200px rule). */
.st-game-wrapper .tournaments-main-container.upcoming-tournaments .tournaments-main-inner > .upcoming-tournaments {
	margin-top: 0;
}
.st-game-wrapper .upcoming-tournaments-card .upcoming-tournament-title {
	display: block;
}

/* Upcoming card (classic layout): tournament info pill after prize pool — match live header pill */
.st-game-wrapper .upcoming-tournaments-card .upcoming-tournament-prizepool-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.45rem;
	margin: 12px 0;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

.st-game-wrapper .upcoming-tournaments-card .upcoming-tournament-prizepool-row .upcoming-tournament-prizepool-label {
	margin: 0;
}

.st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info {
	box-sizing: border-box;
	flex: 0 1 auto;
	align-self: center;
	min-width: 0;
	max-width: 100%;
	margin: 0 0 0 3px;
	padding: 0.2em 0.38em;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 9999px;
	font-size: 1rem !important;
	line-height: 1.25;
	font-weight: 600 !important;
	color: #fff !important;
	background: rgba(0, 0, 0, 0.28);
	max-height: 5em;
	overflow-y: auto;
	text-align: center;
	position: relative;
	z-index: 2;
	-webkit-overflow-scrolling: touch;
}

.st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info p,
.st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info span,
.st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info div,
.st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info strong {
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
	text-align: inherit !important;
}

.st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info p {
	display: inline;
	margin: 0;
}

.st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info p + p::before {
	content: ' ';
}

.entry-content .st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info,
.entry-content .st-game-wrapper .upcoming-tournaments-card .tournament-card__header-info p {
	font-size: 1rem !important;
	font-weight: 600 !important;
}

.st-game-wrapper .card-list-container {
	height: 100%;
	gap: 0px;
}
.st-game-wrapper .card-list-container .card-list-item {
	margin-bottom: 0px;
}

.st-game-wrapper .tournament-card__countdown .progress-countdown__item,
.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__item {
	background: #1a1a1a !important;
	border-radius: 8px !important;
}

/* Mobile: slightly larger countdown than wl-mobile-tournament-cards.css defaults */
@media screen and (max-width: 991px) {
	.st-game-wrapper .tournament-card__countdown .progress-countdown__item__number,
	.st-game-wrapper .tournament-card__countdown .progress-countdown__indicator {
		font-size: 32px !important;
	}
	.st-game-wrapper .tournament-card__countdown .progress-countdown__item__label {
		font-size: 12px !important;
	}
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__item__number,
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__indicator {
		font-size: 32px !important;
	}
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__item__label {
		font-size: 12px !important;
	}
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__item__number,
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__indicator {
		font-size: 1.7rem !important;
	}
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__item__label {
		font-size: 0.72rem !important;
	}
}
@media screen and (max-width: 760px) {
	.st-game-wrapper .tournament-card__countdown .progress-countdown__item__number,
	.st-game-wrapper .tournament-card__countdown .progress-countdown__indicator {
		font-size: 28px !important;
	}
	.st-game-wrapper .tournament-card__countdown .progress-countdown__item__label {
		font-size: 11px !important;
	}
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__item__number,
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__indicator {
		font-size: 28px !important;
	}
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__item__label {
		font-size: 11px !important;
	}
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__item__number,
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__indicator {
		font-size: 1.52rem !important;
	}
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__item__label {
		font-size: 0.68rem !important;
	}
}
@media screen and (max-width: 576px) {
	.st-game-wrapper .tournament-card__countdown .progress-countdown__item__number,
	.st-game-wrapper .tournament-card__countdown .progress-countdown__indicator {
		font-size: 25px !important;
	}
	.st-game-wrapper .tournament-card__countdown .progress-countdown__item__label {
		font-size: 10.5px !important;
	}
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__item__number,
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__indicator {
		font-size: 25px !important;
	}
	.st-game-wrapper .single-tournament-card__content-countdown .progress-countdown__item__label {
		font-size: 10.5px !important;
	}
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__item__number,
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__indicator {
		font-size: 1.38rem !important;
	}
	.st-game-wrapper .wl-tournaments-modern .tournament-card-front .tournament-card__countdown .progress-countdown__item__label {
		font-size: 0.62rem !important;
	}
}

/**
 * Play CTA width 80% of bottom container (countdown remains 50% in theme).
 * wl-mobile-tournament-cards.css sets .tournament-card__button to 92% under 991px — override here.
 */
.st-game-wrapper .tournament-card__bottom-container .tournament-card__button,
.st-game-wrapper .tournament-card__bottom-container a.tournament-card__button,
.st-game-wrapper .tournament-card__bottom-container div.tournament-card__button {
	width: 80% !important;
	max-width: 80% !important;
	box-sizing: border-box;
}

/* Single feature card: countdown is not inside .tournament-card__bottom-container — 50% strip + wider CTA */
.st-game-wrapper .single-tournament-card__content-countdown {
	width: 50%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.st-game-wrapper .single-tournament-card__cta > a.tournament-card__button,
.st-game-wrapper .single-tournament-card__cta > div.tournament-card__button {
	width: 80% !important;
	max-width: 80% !important;
	box-sizing: border-box;
}

.st-game-wrapper .single-tournament-card__cta .tournament-card__button-ctn,
.st-game-wrapper .single-tournament-card__cta a.tournament-card__button-ctn {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* Mobile: play CTA a bit narrower and taller than base 80% / wl-mobile heights */
@media screen and (max-width: 991px) {
	.st-game-wrapper .tournament-card__bottom-container .tournament-card__button,
	.st-game-wrapper .tournament-card__bottom-container a.tournament-card__button,
	.st-game-wrapper .tournament-card__bottom-container div.tournament-card__button {
		width: 72% !important;
		max-width: 72% !important;
		height: 52px !important;
		min-height: 52px !important;
	}
	.st-game-wrapper .tournament-card__bottom-container .tournament-card__button .svg-wrapper,
	.st-game-wrapper .tournament-card__bottom-container a.tournament-card__button .svg-wrapper,
	.st-game-wrapper .tournament-card__bottom-container div.tournament-card__button .svg-wrapper {
		height: 30px !important;
		width: 30px !important;
	}
	.st-game-wrapper .single-tournament-card__cta > a.tournament-card__button,
	.st-game-wrapper .single-tournament-card__cta > div.tournament-card__button {
		width: 72% !important;
		max-width: 72% !important;
	}
	.st-game-wrapper .single-tournament-card__cta > a.tournament-card__button {
		height: 52px !important;
		min-height: 52px !important;
	}
	.st-game-wrapper .single-tournament-card__cta > a.tournament-card__button .svg-wrapper {
		height: 30px !important;
		width: 30px !important;
	}
	.st-game-wrapper .single-tournament-card__cta a.tournament-card__button-ctn,
	.st-game-wrapper .single-tournament-card__cta div.tournament-card__button-ctn {
		height: 52px !important;
		min-height: 52px !important;
	}
	.st-game-wrapper .single-tournament-card__cta .tournament-card__button-ctn .svg-wrapper,
	.st-game-wrapper .single-tournament-card__cta a.tournament-card__button-ctn .svg-wrapper {
		height: 30px !important;
		width: 30px !important;
	}
}
@media screen and (max-width: 760px) {
	.st-game-wrapper .tournament-card__bottom-container .tournament-card__button,
	.st-game-wrapper .tournament-card__bottom-container a.tournament-card__button,
	.st-game-wrapper .tournament-card__bottom-container div.tournament-card__button {
		height: 48px !important;
		min-height: 48px !important;
	}
	.st-game-wrapper .tournament-card__bottom-container .tournament-card__button .svg-wrapper,
	.st-game-wrapper .tournament-card__bottom-container a.tournament-card__button .svg-wrapper,
	.st-game-wrapper .tournament-card__bottom-container div.tournament-card__button .svg-wrapper {
		height: 28px !important;
		width: 28px !important;
	}
	.st-game-wrapper .single-tournament-card__cta a.tournament-card__button-ctn,
	.st-game-wrapper .single-tournament-card__cta div.tournament-card__button-ctn {
		height: 48px !important;
		min-height: 48px !important;
	}
	.st-game-wrapper .single-tournament-card__cta .tournament-card__button-ctn .svg-wrapper,
	.st-game-wrapper .single-tournament-card__cta a.tournament-card__button-ctn .svg-wrapper {
		height: 28px !important;
		width: 28px !important;
	}
	.st-game-wrapper .single-tournament-card__cta > a.tournament-card__button {
		height: 48px !important;
		min-height: 48px !important;
	}
	.st-game-wrapper .single-tournament-card__cta > a.tournament-card__button .svg-wrapper {
		height: 28px !important;
		width: 28px !important;
	}
}
@media screen and (max-width: 576px) {
	.st-game-wrapper .tournament-card__bottom-container .tournament-card__button,
	.st-game-wrapper .tournament-card__bottom-container a.tournament-card__button,
	.st-game-wrapper .tournament-card__bottom-container div.tournament-card__button {
		height: 44px !important;
		min-height: 44px !important;
	}
	.st-game-wrapper .tournament-card__bottom-container .tournament-card__button .svg-wrapper,
	.st-game-wrapper .tournament-card__bottom-container a.tournament-card__button .svg-wrapper,
	.st-game-wrapper .tournament-card__bottom-container div.tournament-card__button .svg-wrapper {
		height: 26px !important;
		width: 26px !important;
	}
	.st-game-wrapper .single-tournament-card__cta a.tournament-card__button-ctn,
	.st-game-wrapper .single-tournament-card__cta div.tournament-card__button-ctn {
		height: 44px !important;
		min-height: 44px !important;
	}
	.st-game-wrapper .single-tournament-card__cta .tournament-card__button-ctn .svg-wrapper,
	.st-game-wrapper .single-tournament-card__cta a.tournament-card__button-ctn .svg-wrapper {
		height: 26px !important;
		width: 26px !important;
	}
	.st-game-wrapper .single-tournament-card__cta > a.tournament-card__button {
		height: 44px !important;
		min-height: 44px !important;
	}
	.st-game-wrapper .single-tournament-card__cta > a.tournament-card__button .svg-wrapper {
		height: 26px !important;
		width: 26px !important;
	}
}

.st-game-wrapper .upcoming-tournaments-card {
	border: none !important;
}
.st-game-wrapper .upcoming-tournaments-card .card-overlay {
	border-radius: 16px;
}

/**
 * Tournament cards container: position context for content.
 */
.st-game-wrapper .tournaments-cards-container {
	position: relative;
}

.st-game-wrapper .tournaments-cards-container > * {
	position: relative;
	z-index: 1;
}

/* Mobile only: match live / upcoming / last-results card width (376px cap, centered) */
@media screen and (max-width: 767px) {
	.st-game-wrapper .tournaments-cards-container.wl-tournaments-modern {
		justify-content: center;
		align-items: stretch;
	}

	.st-game-wrapper .wl-tournaments-modern .tournament-card,
	.st-game-wrapper .wl-tournaments-modern .single-tournament-card {
		flex: 1 1 auto !important;
		width: 100% !important;
		max-width: min(100%, 376px) !important;
		min-width: 0 !important;
		margin-left: auto;
		margin-right: auto;
	}

	.st-game-wrapper .upcoming-tournaments-widget {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.st-game-wrapper .upcoming-tournaments-card {
		width: 100%;
		max-width: min(100%, 376px) !important;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	/* Timer was space-between for four units; without seconds, cluster with gap */
	.st-game-wrapper .upcoming-tournaments-card .tournament-timer-wrapper {
		display: flex;
		justify-content: center;
		width: 100%;
	}
	.st-game-wrapper .upcoming-tournaments-card .tournament-timer {
		justify-content: center;
		gap: 0.15rem 0.4rem;
		width: auto;
		max-width: 100%;
		flex-wrap: nowrap;
		margin-left: auto;
		margin-right: auto;
	}
	.st-game-wrapper .upcoming-tournaments-card .tournament-timer .cell {
		padding-left: 0.2rem;
		padding-right: 0.2rem;
	}

	.st-game-wrapper .tournaments-result-cards-table-inner {
		align-items: center;
	}

	.st-game-wrapper .tournament-result-card:not(.tournament-result-card-header) {
		width: 100%;
		max-width: min(100%, 376px) !important;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}
}

/* Space between live tournament cards on mobile (margin survives grid/gap overrides) */
@media screen and (max-width: 991px) {
	.st-game-wrapper .tournaments-cards-container.wl-tournaments-modern .tournament-card + .tournament-card {
		margin-top: 24px !important;
	}
	.st-game-wrapper .tournaments-cards-container.wl-tournaments-modern .single-tournament-card + .single-tournament-card {
		margin-top: 24px !important;
	}
}
@media screen and (max-width: 760px) {
	.st-game-wrapper .tournaments-cards-container.wl-tournaments-modern .tournament-card + .tournament-card {
		margin-top: 20px !important;
	}
	.st-game-wrapper .tournaments-cards-container.wl-tournaments-modern .single-tournament-card + .single-tournament-card {
		margin-top: 20px !important;
	}
}
@media screen and (max-width: 576px) {
	.st-game-wrapper .tournaments-cards-container.wl-tournaments-modern .tournament-card + .tournament-card {
		margin-top: 16px !important;
	}
	.st-game-wrapper .tournaments-cards-container.wl-tournaments-modern .single-tournament-card + .single-tournament-card {
		margin-top: 16px !important;
	}
}

/* ========== Tournament result cards: dark theme ========== */
.st-game-wrapper .tournaments-result-cards-table-inner {
	gap: 10px;
}

.st-game-wrapper .tournament-result-card:not(.tournament-result-card-header) {
	background: linear-gradient(135deg, rgba(32, 34, 40, 0.98), rgba(24, 26, 30, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
	color: #e8e8ec;
}

.st-game-wrapper .tournament-result-card:not(.tournament-result-card-header):hover {
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.st-game-wrapper .tournament-result-card-header {
	background: none;
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.6);
	padding: 12px 20px 12px 0;
}

.st-game-wrapper .tournament-result-card-header div {
	color: rgba(255, 255, 255, 0.55);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

/* Result card: logo only, no background image */
.st-game-wrapper .result-card-img .result-card-img-bg {
	display: none !important;
}

.st-game-wrapper .result-card-img {
	align-items: center;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 12px 0 0 12px;
	display: flex;
	justify-content: center;
	padding: 12px;
}

.st-game-wrapper .result-card-img .result-card-img-logo {
	height: 70px;
	max-height: 80px;
	object-fit: contain;
	position: relative;
	width: auto;
}

.st-game-wrapper .result-card-details {
	padding: 4px 0;
}

.st-game-wrapper .result-card-name .result-card-name-title,
.st-game-wrapper .result-card-name a {
	color: #f0f0f4;
}

.st-game-wrapper .result-card-name div:last-of-type {
	color: rgba(255, 255, 255, 0.5);
}

.st-game-wrapper .end-date,
.st-game-wrapper .prize-pool {
	color: rgba(255, 255, 255, 0.9);
}

.st-game-wrapper .result-card-btn {
	background: #e8b923;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	color: #111 !important;
	font-weight: 600;
	min-height: 40px;
	padding: 10px 18px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.st-game-wrapper .result-card-btn:hover {
	background: #f0c430;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.18);
	color: #111 !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.st-game-wrapper .turnaments-result-heading.title-heading {
	margin-bottom: 0;
}

/* ========== Tournament result cards: mobile (stacked: logo top, details below, centered) ========== */
/* High-specificity: results section only (Last Tournaments), so spacing is not overridden */
@media screen and (max-width: 760px) {
	.st-game-wrapper.tournament-results-wrap[data-bwb-results] .tournaments-result-cards-table-inner {
		align-items: center !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
		padding-bottom: 16px !important;
	}

	.st-game-wrapper.tournament-results-wrap[data-bwb-results] .tournament-result-card:not(.tournament-result-card-header) {
		margin-bottom: 32px !important;
	}

	.st-game-wrapper.tournament-results-wrap[data-bwb-results] .tournament-result-card:not(.tournament-result-card-header):last-child {
		margin-bottom: 0 !important;
	}

	/* By ID so spacing cannot be overridden */
	#bwb-results-rows.tournaments-result-cards-table-inner {
		align-items: center !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
	}
	#bwb-results-rows .tournament-result-card:not(.tournament-result-card-header) {
		margin-bottom: 32px !important;
	}
	#bwb-results-rows .tournament-result-card:not(.tournament-result-card-header):last-child {
		margin-bottom: 0 !important;
	}

	/* Improve visibility: brighter heading and text */
	.st-game-wrapper .turnaments-result-heading.title-heading {
		color: #ffffff !important;
		font-size: 1.5rem !important;
		font-weight: 700 !important;
		line-height: 1.3 !important;
		margin-bottom: 0 !important;
		margin-top: 2.5rem;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	}

	.st-game-wrapper .tournaments-result-cards-table {
		padding: 0 20px;
		width: 100%;
	}

	.st-game-wrapper .tournament-result-card-header .tournament-result-card-header-details_time,
	.st-game-wrapper .tournament-result-card-header .tournament-result-card-header-details_name,
	.st-game-wrapper .tournament-result-card-header .tournament-result-card-header-details_prizepool {
		color: rgba(255, 255, 255, 0.9) !important;
		font-size: 13px !important;
		font-weight: 700 !important;
	}

	.st-game-wrapper .tournaments-result-cards-table-inner {
		align-items: center !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
		padding-bottom: 16px;
	}

	.st-game-wrapper .tournament-result-card:not(.tournament-result-card-header) {
		background: linear-gradient(135deg, rgba(42, 44, 52, 0.98), rgba(34, 36, 44, 0.98));
		border: 1px solid rgba(255, 255, 255, 0.15);
		border-radius: 16px;
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		margin-bottom: 32px;
		margin-left: auto;
		margin-right: auto;
		max-width: min(100%, 376px) !important;
		min-height: 0;
		padding: 24px 20px 26px;
		text-align: center;
		width: 100%;
	}

	.st-game-wrapper .tournament-result-card:not(.tournament-result-card-header):last-child {
		margin-bottom: 0;
	}

	.st-game-wrapper .result-card-img {
		background: rgba(0, 0, 0, 0.4);
		border-radius: 12px;
		flex-shrink: 0;
		min-height: 100px;
		min-width: 0;
		order: 1;
		padding: 20px 16px;
		width: 100%;
	}

	.st-game-wrapper .result-card-img .result-card-img-bg {
		display: none !important;
	}

	.st-game-wrapper .result-card-img .result-card-img-logo {
		height: 80px;
		max-width: 120px;
		object-fit: contain;
		position: relative;
	}

	.st-game-wrapper .result-card-details {
		align-items: center;
		display: flex;
		flex-direction: column;
		flex: 1;
		gap: 12px;
		justify-content: center;
		min-width: 0;
		order: 2;
		padding: 16px 0 0;
		text-align: center;
		width: 100%;
	}

	.st-game-wrapper .result-card-name {
		padding-right: 0;
	}

	.st-game-wrapper .result-card-name .result-card-name-title,
	.st-game-wrapper .result-card-name a {
		color: #ffffff !important;
		display: block;
		font-size: 20px;
		font-weight: 600;
		line-height: 1.4;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: normal;
		word-break: break-word;
	}

	.st-game-wrapper .result-card-name div:last-of-type {
		color: rgba(255, 255, 255, 0.85) !important;
		font-size: 14px;
		line-height: 1.35;
		margin-top: 4px;
	}

	.st-game-wrapper .end-date {
		color: #ffffff !important;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.4;
	}

	.st-game-wrapper .prize-pool {
		color: #ffffff !important;
		font-size: 18px;
		font-weight: 700;
		line-height: 1.4;
	}

	.st-game-wrapper .result-card-btn {
		align-self: center;
		background: #e8b923 !important;
		color: #111 !important;
		font-size: 17px;
		font-weight: 700;
		margin-top: 8px;
		min-height: 50px;
		min-width: 180px;
		padding: 14px 24px;
		width: auto;
	}
}

@media screen and (max-width: 480px) {
	.st-game-wrapper.tournament-results-wrap[data-bwb-results] .tournament-result-card:not(.tournament-result-card-header) {
		margin-bottom: 28px !important;
	}

	.st-game-wrapper.tournament-results-wrap[data-bwb-results] .tournament-result-card:not(.tournament-result-card-header):last-child {
		margin-bottom: 0 !important;
	}

	#bwb-results-rows .tournament-result-card:not(.tournament-result-card-header) {
		margin-bottom: 28px !important;
	}

	#bwb-results-rows .tournament-result-card:not(.tournament-result-card-header):last-child {
		margin-bottom: 0 !important;
	}

	.st-game-wrapper .turnaments-result-heading.title-heading {
		font-size: 1.35rem !important;
		margin-bottom: 0 !important;
	}

	.st-game-wrapper .tournaments-result-cards-table {
		padding: 0 16px;
	}

	.st-game-wrapper .tournaments-result-cards-table-inner {
		gap: 0 !important;
	}

	.st-game-wrapper .tournament-result-card:not(.tournament-result-card-header) {
		margin-bottom: 28px;
		padding: 20px 16px 22px;
	}

	.st-game-wrapper .tournament-result-card:not(.tournament-result-card-header):last-child {
		margin-bottom: 0;
	}

	.st-game-wrapper .result-card-img {
		padding: 16px;
	}

	.st-game-wrapper .result-card-img .result-card-img-bg {
		display: none !important;
	}

	.st-game-wrapper .result-card-img .result-card-img-logo {
		height: 68px;
		max-width: 100px;
		object-fit: contain;
		position: relative;
	}

	.st-game-wrapper .result-card-name .result-card-name-title {
		font-size: 18px;
	}

	.st-game-wrapper .result-card-name div:last-of-type {
		font-size: 13px;
	}

	.st-game-wrapper .end-date {
		font-size: 15px;
	}

	.st-game-wrapper .prize-pool {
		font-size: 17px;
	}

	.st-game-wrapper .result-card-btn {
		font-size: 16px;
		min-height: 50px;
		padding: 14px 20px;
	}
}

/* ---- WL Tournament FAQ (same as bwb-tournament) ---- */
.bwb-tournament-cards-faq {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bwb-tournament-cards-faq :first-child {
	margin-top: 0;
}

.bwb-tournament-cards-faq :last-child {
	margin-bottom: 0;
}

.bwb-tournament-cards-faq-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	color: #fff;
}

.bwb-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.bwb-faq-item {
	background: #181a1b;
	border-radius: 10px;
	margin-bottom: 8px;
	overflow: hidden;
}

.bwb-faq-item:last-child {
	margin-bottom: 0;
}

.bwb-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 18px;
	text-align: left;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: #262626;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease;
	gap: 12px;
}

.bwb-faq-question:hover {
	background: #2d2d2d;
}

.bwb-faq-question[aria-expanded="true"] {
	background: #262626;
}

.bwb-faq-question-text {
	flex: 1;
	min-width: 0;
}

.bwb-faq-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	position: relative;
	transition: transform 0.2s ease;
}

.bwb-faq-question[aria-expanded="true"] .bwb-faq-icon {
	transform: rotate(180deg);
}

.bwb-faq-icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	width: 8px;
	height: 8px;
	transform: translate(-60%, -50%) rotate(45deg);
}

.bwb-faq-answer {
	overflow: hidden;
}

.bwb-faq-answer[hidden] {
	display: none;
}

.bwb-faq-answer-inner {
	padding: 16px 18px 18px;
	color: #e2e8f0;
	font-size: 0.95rem;
	line-height: 1.55;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bwb-faq-answer-inner p:first-child {
	margin-top: 0;
}

.bwb-faq-answer-inner p:last-child {
	margin-bottom: 0;
}

.bwb-faq-answer-inner a,
.bwb-tournament-cards-faq .bwb-faq-answer-inner a {
	color: #fff;
	text-decoration: none;
}

.bwb-faq-answer-inner a:hover,
.bwb-tournament-cards-faq .bwb-faq-answer-inner a:hover {
	color: #fff !important;
	text-decoration: underline !important;
}

/* Fixed background for tournament hero (Bigwinboard) */
.bwb-bonus-hero {
	background-image: url('https://www.bigwinboard.com/wp-content/uploads/2026/03/tournamentbg.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

/**
 * Match theme content column width (MH Magazine child: .mh-container max-width 1380px).
 * Bundled style.min.css caps .tournaments-main-container at 1170px and .gameplay-container at 1200px — narrower than normal posts.
 */
#wl-game-integration-plugin.st-game-wrapper .tournaments-main-container {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.st-game-wrapper .gameplay-container {
	max-width: 100%;
	box-sizing: border-box;
}

/**
 * Tournament play page — reference layout: dark shell, gold back link, game left, sidebar right,
 * user stat grid (Points / Ranking / Spins), Top 10 table (# / Name / Score).
 */
.st-game-wrapper.wl-play-page-root {
	--wl-play-row-h: min(56vh, 520px);
	--wl-play-bg-page: #121212;
	--wl-play-bg-frame: #1a1a1a;
	--wl-play-bg-backstrip: #252525;
	--wl-play-bg-panel: #1a1a1a;
	--wl-play-bg-username: #1f1f1f;
	--wl-play-text: #ffffff;
	--wl-play-muted: #999999;
	--wl-play-link: #ececec;
	--wl-play-gold: #d4af37;
	--wl-play-row-alt: rgba(255, 255, 255, 0.05);
	--wl-play-stat-divider: rgba(255, 255, 255, 0.14);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.st-game-wrapper.wl-play-page-root .gameplay-container {
	background: var(--wl-play-bg-page);
	max-width: 100%;
	padding: 16px 16px 0;
	box-sizing: border-box;
}

/* T&C link — directly under game block (no extra gap; spacing is padding-bottom here only) */
.st-game-wrapper.wl-play-page-root .wl-play-tc-apply {
	margin: 0;
	margin-right: 6px;
	padding: 0 16px 20px;
	text-align: right;
	font-size: 0.75rem;
	line-height: 1.35;
	box-sizing: border-box;
}

.st-game-wrapper.wl-play-page-root .wl-play-tc-apply__link {
	color: var(--wl-play-muted, #999999);
	text-decoration: none;
}

.st-game-wrapper.wl-play-page-root .wl-play-tc-apply__link:hover,
.st-game-wrapper.wl-play-page-root .wl-play-tc-apply__link:focus {
	color: var(--wl-play-link, #ececec);
	text-decoration: underline;
}

.st-game-wrapper.wl-play-page-root .wl-play-shell.gameplay-container-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	max-width: 100%;
	height: auto !important;
	max-height: none !important;
	background: transparent !important;
	border: none;
	box-shadow: none;
	position: relative;
}

@media (max-width: 575px) {
	.st-game-wrapper.wl-play-page-root .wl-play-shell.gameplay-container-inner {
		min-height: min(100dvh, 100vh) !important;
	}
}

@media (min-width: 576px) {
	.st-game-wrapper.wl-play-page-root .wl-play-shell.gameplay-container-inner {
		min-height: 0 !important;
	}
}

.st-game-wrapper .wl-play-shell .wl-play-frame {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	box-sizing: border-box;
	border: none;
	border-radius: 12px;
	background: var(--wl-play-bg-frame, #1a1a1a);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	padding: 0;
	overflow-x: hidden;
	overflow-y: visible;
}

.st-game-wrapper .wl-play-page-header {
	width: 100%;
	flex: 0 0 auto;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	border: none;
}

.st-game-wrapper .wl-play-back-wrap {
	width: 100%;
	margin: 0;
	padding: 12px 20px 14px;
	box-sizing: border-box;
	background: var(--wl-play-bg-backstrip, #252525);
}

.st-game-wrapper .wl-play-back-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 10px;
	column-gap: 0;
	width: 100%;
	box-sizing: border-box;
}

/* Vertical rule + spacing — same token as title row / tournament-card strip */
.st-game-wrapper .wl-play-back-gamdom {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 12px;
	padding-left: 12px;
	border-left: 1px solid var(--wl-play-stat-divider, rgba(255, 255, 255, 0.14));
	color: #22c55e;
	text-transform: none;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.st-game-wrapper .wl-play-back-gamdom:hover,
.st-game-wrapper .wl-play-back-gamdom:focus {
	text-decoration: none;
}

.st-game-wrapper .wl-play-back-gamdom:hover .wl-play-back-gamdom__label,
.st-game-wrapper .wl-play-back-gamdom:focus .wl-play-back-gamdom__label {
	color: #4ade80;
	text-decoration: underline;
}

.st-game-wrapper .wl-play-back-gamdom__icon {
	flex-shrink: 0;
	font-size: 0.95rem;
	line-height: 1;
	color: #22c55e;
	text-decoration: none;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.st-game-wrapper .wl-play-back-gamdom:hover .wl-play-back-gamdom__icon,
.st-game-wrapper .wl-play-back-gamdom:focus .wl-play-back-gamdom__icon {
	color: #22c55e;
	text-decoration: none;
}

.st-game-wrapper .wl-play-back-wrap .wl-play-back-link.all-tournaments-link {
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.st-game-wrapper .wl-play-page-header .wl-play-title-block.tournament-name-container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 16px 20px 14px;
	box-sizing: border-box;
}

/* Prize distribution (play page): card-style block under title / prize strip */
.st-game-wrapper .wl-play-page-header .wl-play-title-block.tournament-name-container > .wl-play-prize-distribution {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	order: 5;
	margin: 14px 0 0;
	padding: 14px 16px 16px;
	box-sizing: border-box;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.42) 100%);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.st-game-wrapper .wl-play-prize-distribution__head {
	display: block;
	margin: 0 0 12px;
	padding: 0 0 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.st-game-wrapper .wl-play-prize-distribution__title {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.96);
	line-height: 1.25;
}

.st-game-wrapper .wl-play-prize-distribution__list {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Outer li: shrink-wrapped chip; explicit L/R padding avoids subpixel / inherited asymmetry */
.st-game-wrapper .wl-play-prize-distribution__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 12px;
	padding-right: 12px;
	width: max-content;
	max-width: 100%;
	min-height: 0;
	box-sizing: border-box;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	background: rgba(0, 0, 0, 0.35);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transition: border-color 0.2s ease, background 0.2s ease;
}

.st-game-wrapper .wl-play-prize-distribution__item:hover {
	border-color: rgba(251, 191, 36, 0.35);
	background: rgba(0, 0, 0, 0.45);
}

.st-game-wrapper .wl-play-prize-distribution__item-inner {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	/* single gap value — avoids gap: 0 8px style row/column split from theme */
	gap: 8px;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.st-game-wrapper .wl-play-prize-distribution__item-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 1.25rem;
	flex-shrink: 0;
	font-size: 0.9375rem;
	line-height: 1;
}

.st-game-wrapper .wl-play-prize-distribution__item-icon .fas {
	display: block;
	width: 1em;
	text-align: center;
	line-height: 1;
}

/* 1st / 2nd / 3rd / rest — award icon colour by list order */
.st-game-wrapper .wl-play-prize-distribution__list > li:nth-child(1) .wl-play-prize-distribution__item-icon,
.st-game-wrapper .wl-play-prize-distribution__list > li:nth-child(1) .wl-play-prize-distribution__item-icon .fas {
	color: #e6b422;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}

.st-game-wrapper .wl-play-prize-distribution__list > li:nth-child(2) .wl-play-prize-distribution__item-icon,
.st-game-wrapper .wl-play-prize-distribution__list > li:nth-child(2) .wl-play-prize-distribution__item-icon .fas {
	color: #c8cdd3;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}

.st-game-wrapper .wl-play-prize-distribution__list > li:nth-child(3) .wl-play-prize-distribution__item-icon,
.st-game-wrapper .wl-play-prize-distribution__list > li:nth-child(3) .wl-play-prize-distribution__item-icon .fas {
	color: #c17a3a;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}

.st-game-wrapper .wl-play-prize-distribution__list > li:nth-child(n + 4) .wl-play-prize-distribution__item-icon,
.st-game-wrapper .wl-play-prize-distribution__list > li:nth-child(n + 4) .wl-play-prize-distribution__item-icon .fas {
	color: rgba(255, 255, 255, 0.92);
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.st-game-wrapper .wl-play-prize-distribution__range {
	flex: 0 1 auto;
	min-width: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.25;
}

.st-game-wrapper .wl-play-prize-distribution__prize {
	flex: 0 0 auto;
	font-size: 0.875rem;
	font-weight: 800;
	color: #fef3c7;
	letter-spacing: 0.01em;
	white-space: nowrap;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
	/* lighter glow so the amount doesn’t look shifted vs symmetric padding */
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* Desktop: tournament name + prize/info on one row, tight; vertical rule between */
@media (min-width: 768px) {
	.st-game-wrapper .wl-play-page-header .wl-play-title-block.tournament-name-container {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
	}

	.st-game-wrapper .wl-play-page-header .wl-play-title-block .wl-play-page-title.tournament-name {
		flex: 0 1 auto;
		min-width: 0;
		max-width: min(100%, 42rem);
		padding-right: 12px;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header {
		width: auto;
		max-width: none;
		flex: 0 1 auto;
		margin-top: 0;
		margin-left: 0;
		padding-left: 12px;
		border-left: 1px solid var(--wl-play-stat-divider, rgba(255, 255, 255, 0.14));
	}

	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center {
		justify-content: flex-start;
	}

	/* Tournament info pill: match live cards padding but pull top in by 2px on desktop */
	.entry-content .st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info,
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info {
		padding: calc(0.2em - 2px) 0.38em 0.2em 0.38em;
	}

}

/* Live-card header block on play page (mobile: full width below title; desktop: row rules above) */
.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header {
	margin-top: 0;
}

@media (max-width: 767px) {
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header {
		width: 100%;
		direction: ltr;
	}

	/* Smaller header row on phones; keep trophy → amount order like live cards */
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header {
		font-size: 0.75rem;
		padding: 0.35rem 0.45rem;
		margin: 0.35rem 0 0;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center {
		gap: 0.12rem 0.25rem;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .heading-duration,
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .heading-prize {
		font-size: 0.8125rem !important;
		line-height: 1.2 !important;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__trophy-icon {
		font-size: 0.95rem !important;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-prizepool-wrapper {
		display: inline-flex;
		flex-direction: row;
		align-items: center;
		gap: 0.25rem;
	}

	/* Pill: beat .entry-content … .tournament-card__header-info { font-size: 1rem !important } */
	.entry-content .st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info,
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info {
		font-size: 0.625rem !important;
		padding: 0.12em 0.28em !important;
		line-height: 1.2 !important;
		font-weight: 600 !important;
		max-height: 3.25em;
	}

	.entry-content .st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info p,
	.entry-content .st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info span,
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info p,
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info span,
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info div,
	.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header-center .tournament-card__header-info strong {
		font-size: inherit !important;
		line-height: inherit !important;
	}
}

/* Override theme .tournament-card__header { padding: 10px 5px; height: 50px; } on play URLs only */
.st-game-wrapper.wl-play-page-root .wl-play-page-tournament-card-header .tournament-card__header {
	padding: 0;
	height: auto;
	min-height: 0;
	border-radius: 12px;
	overflow: hidden;
}

.entry-content .st-game-wrapper .wl-play-page-title.tournament-name,
.st-game-wrapper .wl-play-page-title.tournament-name {
	margin: 0;
	padding: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--wl-play-text, #fff);
	text-transform: none;
	letter-spacing: -0.02em;
}

.st-game-wrapper .wl-play-shell .wl-play-columns {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	gap: 18px;
	align-items: stretch;
	padding: 0 20px 20px;
	box-sizing: border-box;
}

.st-game-wrapper .wl-play-shell .wl-play-columns .gameplay-frame-container {
	display: block !important;
	position: relative !important;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 0;
	background: #0a0a0a;
	border: none;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: none;
}

.st-game-wrapper .wl-play-shell .wl-play-columns .gameplay-frame-container [data-game-play-overlay] {
	position: absolute;
	inset: 0;
	z-index: 30;
	pointer-events: none;
}

.st-game-wrapper .wl-play-shell .wl-play-columns .gameplay-frame-container [data-game-play-overlay] .verify_result,
.st-game-wrapper .wl-play-shell .wl-play-columns .gameplay-frame-container [data-game-play-overlay] [data-verified-result-template],
.st-game-wrapper .wl-play-shell .wl-play-columns .gameplay-frame-container [data-game-play-overlay] [data-verify-error-template] {
	pointer-events: auto;
}

.st-game-wrapper .wl-play-shell .wl-play-columns .gameplay-frame-container iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	display: block;
	z-index: 1;
}

/* Play page overrides style.min 230px cap on .gameplay-details-container via rules in @media (max-width:575px) below. */
.st-game-wrapper .wl-play-shell .wl-play-columns .gameplay-details-container.wl-play-sidebar {
	flex: 0 1 auto;
	width: 100%;
	max-width: none;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 4px 0 0;
	overflow-x: hidden;
	overflow-y: visible;
	justify-content: flex-start !important;
	align-items: stretch;
	gap: 0;
	display: flex;
	flex-direction: column;
}

.st-game-wrapper .wl-play-back-link.all-tournaments-link {
	color: var(--wl-play-link, #ececec);
	text-transform: none;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.st-game-wrapper .wl-play-back-link.all-tournaments-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

.st-game-wrapper .wl-play-user-card {
	flex: 0 0 auto;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	margin: 0 0 12px;
}

.st-game-wrapper .wl-play-user-profile-label {
	margin: 0 0 6px;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: capitalize;
	letter-spacing: 0;
	color: var(--wl-play-text, #fff);
}

.st-game-wrapper .wl-play-user-stats-block {
	background: #1f1f1f;
	border-radius: 8px;
	padding: 8px 8px 10px;
	border: none;
}

.st-game-wrapper .wl-play-username-box {
	padding: 2px 4px 8px;
	border-bottom: 1px solid var(--wl-play-stat-divider, rgba(255, 255, 255, 0.14));
}

.st-game-wrapper .wl-play-username-box .wl-play-display-name {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--wl-play-text, #fff);
}

.st-game-wrapper .wl-play-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	padding-top: 8px;
}

.st-game-wrapper .wl-play-stat-cell {
	min-width: 0;
	padding: 2px 6px 2px;
	border-right: 1px solid var(--wl-play-stat-divider, rgba(255, 255, 255, 0.14));
	text-align: center;
}

.st-game-wrapper .wl-play-stat-cell:last-child {
	border-right: none;
}

.st-game-wrapper .wl-play-stat-label {
	display: block;
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wl-play-muted, #999);
}

.st-game-wrapper .wl-play-stat-value {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--wl-play-text, #fff);
	line-height: 1.2;
	word-break: break-word;
}

.st-game-wrapper .wl-play-leaderboard.tournament-leaderboard {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	margin-top: 0;
	padding-top: 18px;
	border: none;
}

.st-game-wrapper .wl-play-lb-header.tournament-leaderboard-header {
	flex: 0 0 auto;
	padding: 0 0 8px;
	border: none;
	margin-bottom: 0;
	justify-content: flex-start;
	gap: 8px;
}

.st-game-wrapper .wl-play-lb-header .wl-play-lb-trophy-icon {
	display: none;
}

.st-game-wrapper .wl-play-lb-header .gameplay-leaderboard_title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--wl-play-text, #fff);
	text-transform: none;
}

.st-game-wrapper .wl-play-lb-header .leaderboard-open,
.st-game-wrapper .wl-play-lb-header .leaderboard-close {
	display: none !important;
}

.st-game-wrapper .wl-play-lb-table-wrap.leaderboard-container {
	background: transparent;
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	position: relative !important;
	left: auto !important;
	top: auto !important;
	width: 100% !important;
	overflow: visible !important;
	border: none;
	margin: 0;
	padding: 0;
}

.st-game-wrapper .wl-play-lb-table-wrap #leaderboard-update {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	min-height: 0;
	overflow: visible;
}

.st-game-wrapper .wl-play-lb-head.leaderboard-heading {
	flex: 0 0 auto;
	display: grid !important;
	grid-template-columns: 36px minmax(0, 1fr) minmax(3.5rem, auto);
	gap: 8px;
	align-items: center;
	padding: 8px 6px 6px;
	margin: 0;
	border: none;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: capitalize;
	color: var(--wl-play-muted, #999);
	letter-spacing: 0.04em;
}

.st-game-wrapper .wl-play-lb-head .wl-play-lb-col-score {
	text-align: right;
}

.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap ul.leaderboard-wrapper.wl-play-lb-list,
.st-game-wrapper .wl-play-shell .wl-play-lb-table-wrap ul.leaderboard-wrapper.wl-play-lb-list {
	flex: 0 0 auto !important;
	width: 100% !important;
	max-height: none !important;
	min-height: 0 !important;
	height: auto !important;
	overflow: visible !important;
	margin: 0 !important;
	padding: 0 !important;
}

.st-game-wrapper .wl-play-lb-table-wrap #leaderboard-update .wl-play-lb-more.leaderboard-row {
	list-style: none;
}

.st-game-wrapper .wl-play-lb-row.leaderboard-row {
	display: grid !important;
	grid-template-columns: 36px minmax(0, 1fr) minmax(3.5rem, auto);
	gap: 8px;
	align-items: center;
	padding: 9px 6px;
	margin: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	min-width: 0 !important;
	width: 100% !important;
}

.st-game-wrapper .wl-play-lb-list .wl-play-lb-row:nth-child(odd) {
	background: transparent;
}

.st-game-wrapper .wl-play-lb-list .wl-play-lb-row:nth-child(even) {
	background: var(--wl-play-row-alt, rgba(255, 255, 255, 0.06));
}

.st-game-wrapper .wl-play-lb-rank {
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--wl-play-text, #fff);
}

.st-game-wrapper .wl-play-lb-name {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--wl-play-text, #fff);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-game-wrapper .wl-play-lb-score {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--wl-play-text, #fff);
	text-align: right;
}

.st-game-wrapper .wl-play-lb-more.leaderboard-row {
	display: block !important;
	padding: 10px 6px;
	text-align: center;
	border-bottom: none;
}

.st-game-wrapper .wl-play-lb-more .leaderboard-players-count {
	font-size: 0.75rem;
	color: var(--wl-play-muted, #a0a0a0);
}

/* ≤767px: no extra gameplay-container / frame horizontal padding (width rollback vs theme-matching 20px experiment) */
@media (max-width: 767px) {
	.st-game-wrapper.wl-play-page-root .wl-play-shell.gameplay-container-inner {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.st-game-wrapper.wl-play-page-root .gameplay-container,
	.st-game-wrapper.wl-play-page-root#wl-game-integration-plugin {
		max-width: 100%;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-tc-apply {
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 0;
		padding-bottom: 16px;
	}

	.st-game-wrapper .wl-play-shell .wl-play-columns {
		padding-left: 0;
		padding-right: 0;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-frame {
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box;
	}

	/* Dark strip behind “View all tournaments” — full width inside frame; frame padding applies below */
	.st-game-wrapper.wl-play-page-root .wl-play-back-wrap {
		margin-left: -10px;
		margin-right: -10px;
		width: calc(100% + 20px);
		max-width: none;
		box-sizing: border-box;
	}

	/*
	 * Title block uses 20px horizontal padding; game iframe sits in .wl-play-columns with 0 side
	 * padding — only .wl-play-frame’s 10px applies. Bleed prize row to full frame content width.
	 */
	.st-game-wrapper .wl-play-page-header .wl-play-title-block.tournament-name-container > .wl-play-prize-distribution {
		margin-left: -20px;
		margin-right: -20px;
		width: calc(100% + 40px);
		max-width: none;
		padding: 14px 8px 16px;
		box-sizing: border-box;
	}
}

@media (max-width: 575px) {
	.st-game-wrapper.wl-play-page-root .gameplay-container,
	.st-game-wrapper.wl-play-page-root#wl-game-integration-plugin {
		overflow-x: hidden;
	}

	.st-game-wrapper .wl-play-shell .wl-play-frame {
		border-radius: 10px;
	}

	.st-game-wrapper .wl-play-back-wrap {
		padding: 10px 20px 12px;
	}

	.st-game-wrapper .wl-play-page-header .wl-play-title-block.tournament-name-container {
		padding: 14px 20px 12px;
	}

	.st-game-wrapper .wl-play-shell .wl-play-columns {
		padding: 0 0 16px;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-columns .gameplay-frame-container {
		order: -1;
		flex: 1 1 auto !important;
		min-height: max(min(70vh, 640px), calc((100vw - 2.5rem) * 9 / 16));
		height: auto !important;
		max-height: none !important;
		aspect-ratio: unset !important;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-columns .gameplay-details-container.wl-play-sidebar {
		min-height: 0 !important;
		max-height: none !important;
		flex: 1 1 auto !important;
		overflow-x: hidden !important;
		overflow-y: visible !important;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .tournament-leaderboard.wl-play-leaderboard {
		display: flex !important;
		flex-direction: column !important;
		flex: 1 1 auto !important;
		min-height: 0 !important;
		overflow: hidden !important;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap.leaderboard-container {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		overflow: hidden !important;
		display: flex !important;
		flex-direction: column !important;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap #leaderboard-update {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		max-height: min(42vh, 320px) !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: rgba(212, 175, 55, 0.55) rgba(255, 255, 255, 0.08);
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap #leaderboard-update::-webkit-scrollbar {
		width: 8px;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap #leaderboard-update::-webkit-scrollbar-thumb {
		background: rgba(255, 255, 255, 0.35);
		border-radius: 4px;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap #leaderboard-update::-webkit-scrollbar-track {
		background: rgba(0, 0, 0, 0.2);
	}
}

@media (min-width: 576px) {
	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-columns {
		flex-direction: row-reverse;
		align-items: flex-start;
		gap: 20px;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-columns .gameplay-details-container.wl-play-sidebar {
		flex: 0 1 32%;
		width: 32%;
		min-width: 260px;
		max-width: 340px;
		height: var(--wl-play-row-h) !important;
		max-height: var(--wl-play-row-h) !important;
		overflow-x: hidden;
		overflow-y: hidden;
		align-self: flex-start;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .tournament-leaderboard.wl-play-leaderboard {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
		overflow: hidden;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap.leaderboard-container {
		flex: 1 1 auto !important;
		min-height: 0;
		overflow: hidden !important;
		display: flex;
		flex-direction: column;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap #leaderboard-update {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: rgba(212, 175, 55, 0.55) rgba(255, 255, 255, 0.08);
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap #leaderboard-update::-webkit-scrollbar {
		width: 8px;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap #leaderboard-update::-webkit-scrollbar-thumb {
		background: rgba(255, 255, 255, 0.35);
		border-radius: 4px;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap #leaderboard-update::-webkit-scrollbar-track {
		background: rgba(0, 0, 0, 0.2);
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-columns .gameplay-frame-container {
		flex: 1 1 68% !important;
		min-width: 0;
		align-self: flex-start;
		min-height: 0 !important;
		aspect-ratio: unset !important;
		height: var(--wl-play-row-h) !important;
		max-height: var(--wl-play-row-h) !important;
	}
}

@media (max-width: 1024px) {
	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap.leaderboard-container {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		width: 100% !important;
		display: flex !important;
	}
}

@media (orientation: landscape) {
	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-columns .gameplay-details-container.wl-play-sidebar {
		position: relative !important;
		flex: 0 0 min(300px, 34vw) !important;
		max-width: 320px !important;
		height: var(--wl-play-row-h) !important;
		max-height: var(--wl-play-row-h) !important;
		overflow-y: hidden;
		align-self: flex-start !important;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-columns .gameplay-frame-container {
		height: var(--wl-play-row-h) !important;
		max-height: var(--wl-play-row-h) !important;
		flex: 1 1 68% !important;
	}

	.st-game-wrapper.wl-play-page-root .wl-play-shell .wl-play-lb-table-wrap.leaderboard-container {
		left: auto !important;
		top: auto !important;
		width: 100% !important;
		height: auto !important;
	}
}

/* ========== “Play for free” / join CTA: loading overlay (js/custom.js) ========== */
.st-game-wrapper [data-tournament-block-play].wl-play-cta-loading {
	position: relative !important;
	cursor: progress !important;
}

.st-game-wrapper [data-tournament-block-play] .wl-play-cta-loading__overlay {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0 0.5rem;
	box-sizing: border-box;
	border-radius: inherit;
	background: rgba(0, 0, 0, 0.28);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}

.st-game-wrapper [data-tournament-block-play] .wl-play-cta-loading__spinner {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: rgba(255, 255, 255, 0.95);
	animation: wl-play-cta-spin 0.65s linear infinite;
}

.st-game-wrapper [data-tournament-block-play] .wl-play-cta-loading__txt {
	max-width: 9rem;
}

@keyframes wl-play-cta-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Yellow primary CTA: keep label readable on light background */
.st-game-wrapper .wl-tournaments-modern .tournament-card__button[data-tournament-block-play] .wl-play-cta-loading__overlay,
.st-game-wrapper .wl-tournaments-modern .tournament-card__button-ctn[data-tournament-block-play] .wl-play-cta-loading__overlay {
	background: rgba(255, 255, 255, 0.88);
	color: #1a1a1e;
}

.st-game-wrapper .wl-tournaments-modern .tournament-card__button[data-tournament-block-play] .wl-play-cta-loading__spinner,
.st-game-wrapper .wl-tournaments-modern .tournament-card__button-ctn[data-tournament-block-play] .wl-play-cta-loading__spinner {
	border-color: rgba(0, 0, 0, 0.2);
	border-top-color: rgba(0, 0, 0, 0.75);
}

/* Full-page busy layer (never clipped by .tournament-card overflow) — see js/custom.js */
#wl-play-page-busy {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	background: rgba(10, 10, 12, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

#wl-play-page-busy .wl-play-page-busy__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 22px 28px;
	border-radius: 14px;
	background: rgba(24, 24, 28, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	color: #f4f4f4;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	max-width: min(360px, 92vw);
}

#wl-play-page-busy .wl-play-page-busy__spinner {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.2);
	border-top-color: #facc15;
	animation: wl-play-cta-spin 0.7s linear infinite;
}

#wl-play-page-busy .wl-play-page-busy__txt {
	line-height: 1.35;
}
