/* Site-wide entry verification overlay — above other modals (e.g. news ~100120) */
/* Duplicated in head (rsi_entry_overlay_boot.html) for instant hide before defer JS runs. */
html.rsi-age-gate-pending {
	background: #0b0d12;
	min-height: 100%;
}
html.rsi-age-gate-pending body {
	visibility: hidden !important;
}

#rsiAgeGateOverlay {
	position: fixed;
	inset: 0;
	z-index: 200200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 16px;
	box-sizing: border-box;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
	/* Isolate from global site typography (often forces black on h1/p) */
	color: #ffffff;
}

#rsiAgeGateOverlay h1,
#rsiAgeGateOverlay h2,
#rsiAgeGateOverlay p {
	color: #ffffff;
}

#rsiAgeGateOverlay .rsi-age-gate__wordAdult {
	color: #2196f3;
}

#rsiAgeGateOverlay[hidden],
#rsiAgeGateOverlay.rsi-age-gate--hidden {
	display: none !important;
}

.rsi-age-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 10, 14, 0.82);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.rsi-age-gate__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	max-height: min(92vh, 900px);
	overflow: auto;
	background: linear-gradient(180deg, #1a1d24 0%, #12151c 100%);
	border: 1px solid #2a3444;
	border-radius: 14px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	padding: 28px 26px 22px;
	box-sizing: border-box;
	color: #ffffff;
	text-align: center;
}

.rsi-age-gate__banner {
	display: block;
	width: 100%;
	max-width: 420px;
	max-height: 64px;
	height: auto;
	margin: 0 auto 14px;
}

.rsi-age-gate__headline {
	margin: 0 0 22px;
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.25;
	color: #ffffff;
	text-align: center;
}

.rsi-age-gate__wordAdult {
	color: #2196f3;
	font-weight: 700;
	text-transform: uppercase;
}

.rsi-age-gate__copy {
	margin: 0 0 20px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #ffffff;
	text-align: center;
}

.rsi-age-gate__copy p {
	margin: 0 0 14px;
}

.rsi-age-gate__copy p:last-child {
	margin-bottom: 0;
}

.rsi-age-gate__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 12px;
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid #2a3444;
}

/* Match members nav pills: dark + thin blue ring at rest; blue fill on hover (neither starts filled blue). */
.rsi-age-gate__btn {
	flex: 1 1 200px;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	text-align: center;
	border: 1px solid #2196f3;
	background: #121212;
	color: #ffffff;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
	box-sizing: border-box;
}

#rsiAgeGateOverlay .rsi-age-gate__btn {
	color: #ffffff;
}

.rsi-age-gate__btn:hover {
	background: #2196f3;
	border-color: #2196f3;
	color: #000000;
}

#rsiAgeGateOverlay .rsi-age-gate__btn:hover {
	color: #000000;
}

@media (max-width: 520px) {
	.rsi-age-gate__actions {
		flex-direction: column;
	}

	.rsi-age-gate__btn {
		flex: 1 1 auto;
		width: 100%;
	}
}
