.play-predictor {
	background-color: #0f1132;
	border: 2px solid #5AED90;
	border-radius: 12px;
	padding: 1rem 1rem 0 1rem;
	margin: 0 0 4rem 0;
	color: #ffffff;
}
body.logged-in.admin-bar .play-predictor{
	margin: 4rem 0;
}

.play-predictor:not(.play-predictor--submitted, .play-predictor--locked) {
	border-width: 1px;
	animation: animateGlowBox 0.4s infinite alternate;
}

@keyframes animateGlowBox {
	from {
		box-shadow: 0 0 10px 1px #5aed9085;
	}
	to {
		box-shadow: 0 0 16px 2px #5aed9085;
	}
}

.play-predictor__header {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-bottom: 1rem;
}

.play-predictor__header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.play-predictor__how-to {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #5aed90 !important;
	text-decoration: none !important;
	font-size: 0.9rem;
	font-weight: 600;
	flex-shrink: 0;
	transition: color 0.15s ease;
}

.play-predictor__how-to:hover {
	color: #2cb55e !important;
}

.play-predictor__how-to--icon {
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	border-radius: 50%;
	justify-content: center;
	padding: 0;
}

.play-predictor__how-to--icon:hover svg {
	opacity: 0.8;
}

.play-predictor__how-to-icon {
	width: 18px;
	height: 18px;
	display: block;
	fill: currentColor;
}

.play-predictor__title {
	font-family: 'Basier Bold', Helvetica, Arial, Lucida, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	color: #ffffff !important;
	line-height: 1.3;
	padding: 0 !important;
}

.play-predictor__badge {
	display: inline-block;
	background-color: #182c3d;
	color: #5aed90;
	font-size: 0.7rem;
	border: 2px solid #5aed90;
	font-weight: 700;
	padding: 0.21rem 0.5rem 0.2rem;
	border-radius: 100px;
	line-height: 20px;
	text-transform: uppercase;
	vertical-align: middle;
	margin-left: 0.5rem;
}

.play-predictor__subtitle {
	font-size: 0.95rem;
	color: #b0b0c0;
	margin-bottom: 0.5rem !important;
	padding: 0 !important;
}

.play-predictor__submit-wrapper {
	text-align: center;
	margin-top: 0.75rem;
}

.play-predictor__submit {
	white-space: nowrap;
}

.play-predictor__submit:disabled,
.play-predictor__submit:disabled:hover{
	opacity: 0.4;
	cursor: not-allowed;
}

/* ── Slider ── */

.play-predictor__slider-wrapper {
	position: relative;
}

.play-predictor__slider {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0.5rem 0;
}

.play-predictor__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 36px;
	height: 36px;
	border-radius: 100%;
	border: none;
	background-color: rgba(30, 33, 77, 0.95);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.play-predictor__arrow:hover {
	background-color: #171a3d;
}

.play-predictor__arrow--left {
	left: -12px;
}

.play-predictor__arrow--right {
	right: -12px;
}

/* ── Match card ── */

.play-predictor__card {
	flex: 0 0 400px;
	min-width: 280px;
	background-color: #1a1d4a;
	border: 1px solid #2a2d5a;
	border-radius: 8px;
	padding: 0.8rem 1.1rem 1.1rem;
	scroll-snap-align: start;
	box-sizing: border-box;
}

.play-predictor__card_wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.play-predictor__card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	color: #b0b0c0;
}

.play-predictor__time {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-variant-numeric: tabular-nums;
}

.play-predictor__icon {
	flex-shrink: 0;
	vertical-align: middle;
}

.play-predictor__header-left-col,
.play-predictor__header-right-col {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.play-predictor__header-left-col {
	align-items: flex-start;
}

.play-predictor__header-right-col {
	align-items: flex-end;
	font-size: 0.7rem;
	color: #b1b3d0;
}

.play-predictor__tz-label {
	font-size: 0.6rem;
	color: #b1b3d0;
	text-transform: uppercase;
	font-weight: 700;
}

.play-predictor__time--venue {
	font-size: 0.7rem;
	color: #b1b3d0;
}

.play-predictor__weather {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.3rem;
	flex-shrink: 0;
}

.play-predictor__weather-icon {
	width: 16px;
	height: 18px;
	object-fit: contain;
	flex-shrink: 0;
	opacity: 0.6;
}

.play-predictor__weather-temp {
	font-size: 0.7rem;
	color: #b1b3d0;
	line-height: 18px;
	white-space: nowrap;
}

.play-predictor__tv-list {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	max-width: 120px;
	justify-content: end;
}

.play-predictor__tv-pill {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 0.6rem;
	background-color: rgba(90, 237, 144, 0.12);
	border: 1px solid rgba(90, 237, 144, 0.3);
	color: #5aed90;
	padding: 0px 5px;
	border-radius: 5px;
	line-height: 17px;
	white-space: nowrap;
}

.play-predictor__teams {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.play-predictor__team {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex: 1;
}

.play-predictor__team--home {
	justify-content: flex-start;
}

.play-predictor__team--away {
	justify-content: flex-end;
	text-align: right;
}

.play-predictor__flag {
	width: 25px;
	height: 17px;
	flex-shrink: 0;
	border-radius: 3px;
	object-fit: cover;
}

.play-predictor__team-name {
	font-family: 'Basier Bold', Helvetica, Arial, Lucida, sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: #ffffff;
}

.play-predictor__vs,
.play-predictor__team-name--long {
	font-size: 0.85rem;
	line-height: 1.2;
}

.play-predictor__vs {
	color: #666;
	text-transform: lowercase;
	flex-shrink: 0;
}


/* ── Prediction options ── */

.play-predictor__options {
	display: flex;
	gap: 0.5rem;
}

.play-predictor__option {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	padding: 0.35rem 0.5rem;
	background-color: #252850;
	border: 2px solid #3a3d6a;
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	transition: all 0.15s ease;
	font-family: inherit;
	font-size: inherit;
	backdrop-filter: blur(3px);
	height: 40px;
}

.play-predictor__option:hover {
	border-color: #5AED90;
	background-color: #2a2d5a;
}

.play-predictor__option.is-selected {
	background-color: #5AED90;
	border-color: #5AED90;
	color: #003814;
}

.play-predictor__option.is-selected .play-predictor__option-odds{
	color: #166332;
}

.play-predictor__option.is-selected:hover {
	background-color: #2CB55E;
	border-color: #2CB55E;
}

.play-predictor__option:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.play-predictor__option:disabled:hover {
	border-color: #3a3d6a;
	background-color: #252850;
}

.play-predictor__option.is-selected:disabled {
	opacity: 0.7;
	background-color: #5AED90;
	border-color: #5AED90;
}

.play-predictor__option-label {
	font-family: 'Basier Bold', Helvetica, Arial, Lucida, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
}

.play-predictor__option-odds {
	font-size: 0.8rem;
	color: #b0b0c0;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* ── Prediction bar ── */

.play-predictor__predictions {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #2a2d5a;
}

.play-predictor__pred-title {
	font-size: 0.75rem;
	font-weight: 700;
	color: #b0b0c0;
	line-height: 1;
	margin-bottom: 5px;
}

.play-predictor__pred-labels {
	display: flex;
	width: 100%;
	margin-bottom: 0.3rem;
}

.play-predictor__pred-pct {
	font-size: 0.7rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: center;
	min-width: 0;
}

.play-predictor__pred-pct--home,
.play-predictor__pred-pct--draw,
.play-predictor__pred-pct--away {
	color: #cccddd;
}

.play-predictor__pred-bar {
	display: flex;
	width: 100%;
	height: 6px;
	border-radius: 3px;
	overflow: hidden;
	gap: 2px;
}

.play-predictor__pred-seg {
	height: 100%;
	border-radius: 3px;
	min-width: 2px;
}

.play-predictor__pred-seg--home,
.play-predictor__pred-seg--away {
	background-color: #4354ff;
}

.play-predictor__pred-seg--draw {
	background-color: #cccddd;
}

/* ── Extra bet cards ── */

.play-predictor__card--extra {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
	padding: 0.8rem 1.1rem 1.1rem;
}

.play-predictor__slider::-webkit-scrollbar {
	display: none;
}

.play-predictor__extra-teams {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 1rem;
	min-height: 52px;
}

.play-predictor__extra-team {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex: 1;
}

.play-predictor__extra-team--home {
	justify-content: flex-start;
}

.play-predictor__extra-team--away {
	justify-content: flex-end;
	text-align: right;
}

.play-predictor__extra-team-name {
	font-family: 'Basier Bold', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	font-size: 0.8rem;
}

.play-predictor__extra-label {
	line-height: 1.25;
	font-weight: 600;
	text-align: center;
	margin-bottom: 1.25rem;
	margin-top: 0;
	color: #ffffff;
	position: relative;
	z-index: 1;
	font-size: 1.2rem;
	padding-top: 0;
}

.play-predictor__card--extra .play-predictor__option{
min-height: 40px;
}

.play-predictor__card--extra .play-predictor__option-label{
	font-size: 0.85rem;
}


/* ── Pick counter ── */

.play-predictor__pick-count {
	text-align: center;
	margin-top: 1rem;
	font-size: 0.9rem;
	color: #b0b0c0;
}

.play-predictor__count-current {
	font-weight: 700;
	color: #5AED90;
}

/* ── Result messages ── */

.play-predictor__result {
	text-align: center;
	margin-top: 0.75rem;
}

.play-predictor__submitted-notice {
	background-color: rgba(90, 237, 144, 0.15);
	border: 1px solid #5aed90;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	text-align: center;
	font-size: 0.9rem;
	color: #5aed90;
}

.play-predictor__closed-notice {
	background-color: rgba(176, 176, 192, 0.1);
	border: 1px solid #3a3d6a;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	text-align: center;
	font-size: 0.9rem;
	color: #b0b0c0;
}

.play-predictor__closed-notice-pill{
	margin-bottom: 1rem;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	width: 100%;
	text-align: center;
	justify-content: center;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background-color: rgba(90, 237, 144, 0.12);
	border: 1px solid rgba(90, 237, 144, 0.3);
	color: #5aed90;
	line-height: 17px;
	white-space: nowrap;
}

/* ── Submitted state (logged-in, disabled but visible) ── */

.play-predictor--submitted .play-predictor__option,
.play-predictor--submitted .play-predictor__option:hover {
	opacity: 0.45;
	cursor: not-allowed;
}

.play-predictor--submitted .play-predictor__option.is-selected {
	opacity: 0.7;
}

/* ── Login gate ── */

.play-predictor__login-gate {
	text-align: center;
	padding: 2rem 1rem;
	color: #b0b0c0;
}

.play-predictor__login-gate p{
	margin: 0!important;
}

.play-predictor__login-gate .button-1 {
	margin-top: 1rem;
}

/* ── Rest day ── */

.play-predictor__rest-day {
	text-align: center;
	padding: 3rem 1rem;
}

.play-predictor__rest-message {
	font-size: 1.1rem;
	color: #b0b0c0;
	margin: 0 0 0.5rem;
}

.play-predictor__rest-date {
	font-family: 'Basier Bold', Helvetica, Arial, Lucida, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #5AED90;
	margin: 0;
}

/* ── Locked state ── */

.play-predictor--locked .play-predictor__card:not(:first-child) .play-predictor__option {
	opacity: 0.3;
	cursor: not-allowed;
}

/* ── Logged-out locked preview (all cards except first) ── */

.play-predictor--locked .play-predictor__card:not(:first-child) {
	position: relative;
}

.play-predictor--locked .play-predictor__card:not(:first-child) .play-predictor__card_wrapper,
.play-predictor--locked .play-predictor__card--extra:not(:first-child) .play-predictor__extra-label,
.play-predictor--locked .play-predictor__card--extra:not(:first-child) .play-predictor__options {
	pointer-events: none;
	user-select: none;
	filter: blur(4px) contrast(0.01);
}

.play-predictor--locked .play-predictor__card--extra:not(:first-child) .play-predictor__extra-label{
	filter: blur(7px) brightness(0.5) !important;
}

.play-predictor--locked .play-predictor__card:not(:first-child)::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	background: url('../../images/icons/locked-game.svg') no-repeat center / contain;
	pointer-events: none;
}

/* ── Responsive ── */

@media (max-width: 768px) {
	.play-predictor__header {
		flex-direction: column;
		align-items: stretch;
	}

	.play-predictor__submit {
		width: 100%;
		text-align: center;
	}

	.play-predictor__title {
		font-size: 1.25rem;
	}

	.play-predictor__card {
		flex: 0 0 60vw;
		min-width: 260px;
		padding: 10px;
	}

	.play-predictor__card--extra{
		flex: 0 0 50vw;
		min-width: 230px;
	}

	.play-predictor__team-name {
		font-size: 0.95rem;
	}
}

@media (max-width: 500px) {
	.play-predictor__card {
		min-width: 290px;
		padding: 8px;
	}

	.play-predictor__teams{
		margin-bottom: 1rem;
	}

	.play-predictor__team-name {
		font-size: 0.7rem;
	}

	.play-predictor__flag {
		width: 20px;
		height: 12px;
		border-radius: 1px;
	}

	.play-predictor__extra-label{
		font-size: 1rem;
	}

	.play-predictor__predictions{
		padding-top: 0.7rem;
	}

	.play-predictor__pred-title {
		font-size: 0.6rem;
	}
}

/* ─── Age verification prompt (shared across predictor + chat) ─── */
.kb-age-verify {
	background-color: #222259;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	padding: 1rem;
	color: #f8463e!important;
	max-width: 500px;
	margin: 1rem auto;
}

.play-predictor .kb-age-verify{
	background-color: transparent;
	padding: 0 0 1rem 0;
	max-width: unset;
	margin: 0;
}

.kb-age-verify__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #f8463e;
	margin-bottom: 0.5rem;
}

.dark-theme #content-page p.kb-age-verify__text,
.kb-age-verify__text {
	color: #ff6c65!important;
	font-size: 0.95rem!important;
	line-height: 1.5!important;
	margin: 0 0 1rem!important;
}

.kb-age-verify__check {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
	font-size: 0.95rem;
	color: #f8463e;
	margin-bottom: 1rem;
	user-select: none;
}

.kb-age-verify__check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	flex-shrink: 0;
}

.kb-age-verify__submit{
	color: #fff!important;
	background-color: #f8463e!important;
}

.kb-age-verify__submit:hover {
	color: #fff!important;
	background-color: #ad2a24!important;
}

.kb-age-verify__submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.kb-age-verify__error {
	color: #f8463e;
	font-size: 0.875rem;
	margin: 0.75rem 0 0;
}

.wc-chat-age-prompt .kb-age-verify,
.wc-chat-privacy-prompt-wrap .kb-age-verify {
	margin: 0;
	max-width: none;
}

.kb-age-verify a.kb-age-verify__submit {
	display: inline-block;
	text-decoration: none;
	padding: 7px 25px;
}