/* 1. Design tokens */
:root {
	--color-bg: #f8fafc;
	--color-surface: #ffffff;
	--color-surface-soft: #f1f5f9;
	--color-text: #0d1b2a;
	--color-text-muted: #64748b;
	--color-border: #e2e8f0;
	--color-primary: #2563eb;
	--color-primary-dark: #1d4ed8;
	--color-cyan: #00e5ff;
	--color-success: #22c55e;
	--color-warning: #f59e0b;
	--color-danger: #ef4444;
	--color-accent: #8b5cf6;
	--gradient-primary: linear-gradient(135deg, #2563eb 0%, #00e5ff 55%, #8b5cf6 100%);
	--gradient-success: linear-gradient(135deg, #22c55e 0%, #00e5ff 100%);
	--gradient-dark: linear-gradient(135deg, #0d1b2a 0%, #1e293b 100%);
	--gradient-page:
		radial-gradient(circle at top left, rgba(0, 229, 255, 0.18), transparent 32%),
		radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), transparent 28%),
		#f8fafc;
	--shadow-card: 0 24px 80px rgba(15, 23, 42, 0.08);
	--shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
	--shadow-glow: 0 16px 42px rgba(37, 99, 235, 0.22);
	--radius-xl: 28px;
	--radius-lg: 24px;
	--radius-md: 18px;
	--transition-fast: 180ms ease;
	--bottom-nav-height: 76px;
}

/* 2. Base */
* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	margin: 0;
	color: var(--color-text);
	background: var(--gradient-page);
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--color-primary-dark);
}

:focus-visible {
	outline: 3px solid rgba(0, 229, 255, 0.5);
	outline-offset: 3px;
}

/* 3. Layout */
.app-shell {
	position: relative;
	min-height: 100vh;
	padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
	overflow: hidden;
}

.page-container {
	width: min(1140px, calc(100% - 32px));
	margin: 0 auto;
}

.main-shell,
.auth-shell,
.dashboard-shell {
	position: relative;
	padding: 42px 0 96px;
}

.section-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.section-title {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: 0;
}

.section-copy {
	max-width: 620px;
	margin: 0;
	color: var(--color-text-muted);
}

/* 4. Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
button {
	font-family: "Space Grotesk", sans-serif;
	letter-spacing: 0;
}

.hero-title {
	max-width: 760px;
	margin: 0;
	font-size: clamp(3rem, 8.6vw, 6.4rem);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: 0;
}

.hero-title span {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-accent {
	background: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-copy {
	max-width: 590px;
	margin: 18px 0 0;
	color: var(--color-text-muted);
	font-size: clamp(0.95rem, 1.8vw, 1.14rem);
	line-height: 1.5;
}

.app-hero {
	position: relative;
	overflow: hidden;
	border-radius: 34px;
	padding: 36px 42px;
	background:
		radial-gradient(circle at 78% 18%, rgba(24, 199, 216, 0.16), transparent 34%),
		radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.1), transparent 32%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.92));
	border: 1px solid rgba(24, 199, 216, 0.24);
	box-shadow: 0 28px 90px rgba(37, 99, 235, 0.1);
}

.app-hero__content {
	position: relative;
	z-index: 1;
}

.app-hero__eyebrow-row,
.app-hero__context,
.app-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.app-hero__context {
	margin-top: 14px;
}

.app-hero__actions {
	margin-top: 18px;
}

.app-hero-label {
	font-size: 13px;
	font-weight: 950;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #2563eb;
}

.app-hero-title {
	max-width: 860px;
	margin: 0;
	font-size: clamp(38px, 5.4vw, 82px);
	line-height: 0.92;
	letter-spacing: -0.055em;
	font-weight: 950;
	color: #07111f;
}

.app-hero-subtitle {
	max-width: 640px;
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 750;
	color: #66758c;
}

.context-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(219, 234, 254, 0.78);
	color: #2563eb;
	font-size: 13px;
	font-weight: 900;
	border: 1px solid rgba(37, 99, 235, 0.12);
}

.context-pill--live {
	background: rgba(34, 197, 94, 0.16);
	color: #15803d;
	border-color: rgba(34, 197, 94, 0.28);
}

.context-pill--live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #22c55e;
	box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

.section-card {
	border-radius: 32px;
	background:
		radial-gradient(circle at top left, rgba(24, 199, 216, 0.1), transparent 34%),
		rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(24, 199, 216, 0.26);
	box-shadow: 0 30px 90px rgba(37, 99, 235, 0.1);
}

.home-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at top left, rgba(0, 229, 255, 0.22), transparent 34%),
		radial-gradient(circle at top right, rgba(139, 92, 246, 0.2), transparent 28%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.94)),
		rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.72);
	box-shadow: 0 34px 110px rgba(15, 23, 42, 0.12);
}

.home-hero--cinematic {
	padding: clamp(1.55rem, 3.4vw, 3rem) !important;
}

.home-hero .hero-title {
	max-width: 760px;
}

.home-hero .hero-copy {
	max-width: 620px;
}

.home-hero .futuristic-football-orb {
	width: clamp(200px, 22vw, 300px);
	filter: drop-shadow(0 28px 64px rgba(37, 99, 235, 0.22));
}

.eyebrow,
.form-label-premium {
	color: var(--color-primary);
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.stat-number {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

/* 5. Buttons */
.btn-primary-gradient,
.btn-secondary-soft,
.btn-dark-premium,
.btn-pill,
.btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	border: 0;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
	transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.app-hero__actions .btn-primary-gradient,
.app-hero__actions .btn-secondary-soft,
.app-hero__actions .pwa-install-btn {
	min-height: 52px;
	padding-inline: 24px;
}

.btn-primary-gradient {
	padding: 0.84rem 1.35rem;
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: var(--shadow-glow);
}

.btn-primary-gradient:hover,
.btn-primary-gradient:focus {
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 20px 52px rgba(37, 99, 235, 0.28);
}

.btn-primary-gradient:active,
.btn-secondary-soft:active,
.btn-dark-premium:active,
.btn-pill:active,
.btn-icon:active {
	transform: scale(0.98);
}

.btn-secondary-soft {
	padding: 0.84rem 1.25rem;
	color: var(--color-text);
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.btn-secondary-soft:hover {
	color: var(--color-primary);
	transform: translateY(-1px);
	box-shadow: var(--shadow-soft);
}

.btn-dark-premium {
	padding: 0.84rem 1.25rem;
	color: #ffffff;
	background: var(--gradient-dark);
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.btn-dark-premium:hover {
	color: #ffffff;
	transform: translateY(-1px);
}

.btn-icon {
	width: 46px;
	height: 46px;
	color: var(--color-text);
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.25);
}

.btn-pill {
	padding: 0.68rem 1rem;
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.08);
}

/* 6. Forms */
.form-label-premium {
	display: block;
	margin-bottom: 0.5rem;
}

.form-control,
.form-control-premium {
	width: 100%;
	min-height: 54px;
	color: var(--color-text);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(148, 163, 184, 0.32);
	border-radius: 16px;
	padding: 0.82rem 0.95rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	transition: border var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.form-control:focus,
.form-control-premium:focus {
	border-color: rgba(0, 229, 255, 0.9);
	box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.16), 0 14px 34px rgba(37, 99, 235, 0.08);
}

.password-toggle {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
}

.password-field {
	position: relative;
}

.password-field .form-control-premium {
	padding-right: 3.65rem;
}

.password-field .password-toggle {
	width: 38px;
	height: 38px;
	min-height: 38px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #475569;
}

.verification-code-input {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.24rem;
	text-align: center;
}

/* 7. Cards */
.glass-card,
.metric-card,
.match-card,
.ranking-card,
.action-card,
.auth-card,
.dashboard-panel,
.feature-card {
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.glass-card,
.metric-card,
.match-card,
.ranking-card,
.action-card,
.feature-card {
	transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.glass-card:hover,
.metric-card:hover,
.match-card:hover,
.ranking-card:hover,
.action-card:hover,
.feature-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 28px 90px rgba(15, 23, 42, 0.11);
	border-color: rgba(0, 229, 255, 0.34);
}

.metric-card,
.ranking-card,
.action-card,
.feature-card {
	padding: 20px;
}

.metric-card__icon,
.action-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	border-radius: 16px;
	color: var(--color-primary);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(0, 229, 255, 0.16));
}

.metric-card__label,
.metric-label {
	color: var(--color-text-muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.match-card {
	position: relative;
	padding: 24px;
	overflow: hidden;
}

.match-card::after {
	content: "";
	position: absolute;
	inset: auto -80px -120px auto;
	width: 220px;
	height: 220px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(0, 229, 255, 0.16), transparent 68%);
}

.match-card__header,
.match-card__teams,
.match-card__footer {
	position: relative;
	z-index: 1;
}

.match-card__header,
.match-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.match-card__teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 14px;
	margin: 24px 0;
}

.team-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 62px;
	border-radius: 18px;
	background: rgba(241, 245, 249, 0.75);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 800;
}

.vs-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: var(--shadow-glow);
	font-size: 0.78rem;
	font-weight: 800;
}

.ranking-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.ranking-item:last-child {
	border-bottom: 0;
}

/* 8. Badges */
.badge-live,
.badge-new,
.badge-premium,
.badge-success,
.badge-muted {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 30px;
	padding: 0.35rem 0.72rem;
	border-radius: 999px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
}

.badge-live {
	color: #075985;
	background: rgba(0, 229, 255, 0.14);
}

.badge-live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--color-cyan);
	box-shadow: 0 0 0 5px rgba(0, 229, 255, 0.14);
}

.badge-new,
.badge-premium {
	color: var(--color-primary-dark);
	background: rgba(37, 99, 235, 0.09);
}

.badge-success {
	color: #166534;
	background: rgba(34, 197, 94, 0.12);
}

.badge-muted {
	color: var(--color-text-muted);
	background: rgba(100, 116, 139, 0.1);
}

/* 9. Alerts */
.alert,
.alert-success-soft,
.alert-info-soft,
.alert-danger-soft,
.alert-warning-soft {
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 18px;
	padding: 0.9rem 1rem;
}

.alert-danger,
.alert-danger-soft {
	color: #991b1b;
	background: rgba(239, 68, 68, 0.09);
}

.alert-info,
.alert-info-soft {
	color: #075985;
	background: rgba(0, 229, 255, 0.11);
}

.alert-success-soft {
	color: #166534;
	background: rgba(34, 197, 94, 0.1);
}

.alert-warning,
.alert-warning-soft {
	color: #92400e;
	background: rgba(245, 158, 11, 0.12);
}

/* 10. Navigation */
.app-navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(226, 232, 240, 0.72);
}

.navbar-brand-cluster {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--color-text);
	font-weight: 800;
	flex: 0 0 auto;
}

.brand-orb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 16px;
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: 0 14px 36px rgba(37, 99, 235, 0.24);
}

.brand-orb--app-icon {
	padding: 0;
	background: transparent;
	box-shadow: 0 14px 36px rgba(37, 99, 235, 0.22);
	overflow: hidden;
}

.brand-orb--app-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.app-splash {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient-page);
	transition:
		opacity 0.35s ease,
		visibility 0.35s ease;
}

html.app-splash-seen .app-splash,
html.app-standalone .app-splash {
	display: none;
}

@media (display-mode: standalone) {
	.app-splash {
		display: none;
	}
}

.app-splash.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.app-splash-inner {
	text-align: center;
	padding: 24px;
}

.app-splash-orb {
	width: clamp(150px, 24vw, 260px);
	height: auto;
	filter: drop-shadow(0 28px 50px rgba(37, 99, 235, 0.22));
	animation: splashFloat 3.8s ease-in-out infinite;
}

.app-splash-title {
	margin-top: 18px;
	font-size: 24px;
	font-weight: 950;
	letter-spacing: -0.04em;
	color: var(--color-text);
}

.app-splash-subtitle {
	margin-top: 6px;
	font-size: 14px;
	font-weight: 750;
	color: var(--color-text-muted);
}

.pwa-install-modal__brand-orb {
	display: block;
	width: clamp(96px, 28vw, 150px);
	height: auto;
	margin: 0 auto 18px;
	filter: drop-shadow(0 20px 38px rgba(37, 99, 235, 0.20));
}

@keyframes splashFloat {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}

	50% {
		transform: translateY(-6px) scale(1.015);
	}
}

@media (prefers-reduced-motion: reduce) {
	.app-splash-orb {
		animation: none;
	}
}

.nav-link {
	position: relative;
	color: var(--color-text-muted);
	font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
	color: var(--color-primary);
}

.nav-link.active::after {
	content: "";
	position: absolute;
	left: 0.5rem;
	right: 0.5rem;
	bottom: 0;
	height: 2px;
	border-radius: 999px;
	background: var(--gradient-primary);
	box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

.user-pill {
	color: var(--color-text);
	font-weight: 800;
}

.profile-switcher {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-right: 0.25rem;
	color: var(--color-text);
	font-weight: 800;
	background: transparent;
	border: 0;
}

.profile-switcher::after {
	margin-left: 0.2rem;
}

.profile-menu {
	min-width: 250px;
	padding: 10px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(18px);
	box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.profile-menu__identity {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
}

.profile-menu__identity strong {
	color: var(--color-text);
	font-size: 0.98rem;
	font-weight: 900;
}

.profile-menu__identity span {
	color: var(--color-text-muted);
	font-size: 0.85rem;
}

.profile-menu__logout {
	border-radius: 14px;
	font-weight: 800;
}

.locale-switcher {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 3px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 999px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 248, 255, 0.82));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 14px 32px rgba(15, 23, 42, 0.06);
}

.locale-switcher__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: var(--color-primary);
	font-size: 0.86rem;
}

.locale-switcher__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 26px;
	padding: 0 9px;
	border-radius: 999px;
	color: var(--color-text-muted);
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition:
		background 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease;
}

.locale-switcher__option:hover {
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.08);
}

.locale-switcher__option.is-active {
	color: #ffffff;
	background: linear-gradient(135deg, #07111f, #2563eb);
	box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.pwa-install-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
}

.pwa-install-menu-item i {
	color: var(--color-primary);
}

.nav-pool-context {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-right: 0.35rem;
}

.nav-pool-context--brand {
	margin-right: 0;
}

.active-pool-context__label {
	display: none;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.active-pool-switcher {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 48px;
	max-width: 320px;
	min-width: 220px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--gradient-primary);
	border: 0;
	box-shadow: var(--shadow-glow);
	color: #ffffff;
	font-weight: 800;
	white-space: nowrap;
}

.active-pool-switcher__icon {
	flex: 0 0 auto;
	font-size: 0.9rem;
	color: var(--color-primary);
}

.active-pool-switcher__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
}

.active-pool-switcher__name {
	max-width: 230px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 14px;
	font-weight: 900;
	color: #ffffff;
}

.active-pool-switcher__meta {
	max-width: 230px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 11px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.82);
}

.active-pool-switcher--menu {
	text-align: left;
}

.active-pool-switcher--menu::after {
	margin-left: 12px;
}

.pool-context-menu {
	min-width: 320px;
	max-width: min(360px, calc(100vw - 24px));
	padding: 10px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(18px);
	box-shadow: 0 22px 58px rgba(15, 23, 42, 0.14);
}

.pool-context-menu__header {
	display: grid;
	gap: 2px;
	padding: 8px 10px 12px;
}

.pool-context-menu__header strong {
	font-size: 0.9rem;
	font-weight: 900;
	color: var(--color-text);
}

.pool-context-menu__header span {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	font-weight: 700;
}

.pool-context-menu__list {
	display: grid;
	gap: 6px;
}

.pool-context-menu__item,
.pool-context-menu__action {
	display: grid;
	gap: 3px;
	padding: 10px 12px;
	border-radius: 16px;
	color: var(--color-text);
	text-decoration: none;
}

.pool-context-menu__item strong,
.pool-context-menu__action span {
	font-size: 0.92rem;
	font-weight: 900;
}

.pool-context-menu__item span,
.pool-context-menu__action small {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--color-text-muted);
}

.pool-context-menu__item:hover,
.pool-context-menu__item.is-active,
.pool-context-menu__action:hover {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(24, 199, 216, 0.08));
}

.pool-context-menu__item.is-active {
	border: 1px solid rgba(24, 199, 216, 0.24);
}

.pool-context-menu__action {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bottom-nav {
	position: fixed;
	right: 14px;
	bottom: max(12px, env(safe-area-inset-bottom));
	left: 14px;
	z-index: 60;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: center;
	height: var(--bottom-nav-height);
	padding: 8px;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 26px;
	box-shadow: 0 18px 60px rgba(15, 23, 42, 0.14);
}

.bottom-nav__item {
	display: grid;
	place-items: center;
	gap: 3px;
	color: var(--color-text-muted);
	font-size: 0.72rem;
	font-weight: 800;
}

.bottom-nav__item i {
	font-size: 1.18rem;
}

.bottom-nav__item.active {
	color: var(--color-primary);
}

.bottom-nav__primary {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	border-radius: 22px;
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: var(--shadow-glow);
}

/* 11. Auth pages */
.auth-shell {
	display: flex;
	align-items: center;
	min-height: calc(100vh - 120px);
}

.auth-card {
	max-width: 100%;
	overflow: hidden;
	border-radius: var(--radius-xl);
	box-sizing: border-box;
}

.auth-card .card-body {
	position: relative;
	padding: 2.25rem !important;
}

.auth-card .card-body::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: var(--gradient-primary);
}

.auth-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--color-primary);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 800;
}

.auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 14px;
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--color-border);
}

.auth-google-primary {
	display: grid;
	gap: 8px;
	padding: 16px;
	margin-bottom: 8px;
	border-radius: 24px;
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.1), transparent 34%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 255, 0.94));
	border: 1px solid rgba(24, 199, 216, 0.22);
	box-shadow: 0 20px 52px rgba(37, 99, 235, 0.1);
	overflow: hidden;
}

.auth-google-primary__label {
	margin: 0;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.auth-google-primary__title {
	margin: 0;
	font-size: clamp(1.35rem, 4vw, 1.7rem);
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 900;
	color: var(--color-text);
}

.auth-google-primary__copy {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.4;
	font-weight: 700;
	color: var(--color-text-muted);
}

.auth-google-primary,
.google-login-wrapper {
	max-width: 100%;
	box-sizing: border-box;
}

.google-login-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
}

.google-button-shell {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	overflow: hidden;
	box-sizing: border-box;
}

.google-button-shell--primary {
	justify-content: flex-start;
	margin-top: 4px;
}

.google-login-wrapper > div,
.google-login-wrapper iframe,
.google-login-wrapper .g_id_signin {
	max-width: 100% !important;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.auth-card {
		max-width: 100%;
	}

	.auth-card .card-body {
		padding: 1.55rem 1rem !important;
	}

	.google-login-wrapper {
		width: 100%;
		min-width: 0;
	}

	#google-signin-button {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}

	.auth-google-primary {
		padding: 14px;
		border-radius: 22px;
	}
}

/* 12. Dashboard */
.dashboard-hero {
	padding: 24px;
	border-radius: var(--radius-xl);
	background: var(--gradient-dark);
	color: #ffffff;
	box-shadow: 0 30px 100px rgba(13, 27, 42, 0.22);
	overflow: hidden;
}

.dashboard-hero .eyebrow,
.dashboard-hero .section-copy {
	color: rgba(255, 255, 255, 0.72);
}

.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.dashboard-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
	gap: 18px;
}

.dashboard-main-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
	gap: 1.25rem;
	align-items: start;
}

.dashboard-main-layout--single {
	grid-template-columns: 1fr;
}

.dashboard-main-column,
.dashboard-side-column {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.dashboard-hero-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.metric-card-contextual {
	min-height: 190px;
}

.dashboard-action-card,
.dashboard-pool-card,
.dashboard-onboarding-card,
.dashboard-managed-card {
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: var(--shadow-card);
}

.dashboard-action-card {
	padding: clamp(22px, 4vw, 34px);
}

.dashboard-action-card h2,
.dashboard-pool-card h3,
.dashboard-onboarding-card h3,
.dashboard-managed-card h3 {
	margin: 10px 0 8px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.dashboard-action-card p,
.dashboard-pool-card p,
.dashboard-onboarding-card p,
.dashboard-managed-card p {
	color: var(--color-text-muted);
}

.pending-approval-highlight {
	border-color: rgba(34, 197, 94, 0.28);
	background:
		linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(0, 229, 255, 0.08)),
		rgba(255, 255, 255, 0.86);
}

.dashboard-join-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	margin-top: 18px;
}

.dashboard-pool-list,
.dashboard-managed-list {
	display: grid;
	gap: 12px;
}

.dashboard-pool-card,
.dashboard-managed-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px;
}

.dashboard-pool-card h3,
.dashboard-managed-card h3 {
	margin-top: 8px;
}

.dashboard-onboarding-card {
	padding: 20px;
}

.dashboard-onboarding-card > i {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 18px;
	color: var(--color-primary);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(0, 229, 255, 0.16));
	font-size: 1.25rem;
}

.dashboard-onboarding-card ol {
	display: grid;
	gap: 8px;
	margin: 12px 0 0;
	padding-left: 1.2rem;
	color: var(--color-text-muted);
	font-weight: 700;
}

.dashboard-onboarding-card li::marker {
	color: var(--color-primary);
	font-weight: 900;
}

.progress-premium {
	height: 12px;
	background: rgba(226, 232, 240, 0.75);
	border-radius: 999px;
	overflow: hidden;
}

.progress-premium__bar {
	height: 100%;
	border-radius: inherit;
	background: var(--gradient-primary);
}

/* 13. Matches Page */
.matches-page {
	padding: 42px 0 112px;
}

.matches-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
	gap: 18px;
	align-items: center;
	padding: clamp(18px, 2.5vw, 24px);
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.09), transparent 26%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.92)),
		rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(148, 163, 184, 0.14);
	box-shadow: 0 18px 46px rgba(7, 17, 31, 0.06);
}

.matches-hero__content {
	position: relative;
	z-index: 1;
}

.matches-hero .hero-title {
	font-size: clamp(2rem, 4.3vw, 3rem);
	line-height: 0.96;
}

.matches-hero .hero-copy {
	max-width: 700px;
	margin-top: 10px;
	font-size: 0.98rem;
	line-height: 1.4;
}

.matches-hero__eyebrow-row,
.matches-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.matches-hero__meta {
	margin-top: 12px;
	color: var(--color-text-muted);
	font-size: 0.84rem;
	font-weight: 700;
}

.matches-hero .matches-stats-grid {
	margin-top: 14px;
}

.matches-hero .matches-stat {
	padding: 10px 12px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 18px;
	background: rgba(248, 250, 252, 0.82);
}

.matches-stat span {
	display: block;
	color: #66758c;
	font-size: 0.74rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.matches-hero .futuristic-football-orb {
	width: clamp(120px, 15vw, 172px);
	filter: drop-shadow(0 16px 34px rgba(37, 99, 235, 0.14));
	animation-duration: 9s;
}

.futuristic-football-orb {
	position: relative;
	width: clamp(150px, 18vw, 230px);
	aspect-ratio: 1 / 1;
	justify-self: end;
	margin-inline: auto;
	border-radius: 50%;
	isolation: isolate;
	filter: drop-shadow(0 20px 44px rgba(37, 99, 235, 0.16));
	animation: orbFloat 7s ease-in-out infinite;
}

.futuristic-football-orb::before {
	content: "";
	position: absolute;
	inset: 8%;
	border-radius: 50%;
	background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.24) 44%, transparent 70%);
	mix-blend-mode: screen;
	pointer-events: none;
	z-index: 4;
}

.futuristic-football-orb::after {
	content: "";
	position: absolute;
	inset: -12%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 229, 255, 0.2), transparent 62%);
	filter: blur(18px);
	pointer-events: none;
	z-index: -1;
}

.orb-core {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background:
		radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.95) 0 8%, transparent 19%),
		radial-gradient(circle at 64% 74%, rgba(139, 92, 246, 0.42), transparent 34%),
		radial-gradient(circle at 30% 70%, rgba(0, 229, 255, 0.48), transparent 38%),
		linear-gradient(135deg, #2563eb 0%, #00e5ff 48%, #8b5cf6 100%);
	box-shadow:
		inset 18px 20px 42px rgba(255, 255, 255, 0.34),
		inset -24px -28px 55px rgba(15, 23, 42, 0.2),
		0 0 58px rgba(0, 229, 255, 0.3);
	overflow: hidden;
}

.orb-panels {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	overflow: hidden;
}

.orb-panel {
	position: absolute;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
	backdrop-filter: blur(4px);
	box-shadow:
		inset 0 0 18px rgba(255, 255, 255, 0.16),
		0 0 22px rgba(0, 229, 255, 0.12);
	opacity: 0.82;
	z-index: 2;
}

.panel-1 {
	width: 28%;
	height: 28%;
	left: 36%;
	top: 34%;
	clip-path: polygon(50% 0%, 95% 35%, 78% 90%, 22% 90%, 5% 35%);
	border-radius: 18%;
}

.panel-2 {
	width: 30%;
	height: 24%;
	left: 18%;
	top: 22%;
	clip-path: polygon(20% 0%, 82% 8%, 100% 62%, 50% 100%, 0% 60%);
	transform: rotate(-18deg);
	border-radius: 22%;
}

.panel-3 {
	width: 30%;
	height: 24%;
	right: 16%;
	top: 24%;
	clip-path: polygon(18% 8%, 80% 0%, 100% 58%, 55% 100%, 0% 62%);
	transform: rotate(22deg);
	border-radius: 22%;
}

.panel-4 {
	width: 32%;
	height: 25%;
	left: 16%;
	bottom: 22%;
	clip-path: polygon(0% 35%, 44% 0%, 100% 24%, 82% 86%, 22% 100%);
	transform: rotate(18deg);
	border-radius: 22%;
}

.panel-5 {
	width: 32%;
	height: 25%;
	right: 15%;
	bottom: 20%;
	clip-path: polygon(0% 24%, 56% 0%, 100% 36%, 78% 100%, 18% 84%);
	transform: rotate(-20deg);
	border-radius: 22%;
}

.panel-6 {
	width: 24%;
	height: 20%;
	left: 38%;
	top: 10%;
	clip-path: polygon(16% 30%, 50% 0%, 86% 30%, 76% 84%, 24% 84%);
	opacity: 0.55;
}

.orb-lines {
	position: absolute;
	inset: 10%;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 0 20px rgba(0, 229, 255, 0.16);
	pointer-events: none;
	z-index: 3;
	animation: orbLineShift 12s ease-in-out infinite;
}

.line-1 {
	transform: rotate(18deg) scaleX(0.88);
}

.line-2 {
	transform: rotate(-38deg) scaleX(0.72);
	opacity: 0.62;
}

.line-3 {
	transform: rotate(72deg) scaleX(0.58);
	opacity: 0.44;
}

.orb-highlight {
	position: absolute;
	width: 32%;
	height: 18%;
	left: 22%;
	top: 14%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	filter: blur(16px);
	transform: rotate(-22deg);
	z-index: 5;
	opacity: 0.75;
}

.orb-glow {
	position: absolute;
	inset: -18%;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.22), transparent 56%),
		radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.18), transparent 48%);
	filter: blur(28px);
	z-index: -2;
}

.matches-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	max-width: 720px;
	margin-top: 28px;
}

.matches-stat {
	padding: 16px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.68);
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.matches-stat strong {
	display: block;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(1.55rem, 4vw, 2.35rem);
	line-height: 1;
}

.matches-stat span {
	color: var(--color-text-muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.matches-control-panel {
	margin: 18px 0 34px;
	padding: 18px;
}

.phase-tabs {
	display: flex;
	gap: 10px;
	padding: 4px 2px 14px;
	overflow-x: auto;
	scrollbar-width: none;
}

.phase-tabs::-webkit-scrollbar {
	display: none;
}

.phase-tab {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 999px;
	color: var(--color-text);
	background: rgba(255, 255, 255, 0.72);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 800;
	transition: transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.phase-tab:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-soft);
}

.phase-tab.active {
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: var(--shadow-glow);
}

.matches-filter-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.35fr);
	gap: 14px;
	align-items: end;
}

.matches-filter-item {
	min-width: 0;
}

.search-field {
	position: relative;
}

.search-field i {
	position: absolute;
	top: 50%;
	left: 16px;
	z-index: 1;
	color: var(--color-text-muted);
	transform: translateY(-50%);
}

.search-field .form-control-premium {
	padding-left: 44px;
}

.group-stage-section,
.knockout-section {
	margin-top: 34px;
}

.matches-mobile-group-tabs {
	display: flex;
	gap: 8px;
	margin: -4px 0 16px;
	padding: 2px 2px 8px;
	overflow-x: auto;
	scrollbar-width: none;
}

.matches-mobile-group-tabs::-webkit-scrollbar {
	display: none;
}

.mobile-group-tab {
	flex: 0 0 auto;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 999px;
	color: var(--color-text);
	background: rgba(255, 255, 255, 0.82);
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.86rem;
	font-weight: 800;
	transition: transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.mobile-group-tab.active {
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: var(--shadow-glow);
}

.group-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

.group-card {
	padding: 20px;
}

.group-card__header {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.group-card__stats {
	display: grid;
	gap: 6px;
	justify-items: end;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	font-weight: 800;
}

.match-list {
	display: grid;
	gap: 12px;
}

.group-card__view-tabs {
	display: inline-flex;
	width: fit-content;
	padding: 4px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 999px;
	background: rgba(248, 250, 252, 0.82);
}

.group-card__view-tab {
	min-height: 34px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	color: var(--color-text-muted);
	background: transparent;
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.82rem;
	font-weight: 800;
	transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.group-card__view-tab.is-active {
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.group-card__view-tab.is-disabled,
.group-card__view-tab:disabled {
	color: rgba(100, 116, 139, 0.58);
	cursor: not-allowed;
	opacity: 0.72;
}

.group-standings-panel {
	display: grid;
	gap: 12px;
}

.group-standings-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	font-weight: 800;
}

.group-standings-panel__header > div {
	display: grid;
	gap: 2px;
}

.group-standings-panel__header strong {
	color: var(--color-text);
}

.group-standings-table {
	display: grid;
	gap: 8px;
}

.group-standings-row {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px 52px 52px;
	gap: 10px;
	align-items: center;
	padding: 10px 12px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--color-text);
	font-size: 0.88rem;
	font-weight: 800;
}

.group-standings-row--head {
	padding-block: 6px;
	border: 0;
	color: var(--color-text-muted);
	background: transparent;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.group-standings-position {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	color: #ffffff;
	background: var(--gradient-primary);
}

.group-standings-team {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.group-standings-team strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.group-standings-team small {
	color: var(--color-text-muted);
	font-size: 0.72rem;
	font-weight: 800;
}

.group-standings-points {
	font-size: 1rem;
	font-weight: 900;
}

.group-standings-empty {
	min-height: 180px;
}

.prediction-filter-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(150px, 0.8fr));
	gap: 10px;
	width: 100%;
	margin-top: 12px;
}

.prediction-filter-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.prediction-filter-field span {
	color: var(--color-text-muted);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.prediction-filter-field .form-control-premium {
	min-height: 44px;
}

.play-group-view-tabs {
	margin: 14px 0 16px;
}

.play-group-standings {
	margin-top: 2px;
}

.match-card {
	padding: 20px;
}

.match-card-compact {
	padding: 16px;
	border-radius: 22px;
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
}

.match-card__topline,
.knockout-card__header,
.match-card__header,
.match-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.match-card__topline {
	margin-bottom: 14px;
}

.match-card__teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}

.team-side {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.match-team {
	min-width: 0;
}

.match-team-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

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

.team-side strong,
.knockout-team strong {
	display: block;
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.94rem;
}

.team-side span,
.knockout-team span {
	display: block;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.team-flag {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	object-fit: cover;
	background: #fff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
	border: 1px solid rgba(148, 163, 184, 0.35);
}

.team-flag-fallback {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	color: var(--color-primary);
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.72rem;
	font-weight: 900;
	background: rgba(37, 99, 235, 0.08);
	border: 1px solid rgba(37, 99, 235, 0.15);
}

.score-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 68px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 16px;
	color: var(--color-text);
	background: linear-gradient(135deg, rgba(241, 245, 249, 0.95), rgba(255, 255, 255, 0.92));
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.score-box-small {
	min-width: 48px;
	min-height: 34px;
	font-size: 0.82rem;
}

.match-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 14px;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.match-meta i {
	color: var(--color-primary);
}

.status-badge,
.prediction-lock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 900;
}

.status-scheduled {
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.1);
}

.status-live {
	color: #047857;
	background: rgba(34, 197, 94, 0.14);
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.06);
	animation: livePulse 1.8s ease-in-out infinite;
}

.status-finished {
	color: var(--color-text);
	background: rgba(15, 23, 42, 0.08);
}

.status-postponed {
	color: #92400e;
	background: rgba(245, 158, 11, 0.14);
}

.prediction-lock.is-open {
	color: #047857;
	background: rgba(34, 197, 94, 0.12);
}

.prediction-lock.is-locked {
	color: var(--color-text-muted);
	background: rgba(100, 116, 139, 0.12);
}

.btn-predict-disabled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	margin-top: 14px;
	border: 0;
	border-radius: 999px;
	color: var(--color-text-muted);
	background: rgba(241, 245, 249, 0.9);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
	text-align: center;
	text-decoration: none;
}

.btn-predict-disabled--finished {
	color: #ffffff;
	background: linear-gradient(135deg, #2563eb, #18c7d8);
	box-shadow: 0 14px 34px rgba(37, 99, 235, 0.16);
}

.btn-predict-disabled--live {
	color: #ffffff;
	background: linear-gradient(135deg, #2563eb, #18c7d8);
	box-shadow: 0 14px 34px rgba(37, 99, 235, 0.16);
}

.group-table-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin-top: 14px;
	border: 1px dashed rgba(148, 163, 184, 0.34);
	border-radius: 16px;
	color: var(--color-text-muted);
	background: rgba(248, 250, 252, 0.72);
	font-size: 0.85rem;
	font-weight: 800;
}

.bracket-scroll {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(280px, 330px);
	gap: 18px;
	padding: 4px 4px 18px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
}

.bracket-round {
	position: relative;
	scroll-snap-align: start;
}

.bracket-round::after {
	content: "";
	position: absolute;
	top: 54px;
	right: -18px;
	width: 18px;
	height: 1px;
	background: linear-gradient(90deg, rgba(37, 99, 235, 0.32), transparent);
}

.bracket-round:last-child::after {
	display: none;
}

.bracket-round-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	margin-bottom: 12px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.bracket-round-title small {
	color: var(--color-primary);
	font-weight: 900;
}

.bracket-round__list {
	display: grid;
	gap: 12px;
}

.knockout-card {
	padding: 16px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: var(--shadow-soft);
	transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.knockout-card:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 229, 255, 0.32);
	box-shadow: var(--shadow-card);
}

.knockout-card.locked {
	background:
		linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.82)),
		#ffffff;
}

.knockout-card-final {
	border-color: rgba(0, 229, 255, 0.38);
	box-shadow: 0 24px 80px rgba(37, 99, 235, 0.16);
}

.knockout-card__number {
	color: var(--color-text-muted);
	font-size: 0.78rem;
	font-weight: 900;
}

.knockout-card__teams {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.knockout-placeholder {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	font-weight: 900;
}

.knockout-team {
	min-width: 0;
	padding: 10px 12px;
	border-radius: 16px;
	background: rgba(241, 245, 249, 0.72);
}

.empty-state {
	display: grid;
	place-items: center;
	gap: 10px;
	margin-top: 26px;
	padding: 34px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: var(--shadow-soft);
	text-align: center;
}

.empty-state i {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 20px;
	color: var(--color-primary);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(0, 229, 255, 0.16));
	font-size: 1.35rem;
}

.empty-state h2,
.empty-state h4 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.empty-state p {
	max-width: 430px;
	margin: 0;
	color: var(--color-text-muted);
}

.empty-state-inline {
	margin: 0;
	padding: 22px;
	box-shadow: none;
}

/* 14. Pools Page */
.pools-page {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 2rem 0 4rem;
}

.narrow-container {
	max-width: 780px;
}

.pools-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.2rem 1.3rem;
	margin-bottom: 1.25rem;
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.08), transparent 30%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.93)),
		#ffffff;
	border: 1px solid rgba(148, 163, 184, 0.12);
	box-shadow: 0 16px 38px rgba(7, 17, 31, 0.05);
}

.pools-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	align-self: center;
}

.pools-hero .section-title {
	font-size: clamp(1.85rem, 3.6vw, 2.55rem);
	line-height: 0.94;
}

.pools-hero .section-copy {
	max-width: 620px;
	color: var(--color-text-muted);
}

.pools-hero .app-hero-title {
	font-size: clamp(34px, 4.6vw, 68px);
	max-width: 720px;
}

.pools-hero__context {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.pools-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.pools-hero-stats span,
.eyebrow-pill,
.section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.pools-hero-stats span {
	min-height: 32px;
	padding: 0 12px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 999px;
	color: var(--color-text-muted);
	background: rgba(255, 255, 255, 0.66);
	font-size: 0.84rem;
}

.pools-hero-stats strong {
	color: var(--color-primary);
}

.pools-hero-subgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.pools-hero-subgrid--compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 420px;
}

.pools-hero-subcard {
	padding: 12px 14px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 18px;
	background: rgba(248, 250, 252, 0.88);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.pools-hero-subcard span {
	display: block;
	color: var(--color-text-muted);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.pools-hero-subcard strong {
	display: block;
	margin-top: 6px;
	font-size: 1.3rem;
	font-weight: 900;
	color: var(--color-text);
}

.eyebrow-pill {
	min-height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.1);
	font-size: 0.78rem;
	text-transform: uppercase;
}

.section-eyebrow {
	color: var(--color-primary);
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pools-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
	gap: 1.5rem;
	align-items: start;
}

.pools-main-column,
.pools-side-column {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.pools-section {
	margin-bottom: 0.5rem;
}

.pools-section-header {
	margin-bottom: 0.9rem;
}

.pools-section-header h2 {
	margin: 4px 0 4px;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(1.25rem, 3vw, 1.8rem);
	font-weight: 900;
}

.pools-section-header p {
	margin: 0;
	color: var(--color-text-muted);
}

.pools-grid,
.pool-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
}

.pool-card,
.premium-upsell-card,
.join-pool-card,
.premium-info-card,
.rules-summary-card {
	padding: 20px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: var(--shadow-card);
	transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.pool-card:hover,
.premium-upsell-card:hover,
.join-pool-card:hover,
.premium-info-card:hover,
.rules-summary-card:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 229, 255, 0.34);
	box-shadow: 0 28px 90px rgba(15, 23, 42, 0.11);
}

.pool-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.pool-card__status-stack {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.pool-card h3,
.premium-upsell-card h2,
.join-pool-card h2,
.premium-info-card h2,
.rules-summary-card h2 {
	margin: 0 0 8px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.pool-card p,
.premium-upsell-card p,
.join-pool-card p,
.premium-info-card p,
.rules-summary-card p {
	color: var(--color-text-muted);
}

.pool-card__meta {
	display: grid;
	gap: 4px;
	margin-bottom: 16px;
	color: var(--color-text-muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.pool-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pool-card--compact p {
	margin-bottom: 12px;
}

.premium-upsell-card {
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(0, 229, 255, 0.08)),
		rgba(255, 255, 255, 0.84);
}

.join-pool-card,
.premium-info-card,
.rules-summary-card {
	padding: 1.5rem;
}

.pools-side-card {
	padding: 1.1rem 1.15rem;
}

.pools-side-card--compact h2 {
	font-size: 1.08rem;
}

.rules-summary-list--compact {
	margin-bottom: 0;
	padding-left: 1rem;
}

.rules-summary-list--compact li + li {
	margin-top: 0.42rem;
}

.join-pool-card {
	position: sticky;
	top: 96px;
}

.join-success-page {
	padding: 42px 0 70px;
}

.join-success-page__container {
	max-width: 940px;
}

.join-success-card {
	position: relative;
	overflow: hidden;
	border-radius: 34px;
	padding: 44px;
	background:
		radial-gradient(circle at top left, rgba(24, 199, 216, 0.12), transparent 34%),
		radial-gradient(circle at bottom right, rgba(101, 87, 232, 0.1), transparent 36%),
		rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(24, 199, 216, 0.28);
	box-shadow: 0 30px 90px rgba(37, 99, 235, 0.12);
	text-align: center;
}

.join-success-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
}

.join-success-icon {
	width: 86px;
	height: 86px;
	margin: 0 auto 20px;
	border-radius: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
	color: #fff;
	font-size: 38px;
	box-shadow: 0 20px 50px rgba(37, 99, 235, 0.24);
}

.join-success-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(245, 158, 11, 0.14);
	color: #b45309;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: -0.01em;
}

.join-success-title {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(2.35rem, 5vw, 4.6rem);
	font-weight: 950;
	line-height: 0.95;
	letter-spacing: -0.055em;
	color: var(--color-text);
}

.join-success-subtitle {
	max-width: 680px;
	margin: 18px auto 0;
	color: var(--color-text);
	font-size: clamp(1.1rem, 2vw, 1.45rem);
	font-weight: 850;
	line-height: 1.25;
}

.join-success-copy {
	max-width: 660px;
	margin: 12px auto 0;
	color: var(--color-text-muted);
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.45;
}

.join-success-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 30px auto 0;
	max-width: 760px;
}

.join-success-summary > div {
	display: grid;
	gap: 7px;
	padding: 16px;
	border-radius: 22px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	background: rgba(248, 250, 252, 0.82);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.join-success-summary span {
	color: var(--color-text-muted);
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.join-success-summary strong {
	color: var(--color-text);
	font-size: 1rem;
	font-weight: 950;
	line-height: 1.05;
}

.join-success-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

.join-success-copy-code {
	gap: 8px;
}

.join-success-next {
	max-width: 700px;
	margin: 30px auto 0;
	padding: 20px;
	border-radius: 26px;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(24, 199, 216, 0.08));
	text-align: left;
}

.join-success-next h2 {
	margin: 0 0 12px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.2rem;
	font-weight: 950;
}

.join-success-next ol {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-left: 1.2rem;
	color: var(--color-text-muted);
	font-weight: 760;
}

.join-success-next li::marker {
	color: var(--color-primary);
	font-weight: 950;
}

.pool-switch-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
	gap: 1.5rem;
	align-items: start;
}

.pool-switch-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.pool-switch-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.35rem 1.4rem;
}

.pool-switch-card__copy {
	display: grid;
	gap: 0.45rem;
	min-width: 0;
}

.pool-switch-card__copy h2 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-weight: 900;
	line-height: 1;
}

.pool-switch-card__copy p {
	margin: 0;
	color: var(--color-text-muted);
	font-weight: 650;
}

.pool-switch-card__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
}

.pool-switch-card__actions .btn-primary-gradient,
.pool-switch-card__actions .btn-secondary-soft {
	min-width: 120px;
}

.pool-switch-card--pending {
	display: grid;
	gap: 1rem;
}

.pool-switch-pending-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.85rem;
}

.pool-switch-pending-item {
	display: grid;
	gap: 0.2rem;
	padding: 0.95rem 1rem;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.72);
}

.pool-switch-pending-item strong {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.pool-switch-pending-item span {
	color: var(--color-text-muted);
	font-size: 0.88rem;
	font-weight: 700;
}

.join-code-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1rem;
}

.join-code-form input,
.join-code-form button {
	width: 100%;
}

.rules-summary-list {
	display: grid;
	gap: 10px;
	margin: 1rem 0 0;
	padding-left: 1.1rem;
	color: var(--color-text-muted);
	font-weight: 700;
}

.rules-summary-list li::marker {
	color: var(--color-primary);
	font-weight: 900;
}

.empty-state-wide {
	display: flex;
	align-items: center;
	gap: 1rem;
	grid-column: 1 / -1;
	min-height: 120px;
	padding: 1.25rem;
}

.empty-state-wide .empty-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.08);
	font-size: 1.25rem;
}

.empty-state-wide h3 {
	margin: 0 0 4px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.empty-state-wide p {
	margin: 0;
	color: var(--color-text-muted);
}

.pool-status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: capitalize;
}

.member-status-pending {
	color: #92400e;
	background: rgba(245, 158, 11, 0.14);
}

.member-status-active {
	color: #047857;
	background: rgba(34, 197, 94, 0.14);
}

.member-status-rejected,
.member-status-removed {
	color: var(--color-text-muted);
	background: rgba(100, 116, 139, 0.14);
}

.pool-textarea {
	min-height: 132px;
	padding-top: 14px;
	resize: vertical;
}

.pool-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.prize-toggle-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.84);
	cursor: pointer;
}

.prize-toggle-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.prize-toggle-card__control {
	position: relative;
	width: 52px;
	height: 30px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.32);
	box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.22);
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.prize-toggle-card__control::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16);
	transition: transform 0.2s ease;
}

.prize-toggle-card input:checked + .prize-toggle-card__control {
	background: var(--gradient-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.prize-toggle-card input:checked + .prize-toggle-card__control::after {
	transform: translateX(22px);
}

.prize-toggle-card strong {
	display: block;
	color: var(--color-text-main);
	font-weight: 900;
}

.prize-toggle-card small {
	display: block;
	margin-top: 4px;
	color: var(--color-text-muted);
	line-height: 1.45;
}

.prediction-mode-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.prediction-mode-card {
	position: relative;
	display: block;
	cursor: pointer;
}

.prediction-mode-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.prediction-mode-card__content {
	display: grid;
	gap: 10px;
	height: 100%;
	padding: 18px;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.82);
	color: var(--color-text-muted);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.prediction-mode-card__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--color-text-main);
}

.prediction-mode-card:hover .prediction-mode-card__content {
	transform: translateY(-2px);
	border-color: rgba(37, 99, 235, 0.3);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.prediction-mode-card input:checked + .prediction-mode-card__content {
	border-color: rgba(37, 99, 235, 0.72);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
	background: linear-gradient(180deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.92));
}

.prediction-mode-card.is-disabled {
	cursor: not-allowed;
}

.prediction-mode-card.is-disabled .prediction-mode-card__content {
	opacity: 0.72;
}

.creation-advanced-settings {
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.58);
}

.creation-advanced-settings__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	list-style: none;
	padding: 16px 18px;
	cursor: pointer;
}

.creation-advanced-settings__summary::-webkit-details-marker {
	display: none;
}

.creation-advanced-settings__summary span {
	display: grid;
	gap: 4px;
}

.creation-advanced-settings__summary strong {
	color: var(--color-text-main);
	font-weight: 900;
}

.creation-advanced-settings__summary small {
	color: var(--color-text-muted);
	line-height: 1.4;
}

.creation-advanced-settings__summary i {
	color: var(--color-text-muted);
	transition: transform 0.2s ease;
}

.creation-advanced-settings[open] .creation-advanced-settings__summary i {
	transform: rotate(180deg);
}

.creation-advanced-settings__content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 0 18px 18px;
	border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.creation-advanced-settings__content > div {
	padding-top: 16px;
}

.form-help-text {
	margin: 8px 0 0;
	color: var(--color-text-muted);
	font-size: 0.84rem;
	line-height: 1.45;
}

.site-footer__link {
	color: var(--color-text-muted);
	font-weight: 850;
	text-decoration: none;
}

.site-footer__link:hover {
	color: var(--color-primary);
}

.legal-container {
	max-width: 980px;
}

.legal-hero {
	padding: 34px 38px;
	border-radius: 34px;
	margin-bottom: 22px;
	background:
		radial-gradient(circle at top left, rgba(24, 199, 216, .14), transparent 34%),
		rgba(255, 255, 255, .94);
	border: 1px solid rgba(24, 199, 216, .22);
}

.legal-hero h1 {
	margin: 6px 0 8px;
	font-size: clamp(36px, 5vw, 64px);
	line-height: .94;
	font-weight: 950;
	letter-spacing: -.055em;
	color: var(--color-text);
}

.legal-hero p:last-child {
	margin: 0;
	color: var(--color-text-muted);
	font-weight: 850;
}

.legal-card {
	padding: 38px;
	border-radius: 34px;
	max-width: 900px;
	margin: 0 auto;
	background: rgba(255, 255, 255, .96);
}

.legal-section + .legal-section {
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid rgba(7, 17, 31, .08);
}

.legal-section h2 {
	margin-bottom: 12px;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 950;
	letter-spacing: -.04em;
	color: var(--color-text);
}

.legal-section p,
.legal-section li {
	color: var(--color-text-muted);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.68;
}

.legal-section ul {
	margin: 14px 0 0;
	padding-left: 20px;
}

.legal-section--highlight {
	padding: 24px;
	border: 1px solid rgba(24, 199, 216, .28);
	border-radius: 26px;
	background:
		linear-gradient(135deg, rgba(24, 199, 216, .08), rgba(37, 99, 235, .06)),
		rgba(255, 255, 255, .9);
}

.legal-contact-link {
	display: inline-flex;
	margin-top: 6px;
	font-weight: 950;
	color: var(--color-primary);
	text-decoration: none;
}

.legal-consent-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 22px;
	border: 1px solid rgba(24, 199, 216, .22);
	background:
		linear-gradient(135deg, rgba(24, 199, 216, .08), rgba(37, 99, 235, .05)),
		rgba(255, 255, 255, .88);
	box-shadow: 0 14px 34px rgba(37, 99, 235, .08);
	cursor: pointer;
}

.legal-consent-card input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	accent-color: var(--color-primary);
}

.legal-consent-card strong {
	display: block;
	font-size: .98rem;
	font-weight: 950;
	color: var(--color-text);
}

.legal-consent-card small {
	display: block;
	margin-top: 4px;
	color: var(--color-text-muted);
	font-weight: 700;
	line-height: 1.45;
}

.legal-consent-card a,
.legal-awareness-copy a {
	color: var(--color-primary);
	font-weight: 950;
	text-decoration: none;
}

.legal-consent-card--organizer {
	border-color: rgba(245, 158, 11, .22);
	background:
		linear-gradient(135deg, rgba(245, 158, 11, .10), rgba(24, 199, 216, .06)),
		rgba(255, 255, 255, .9);
}

.legal-awareness-copy {
	margin-bottom: 0;
	color: var(--color-text-muted);
	font-size: .88rem;
	font-weight: 750;
	line-height: 1.45;
}

.prize-note--legal {
	margin-top: 8px;
	color: var(--color-text-muted);
	font-size: .92rem;
	font-weight: 800;
}

@media (max-width: 768px) {
	.legal-hero,
	.legal-card {
		padding: 26px 20px;
		border-radius: 28px;
	}

	.legal-section--highlight {
		padding: 18px;
		border-radius: 22px;
	}

	.legal-consent-card {
		padding: 14px;
		border-radius: 20px;
	}
}

.pool-detail-grid,
.member-panel-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
	gap: 18px;
}

.ranking-placeholder {
	display: grid;
	place-items: center;
	gap: 10px;
	min-height: 230px;
	margin-bottom: 18px;
	padding: 28px;
	border: 1px dashed rgba(148, 163, 184, 0.32);
	border-radius: var(--radius-lg);
	background: rgba(248, 250, 252, 0.72);
	text-align: center;
}

.ranking-placeholder i {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 20px;
	color: var(--color-primary);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(0, 229, 255, 0.16));
	font-size: 1.4rem;
}

.ranking-placeholder h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.ranking-placeholder p {
	max-width: 360px;
	margin: 0;
	color: var(--color-text-muted);
}

/* Ranking */
.ranking-page {
	padding: 34px 0 100px;
}

.ranking-hero {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 21px 22px;
	border-radius: 30px;
	background:
		radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.16), transparent 34%),
		radial-gradient(circle at 88% 14%, rgba(24, 199, 216, 0.18), transparent 32%),
		linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,248,255,0.92));
	border: 1px solid rgba(24, 199, 216, 0.28);
	box-shadow: 0 26px 90px rgba(37, 99, 235, 0.10);
	overflow: hidden;
}

.ranking-hero::before {
	content: "";
	position: absolute;
	left: 10%;
	top: -16px;
	width: 320px;
	height: 160px;
	background: radial-gradient(circle, rgba(24, 199, 216, 0.18), rgba(24, 199, 216, 0) 68%);
	filter: blur(12px);
	pointer-events: none;
}

.ranking-hero h1 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	font-weight: 900;
	line-height: 1;
}

.ranking-hero__lead {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 6px 0 0;
	color: #07111f;
	font-family: var(--font-display);
	font-size: clamp(1.65rem, 3vw, 2.3rem);
	font-weight: 900;
	line-height: 0.98;
}

.ranking-hero__copy {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 8px 0 0;
	color: var(--color-text-muted);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.35;
}

.ranking-hero .accent {
	background: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.ranking-hero__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: min(100%, 220px);
	position: relative;
	z-index: 1;
}

.ranking-hero .badge-premium,
[data-live-ranking-section] .badge-premium {
	color: #155e75;
	background: linear-gradient(135deg, rgba(219,245,255,0.96), rgba(238,248,255,0.96));
	border: 1px solid rgba(37,99,235,0.14);
	box-shadow: 0 12px 34px rgba(37,99,235,0.08);
}

.badge-app-icon {
	width: 18px;
	height: 18px;
	display: block;
	object-fit: contain;
	flex: 0 0 auto;
}

.ranking-insights-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 24px;
}

.ranking-insight-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 150px;
	padding: 22px;
	border-radius: 26px;
	overflow: hidden;
	color: #ffffff;
	border: 0;
	box-shadow: 0 24px 70px rgba(37,99,235,.18);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
	overflow: hidden;
}

.ranking-insight-card::before {
	display: none;
}

.ranking-insight-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 28px 76px rgba(37,99,235,.22);
}

.ranking-insight-card.is-primary {
	box-shadow: 0 28px 84px rgba(24,199,216,.18);
}

.ranking-insight-card.is-position {
	background: linear-gradient(135deg, #0b1628 0%, #2563eb 100%);
}

.ranking-insight-card.is-distance {
	background: linear-gradient(135deg, #2563eb 0%, #18c7d8 100%);
}

.ranking-insight-card.is-danger {
	background: linear-gradient(135deg, #1e1b4b 0%, #6557e8 55%, #2563eb 100%);
}

.ranking-insight-card.is-opportunity {
	background: linear-gradient(135deg, #07111f 0%, #18c7d8 100%);
}

.corporate-award-tabs {
	display: flex;
	gap: 10px;
	margin: 0 0 18px;
	padding: 8px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.72);
	overflow-x: auto;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.corporate-award-tab {
	display: grid;
	gap: 3px;
	min-width: 150px;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	color: var(--color-text-muted);
	text-decoration: none;
	white-space: nowrap;
}

.corporate-award-tab span {
	color: var(--color-text);
	font-weight: 900;
}

.corporate-award-tab small {
	font-size: 0.76rem;
	font-weight: 750;
}

.corporate-award-tab.is-active {
	border-color: rgba(24, 199, 216, 0.34);
	background: linear-gradient(135deg, rgba(24, 199, 216, 0.14), rgba(37, 99, 235, 0.1));
	color: var(--color-primary);
	box-shadow: 0 14px 34px rgba(37, 99, 235, 0.12);
}

.ranking-insight-icon {
	width: 38px;
	height: 38px;
	border-radius: 14px;
	background: rgba(255,255,255,.16);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

.ranking-insight-label {
	margin: 4px 0 0;
	color: rgba(255,255,255,.82);
	font-size: 13px;
	font-weight: 950;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ranking-insight-value {
	display: block;
	margin-top: 10px;
	font-family: var(--font-display);
	font-size: clamp(28px, 3vw, 48px);
	line-height: 1.04;
	font-weight: 950;
	color: #ffffff;
	letter-spacing: -0.06em;
	padding-bottom: .06em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ranking-insight-text {
	display: block;
	margin-top: 8px;
	color: rgba(255,255,255,.85);
	font-size: 14px;
	line-height: 1.25;
	font-weight: 800;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ranking-notice,
.ranking-empty {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 18px;
	padding: 22px;
}

.ranking-notice i,
.ranking-empty .empty-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	border-radius: 20px;
	color: var(--color-primary);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(0, 229, 255, 0.16));
	font-size: 1.35rem;
}

.ranking-notice strong,
.ranking-empty h2 {
	display: block;
	margin: 0;
	font-family: var(--font-display);
	font-weight: 900;
}

.ranking-notice p,
.ranking-empty p {
	margin: 4px 0 0;
	color: var(--color-text-muted);
}

.ranking-layout {
	display: block;
	margin-top: 18px;
}

.ranking-board,
.current-user-card,
.ranking-context-card {
	padding: 24px;
}

.ranking-side-stack {
	display: grid;
	gap: 18px;
}

.ranking-table {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.ranking-table__head,
.ranking-table__row {
	display: grid;
	grid-template-columns: 56px minmax(180px, 1.4fr) minmax(70px, 0.5fr) minmax(74px, 0.5fr) minmax(150px, 0.9fr) minmax(80px, 0.55fr);
	align-items: center;
	gap: 12px;
}

.ranking-table__head {
	padding: 0 14px;
	color: var(--color-text-muted);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ranking-table__row {
	padding: 14px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 18px;
	background: rgba(248, 250, 252, 0.78);
	font-weight: 750;
}

.ranking-table__row.is-current-user {
	border-color: rgba(37, 99, 235, 0.32);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.11), rgba(0, 229, 255, 0.1));
	box-shadow: 0 20px 48px rgba(37, 99, 235, 0.1);
}

.ranking-position-badge {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 14px;
	background: #ffffff;
	color: var(--color-primary);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1rem;
	overflow: hidden;
}

.ranking-position-1 {
	color: #ffd84d;
	background:
		radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.18) 0 9%, rgba(255, 255, 255, 0) 25%),
		linear-gradient(145deg, #172033 0%, #0f172a 45%, #111827 100%);
	box-shadow:
		0 0 0 1px rgba(250, 204, 21, 0.72) inset,
		0 0 0 2px rgba(120, 53, 15, 0.18) inset,
		0 12px 28px rgba(15, 23, 42, 0.2),
		0 0 20px rgba(250, 204, 21, 0.22);
	text-shadow: none;
}

.ranking-position-1::before {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: 13px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 38%),
		linear-gradient(315deg, rgba(250, 204, 21, 0.2), rgba(250, 204, 21, 0) 42%);
	pointer-events: none;
}

.ranking-position-1::after {
	content: "";
	position: absolute;
	top: -42%;
	left: -60%;
	width: 85%;
	height: 170%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
	transform: rotate(24deg);
	pointer-events: none;
}

.ranking-position-1 i {
	position: relative;
	z-index: 1;
	display: inline-block;
	background: linear-gradient(180deg, #fff7ad 0%, #facc15 42%, #f59e0b 72%, #b45309 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	font-size: 1.18rem;
	line-height: 1;
	filter:
		drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45))
		drop-shadow(0 0 5px rgba(250, 204, 21, 0.62))
		drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.ranking-position-2,
.ranking-position-3 {
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.1);
}

.ranking-user-cell {
	min-width: 0;
}

.ranking-user-cell strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.you-badge,
.podium-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-top: 6px;
	padding: 0 9px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 900;
}

.you-badge {
	color: #075985;
	background: rgba(14, 165, 233, 0.14);
}

.podium-badge {
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.1);
}

.podium-badge-main {
	color: #ffffff;
	background: var(--gradient-primary);
}

.ranking-points {
	color: var(--color-primary);
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 900;
}

.current-user-card h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 900;
}

.current-user-card p {
	margin: 12px 0 18px;
	color: var(--color-text-muted);
	font-weight: 700;
}

.ranking-match-list {
	display: grid;
	gap: 10px;
}

.ranking-match-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 16px;
	background: rgba(248, 250, 252, 0.72);
}

.ranking-match-row div {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.ranking-match-row div:last-child {
	justify-items: end;
	color: var(--color-text-muted);
	font-weight: 800;
}

.ranking-match-row strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ranking-match-row small {
	color: var(--color-text-muted);
	font-weight: 700;
}

.ranking-page {
	--rank-bg: #f6f9ff;
	--rank-surface: #ffffff;
	--rank-ink: #07111f;
	--rank-muted: #66758c;
	--rank-line: rgba(7, 17, 31, 0.1);
	--rank-blue: #2563eb;
	--rank-cyan: #18c7d8;
	--rank-purple: #6557e8;
	--rank-gradient: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
	--rank-shadow: 0 18px 60px rgba(7, 17, 31, 0.08);
	background:
		radial-gradient(circle at top left, rgba(24, 199, 216, 0.13), transparent 34%),
		linear-gradient(180deg, rgba(246, 249, 255, 0), rgba(246, 249, 255, 0.72));
}

.ranking-board {
	position: relative;
	border-radius: 32px;
	background:
		radial-gradient(circle at top left, rgba(24,199,216,.12), transparent 34%),
		rgba(255,255,255,.96);
	border: 1px solid rgba(24,199,216,.34);
	box-shadow:
		0 34px 100px rgba(37,99,235,.14),
		0 0 0 1px rgba(255, 255, 255, 0.65) inset;
	overflow: hidden;
}

.ranking-layout > .ranking-board:first-child {
	box-shadow:
		0 30px 100px rgba(37,99,235,0.12),
		0 0 54px rgba(24,199,216,0.08),
		0 90px 140px rgba(101,87,232,0.06),
		0 0 0 1px rgba(162, 230, 255, 0.42) inset;
}

.ranking-layout > .ranking-board:first-child::before {
	content: "";
	position: absolute;
	left: 6%;
	right: 6%;
	bottom: -38px;
	height: 88px;
	border-radius: inherit;
	background: radial-gradient(
		ellipse at center,
		rgba(24, 199, 216, 0.22) 0%,
		rgba(101, 87, 232, 0.12) 42%,
		rgba(255, 255, 255, 0) 74%
	);
	filter: blur(20px);
	pointer-events: none;
	opacity: 0.9;
	z-index: 0;
}

.ranking-layout > .ranking-board:first-child::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow:
		0 0 0 1px rgba(24, 199, 216, 0.1) inset;
	pointer-events: none;
	z-index: 0;
}

.ranking-board__story {
	max-width: 720px;
	margin: 10px 0 0;
	color: var(--rank-muted);
	font-weight: 700;
}

.ranking-board__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.ranking-mode-chips {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
}

.ranking-mode-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--rank-muted);
	font-weight: 800;
}

.ranking-mode-chip.is-active {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(24, 199, 216, 0.14));
	color: #07111f;
	box-shadow: inset 0 0 0 1px rgba(24, 199, 216, 0.18);
}

.ranking-mode-chip__live {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, #2563eb, #18c7d8);
	color: #ffffff;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.ranking-board-label {
	color: #2563eb;
	letter-spacing: 0.12em;
	font-weight: 900;
}

.ranking-list {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.ranking-self-bar {
	display: grid;
	grid-template-columns: 1.2fr 1fr auto;
	align-items: center;
	gap: 16px;
	margin: 18px 0;
	padding: 14px 18px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(7,17,31,.92), rgba(37,99,235,.88));
	color: #ffffff;
	box-shadow: 0 18px 50px rgba(37,99,235,.20);
}

.ranking-self-bar.is-live {
	background: linear-gradient(135deg, rgba(30,27,75,.96), rgba(101,87,232,.92), rgba(37,99,235,.88));
}

.ranking-card[data-prediction-profile-trigger],
.ranking-self-bar[data-prediction-profile-trigger] {
	cursor: pointer;
}

.ranking-card[data-prediction-profile-trigger]:focus-visible,
.ranking-self-bar[data-prediction-profile-trigger]:focus-visible {
	outline: 2px solid rgba(37, 99, 235, 0.42);
	outline-offset: 3px;
}

.ranking-self-main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-weight: 900;
}

.ranking-self-rank {
	font-size: 22px;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.ranking-self-name {
	min-width: 0;
	font-size: 16px;
	font-weight: 900;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ranking-self-stats {
	font-size: 14px;
	font-weight: 800;
	opacity: .9;
}

.ranking-self-gap {
	font-size: 14px;
	font-weight: 900;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.14);
	white-space: nowrap;
}

.ranking-self-badge {
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	padding: 6px 9px;
	border-radius: 999px;
	background: rgba(24,199,216,.24);
	color: #fff;
}

.ranking-live-current-user {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.ranking-live-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.ranking-live-shell {
	margin-top: 18px;
}

.ranking-live-disclaimer {
	margin-top: 0;
}

.ranking-live-meta__copy {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid rgba(24,199,216,0.22);
	border-radius: 999px;
	background: rgba(238,248,255,0.92);
	color: #155e75;
	font-weight: 700;
}

.ranking-live-mode .ranking-hero {
	background:
		radial-gradient(circle at 14% 18%, rgba(34, 211, 238, 0.2), transparent 34%),
		radial-gradient(circle at 88% 14%, rgba(124, 58, 237, 0.16), transparent 32%),
		linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(238, 248, 255, 0.94));
	border-color: rgba(34, 211, 238, 0.34);
	box-shadow: 0 28px 96px rgba(34, 211, 238, 0.14);
}

.ranking-live-mode .ranking-board {
	background:
		radial-gradient(circle at top left, rgba(24, 199, 216, 0.2), transparent 34%),
		radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.18), transparent 38%),
		linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(15, 23, 42, 0.96));
	border-color: rgba(24, 199, 216, 0.35);
	box-shadow:
		0 34px 110px rgba(24, 199, 216, 0.18),
		0 24px 80px rgba(124, 58, 237, 0.12);
	color: #ffffff;
}

.ranking-live-mode .ranking-board h1,
.ranking-live-mode .ranking-board h2,
.ranking-live-mode .ranking-board h3,
.ranking-live-mode .ranking-board .section-title {
	color: #ffffff;
}

.ranking-live-mode .ranking-board p,
.ranking-live-mode .ranking-board .section-subtitle,
.ranking-live-mode .ranking-board__story {
	color: rgba(226, 232, 240, 0.82);
}

.ranking-live-mode .ranking-board .eyebrow,
.ranking-live-mode .ranking-board .section-label,
.ranking-live-mode .ranking-board-label {
	color: #22d3ee;
}

.ranking-live-mode .ranking-board .badge-muted {
	color: rgba(226, 232, 240, 0.82);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-live-mode .ranking-mode-chips {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(34, 211, 238, 0.2);
}

.ranking-live-mode .ranking-mode-chip {
	color: rgba(226, 232, 240, 0.78);
}

.ranking-live-mode .ranking-mode-chip.is-active {
	background: linear-gradient(135deg, #06b6d4, #7c3aed);
	color: #ffffff;
	box-shadow: 0 12px 30px rgba(24, 199, 216, 0.28);
}

.ranking-live-mode .ranking-mode-chip__live,
.ranking-live-mode .live-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	padding: 6px 10px;
	background: rgba(34, 211, 238, 0.16);
	color: #67e8f9;
	border: 1px solid rgba(34, 211, 238, 0.28);
	font-size: 11px;
	font-weight: 950;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 0 18px rgba(34, 211, 238, 0.2);
}

.ranking-live-mode .ranking-mode-chip__live::before,
.ranking-live-mode .live-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22d3ee;
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
	animation: rankingLiveDotPulse 1.8s ease-in-out infinite;
}

.ranking-live-mode .live-disclaimer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 18px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(34, 211, 238, 0.1);
	border: 1px solid rgba(34, 211, 238, 0.18);
	color: #a5f3fc;
	font-weight: 850;
}

.ranking-live-mode .ranking-live-meta__copy {
	background: rgba(34, 211, 238, 0.1);
	border-color: rgba(34, 211, 238, 0.18);
	color: #a5f3fc;
}

.ranking-live-mode .ranking-entry-card {
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.78));
	border: 1px solid rgba(34, 211, 238, 0.2);
	box-shadow:
		0 18px 50px rgba(0, 0, 0, 0.22),
		0 0 0 1px rgba(255, 255, 255, 0.03) inset;
	color: #ffffff;
}

.ranking-live-mode .ranking-entry-card::before {
	background: linear-gradient(180deg, #22d3ee, #7c3aed);
}

.ranking-live-mode .ranking-entry-card.is-current-user {
	background:
		radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 36%),
		linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(49, 46, 129, 0.82));
	border-color: rgba(34, 211, 238, 0.42);
}

.ranking-live-mode .ranking-name strong,
.ranking-live-mode .ranking-position,
.ranking-live-mode .ranking-position span,
.ranking-live-mode .ranking-entry-name,
.ranking-live-mode .ranking-entry-position,
.ranking-live-mode .ranking-entry-rank {
	color: #ffffff;
}

.ranking-live-mode .ranking-position small,
.ranking-live-mode .ranking-entry-meta,
.ranking-live-mode .ranking-entry-subtext,
.ranking-live-mode .ranking-entry-points-label,
.ranking-live-mode .ranking-points span,
.ranking-live-mode .ranking-stat span,
.ranking-live-mode .ranking-gap span {
	color: rgba(226, 232, 240, 0.72);
}

.ranking-live-mode .ranking-entry-points,
.ranking-live-mode .ranking-points strong {
	color: #67e8f9;
	text-shadow: 0 0 24px rgba(34, 211, 238, 0.34);
}

.ranking-live-mode .ranking-stat strong,
.ranking-live-mode .ranking-gap strong {
	color: rgba(248, 250, 252, 0.94);
}

.ranking-live-mode .ranking-gap {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(34, 211, 238, 0.14);
}

.ranking-live-mode .ranking-self-bar {
	background:
		linear-gradient(135deg, rgba(6, 182, 212, 0.95), rgba(124, 58, 237, 0.92));
	box-shadow:
		0 22px 60px rgba(34, 211, 238, 0.28),
		0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.ranking-live-mode .ranking-self-badge {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.ranking-live-mode .movement-up {
	color: #86efac !important;
}

.ranking-live-mode .movement-down {
	color: #fca5a5 !important;
}

.ranking-live-mode .movement-neutral {
	color: rgba(226, 232, 240, 0.56) !important;
}

@keyframes rankingLiveDotPulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.72;
		transform: scale(0.92);
	}
}

.ranking-search-shell {
	margin-top: 18px;
}

.ranking-search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.ranking-search-icon {
	position: absolute;
	left: 16px;
	color: #8a96a8;
	pointer-events: none;
}

.ranking-search-input {
	min-height: 52px;
	padding-left: 44px;
	padding-right: 88px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.88);
}

.ranking-search-loading,
.ranking-search-clear {
	position: absolute;
	right: 14px;
}

.ranking-search-loading {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	border: 2px solid rgba(37, 99, 235, 0.16);
	border-top-color: #2563eb;
	animation: ranking-spin 0.8s linear infinite;
}

.ranking-search-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: rgba(226, 232, 240, 0.82);
	color: #475569;
}

.ranking-search-empty {
	display: grid;
	place-items: center;
	gap: 10px;
	padding: 36px 18px;
	text-align: center;
	color: #66758c;
}

.ranking-search-empty i {
	font-size: 1.5rem;
	color: #2563eb;
}

.ranking-search-empty h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 900;
	color: #07111f;
}

.prediction-profile-modal .modal-content {
	border: 1px solid rgba(24, 199, 216, 0.18);
	background:
		radial-gradient(circle at top left, rgba(24,199,216,0.1), transparent 34%),
		linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,249,255,0.96));
	box-shadow: 0 36px 120px rgba(37,99,235,0.16);
	border-radius: 32px;
}

.prediction-profile-modal__close-row {
	display: flex;
	justify-content: flex-end;
	padding: 18px 20px 0;
}

.prediction-profile-modal__body {
	padding: 0 24px 24px;
}

.prediction-profile-header {
	display: grid;
	gap: 18px;
}

.prediction-profile-header__identity {
	display: flex;
	align-items: center;
	gap: 16px;
}

.prediction-profile-avatar {
	width: 74px;
	height: 74px;
	border-radius: 24px;
	position: relative;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(24,199,216,0.18));
	color: #2563eb;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 900;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(37,99,235,0.12);
}

.prediction-profile-avatar span {
	display: block;
	line-height: 1;
}

.prediction-profile-avatar.has-image span {
	opacity: 0;
}

.prediction-profile-avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.prediction-profile-header__eyebrow {
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2563eb;
}

.prediction-profile-modal__title {
	margin: 4px 0 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3.2rem);
	line-height: 0.95;
	letter-spacing: -0.05em;
	color: #07111f;
}

.prediction-profile-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.prediction-profile-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.prediction-profile-summary-card {
	display: grid;
	gap: 6px;
	padding: 14px 16px;
	border: 1px solid rgba(24,199,216,0.16);
	border-radius: 20px;
	background: rgba(255,255,255,0.74);
}

.prediction-profile-summary-card span {
	font-size: 0.78rem;
	font-weight: 800;
	color: #66758c;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.prediction-profile-summary-card strong {
	font-size: 1.6rem;
	font-weight: 950;
	line-height: 1;
	color: #07111f;
}

.prediction-profile-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 18px;
}

.prediction-profile-tab {
	border: 1px solid rgba(148, 163, 184, 0.18);
	background: rgba(255,255,255,0.72);
	color: #66758c;
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 800;
}

.prediction-profile-tab span {
	color: #2563eb;
}

.prediction-profile-tab.is-active {
	border-color: rgba(37,99,235,0.34);
	background: linear-gradient(135deg, rgba(219,245,255,0.96), rgba(255,255,255,0.96));
	color: #07111f;
	box-shadow: 0 12px 34px rgba(37,99,235,0.08);
}

.prediction-profile-list {
	display: grid;
	gap: 12px;
}

.viewer-prediction-card,
.prediction-profile-match {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 26px;
	border: 1px solid rgba(24,199,216,0.18);
	border-radius: 26px;
	background:
		linear-gradient(135deg, rgba(24,199,216,0.06), rgba(37,99,235,0.04)),
		rgba(255,255,255,0.92);
	box-shadow: 0 16px 38px rgba(37,99,235,0.06);
}

.prediction-profile-match.is-hidden {
	background: linear-gradient(135deg, rgba(241,245,249,0.92), rgba(255,255,255,0.94));
}

.viewer-prediction-main {
	min-width: 0;
}

.viewer-prediction-meta,
.prediction-profile-match__phase {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 950;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2563eb;
}

.viewer-prediction-match,
.prediction-profile-match h3 {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	font-size: 19px;
	font-weight: 950;
	color: #07111f;
}

.viewer-prediction-team {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}

.prediction-profile-flag {
	width: 24px;
	height: 24px;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 8px 20px rgba(15,23,42,0.08);
}

.prediction-profile-flag--fallback {
	display: inline-grid;
	place-items: center;
	background: rgba(37,99,235,0.1);
	color: #2563eb;
	font-size: 0.72rem;
	font-weight: 900;
}

.prediction-profile-versus {
	color: #8a96a8;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.viewer-prediction-pick,
.prediction-profile-pick-block {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	color: #64748b;
	font-size: 15px;
	font-weight: 800;
}

.viewer-prediction-pick span,
.prediction-profile-pick-block span {
	font-weight: 800;
	color: #66758c;
}

.viewer-prediction-pick strong,
.prediction-profile-pick-block strong {
	font-weight: 950;
	color: #07111f;
}

.viewer-prediction-pick small,
.prediction-profile-pick-block small {
	color: #66758c;
	font-weight: 700;
}

.viewer-prediction-result {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.viewer-prediction-result__state {
	display: grid;
	gap: 5px;
	text-align: right;
}

.viewer-prediction-result__state span {
	color: #64748b;
	font-size: 13px;
	font-weight: 850;
}

.viewer-prediction-result__state strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(15,23,42,0.06);
	color: #475569;
	font-size: 13px;
	font-weight: 950;
}

.viewer-prediction-points {
	color: #07111f;
	font-size: 18px;
	font-weight: 950;
}

.prediction-profile-empty {
	padding: 22px 0 6px;
	color: #66758c;
}

.prediction-profile-skeleton {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.prediction-profile-skeleton__hero,
.prediction-profile-skeleton__stats,
.prediction-profile-skeleton__row {
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(237,242,247,0.9), rgba(248,250,252,0.96));
	border: 1px solid rgba(148,163,184,0.12);
}

.prediction-profile-skeleton__hero {
	height: 120px;
}

.prediction-profile-skeleton__stats {
	height: 72px;
}

.prediction-profile-skeleton__row {
	height: 102px;
}

.participant-predictions-page {
	padding-bottom: 56px;
}

.participant-profile-page-shell {
	display: grid;
	gap: 18px;
}

.participant-profile-page__back {
	display: flex;
	justify-content: flex-start;
}

.participant-profile-page__hero,
.participant-profile-page__filters,
.participant-profile-page__list {
	padding: 24px;
	border-radius: 30px;
}

.participant-profile-page__headline {
	display: flex;
	align-items: center;
	gap: 18px;
}

.participant-profile-page__headline-copy {
	min-width: 0;
}

.participant-profile-page__summary {
	margin-top: 18px;
}

.participant-profile-page__filter-stack {
	display: grid;
	gap: 12px;
}

.participant-profile-page__status-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ranking-load-more {
	display: grid;
	place-items: center;
	gap: 10px;
	margin-top: 18px;
}

@keyframes ranking-spin {
	to {
		transform: rotate(360deg);
	}
}

.ranking-load-more__skeletons {
	display: grid;
	gap: 8px;
	width: 100%;
	max-width: 720px;
}

.ranking-skeleton-row {
	height: 62px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(237,242,247,0.9), rgba(248,250,252,0.95));
	border: 1px solid rgba(148,163,184,0.12);
}

.ranking-pagination-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.ranking-scroll-sentinel {
	width: 100%;
	height: 2px;
}

.ranking-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(360px, 1.7fr) minmax(92px, 0.55fr) minmax(78px, 0.45fr) minmax(130px, 0.7fr) minmax(110px, 0.6fr) minmax(72px, 0.42fr);
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	min-height: 86px;
	border: 1px solid rgba(24,199,216,0.26);
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(24,199,216,.08), rgba(255,255,255,.98));
	box-shadow: 0 14px 42px rgba(37,99,235,.07);
	overflow: hidden;
}

.ranking-mobile-meta {
	display: none;
}

.ranking-mobile-stack {
	display: none;
}

.ranking-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, #2563eb, #18c7d8);
}

.ranking-card.is-leader {
	border-color: rgba(24, 199, 216, 0.4);
	background:
		radial-gradient(circle at top left, rgba(24,199,216,0.12), transparent 34%),
		linear-gradient(135deg, rgba(245,252,255,0.98), rgba(255,255,255,0.98));
	box-shadow:
		0 20px 60px rgba(37, 99, 235, 0.12),
		0 0 34px rgba(24, 199, 216, 0.1);
}

.ranking-card.is-leader::before {
	background: var(--rank-gradient);
}

.ranking-card.is-tied-lead {
	border-color: rgba(37, 99, 235, 0.24);
	background:
		radial-gradient(circle at top left, rgba(24,199,216,0.1), transparent 36%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 253, 255, 0.9));
	box-shadow: 0 16px 48px rgba(37, 99, 235, 0.08);
}

.ranking-card.is-tied-lead::before {
	background: linear-gradient(180deg, rgba(37, 99, 235, 0.76), rgba(24, 199, 216, 0.76));
}

.ranking-card.is-current-user {
	border-color: rgba(37,99,235,.55);
	background:
		radial-gradient(circle at top left, rgba(24,199,216,.20), transparent 36%),
		linear-gradient(135deg, rgba(219,245,255,.98), rgba(255,255,255,.98));
	box-shadow: 0 22px 70px rgba(37,99,235,.18);
}

.ranking-card__identity {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 72px 48px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.ranking-position {
	display: grid;
	gap: 2px;
	color: var(--rank-ink);
	font-family: var(--font-display);
	line-height: 1;
}

.ranking-position span {
	font-size: clamp(2rem, 4vw, 3.15rem);
	font-weight: 900;
	letter-spacing: 0;
}

.ranking-position small {
	color: rgba(7, 17, 31, 0.36);
	font-size: 0.68rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.ranking-avatar {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(37, 99, 235, 0.12);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(24, 199, 216, 0.12));
	color: var(--rank-blue);
	font-family: var(--font-display);
	font-weight: 900;
	box-shadow: 0 10px 26px rgba(37,99,235,0.07);
}

.ranking-avatar.is-leader {
	border-color: rgba(37, 99, 235, 0.26);
	background:
		radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 28%),
		linear-gradient(145deg, #eff6ff, #dffbff 52%, #eef2ff);
	box-shadow: 0 12px 34px rgba(37, 99, 235, 0.16);
}

.ranking-avatar.is-leader i {
	background: linear-gradient(180deg, #2563eb, #18c7d8 62%, #6557e8);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	font-size: 1.25rem;
	filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.ranking-name {
	min-width: 0;
}

.ranking-name strong {
	display: block;
	color: var(--rank-ink);
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 900;
	white-space: normal;
}

.ranking-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 7px;
}

.ranking-points {
	display: grid;
	gap: 2px;
	justify-items: start;
	color: #2563eb;
	font-family: var(--font-display);
}

.ranking-points strong {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 900;
	line-height: 0.9;
	text-shadow: 0 10px 24px rgba(37,99,235,0.12);
}

.ranking-points span,
.ranking-stat span,
.ranking-gap span,
.ranking-movement span {
	color: var(--rank-muted);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
}

.ranking-stat,
.ranking-gap,
.ranking-movement {
	display: grid;
	gap: 4px;
	color: var(--rank-muted);
}

.ranking-stat strong,
.ranking-gap strong,
.ranking-movement strong {
	color: var(--rank-ink);
	font-size: 0.96rem;
	font-weight: 800;
}

.ranking-stat-wide strong {
	font-size: 0.9rem;
}

.ranking-gap {
	padding: 10px 12px;
	border: 1px solid rgba(7, 17, 31, 0.07);
	border-radius: 16px;
	background: rgba(248, 250, 252, 0.78);
}

.ranking-gap.is-leader strong {
	background: var(--rank-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.ranking-gap.is-tied strong {
	color: var(--rank-purple);
}

.ranking-movement {
	justify-items: end;
	text-align: right;
}

.you-badge {
	border: 1px solid rgba(24,199,216,0.24);
	color: #0e7490;
	background: rgba(24,199,216,0.14);
}

.podium-badge {
	border: 1px solid rgba(37, 99, 235, 0.12);
	color: #2563eb;
	background: rgba(37, 99, 235, 0.08);
}

.podium-badge-main {
	border-color: transparent;
	color: #ffffff;
	background: var(--rank-gradient);
	box-shadow: 0 10px 24px rgba(37,99,235,0.22);
}

.ranking-impact-match {
	display: grid;
	gap: 20px;
	padding: 24px;
	border: 1px solid rgba(7, 17, 31, 0.09);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.82));
	box-shadow: 0 18px 54px rgba(7, 17, 31, 0.06);
}

.ranking-impact-match__top,
.ranking-impact-match__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.ranking-impact-match__top {
	color: var(--rank-muted);
	font-size: 0.98rem;
	font-weight: 800;
}

.ranking-impact-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	color: var(--rank-blue);
	background: rgba(37, 99, 235, 0.1);
	font-family: var(--font-display);
	font-weight: 900;
}

.ranking-impact-status.status-live {
	color: #15803d;
	background: rgba(34, 197, 94, 0.12);
}

.ranking-impact-match__teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(7, 17, 31, 0.08);
}

.ranking-impact-team {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.ranking-impact-team-away {
	justify-content: flex-end;
	text-align: right;
}

.ranking-impact-team strong {
	display: block;
	color: var(--rank-ink);
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.05;
}

.ranking-impact-team span {
	display: block;
	margin-top: 6px;
	color: var(--rank-muted);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.2;
}

.ranking-impact-flag {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(148, 163, 184, 0.32);
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	object-fit: cover;
}

.ranking-impact-flag-fallback {
	color: var(--rank-blue);
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 900;
	background: rgba(37, 99, 235, 0.08);
}

.ranking-impact-vs {
	display: grid;
	place-items: center;
	min-width: 68px;
	height: 54px;
	padding: 0 18px;
	border-radius: 22px;
	color: var(--rank-ink);
	background: rgba(248, 250, 252, 0.92);
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 900;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ranking-impact-match__bottom > div {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.ranking-impact-deadline {
	display: inline-flex;
	align-items: center;
	width: max-content;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	color: #92400e;
	background: rgba(251, 191, 36, 0.15);
	font-family: var(--font-display);
	font-weight: 900;
	text-transform: uppercase;
}

.ranking-impact-match__bottom small {
	color: var(--rank-muted);
	font-size: 0.9rem;
	font-weight: 700;
}

.ranking-impact-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid rgba(7, 17, 31, 0.09);
	border-radius: 999px;
	color: var(--rank-ink);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 14px 36px rgba(7, 17, 31, 0.07);
	font-family: var(--font-display);
	font-weight: 900;
	text-decoration: none;
}

.ranking-impact-action:hover {
	color: var(--rank-blue);
	transform: translateY(-1px);
}

.member-list {
	display: grid;
	gap: 10px;
}

.member-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.7);
}

.member-row > div:first-child,
.member-row > a:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.member-row strong {
	display: block;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
	min-width: 0;
}

.member-row span {
	display: block;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	font-weight: 700;
	min-width: 0;
	overflow-wrap: anywhere;
}

.member-row-actions {
	align-items: flex-start;
}

.member-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	flex: 0 0 auto;
	align-items: flex-start;
}

.member-actions form {
	flex: 0 0 auto;
}

.member-role-form {
	min-width: 132px;
}

.manage-hero-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.manage-hero-metrics span,
.manage-quick-action,
.manage-member-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.68);
	color: var(--color-text);
	font-weight: 800;
	text-decoration: none;
}

.manage-hero-metrics span {
	padding: 8px 12px;
	font-size: 0.82rem;
}

.manage-hero-metrics strong {
	color: var(--color-text-muted);
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.manage-quick-actions {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	padding: 12px;
}

.manage-quick-action {
	justify-content: center;
	min-height: 54px;
	padding: 10px 14px;
	cursor: pointer;
}

button.manage-quick-action {
	width: 100%;
	font: inherit;
}

.manage-quick-action i {
	color: var(--color-primary);
	font-size: 1rem;
}

.manage-quick-action strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.12);
	color: var(--color-primary);
	font-size: 0.78rem;
}

.manage-primary-panel {
	scroll-margin-top: 110px;
}

.corporate-awards-config {
	display: grid;
	gap: 16px;
}

.corporate-awards-grid {
	display: grid;
	gap: 12px;
}

.corporate-award-config-row {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(180px, .8fr) minmax(160px, .65fr) auto;
	gap: 14px;
	align-items: end;
	padding: 14px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.7);
}

.corporate-award-toggle {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	cursor: pointer;
}

.corporate-award-toggle input {
	margin-top: 5px;
	accent-color: var(--color-primary);
}

.corporate-award-toggle span {
	display: grid;
	gap: 4px;
}

.corporate-award-toggle strong {
	color: var(--color-text);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.corporate-award-toggle small {
	color: var(--color-text-muted);
	font-weight: 650;
	line-height: 1.35;
}

.manage-invite-card,
.manage-members-panel,
.manage-secondary-disclosure {
	scroll-margin-top: 110px;
}

.manage-member-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.manage-member-tab {
	padding: 9px 14px;
	cursor: pointer;
}

.manage-member-tab.is-active {
	border-color: rgba(37, 99, 235, 0.28);
	background: linear-gradient(135deg, rgba(219, 234, 254, 0.9), rgba(255, 255, 255, 0.78));
	color: var(--color-primary);
}

.manage-member-tab strong {
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.12);
	font-size: 0.78rem;
}

.manage-member-panel[hidden] {
	display: none;
}

.manage-member-toolbar {
	margin-bottom: 12px;
}

.manage-member-row {
	padding: 10px 12px;
	border-radius: 14px;
}

.manage-member-row .pool-status-badge {
	flex: 0 0 auto;
	white-space: nowrap;
}

.manage-load-more {
	margin-top: 12px;
	width: 100%;
	min-height: 44px;
}

.pool-settings-card {
	padding: 0 !important;
	overflow: hidden;
}

.pool-settings-disclosure {
	border-radius: inherit;
}

.pool-settings-disclosure[open] {
	background:
		linear-gradient(180deg, rgba(248, 250, 252, 0.24), rgba(255, 255, 255, 0));
}

.pool-settings-summary {
	list-style: none;
	cursor: pointer;
	padding: 12px 16px;
}

.pool-settings-summary::-webkit-details-marker {
	display: none;
}

.pool-settings-summary__content {
	display: grid;
	gap: 8px;
}

.pool-settings-summary__header {
	margin: 0;
}

.pool-settings-summary__header.section-header {
	margin-bottom: 0;
}

.pool-settings-summary__header .eyebrow {
	margin-bottom: 4px !important;
	font-size: 0.68rem;
}

.pool-settings-summary__header .section-title {
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1;
}

.pool-settings-summary__header .section-copy {
	display: none;
}

.pool-settings-summary__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.pool-settings-summary__chips {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.pool-settings-chip {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	border: 1px solid rgba(37, 99, 235, 0.12);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(24, 199, 216, 0.08));
	color: var(--color-primary);
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.pool-settings-summary__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
	color: var(--color-text);
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.82rem;
	font-weight: 900;
}

.pool-settings-summary__toggle i {
	font-size: 0.88rem;
	transition: transform var(--transition-fast);
}

.pool-settings-summary__toggle-label--open,
.pool-settings-disclosure[open] .pool-settings-summary__toggle-label--closed {
	display: none;
}

.pool-settings-disclosure[open] .pool-settings-summary__toggle-label--open {
	display: inline;
}

.pool-settings-disclosure[open] .pool-settings-summary__toggle i {
	transform: rotate(180deg);
}

.pool-settings-disclosure__content {
	padding: 0 24px 24px;
	border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.member-role-select {
	min-height: 36px;
	padding-block: 0.35rem;
	font-size: 0.84rem;
	font-weight: 800;
}

.btn-sm-action {
	min-height: 36px;
	padding: 0.48rem 0.8rem;
	font-size: 0.84rem;
}

.pool-code-grid {
	display: grid;
	grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr) auto;
	gap: 12px;
	align-items: stretch;
}

.push-broadcast-card {
	background:
		radial-gradient(circle at 88% 12%, rgba(24, 199, 216, 0.12), transparent 24%),
		radial-gradient(circle at 12% 24%, rgba(37, 99, 235, 0.08), transparent 28%),
		rgba(255, 255, 255, 0.95);
}

.push-optin-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	margin: 0 0 22px;
	padding: 22px;
	border-radius: 30px;
	border: 1px solid rgba(24, 199, 216, 0.18);
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(24, 199, 216, 0.1)),
		rgba(255, 255, 255, 0.94);
	box-shadow: 0 24px 64px rgba(37, 99, 235, 0.1);
}

.push-optin-card[hidden] {
	display: none !important;
}

.push-optin-card--compact {
	margin-top: 18px;
	margin-bottom: 18px;
	padding: 18px;
	border-radius: 26px;
}

.push-optin-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 20px;
	color: #ffffff;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(24, 199, 216, 0.92));
	box-shadow: 0 18px 38px rgba(37, 99, 235, 0.2);
	font-size: 1.35rem;
}

.push-optin-card__content {
	min-width: 0;
}

.push-optin-card__eyebrow {
	margin: 0 0 5px;
	color: var(--color-primary);
	font-size: 0.74rem;
	font-weight: 950;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.push-optin-card h2 {
	margin: 0;
	color: var(--color-text);
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 950;
	line-height: 1.05;
}

.push-optin-card p:not(.push-optin-card__eyebrow):not(.push-optin-card__feedback) {
	margin: 7px 0 0;
	max-width: 720px;
	color: var(--color-text-muted);
	font-weight: 700;
	line-height: 1.45;
}

.push-optin-card__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.push-optin-card__dismiss {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	color: var(--color-text-muted);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.push-optin-card__feedback {
	min-height: 18px;
	margin: 10px 0 0;
	color: var(--color-primary);
	font-size: 0.9rem;
	font-weight: 800;
}

.push-broadcast-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 20px;
	align-items: stretch;
}

.push-broadcast-panel,
.push-broadcast-preview {
	border-radius: 28px;
	border: 1px solid rgba(24, 199, 216, 0.18);
	background: rgba(255, 255, 255, 0.84);
	padding: 20px;
	box-shadow: 0 20px 50px rgba(37, 99, 235, 0.08);
}

.push-broadcast-panel__header {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.push-enable-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
}

.push-preview-card {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.push-preview-card__phone {
	width: min(100%, 280px);
	border-radius: 30px;
	padding: 18px;
	background: linear-gradient(180deg, rgba(11, 22, 40, 0.98), rgba(37, 99, 235, 0.95));
	box-shadow: 0 24px 64px rgba(7, 17, 31, 0.28);
	color: #ffffff;
}

.push-preview-card__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.68);
}

.push-preview-card__phone strong {
	display: block;
	margin-top: 14px;
	font-size: 22px;
	line-height: 1.02;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.push-preview-card__phone p {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.84);
}

.push-preview-card__image {
	margin-top: 16px;
	overflow: hidden;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.12);
	min-height: 128px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.push-preview-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 128px;
	max-height: 164px;
	object-fit: cover;
}

.push-broadcast-form .btn-primary-gradient i,
.push-enable-btn i {
	line-height: 1;
}

.pool-code-box {
	display: grid;
	gap: 4px;
	padding: 14px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 18px;
	background: rgba(248, 250, 252, 0.82);
	min-width: 0;
}

.pool-code-box span {
	color: var(--color-text-muted);
	font-size: 0.74rem;
	font-weight: 900;
	text-transform: uppercase;
}

.pool-code-box strong {
	overflow: hidden;
	font-family: "Space Grotesk", sans-serif;
	font-size: 1rem;
	font-weight: 900;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.copy-link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: var(--shadow-glow);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.copy-link-button--hero {
	min-height: 46px;
	padding-inline: 16px;
	box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

.danger-zone-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px;
	border: 1px solid rgba(239, 68, 68, 0.22);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 18px 54px rgba(239, 68, 68, 0.08);
}

.danger-zone-card h2 {
	margin: 0 0 6px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.danger-zone-card p {
	max-width: 620px;
	margin: 0;
	color: var(--color-text-muted);
}

.btn-danger-soft {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.72rem 1.1rem;
	border: 1px solid rgba(239, 68, 68, 0.24);
	border-radius: 999px;
	color: var(--color-danger);
	background: rgba(239, 68, 68, 0.08);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
	transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-danger-soft:hover {
	color: #b91c1c;
	box-shadow: 0 14px 34px rgba(239, 68, 68, 0.12);
	transform: translateY(-1px);
}

.prize-pool-card {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
	gap: 18px;
	padding: 22px;
	border: 1px solid rgba(0, 229, 255, 0.2);
	border-radius: var(--radius-xl);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.78)),
		radial-gradient(circle at top right, rgba(0, 229, 255, 0.18), transparent 34%);
	box-shadow: 0 28px 90px rgba(37, 99, 235, 0.1);
}

.league-status-card {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
	gap: 18px;
	padding: 22px;
	border: 1px solid rgba(14, 165, 233, 0.18);
	border-radius: var(--radius-xl);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.84)),
		radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 34%);
	box-shadow: 0 28px 90px rgba(15, 23, 42, 0.08);
}

.prize-pool-card__main,
.league-status-card__main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
	min-width: 0;
}

.prize-pool-card h2,
.league-status-card h2 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(1.45rem, 3vw, 2.2rem);
	font-weight: 900;
}

.prize-pool-card p,
.league-status-card p {
	max-width: 520px;
	margin: 0;
	color: var(--color-text-muted);
	line-height: 1.55;
}

.prize-pool-number {
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(2.5rem, 7vw, 4.8rem);
	font-weight: 900;
	line-height: 0.95;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.prize-pool-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.entry-points-chip,
.distribution-type-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 900;
}

.entry-points-chip {
	color: var(--color-text);
	background: rgba(241, 245, 249, 0.9);
	border: 1px solid rgba(148, 163, 184, 0.22);
}

.distribution-type-badge {
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.1);
}

.league-status-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	min-width: 0;
}

.league-status-metric {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 4px 10px;
	min-height: 86px;
	padding: 14px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.78);
}

.league-status-metric i {
	grid-row: span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.1);
}

.league-status-metric span {
	color: var(--color-text-muted);
	font-size: 0.82rem;
	font-weight: 800;
}

.league-status-metric strong {
	color: var(--color-text-main);
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.35rem;
	line-height: 1;
}

.prize-table-wrap {
	min-width: 0;
	padding: 14px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.prize-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 8px;
}

.prize-table th {
	padding: 0 10px 8px;
	color: var(--color-text-muted);
	font-size: 0.74rem;
	font-weight: 900;
	text-align: left;
	text-transform: uppercase;
}

.prize-table td {
	padding: 12px 10px;
	background: rgba(248, 250, 252, 0.82);
	color: var(--color-text);
	font-weight: 800;
}

.prize-table td:first-child {
	border-radius: 16px 0 0 16px;
}

.prize-table td:last-child {
	border-radius: 0 16px 16px 0;
	text-align: right;
}

.prize-position {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	color: var(--color-primary);
	background: rgba(37, 99, 235, 0.1);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 900;
}

.podium-highlight td {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(0, 229, 255, 0.14));
}

.podium-highlight .prize-position {
	color: #ffffff;
	background: var(--gradient-primary);
	box-shadow: var(--shadow-glow);
}

.prize-note {
	margin-top: 10px !important;
	font-size: 0.82rem;
}

.is-hidden {
	display: none !important;
}

@keyframes livePulse {
	0%,
	100% {
		box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.06);
	}
	50% {
		box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.12);
	}
}

@keyframes orbFloat {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-10px) rotate(1.5deg);
	}
}

@keyframes orbLineShift {
	0%,
	100% {
		opacity: 0.45;
	}
	50% {
		opacity: 0.82;
	}
}

/* 15. PWA/mobile */
@media (max-width: 991.98px) {
	.matches-hero {
		min-height: 0;
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 14px 14px 12px;
	}

	.futuristic-football-orb {
		justify-self: center;
	}

	.matches-hero .futuristic-football-orb {
		position: absolute;
		top: 12px;
		right: 14px;
		width: 58px;
		opacity: 0.72;
		pointer-events: none;
	}

	.matches-filter-grid {
		grid-template-columns: minmax(0, 1fr) minmax(116px, 0.42fr);
		gap: 8px;
	}

	.matches-control-panel {
		margin: 12px 0 20px;
		padding: 10px;
		border-radius: 20px;
	}

	.phase-tabs {
		gap: 7px;
		padding: 0 0 8px;
	}

	.phase-tab {
		min-height: 36px;
		padding: 0 12px;
		font-size: 0.82rem;
	}

	.phase-tabs--has-groups .phase-tab[data-phase="all"] {
		display: none;
	}

	.matches-filter-item .form-label-premium {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.matches-control-panel .form-control-premium {
		min-height: 40px;
		padding: 0.54rem 0.78rem;
		border-radius: 999px;
		font-size: 0.86rem;
		font-weight: 800;
		box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
	}

	.matches-control-panel .search-field .form-control-premium {
		padding-left: 38px;
	}

	.matches-control-panel .search-field i {
		left: 14px;
		font-size: 0.9rem;
	}

	.prediction-filter-grid {
		grid-template-columns: 1fr;
	}

	.matches-mobile-group-tabs {
		display: flex;
		gap: 7px;
		margin: -2px 0 12px;
		padding: 2px 2px 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.matches-mobile-group-tabs::-webkit-scrollbar {
		display: none;
	}

	.mobile-group-tab {
		flex: 0 0 auto;
		min-height: 34px;
		padding: 0 12px;
		border: 1px solid rgba(148, 163, 184, 0.24);
		border-radius: 999px;
		color: var(--color-text);
		background: rgba(255, 255, 255, 0.82);
		font-family: "Space Grotesk", sans-serif;
		font-size: 0.82rem;
		font-weight: 800;
		transition: transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
	}

	.mobile-group-tab.active {
		color: #ffffff;
		background: var(--gradient-primary);
		box-shadow: var(--shadow-glow);
	}

	.group-grid {
		grid-template-columns: 1fr;
	}

	.group-stage-section,
	.knockout-section {
		margin-top: 22px;
	}

	.group-card {
		padding: 14px;
	}

	.group-card__header {
		margin-bottom: 12px;
	}

	.group-card__view-tabs {
		width: 100%;
	}

	.group-card__view-tab {
		flex: 1 1 0;
	}

	.match-list {
		gap: 9px;
	}

	.match-card-compact,
	.knockout-card {
		border-radius: 18px;
		box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
	}

	.match-card__topline,
	.knockout-card__header {
		gap: 8px;
		margin-bottom: 10px;
	}

	.status-badge,
	.prediction-lock {
		min-height: 24px;
		padding: 0 8px;
		font-size: 0.68rem;
	}

	.match-meta {
		gap: 5px 10px;
		margin-top: 10px;
		font-size: 0.74rem;
		font-weight: 650;
		line-height: 1.25;
	}

	.match-meta i {
		opacity: 0.68;
	}

	.matches-page .match-card .btn-predict-disabled:not(.btn-predict-disabled--live) {
		display: none;
	}

	.matches-page .btn-predict-disabled--live {
		min-height: 36px;
		margin-top: 10px;
		font-size: 0.84rem;
	}

	.matches-mobile-prerender-hidden {
		display: none;
	}

	.pools-layout,
	.pool-switch-layout,
	.pool-detail-grid,
	.member-panel-grid {
		grid-template-columns: 1fr;
	}

	.join-pool-card {
		position: static;
	}

	.join-success-summary {
		grid-template-columns: 1fr;
	}

	.pool-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pool-code-grid {
		grid-template-columns: 1fr;
	}

	.pool-settings-summary,
	.pool-settings-disclosure__content {
		padding-inline: 18px;
	}

	.creation-advanced-settings__content {
		grid-template-columns: 1fr;
	}

	.pool-settings-summary__meta {
		align-items: stretch;
	}

	.pool-settings-summary__toggle {
		width: 100%;
		justify-content: center;
	}

	.push-optin-card {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 18px;
		border-radius: 24px;
	}

	.push-optin-card__icon {
		width: 48px;
		height: 48px;
		border-radius: 17px;
	}

	.push-optin-card__actions .btn-primary-gradient,
	.push-optin-card__dismiss {
		width: 100%;
	}

	.push-broadcast-grid {
		grid-template-columns: 1fr;
	}

	.prize-pool-card,
	.league-status-card {
		grid-template-columns: 1fr;
	}

	.ranking-insights-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ranking-layout {
		grid-template-columns: 1fr;
	}

	.play-hero,
	.ranking-hero {
		flex-direction: column;
	}

	.play-hero__actions,
	.ranking-hero__actions {
		width: 100%;
		min-width: 0;
	}

	.play-hero-metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 100%;
	}

	.pools-hero-subgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ranking-table {
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.ranking-table__head,
	.ranking-table__row {
		min-width: 820px;
	}

	.dashboard-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dashboard-main-grid {
		grid-template-columns: 1fr;
	}

	.dashboard-main-layout {
		grid-template-columns: 1fr;
	}

	.navbar-collapse {
		padding: 16px 0 6px;
	}
}

@media (max-width: 575.98px) {
	.page-container {
		width: min(100% - 24px, 1140px);
	}

	.main-shell,
	.auth-shell,
	.dashboard-shell,
	.matches-page,
	.pools-page,
	.ranking-page {
		padding: 26px 0 106px;
	}

	.hero-title {
		font-size: clamp(2.7rem, 16vw, 4.1rem);
	}

	.app-hero {
		padding: 18px 16px;
		border-radius: 26px;
	}

	.matches-hero.app-hero {
		padding: 12px;
		border-radius: 20px;
	}

	.app-hero-title {
		font-size: clamp(31px, 10vw, 44px);
		line-height: 0.92;
	}

	.matches-hero .app-hero-title {
		max-width: calc(100% - 54px);
		font-size: clamp(24px, 7.2vw, 32px);
		line-height: 0.96;
	}

	.app-hero-subtitle {
		font-size: 14px;
		line-height: 1.3;
	}

	.matches-hero .app-hero-subtitle {
		max-width: 100%;
		margin-top: 7px;
		font-size: 12.5px;
		line-height: 1.28;
	}

	.app-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-top: 14px;
	}

	.app-hero__actions .btn-primary-gradient,
	.app-hero__actions .btn-secondary-soft,
	.app-hero__actions .pwa-install-btn {
		width: 100%;
		min-height: 48px;
		padding-inline: 18px;
	}

	.app-hero__actions .btn-primary-gradient,
	.app-hero__actions .btn-secondary-soft {
		width: 100%;
	}

	.section-header {
		align-items: start;
		flex-direction: column;
	}

	.dashboard-grid {
		grid-template-columns: 1fr;
	}

	.join-success-page {
		padding: 24px 0 106px;
	}

	.join-success-card {
		padding: 28px 20px;
		border-radius: 28px;
	}

	.join-success-icon {
		width: 72px;
		height: 72px;
		border-radius: 24px;
		font-size: 32px;
	}

	.join-success-title {
		font-size: 34px;
		line-height: 1;
	}

	.join-success-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.join-success-actions .btn-primary-gradient,
	.join-success-actions .btn-secondary-soft {
		width: 100%;
	}

	.manage-hero-metrics,
	.manage-member-tabs {
		align-items: stretch;
		flex-direction: column;
	}

	.manage-hero-metrics span,
	.manage-member-tab,
	.manage-quick-action {
		justify-content: center;
		width: 100%;
	}

	.manage-quick-actions {
		grid-template-columns: 1fr;
	}

	.matches-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.manage-quick-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.corporate-award-config-row {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.manage-member-row {
		align-items: stretch;
		flex-direction: column;
	}

	.manage-member-row .pool-status-badge {
		align-self: flex-start;
	}

	.manage-member-row .member-actions {
		justify-content: flex-start;
		width: 100%;
	}

	.matches-hero .matches-stats-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 6px;
		margin-top: 10px;
	}

	.matches-hero .matches-stat {
		padding: 7px 5px;
		border-radius: 13px;
		text-align: center;
	}

	.matches-hero .matches-stat strong {
		font-size: 1.14rem;
	}

	.matches-hero .matches-stat span {
		font-size: 0.58rem;
		letter-spacing: 0.04em;
	}

	.matches-hero,
	.matches-control-panel,
	.group-card {
		border-radius: 22px;
	}

	.home-hero--cinematic {
		padding: 1.2rem !important;
	}

	.home-hero .futuristic-football-orb {
		width: min(180px, 58vw);
	}

	.match-card__teams {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.score-box {
		width: 100%;
		min-height: 36px;
		border-radius: 13px;
	}

	.team-side-away {
		flex-direction: row-reverse;
		justify-content: flex-start;
		text-align: left;
	}

	.match-card__topline,
	.match-card__header,
	.match-card__footer,
	.group-card__header {
		align-items: start;
		flex-direction: column;
	}

	.matches-page .match-card__topline {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.group-standings-row {
		grid-template-columns: 34px minmax(0, 1fr) 34px 42px 42px;
		gap: 6px;
		padding: 9px 8px;
		font-size: 0.8rem;
	}

	.group-standings-row--head {
		font-size: 0.64rem;
	}

	.group-standings-team {
		gap: 7px;
	}

	.group-standings-team .team-flag,
	.group-standings-team .team-flag-fallback {
		width: 28px;
		height: 28px;
	}

	.group-standings-team small {
		display: none;
	}

	.matches-page .match-card,
	.matches-page .match-card-compact {
		padding: 13px;
	}

	.matches-page .team-flag,
	.matches-page .team-flag-fallback {
		width: 30px;
		height: 30px;
	}

	.matches-page .group-table-placeholder {
		min-height: 34px;
		margin-top: 10px;
		font-size: 0.78rem;
	}

	.group-card__stats {
		justify-items: start;
	}

	.pools-hero,
	.ranking-hero,
	.ranking-empty,
	.ranking-notice,
	.dashboard-pool-card,
	.dashboard-managed-card,
	.pool-switch-card,
	.member-row,
	.member-row-actions,
	.danger-zone-card {
		align-items: flex-start;
		flex-direction: column;
	}

	.pools-hero__actions,
	.ranking-hero__actions,
	.pool-switch-card__actions,
	.member-actions {
		justify-content: flex-start;
		width: 100%;
	}

	.play-hero {
		padding: 16px;
	}

	.play-hero h1,
	.ranking-hero__lead,
	.matches-hero .hero-title,
	.pools-hero .section-title {
		font-size: clamp(1.55rem, 7.4vw, 2.08rem);
	}

	.play-hero-metrics,
	.pools-hero-subgrid {
		grid-template-columns: 1fr;
	}

	.pool-switch-card {
		padding: 1.15rem 1.1rem;
	}

	.pool-switch-card__actions .btn-primary-gradient,
	.pool-switch-card__actions .btn-secondary-soft {
		width: 100%;
	}

	.matches-hero .matches-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.matches-hero .matches-stats-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.matches-hero__meta {
		display: none;
	}

	.ranking-insights-grid,
	.ranking-layout {
		grid-template-columns: 1fr;
	}

	.ranking-table__head {
		display: none;
	}

	.ranking-table__row {
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		min-width: 0;
	}

	.ranking-table__row > span:nth-child(4),
	.ranking-table__row > span:nth-child(5),
	.ranking-table__row > span:nth-child(6) {
		grid-column: 2 / -1;
		color: var(--color-text-muted);
		font-size: 0.86rem;
	}

	.ranking-match-row {
		grid-template-columns: 1fr;
	}

	.ranking-match-row div:last-child {
		justify-items: start;
	}

	.pool-join-form,
	.dashboard-join-form,
	.pool-grid,
	.pools-grid,
	.pool-form-grid,
	.prediction-mode-grid,
	.league-status-grid {
		grid-template-columns: 1fr;
	}

	.metric-card,
	.ranking-card,
	.action-card,
	.feature-card,
	.match-card {
		padding: 18px;
	}

	.btn-primary-gradient,
	.btn-secondary-soft,
	.btn-dark-premium,
	.copy-link-button,
	.btn-danger-soft {
		width: 100%;
	}
}

@media (min-width: 768px) {
	.bottom-nav {
		display: none;
	}

	.app-shell {
		padding-bottom: 0;
	}
}

@media (max-width: 991px) {
	.app-navbar .container {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.navbar-brand-cluster {
		flex: 1 1 auto;
		align-items: center;
		gap: 8px;
		max-width: calc(100% - 58px);
	}

	.nav-pool-context {
		flex: 1 1 auto;
		width: 100%;
		margin-right: 0;
		margin-bottom: 0;
	}

	.nav-pool-context--brand {
		min-width: 0;
	}

	.nav-pool-context--brand .dropdown {
		width: 100%;
	}

	.active-pool-switcher {
		width: 100%;
		max-width: none;
		height: 40px;
		min-width: 0;
		justify-content: flex-start;
		padding: 0 38px 0 12px;
		border-radius: 16px;
		box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
	}

	.active-pool-switcher--menu {
		line-height: 40px;
		text-align: left;
		padding-right: 38px;
	}

	.active-pool-switcher--menu::after {
		position: absolute;
		right: 12px;
		margin-left: 0;
	}

	.active-pool-switcher__text {
		width: 100%;
	}

	.active-pool-switcher__name {
		max-width: none;
		font-size: 0.88rem;
		line-height: 1;
		text-align: left;
	}

	.active-pool-switcher__meta {
		display: none;
	}

	.brand-mark {
		align-self: center;
	}

	.brand-orb {
		width: 34px;
		height: 34px;
		border-radius: 14px;
	}

	.navbar-toggler {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		margin-left: auto;
		border-radius: 14px;
	}

	.locale-switcher--mobile {
		width: max-content;
		margin: 4px 0 2px;
	}

	.pool-context-menu {
		width: min(360px, calc(100vw - 24px));
		min-width: min(360px, calc(100vw - 24px));
		max-width: calc(100vw - 24px);
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
		margin-top: 8px !important;
	}

	.pool-context-menu__header,
	.pool-context-menu__item,
	.pool-context-menu__action {
		padding-inline: 12px;
	}

	.pool-context-menu__item strong,
	.pool-context-menu__action span {
		white-space: normal;
		word-break: break-word;
	}

	.site-footer__inner {
		align-items: flex-start;
	}

	.site-footer__action {
		width: auto;
		align-self: flex-start;
	}

	.site-footer__action.pwa-install-btn {
		justify-content: center;
		max-width: max-content;
	}

	.pool-context-menu__item span {
		white-space: normal;
	}
}

/* 16. Utilities */
.text-gradient {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.home-activation-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.home-world-status {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
	align-items: center;
	gap: 18px;
	padding: 24px 26px;
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.12), transparent 32%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92)),
		rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 28px;
	box-shadow: 0 26px 90px rgba(15, 23, 42, 0.08);
}

.home-world-status__intro .section-title {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	line-height: 0.98;
}

.home-world-status__intro .section-copy {
	max-width: 520px;
	margin: 10px 0 0;
	color: var(--color-text-muted);
}

.home-world-status__metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.home-world-metric {
	padding: 14px 16px;
	border-radius: 20px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	background: rgba(248, 250, 252, 0.88);
}

.home-world-metric--wide {
	grid-column: 1 / -1;
}

.home-world-metric span {
	display: block;
	color: var(--color-text-muted);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.home-world-metric strong {
	display: block;
	margin-top: 6px;
	color: var(--color-text);
	font-size: 1.18rem;
	font-weight: 900;
	line-height: 1.2;
}

.home-world-status__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 180px;
}

.home-world-status__actions .btn-primary-gradient,
.home-world-status__actions .btn-secondary-soft {
	width: 100%;
}

.activation-card,
.home-context-card,
.home-status-alert {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 24px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.activation-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-height: 210px;
	padding: 24px;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.activation-card:hover {
	border-color: rgba(37, 99, 235, 0.2);
	box-shadow: 0 28px 90px rgba(37, 99, 235, 0.11);
	transform: translateY(-3px);
}

.activation-card-highlight {
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(0, 229, 255, 0.1) 58%, rgba(139, 92, 246, 0.09)),
		rgba(255, 255, 255, 0.9);
	border-color: rgba(37, 99, 235, 0.2);
}

.activation-card h2 {
	color: var(--color-text);
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.activation-card p {
	color: var(--color-text-muted);
	font-size: 0.94rem;
	line-height: 1.55;
	margin: 0;
}

.activation-card .stat-number {
	line-height: 1;
}

.home-join-card {
	min-height: 250px;
}

.home-join-card .join-code-form {
	margin-top: auto;
	width: 100%;
}

.home-status-alert {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px;
}

.home-status-alert h2 {
	color: var(--color-text);
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2vw, 1.8rem);
	font-weight: 700;
	margin: 10px 0 0;
}

.home-pool-preview-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(160px, 1fr));
	gap: 12px;
	width: min(100%, 620px);
}

.home-pool-preview-list--competitive {
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-pool-preview {
	background: rgba(248, 250, 252, 0.86);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 18px;
	color: var(--color-text);
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease;
}

.home-pool-preview:hover {
	border-color: rgba(37, 99, 235, 0.26);
	transform: translateY(-2px);
}

.home-pool-preview span {
	color: var(--color-text-muted);
	font-size: 0.84rem;
}

.home-pool-preview--competitive {
	gap: 10px;
	padding: 16px;
	background:
		radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
		rgba(248, 250, 252, 0.94);
}

.home-pool-preview--competitive p {
	margin: 0;
	color: var(--color-text);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
}

.home-pool-preview__topline,
.home-pool-preview__footer,
.home-pool-preview__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.home-pool-preview__topline {
	align-items: flex-start;
}

.home-pool-preview__topline strong {
	font-family: var(--font-display);
	font-size: 1.08rem;
	line-height: 1.1;
}

.home-pool-preview__meta {
	flex-wrap: wrap;
}

.home-pool-preview__footer {
	padding-top: 8px;
	border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.home-pool-preview__footer span:last-child {
	color: var(--color-primary);
	font-weight: 800;
}

.home-context-card {
	padding: 28px;
}

.activation-stepper {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 22px;
}

.activation-step {
	background: rgba(248, 250, 252, 0.78);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 20px;
	padding: 18px;
}

.activation-step span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--gradient-primary);
	border-radius: 999px;
	box-shadow: 0 14px 32px rgba(37, 99, 235, 0.18);
	color: #ffffff;
	font-family: var(--font-display);
	font-weight: 800;
	margin-bottom: 14px;
}

.activation-step p {
	color: var(--color-text-muted);
	font-size: 0.94rem;
	line-height: 1.5;
	margin: 0;
}

/* 17. Play page */
.play-page {
	padding: 24px 0 56px;
}

html,
body {
	overflow-x: hidden;
}

.play-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: clamp(18px, 2.6vw, 24px);
	margin-bottom: 14px;
	background:
		radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.92)),
		rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(148, 163, 184, 0.12);
	box-shadow: 0 16px 40px rgba(7, 17, 31, 0.06);
}

.play-hero .app-hero-title {
	font-size: clamp(38px, 5.4vw, 64px);
	max-width: 760px;
}

.play-hero .app-hero-subtitle {
	max-width: 660px;
}

.play-hero h1 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.2vw, 2.55rem);
	font-weight: 900;
	letter-spacing: 0;
	color: var(--color-text);
	line-height: 1;
}

.play-hero p {
	max-width: 660px;
	margin: 6px 0 0;
	color: var(--color-text-muted);
	font-size: 0.88rem;
	line-height: 1.35;
}

.play-hero__actions,
.play-hero__status {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.play-hero__actions {
	align-items: stretch;
	flex-direction: column;
	min-width: 235px;
}

.play-hero-actions .btn {
	width: 100%;
}

.play-hero__status {
	margin-top: 10px;
}

.play-hero-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 12px;
	max-width: 700px;
}

.play-hero-metric {
	border: 1px solid rgba(148, 163, 184, 0.14);
	padding: 11px 13px;
	border-radius: 16px;
	background: rgba(248, 250, 252, 0.9);
	text-align: left;
}

.play-hero-metric span {
	display: block;
	color: var(--color-text-muted);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.play-hero-metric strong {
	display: block;
	margin-top: 4px;
	font-size: 1.18rem;
	font-weight: 900;
	color: var(--color-text);
}

.play-hero-metric--action,
.play-filter-shortcut {
	appearance: none;
	font: inherit;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.play-hero-metric--action:hover:not(:disabled),
.play-filter-shortcut:hover:not(:disabled) {
	transform: translateY(-1px);
}

.play-hero-metric--action:focus-visible,
.play-filter-shortcut:focus-visible {
	outline: 2px solid rgba(37, 99, 235, 0.28);
	outline-offset: 2px;
}

.play-hero-metric--action:disabled,
.play-filter-shortcut:disabled {
	cursor: default;
	opacity: 0.72;
}

.play-hero.matches-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
}

.play-hero.matches-hero .matches-stats-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 760px;
}

.matches-stat--button {
	appearance: none;
	width: 100%;
	border: 1px solid rgba(148, 163, 184, 0.22);
	text-align: left;
	color: var(--color-text);
	cursor: pointer;
	font: inherit;
	transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.matches-stat--button:hover:not(:disabled),
.matches-stat--button:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(24, 199, 216, 0.28);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.matches-stat--button:focus-visible {
	outline: 2px solid rgba(37, 99, 235, 0.28);
	outline-offset: 3px;
}

.play-hero-inline-cta {
	text-decoration: none;
	color: var(--color-text);
	transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.play-hero-inline-cta:hover,
.play-hero-inline-cta:focus-visible {
	transform: translateY(-1px);
	color: var(--color-primary);
	border-color: rgba(37, 99, 235, 0.28);
}

.phase-tab__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	margin-left: 8px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.1);
	color: inherit;
	font-size: 0.82rem;
	font-weight: 950;
}

.phase-tab.active .phase-tab__count {
	background: rgba(255, 255, 255, 0.22);
	color: inherit;
}

.play-control-panel {
	margin-top: 18px;
}

.play-empty-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
}

.play-onboarding-card {
	padding: 24px;
}

.play-onboarding-card h2 {
	margin: 12px 0;
	font-family: var(--font-display);
	font-weight: 800;
}

.play-onboarding-card li {
	margin-bottom: 8px;
	color: var(--color-text-muted);
}

.pending-pool-list {
	display: grid;
	gap: 10px;
}

.competition-metrics-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

.metric-value {
	line-height: 1;
}

.metric-value-compact {
	font-size: clamp(1.15rem, 2.4vw, 1.65rem);
	line-height: 1.15;
}

.play-main-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
	gap: 28px;
	align-items: start;
}

.play-main-layout--single {
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
}

.play-progress-hero {
	margin-bottom: 18px;
}

.prediction-progress-strip {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding-block: 18px;
	margin-bottom: 28px;
}

.prediction-progress-strip__meta {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.prediction-progress-strip__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.prediction-progress-strip__label {
	font-size: 0.98rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #07111f;
}

.prediction-progress-strip__divider {
	color: rgba(102, 117, 140, 0.68);
	font-weight: 800;
}

.prediction-progress-strip__count,
.prediction-progress-strip__shortcut {
	flex: 0 0 auto;
}

.prediction-progress-strip__chips {
	flex: 1 1 100%;
	margin-top: 2px;
}

.prediction-progress-strip__progress {
	max-width: 440px;
}

.prediction-progress-strip__actions {
	margin-top: 0;
	flex-wrap: nowrap;
	justify-content: flex-end;
}

.prediction-progress-strip__actions .btn-primary-gradient,
.prediction-progress-strip__actions .btn-secondary-soft {
	min-height: 42px;
	padding-inline: 18px;
	font-size: 0.95rem;
	white-space: nowrap;
}

.play-status-card__header {
	display: grid;
	gap: 14px;
}

.play-status-card__labels,
.play-status-card__chips,
.play-status-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.play-status-card__actions {
	margin-top: 8px;
}

.play-status-card__actions .btn-primary-gradient,
.play-status-card__actions .btn-secondary-soft {
	min-height: 46px;
}

.play-main-column,
.play-side-column {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.play-panel,
.round-progress-card,
.leaderboard-card,
.activity-feed-card,
.symbolic-prize-card {
	padding: 24px;
}

.play-section-title {
	line-height: 1.05;
}

.prediction-list {
	display: grid;
	gap: 14px;
	width: 100%;
	min-width: 0;
}

.prediction-card {
	display: grid;
	gap: 16px;
	padding: 18px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 22px;
	background: rgba(248, 250, 252, 0.72);
	transition: transform 180ms ease, border-color 180ms ease;
}

.prediction-match-card {
	overflow: hidden;
}

.predictions-panel .prediction-row-compact.match-card {
	gap: 14px;
	padding: 16px;
	border-color: rgba(148, 163, 184, 0.16);
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.08), transparent 34%),
		rgba(255, 255, 255, 0.9);
}

.prediction-match-card .match-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.prediction-match-card .match-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
	color: #66758c;
	font-size: 0.78rem;
	font-weight: 850;
	line-height: 1.25;
}

.prediction-match-card .match-meta__divider {
	opacity: 0.55;
}

.prediction-match-card .prediction-card__status-stack {
	flex: 0 0 auto;
}

.prediction-match-card .match-status-chip {
	height: 30px;
	min-height: 30px;
	padding: 0 11px;
	font-size: 12px;
	gap: 6px;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.prediction-match-card .match-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	padding: 12px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 22px;
	background:
		linear-gradient(135deg, rgba(248, 250, 252, 0.84), rgba(255, 255, 255, 0.96));
}

.prediction-match-card .match-team {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.prediction-match-card .match-team--away {
	justify-content: flex-end;
	text-align: right;
}

.prediction-match-card .match-team--away .match-team-flag {
	order: 2;
}

.prediction-match-card .match-team-copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.prediction-match-card .match-team-name {
	color: #07111f;
	font-size: clamp(1.02rem, 2vw, 1.25rem);
	font-weight: 950;
	line-height: 1.05;
	letter-spacing: -0.035em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.prediction-match-card .match-team-code {
	color: #66758c;
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.prediction-match-card .match-team-flag {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.88);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.prediction-match-card .match-vs {
	display: grid;
	place-items: center;
	min-width: 48px;
	height: 48px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(24, 199, 216, 0.14));
	color: #2563eb;
	font-size: 0.9rem;
	font-weight: 950;
	letter-spacing: -0.02em;
}

.prediction-match-card .match-prediction-area {
	display: grid;
	gap: 9px;
	padding-top: 2px;
}

.prediction-match-card .match-prediction-label {
	color: #2563eb;
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.prediction-match-card .match-prediction-select {
	width: min(100%, 360px);
	padding: 0;
	background: transparent;
	justify-content: flex-start;
}

.prediction-match-card .match-prediction-select.prediction-controls--score {
	width: auto;
}

.prediction-match-card .match-prediction-summary {
	margin: 0;
	color: #66758c;
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.25;
}

.prediction-match-card .match-prediction-summary.is-pending {
	color: #94a3b8;
}

.prediction-match-card.is-saved .match-hero {
	border-color: rgba(16, 185, 129, 0.18);
	box-shadow: 0 16px 42px rgba(16, 185, 129, 0.06);
}

.prediction-match-card.is-dirty .match-hero {
	border-color: rgba(24, 199, 216, 0.28);
	box-shadow: 0 16px 42px rgba(24, 199, 216, 0.08);
}

.live-match-card {
	border-color: rgba(34, 197, 94, 0.22);
	background: linear-gradient(135deg, rgba(240, 253, 244, 0.92), rgba(236, 254, 255, 0.88));
	box-shadow: 0 22px 44px rgba(15, 23, 42, 0.06);
}

.prediction-card:hover {
	border-color: rgba(37, 99, 235, 0.22);
	transform: translateY(-2px);
}

.prediction-card__meta,
.quick-prediction-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.match-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.prediction-card__teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
}

.mobile-teams-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
}

.mobile-team {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
}

.mobile-vs {
	flex: 0 0 auto;
}

.team-code {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border-radius: 16px;
	background: rgba(37, 99, 235, 0.08);
	color: var(--color-primary);
	font-family: var(--font-display);
	font-weight: 800;
}

.prediction-status-badge,
.match-status-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: -0.02em;
	border: 1px solid transparent;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.prediction-status-badge:hover,
.match-status-chip:hover {
	transform: translateY(-1px);
}

.prediction-status-pending {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(251, 191, 36, 0.12));
	color: #b45309;
	border-color: rgba(245, 158, 11, 0.16);
}

.prediction-status-predicted {
	background: rgba(34, 197, 94, 0.12);
	color: #166534;
}

.prediction-status-saved {
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(16, 185, 129, 0.14));
	color: #047857;
	border-color: rgba(16, 185, 129, 0.18);
}

.prediction-status-locked {
	background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(203, 213, 225, 0.14));
	color: #475569;
	border-color: rgba(148, 163, 184, 0.18);
}

.prediction-status-finished {
	background: rgba(15, 23, 42, 0.08);
	color: var(--color-text);
}

.quick-prediction-shell {
	padding-top: 14px;
	border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.match-card-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.quick-prediction-shell p {
	margin: 8px 0 0;
	color: var(--color-text-muted);
}

.prediction-group-card {
	position: relative;
	padding: 22px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.1), transparent 34%),
		rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(24, 199, 216, 0.22);
	box-shadow: 0 24px 70px rgba(7, 17, 31, 0.08);
}

.prediction-group-card.is-complete {
	padding-top: 18px;
	padding-bottom: 18px;
	box-shadow: 0 16px 42px rgba(7, 17, 31, 0.05);
}

.prediction-group-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 18px;
}

.prediction-group-card.is-complete .prediction-group-header {
	margin-bottom: 12px;
}

.prediction-group-header__copy {
	display: grid;
	gap: 6px;
}

.prediction-group-card.is-complete .prediction-group-header__copy {
	gap: 4px;
}

.prediction-group-header__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.prediction-group-card.is-complete .prediction-group-header__actions {
	gap: 8px;
}

.prediction-group-title-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.prediction-group-title {
	font-size: clamp(1.9rem, 4vw, 2.2rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	color: #07111f;
}

.prediction-group-card.is-complete .prediction-group-title {
	font-size: clamp(1.55rem, 3.3vw, 1.85rem);
}

.prediction-group-progress,
.prediction-group-complete {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 900;
}

.prediction-group-progress {
	background: rgba(7, 17, 31, 0.06);
	color: #66758c;
}

.prediction-group-complete {
	background: rgba(34, 197, 94, 0.12);
	color: #047857;
}

.prediction-group-card.is-complete .prediction-group-progress,
.prediction-group-card.is-complete .prediction-group-complete {
	height: 34px;
	padding: 0 14px;
	font-size: 0.84rem;
}

.prediction-group-meta,
.prediction-group-deadline,
.prediction-group-dirty {
	font-size: 0.92rem;
	line-height: 1.35;
	margin: 0;
}

.prediction-group-meta {
	color: var(--color-text);
	font-weight: 700;
}

.prediction-group-card.is-complete .prediction-group-meta,
.prediction-group-card.is-complete .prediction-group-deadline,
.prediction-group-card.is-complete .prediction-group-dirty {
	font-size: 0.86rem;
}

.prediction-group-deadline {
	color: var(--color-text-muted);
}

.prediction-group-dirty {
	color: #b45309;
	font-weight: 800;
}

.prediction-group-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}

.prediction-toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.prediction-toolbar__meta {
	display: grid;
	gap: 4px;
	color: #475569;
	font-size: 0.9rem;
}

.prediction-toolbar__meta strong {
	color: #07111f;
}

.predictions-progress-inline {
	margin: 14px 0 18px;
	padding: 0;
	border: 0;
	background: transparent;
}

.predictions-progress-copy {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.predictions-progress-copy strong {
	color: #07111f;
	font-size: 18px;
	font-weight: 950;
}

.predictions-progress-copy span,
.predictions-progress-dirty {
	color: #64748b;
	font-size: 14px;
	font-weight: 850;
}

.predictions-progress-dirty {
	display: block;
	margin: -8px 0 12px;
	color: #b45309;
}

.predictions-progress-dirty:empty {
	display: none;
}

.predictions-progress-track,
.predictions-progress-shell {
	height: 3px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.14);
	overflow: hidden;
}

.predictions-progress-shell {
	width: 100%;
}

.predictions-progress-fill {
	height: 100%;
	border-radius: inherit;
	background: rgba(231, 210, 168, 0.78);
	box-shadow: none;
	transition: width 0.2s ease;
}

.prediction-filters-wrapper {
	position: relative;
	width: 100%;
	min-width: 0;
}

.prediction-filters-wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(248, 250, 252, 0.95));
}

.prediction-segments {
	width: 100%;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 2px 8px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	flex-wrap: nowrap;
}

.prediction-segments::-webkit-scrollbar {
	display: none;
}

.ios-safe-group-nav {
	display: grid;
	gap: 14px;
	margin: 18px 0 20px;
}

.ios-safe-group-nav__meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	color: #475569;
	font-size: 0.9rem;
	font-weight: 850;
}

.ios-safe-group-nav__meta strong {
	color: #07111f;
	font-size: 1.05rem;
	font-weight: 950;
}

.ios-safe-group-nav__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ios-safe-group-nav__actions a:only-child {
	grid-column: 1 / -1;
}

.ios-safe-group-tabs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 8px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ios-safe-group-tabs::-webkit-scrollbar {
	display: none;
}

.ios-safe-group-tab {
	flex: 0 0 auto;
	min-width: 104px;
	padding: 10px 12px;
	border: 1px solid rgba(37, 99, 235, 0.12);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.82);
	color: #2563eb;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ios-safe-group-tab span,
.ios-safe-group-tab strong {
	display: block;
}

.ios-safe-group-tab span {
	font-size: 0.78rem;
	font-weight: 950;
}

.ios-safe-group-tab strong {
	margin-top: 2px;
	color: #07111f;
	font-size: 0.9rem;
	font-weight: 950;
}

.ios-safe-group-tab.is-active {
	border-color: rgba(37, 99, 235, 0.34);
	background: linear-gradient(135deg, rgba(219, 234, 254, 0.95), rgba(255, 255, 255, 0.98));
	box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}

.ios-safe-group-tab.is-complete {
	border-color: rgba(13, 148, 136, 0.22);
	color: #0f766e;
}

.play-mobile-group-nav {
	gap: 12px;
}

.play-mobile-group-tabs {
	margin: 0;
	padding: 2px 2px 8px;
}

.play-filter-group-tabs {
	margin: 16px 0 18px;
}

.play-mobile-group-tab.mobile-group-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 44px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border-radius: 999px;
	text-decoration: none;
}

.play-mobile-group-tab span {
	line-height: 1;
}

.play-mobile-group-tab.is-complete::after {
	content: "";
	position: absolute;
	right: 3px;
	bottom: 3px;
	width: 9px;
	height: 9px;
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	background: #0d9488;
	box-shadow: 0 6px 14px rgba(13, 148, 136, 0.2);
}

.play-mobile-group-tab.is-active.is-complete::after {
	border-color: rgba(255, 255, 255, 0.72);
	background: #ffffff;
}

@media (max-width: 767px) {
	.play-page .prediction-select-shell {
		min-height: 52px;
	}
}

@media (max-width: 390px) {
	.play-page .prediction-select-shell {
		min-height: 38px;
	}
}

@media (max-width: 360px) {
	.play-page .prediction-select-shell {
		min-height: 36px;
	}
}

.prediction-segment {
	flex: 0 0 auto;
	height: 52px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid rgba(37, 99, 235, 0.1);
	background: linear-gradient(135deg, rgba(219, 234, 254, 0.6), rgba(255, 255, 255, 0.92));
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
	font-weight: 900;
	color: #2563eb;
	transition:
		transform 0.16s ease,
		box-shadow 0.16s ease,
		background 0.16s ease,
		color 0.16s ease;
}

.prediction-segment:active {
	transform: scale(0.98);
}

.prediction-segment.active,
.prediction-segment.is-active {
	background: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
}

.segment-label {
	font-size: 14px;
	font-weight: 900;
	white-space: nowrap;
}

.prediction-segment.active .segment-label,
.prediction-segment.is-active .segment-label {
	color: #ffffff;
}

.segment-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 9px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 950;
	background: rgba(37, 99, 235, 0.12);
	color: inherit;
	white-space: nowrap;
}

.prediction-filter-empty {
	margin-top: 10px;
	margin-bottom: 18px;
	padding: 18px 18px 16px;
	border-radius: 24px;
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.12), transparent 36%),
		rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(24, 199, 216, 0.18);
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.prediction-filter-empty__title {
	font-size: 1rem;
	font-weight: 900;
	color: #07111f;
}

.prediction-filter-empty__copy {
	font-size: 0.93rem;
	line-height: 1.45;
	color: #66758c;
}

.prediction-filter-empty__action {
	margin-top: 14px;
}

.prediction-segment.active .segment-value,
.prediction-segment.is-active .segment-value {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

@media (hover: hover) {
	.prediction-segment:hover {
		transform: translateY(-2px);
		box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
	}

	.prediction-segment.active:hover,
	.prediction-segment.is-active:hover {
		box-shadow: 0 18px 38px rgba(37, 99, 235, 0.24);
	}
}

.save-group-btn {
	height: 44px;
	border: 0;
	border-radius: 999px;
	padding: 0 20px;
	font-weight: 900;
	color: #ffffff;
	background: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
	box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2);
	transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.save-group-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 18px 44px rgba(37, 99, 235, 0.24);
}

.save-group-btn:disabled {
	background: rgba(7, 17, 31, 0.08);
	color: #94a3b8;
	box-shadow: none;
	cursor: not-allowed;
}

.predictions-panel .prediction-list {
	gap: 12px;
}

.predictions-panel .prediction-row-compact {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(7, 17, 31, 0.08);
	box-shadow: 0 14px 40px rgba(7, 17, 31, 0.06);
}

.predictions-panel .prediction-row-compact.is-dirty {
	border-color: rgba(24, 199, 216, 0.55);
	background:
		linear-gradient(135deg, rgba(24, 199, 216, 0.08), rgba(101, 87, 232, 0.06)),
		rgba(255, 255, 255, 0.94);
}

.predictions-panel .prediction-row-compact.is-saved {
	border-color: rgba(34, 197, 94, 0.2);
	box-shadow: 0 18px 48px rgba(16, 185, 129, 0.08);
}

.predictions-panel .prediction-row-compact.is-pending {
	box-shadow: 0 18px 48px rgba(245, 158, 11, 0.08);
}

.predictions-panel .prediction-row-compact.has-save-error {
	border-color: rgba(239, 68, 68, 0.42);
	background: linear-gradient(135deg, rgba(254, 226, 226, 0.9), rgba(255, 255, 255, 0.95));
}

.prediction-card__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.prediction-card__status-stack {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.predictions-panel .prediction-row-compact .match-time {
	font-size: 0.8rem;
	line-height: 1.2;
	color: var(--color-text-muted);
	font-weight: 700;
}

.prediction-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.prediction-match-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(132px, 168px) minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin-top: 2px;
}

.play-match-teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(132px, 168px) minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.prediction-team-side {
	min-width: 0;
}

.prediction-score-box {
	min-width: 132px;
	width: 100%;
	padding-inline: 10px;
}

.prediction-controls--result {
	padding-inline: 0;
}

.prediction-controls--score {
	flex-direction: column;
	gap: 6px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.prediction-controls--score .prediction-score-separator {
	padding: 0;
	font-size: 0.82rem;
	line-height: 1;
}

.prediction-native-save-form {
	align-items: stretch;
	width: min(100%, 360px);
}

.prediction-native-save-form.prediction-controls--result {
	flex-direction: column;
	gap: 8px;
}

.prediction-native-save-form.prediction-controls--score {
	width: min(100%, 220px);
}

.prediction-native-save-btn {
	width: 100%;
	justify-content: center;
}

.ios-safe-save-frame {
	position: absolute;
	width: 1px;
	height: 1px;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.prediction-select-shell {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 100%;
	min-width: 220px;
	min-height: 48px;
	border-radius: 18px;
	cursor: pointer;
	touch-action: manipulation;
	transition:
		transform 0.16s ease,
		box-shadow 0.16s ease,
		border-color 0.16s ease,
		background 0.16s ease;
}

.prediction-select-shell:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 34px rgba(37, 99, 235, 0.12);
}

.prediction-select-shell:focus-within {
	box-shadow: 0 0 0 4px rgba(24, 199, 216, 0.18);
}

.prediction-select-shell::after {
	content: "⌄";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-54%);
	font-size: 18px;
	font-weight: 900;
	color: #66758c;
	pointer-events: none;
	z-index: 4;
}

.prediction-score-input,
.prediction-result-select {
	border: 1px solid rgba(7, 17, 31, 0.12);
	background: transparent;
	color: #07111f;
	box-shadow: none;
}

.prediction-score-input {
	width: 52px;
	height: 52px;
	padding: 0;
	border-radius: 16px;
	text-align: center;
	font-size: 22px;
	font-weight: 800;
}

.prediction-score-input:focus,
.prediction-result-select:focus {
	outline: none;
	border-color: #18c7d8;
	box-shadow: 0 0 0 4px rgba(24, 199, 216, 0.18);
}

.prediction-score-input::-webkit-outer-spin-button,
.prediction-score-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.prediction-score-input {
	-moz-appearance: textfield;
}

.prediction-score-separator {
	font-weight: 800;
	font-size: 1rem;
	color: #66758c;
	padding: 0 4px;
}

.prediction-result-select {
	position: absolute;
	inset: 0;
	height: 100%;
	min-height: 100%;
	min-width: 0;
	width: 100%;
	z-index: 3;
	border-radius: 18px;
	padding: 0 44px 0 16px;
	font-weight: 900;
	background: rgba(255, 255, 255, 0.92);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	text-align: left;
	text-align-last: left;
}

.prediction-select-shell.has-value .prediction-result-select {
	border-color: rgba(24, 199, 216, 0.42);
	background:
		linear-gradient(135deg, rgba(24, 199, 216, 0.1), rgba(37, 99, 235, 0.08)),
		#ffffff;
	color: #07111f;
}

.prediction-select-shell.is-dirty .prediction-result-select {
	border-color: rgba(245, 158, 11, 0.45);
	box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.prediction-readonly {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 0 10px;
	border-radius: 14px;
	background: transparent;
	color: #334155;
	font-weight: 800;
	text-align: center;
}

.prediction-card__footerline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 14px;
	padding-top: 2px;
}

.prediction-inline-meta {
	font-size: 0.78rem;
	color: #66758c;
}

.prediction-summary-inline {
	font-size: 0.82rem;
	font-weight: 800;
	color: #07111f;
}

.prediction-status-badge,
.match-status-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 900;
	text-transform: none;
	letter-spacing: -0.02em;
	border: 1px solid transparent;
	box-shadow:
		0 10px 24px rgba(15, 23, 42, 0.08),
		inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.prediction-status-badge.is-dirty {
	background: rgba(245, 158, 11, 0.12);
	color: #b45309;
}

.prediction-status-badge.is-saved {
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(16, 185, 129, 0.14));
	color: #047857;
	border-color: rgba(16, 185, 129, 0.18);
}

.prediction-status-badge.is-locked {
	background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(203, 213, 225, 0.14));
	color: #475569;
	border-color: rgba(148, 163, 184, 0.18);
}

.prediction-status-badge.is-finished {
	background: rgba(15, 23, 42, 0.08);
	color: #0f172a;
}

.prediction-status-badge.is-live {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(24, 199, 216, 0.12));
	color: #2563eb;
	border-color: rgba(37, 99, 235, 0.16);
}

.mobile-save-bar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 86px;
	z-index: 50;
	border-radius: 24px;
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.18), transparent 38%),
		rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(24, 199, 216, 0.22);
	box-shadow: 0 24px 72px rgba(37, 99, 235, 0.2);
	padding: 13px 14px;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.prediction-fat-save-button {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 52;
	height: 72px;
	min-width: 248px;
	padding: 0 30px;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 999px;
	background: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
	color: #ffffff;
	font-weight: 900;
	font-size: 1.08rem;
	letter-spacing: -0.01em;
	box-shadow:
		0 26px 70px rgba(37, 99, 235, 0.34),
		0 0 0 8px rgba(24, 199, 216, 0.12);
	transform-origin: center;
	animation: prediction-save-pulse 2.1s ease-in-out infinite;
}

.prediction-fat-save-button:hover:not(:disabled) {
	transform: translateY(-2px) scale(1.02);
	box-shadow:
		0 30px 78px rgba(37, 99, 235, 0.4),
		0 0 0 10px rgba(24, 199, 216, 0.16);
}

.prediction-fat-save-button:disabled {
	animation: none;
	box-shadow: none;
}

@keyframes prediction-save-pulse {
	0%, 100% {
		transform: translateY(0) scale(1);
		box-shadow:
			0 26px 70px rgba(37, 99, 235, 0.34),
			0 0 0 8px rgba(24, 199, 216, 0.12);
	}
	50% {
		transform: translateY(-1px) scale(1.015);
		box-shadow:
			0 30px 76px rgba(37, 99, 235, 0.38),
			0 0 0 12px rgba(24, 199, 216, 0.14);
	}
}

.prediction-save-toast {
	position: fixed;
	left: 50%;
	bottom: 112px;
	transform: translateX(-50%);
	z-index: 60;
	padding: 12px 18px;
	border-radius: 999px;
	font-weight: 800;
	background: rgba(15, 23, 42, 0.92);
	color: #ffffff;
	box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22);
}

.prediction-save-toast.is-success {
	background: rgba(4, 120, 87, 0.96);
}

.prediction-save-toast.is-error {
	background: rgba(185, 28, 28, 0.96);
}

.prediction-favorites-card {
	margin-top: 18px;
	padding: 18px;
	border-radius: 24px;
	border: 1px solid rgba(24, 199, 216, 0.2);
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.08), transparent 32%),
		rgba(255, 255, 255, 0.9);
}

.prediction-favorites-card.is-locked {
	opacity: 0.92;
}

.prediction-favorites-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.prediction-favorites-card__body {
	margin-top: 12px;
	display: grid;
	gap: 8px;
	color: #64748b;
}

.mobile-save-bar__copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 0.86rem;
	color: #334155;
	font-weight: 700;
}

.prediction-saved strong {
	color: var(--color-text);
}

.prediction-saved-chip,
.prediction-locked-chip,
.user-prediction-chip,
.finished-result-chip,
.points-earned-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 11px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 800;
}

.prediction-saved-chip,
.user-prediction-chip {
	background: rgba(37, 99, 235, 0.08);
	color: var(--color-primary);
}

.prediction-locked-chip,
.finished-result-chip {
	background: rgba(100, 116, 139, 0.12);
	color: var(--color-text);
}

.points-earned-chip {
	background: rgba(139, 92, 246, 0.12);
	color: var(--color-accent);
}

.live-matches-panel {
	border: 1px solid rgba(34, 197, 94, 0.16);
}

.live-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(34, 197, 94, 0.12);
	color: #16a34a;
}

.live-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
	animation: livePulse 1.6s infinite;
}

.live-score {
	min-width: 60px;
	padding-inline: 10px;
	background: rgba(34, 197, 94, 0.08);
	color: #166534;
	font-weight: 900;
}

.results-points-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.premium-progress {
	height: 12px;
	margin: 18px 0 14px;
	border-radius: 999px;
	background: rgba(226, 232, 240, 0.92);
}

.premium-progress .progress-bar {
	background: var(--gradient-primary);
	border-radius: inherit;
}

.leaderboard-list,
.activity-feed-list,
.prize-mini-table {
	display: grid;
	gap: 10px;
}

.leaderboard-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 16px;
	background: rgba(248, 250, 252, 0.72);
}

.user-name,
.leaderboard-points {
	white-space: nowrap;
}

.leaderboard-row-current-user {
	border-color: rgba(37, 99, 235, 0.28);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(0, 229, 255, 0.08));
}

.participant-link-row {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.participant-link-row--inline {
	display: grid;
	gap: 4px;
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

.leaderboard-current-user .leaderboard-position {
	background: var(--gradient-primary);
	color: #ffffff;
	box-shadow: var(--shadow-glow);
}

.leaderboard-position {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: #ffffff;
	color: var(--color-primary);
	font-family: var(--font-display);
	font-weight: 800;
}

.activity-feed-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	border-radius: 16px;
	background: rgba(248, 250, 252, 0.72);
}

.activity-feed-item p,
.activity-feed-empty p,
.symbolic-prize-card p {
	margin: 0;
	color: var(--color-text-muted);
}

.activity-feed-empty {
	display: grid;
	place-items: center;
	min-height: 160px;
	gap: 10px;
	text-align: center;
	color: var(--color-text-muted);
}

.activity-feed-empty i {
	font-size: 2rem;
	color: var(--color-primary);
}

.play-empty-state {
	box-shadow: none;
	background: rgba(248, 250, 252, 0.74);
}

.play-empty-state.home-join-card {
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(0, 229, 255, 0.1) 58%, rgba(139, 92, 246, 0.09)),
		rgba(255, 255, 255, 0.9);
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.play-empty-state h3 {
	margin-bottom: 6px;
}

.symbolic-prize-card h2 {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--color-text);
}

.distribution-type-badge {
	display: inline-flex;
	width: fit-content;
	margin: 14px 0;
	padding: 7px 11px;
	border-radius: 999px;
	background: rgba(139, 92, 246, 0.1);
	color: var(--color-accent);
	font-size: 0.78rem;
	font-weight: 800;
}

.prize-mini-table div {
	display: grid;
	grid-template-columns: minmax(56px, 0.8fr) minmax(70px, 0.7fr) minmax(80px, 1fr);
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.16);
	color: var(--color-text-muted);
}

.prize-row {
	display: grid;
	grid-template-columns: minmax(56px, 0.8fr) minmax(70px, 0.7fr) minmax(80px, 1fr);
	gap: 8px;
}

.prize-mini-table strong {
	color: var(--color-text);
}

.score-rules-table-wrap {
	overflow-x: auto;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.78);
}

.score-rules-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 620px;
}

.score-rules-table th,
.score-rules-table td {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
	text-align: left;
}

.score-rules-table th {
	color: var(--color-text-muted);
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
}

.score-rules-table td {
	color: var(--color-text);
	font-weight: 700;
	background: rgba(248, 250, 252, 0.6);
}

.score-rules-table tbody tr:last-child td {
	border-bottom: none;
}

.score-rules-cards-mobile {
	display: none;
}

.score-rule-card {
	padding: 0.9rem 1rem;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 18px;
	background: rgba(248, 250, 252, 0.72);
}

.score-rule-card__title {
	display: block;
	margin-bottom: 0.7rem;
	font-family: var(--font-display);
}

.score-rule-card__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.45rem 0.8rem;
	color: var(--color-text-muted);
}

.score-rule-card__grid strong {
	color: var(--color-text);
}

@keyframes livePulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
	70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.site-footer {
	background: rgba(255, 255, 255, 0.58);
	border-top: 1px solid rgba(226, 232, 240, 0.72);
	backdrop-filter: blur(14px);
}

.site-footer__inner {
	align-items: center;
}

.site-footer__action {
	flex: 0 0 auto;
}

.site-footer__action.pwa-install-btn {
	min-height: 42px;
	padding: 0 18px;
	font-size: 0.95rem;
	box-shadow: 0 10px 26px rgba(37, 99, 235, 0.16);
}

.cookie-consent {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1200;
	width: min(460px, calc(100vw - 32px));
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px;
	padding: 18px 18px 16px;
	border-radius: 22px;
	background:
		radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.08), transparent 34%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
	border: 1px solid rgba(37, 99, 235, 0.12);
	box-shadow:
		0 24px 70px rgba(15, 23, 42, 0.14),
		0 0 0 1px rgba(255, 255, 255, 0.72) inset;
	backdrop-filter: blur(18px);
	opacity: 0;
	transform: translateY(14px) scale(0.98);
	transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.cookie-consent[hidden] {
	display: none;
}

.cookie-consent.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.cookie-consent.is-hiding {
	opacity: 0;
	transform: translateY(10px) scale(0.98);
	pointer-events: none;
}

.cookie-consent__orb {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background:
		radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.82), transparent 22%),
		linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(24, 199, 216, 0.82));
	box-shadow:
		0 14px 34px rgba(37, 99, 235, 0.2),
		0 0 0 1px rgba(255, 255, 255, 0.42) inset;
	position: relative;
}

.cookie-consent__orb::before {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	left: 14px;
	top: 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow:
		12px 5px 0 rgba(255, 255, 255, 0.64),
		4px 17px 0 rgba(255, 255, 255, 0.72);
}

.cookie-consent__orb::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
}

.cookie-consent__content {
	min-width: 0;
}

.cookie-consent__eyebrow {
	margin: 0 0 4px;
	color: var(--color-primary);
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cookie-consent__title {
	margin: 0;
	color: var(--color-text-main);
	font-family: var(--font-display);
	font-size: 1.18rem;
	font-weight: 950;
	letter-spacing: 0;
}

.cookie-consent__copy,
.cookie-consent__legal {
	margin: 8px 0 0;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.35;
}

.cookie-consent__legal {
	font-size: 0.78rem;
	opacity: 0.82;
}

.cookie-consent__actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 2px;
}

.cookie-consent__accept,
.cookie-consent__reject,
.cookie-consent__link {
	min-height: 42px;
	border-radius: 8px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	font-weight: 900;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cookie-consent__accept {
	background: var(--gradient-primary);
	color: #ffffff;
	box-shadow: 0 14px 32px rgba(37, 99, 235, 0.18);
}

.cookie-consent__reject {
	background: rgba(37, 99, 235, 0.06);
	color: var(--color-text);
	border: 1px solid rgba(148, 163, 184, 0.16);
}

.cookie-consent__link {
	color: var(--color-primary);
	padding-inline: 6px;
}

.cookie-consent__accept:hover,
.cookie-consent__reject:hover,
.cookie-consent__link:hover,
.cookie-consent__accept:focus-visible,
.cookie-consent__reject:focus-visible,
.cookie-consent__link:focus-visible {
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.cookie-consent {
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		width: auto;
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 16px;
		border-radius: 24px;
	}

	.cookie-consent__orb {
		display: none;
	}

	.cookie-consent__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.cookie-consent__accept,
	.cookie-consent__reject,
	.cookie-consent__link {
		width: 100%;
		min-height: 44px;
	}
}

.pwa-install-btn {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	border: 0;
	padding: 10px 16px;
	font-weight: 900;
	background: linear-gradient(135deg, #2563eb, #18c7d8, #6557e8);
	color: #fff;
	box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
	transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.pwa-install-btn:hover,
.pwa-install-btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 18px 42px rgba(37, 99, 235, 0.28);
	color: #fff;
}

.pwa-install-btn--surface {
	min-height: 48px;
	padding-inline: 18px;
}

body.pwa-install-available [data-pwa-install-surface],
body.pwa-install-help-available [data-pwa-install-surface] {
	display: inline-flex;
}

body.pwa-installed [data-pwa-install-surface],
body.pwa-installed .pwa-install-menu-item {
	display: none !important;
}

.pwa-install-modal__content {
	border: 1px solid rgba(24, 199, 216, 0.2);
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(24, 199, 216, 0.12), transparent 34%),
		rgba(255, 255, 255, 0.98);
	box-shadow: 0 28px 80px rgba(37, 99, 235, 0.14);
}

.pwa-install-modal__title {
	font-size: clamp(1.8rem, 5vw, 2.4rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
	font-weight: 950;
	color: #07111f;
}

.pwa-install-modal__copy {
	margin-bottom: 16px;
	font-size: 0.98rem;
	font-weight: 700;
	color: #66758c;
}

.pwa-install-modal__steps {
	display: grid;
	gap: 12px;
}

.pwa-install-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	padding: 14px 16px;
	border-radius: 18px;
	background: rgba(248, 250, 252, 0.82);
	border: 1px solid rgba(148, 163, 184, 0.16);
}

.pwa-install-step__index {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(24, 199, 216, 0.16));
	color: #2563eb;
	font-weight: 900;
}

.pwa-install-step p {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.35;
}

@media (max-width: 992px) {
	.home-activation-grid,
	.activation-stepper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-world-status {
		grid-template-columns: 1fr;
	}

	.home-world-status__actions {
		flex-direction: row;
		min-width: 0;
	}

	.home-world-status__actions .btn-primary-gradient,
	.home-world-status__actions .btn-secondary-soft {
		width: auto;
	}

	.futuristic-football-orb {
		width: min(64vw, 240px);
		justify-self: center;
	}

	.home-status-alert {
		align-items: flex-start;
		flex-direction: column;
	}

	.home-pool-preview-list {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.play-hero__actions {
		width: 100%;
	}

	.play-empty-layout,
	.play-main-layout {
		grid-template-columns: 1fr;
	}

	.prediction-group-header {
		flex-direction: column;
	}

	.prediction-group-header__actions {
		width: 100%;
		align-items: stretch;
	}

	.save-group-btn--header {
		width: 100%;
	}
}

@media (max-width: 1024px) {
	.play-page .play-main-layout.play-main-layout--single {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		align-items: stretch;
	}

	.play-page .play-main-layout--single > .play-main-column,
	.play-page .play-main-layout--single .play-panel,
	.play-page .play-main-layout--single .predictions-panel,
	.play-page .play-main-layout--single .prediction-list,
	.play-page .play-main-layout--single .prediction-match-card {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		align-self: stretch;
	}
}

@media (max-width: 768px) {
	.play-page {
		padding: 1rem 0.65rem 6rem;
		max-width: 100%;
		overflow-x: hidden;
	}

	.play-page .page-container {
		width: 100%;
		margin: 0;
	}

	.play-page * {
		min-width: 0;
	}

	.play-hero {
		padding: 1rem;
		border-radius: 24px;
	}

	.play-hero h1 {
		font-size: clamp(1.75rem, 10vw, 2.65rem);
		line-height: 0.92;
		letter-spacing: -0.055em;
	}

	.play-hero p {
		font-size: 0.88rem;
		line-height: 1.32;
	}

	.play-hero-actions {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.play-hero-actions .btn {
		width: 100%;
		min-height: 44px;
	}

	.prediction-progress-strip {
		display: none;
	}

	.play-status-card__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.play-status-card__actions .btn-primary-gradient,
	.play-status-card__actions .btn-secondary-soft {
		width: 100%;
	}

	.ranking-live-mode .ranking-board {
		border-radius: 28px;
	}

	.ranking-live-mode .ranking-entry-card {
		border-radius: 22px;
	}

	.ranking-live-mode .live-disclaimer {
		white-space: normal;
		border-radius: 18px;
		line-height: 1.25;
	}

	.competition-metrics-grid {
		display: flex;
		overflow-x: auto;
		gap: 0.75rem;
		padding-bottom: 0.35rem;
		margin-inline: -0.1rem;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.competition-metrics-grid::-webkit-scrollbar {
		display: none;
	}

	.competition-metrics-grid .metric-card {
		min-width: 155px;
		padding: 1rem;
		border-radius: 22px;
		scroll-snap-align: start;
	}

	.metric-card .metric-value {
		font-size: 2.4rem;
		line-height: 1;
	}

	.metric-card .metric-value-compact {
		font-size: 1.15rem;
		line-height: 1.2;
	}

	.play-main-layout {
		display: flex;
		flex-direction: column;
		gap: 1.35rem;
		width: 100%;
		max-width: 100%;
		align-items: stretch;
	}

	.play-main-column,
	.play-panel,
	.predictions-panel,
	.live-matches-panel,
	.prediction-list,
	.prediction-match-card {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		align-self: stretch;
	}

	.live-panel { order: 1; }
	.predictions-panel { order: 1; }
	.progress-panel { order: 2; }

	.glass-card,
	.leaderboard-card,
	.activity-feed-card,
	.symbolic-prize-card,
	.round-progress-card {
		border-radius: 24px;
		padding: 1.05rem;
	}

	.play-section-title {
		font-size: 1.55rem;
		line-height: 1.05;
	}

	.eyebrow {
		font-size: 0.68rem;
		letter-spacing: 0.08em;
	}

	.prediction-match-card {
		padding: 1rem;
		border-radius: 22px;
	}

	.prediction-group-card {
		padding: 14px;
		border-radius: 20px;
	}

	.prediction-group-header {
		gap: 10px;
		margin-bottom: 14px;
	}

	.prediction-group-header__copy {
		gap: 4px;
	}

	.prediction-group-title {
		font-size: 1.6rem;
	}

	.prediction-group-title-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.prediction-group-progress,
	.prediction-group-complete {
		height: 34px;
		padding: 0 14px;
		font-size: 0.84rem;
	}

	.prediction-group-meta,
	.prediction-group-deadline,
	.prediction-group-dirty {
		font-size: 0.84rem;
		line-height: 1.25;
	}

	.prediction-card__topline {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.prediction-card__status-stack {
		justify-content: flex-start;
	}

	.prediction-match-row {
		display: none;
	}

	.predictions-panel .prediction-row-compact {
		padding: 14px;
		border-radius: 18px;
	}

	.predictions-panel .prediction-row-compact.match-card {
		gap: 12px;
		padding: 14px;
	}

	.prediction-match-card .match-card-header {
		flex-direction: row;
		align-items: flex-start;
	}

	.prediction-match-card .match-meta {
		max-width: calc(100% - 96px);
		font-size: 0.74rem;
	}

	.prediction-match-card .match-status-chip {
		height: 28px;
		min-height: 28px;
		padding: 0 10px;
		font-size: 11px;
	}

	.prediction-match-card .match-hero {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 14px 12px;
		text-align: center;
	}

	.prediction-match-card .match-team,
	.prediction-match-card .match-team--away {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 8px;
	}

	.prediction-match-card .match-team--away .match-team-flag {
		order: 0;
	}

	.prediction-match-card .match-team-name {
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
		font-size: 1.2rem;
	}

	.prediction-match-card .match-team-flag {
		width: 58px;
		height: 58px;
	}

	.prediction-match-card .match-vs {
		justify-self: center;
		width: 54px;
		min-width: 54px;
		height: 36px;
	}

	.prediction-match-card .match-prediction-area {
		text-align: left;
	}

	.prediction-match-card .match-prediction-select {
		width: 100%;
	}

	.prediction-score-input {
		width: 46px;
		height: 46px;
		font-size: 20px;
	}

	.prediction-match-shell {
		grid-template-columns: minmax(0, 1fr) minmax(118px, 142px) minmax(0, 1fr);
		gap: 12px;
	}

	.play-match-teams {
		grid-template-columns: minmax(0, 1fr) minmax(118px, 142px) minmax(0, 1fr);
		gap: 12px;
	}

	.prediction-score-box {
		width: 100%;
		min-width: 118px;
	}

	.prediction-card__footerline {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.prediction-group-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.save-group-btn--header {
		display: none;
	}

	.save-group-btn--footer,
	.predictions-panel [data-reset-group-trigger] {
		width: 100%;
	}

	.mobile-save-bar {
		display: flex;
	}

	.prediction-fat-save-button {
		display: none !important;
	}

	.prediction-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.predictions-progress-inline {
		margin: 18px 0;
		padding: 16px;
		border-radius: 22px;
	}

	.predictions-progress-copy {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		margin-bottom: 12px;
	}

	.predictions-progress-copy strong {
		font-size: 16px;
	}

	.predictions-progress-copy span,
	.predictions-progress-dirty {
		font-size: 13px;
	}

	.prediction-segments {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		overflow-x: visible;
		padding-right: 2px;
	}

	.prediction-filters-wrapper {
		width: 100%;
	}

	.prediction-filters-wrapper::after {
		display: none;
	}

	.prediction-save-toast {
		left: 12px;
		right: 12px;
		bottom: 148px;
		transform: none;
		text-align: center;
		border-radius: 18px;
	}

	.prediction-favorites-card__header {
		flex-direction: column;
	}

	.results-points-stack {
		align-items: stretch;
	}

	.leaderboard-row {
		display: grid;
		grid-template-columns: auto 1fr auto;
		gap: 0.65rem;
		align-items: center;
		padding: 0.75rem;
		border-radius: 16px;
	}

	.user-name {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.leaderboard-points {
		font-weight: 900;
		white-space: nowrap;
	}

	.prize-table {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
	}

	.prize-row {
		grid-template-columns: auto 1fr auto;
		gap: 0.75rem;
		padding: 0.7rem 0.8rem;
		border-radius: 14px;
		background: rgba(248, 250, 252, 0.75);
	}

	.score-rules-table-desktop {
		display: none;
	}

	.score-rules-cards-mobile {
		display: flex;
		flex-direction: column;
		gap: 0.6rem;
	}

	img,
	svg,
	canvas {
		max-width: 100%;
	}

	.btn {
		white-space: normal;
	}

	.prediction-profile-modal {
		padding: 0;
	}

	.prediction-profile-modal .modal-dialog {
		margin: 0;
		min-height: 100%;
		align-items: flex-end;
	}

	.prediction-profile-modal .modal-content {
		border-radius: 28px 28px 0 0;
		min-height: 86vh;
	}

	.prediction-profile-modal__body {
		padding: 0 16px 20px;
	}

	.prediction-profile-header__identity {
		flex-direction: column;
		align-items: flex-start;
	}

	.prediction-profile-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.viewer-prediction-card,
	.prediction-profile-match {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 18px;
		border-radius: 22px;
	}

	.viewer-prediction-match,
	.prediction-profile-match h3 {
		font-size: 17px;
	}

	.viewer-prediction-pick {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.viewer-prediction-result {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.viewer-prediction-result__state {
		text-align: left;
	}

	.participant-profile-page__hero,
	.participant-profile-page__filters,
	.participant-profile-page__list {
		padding: 16px;
		border-radius: 24px;
	}

	.participant-profile-page__headline {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 510px) {
	.play-page {
		padding-inline: 0.55rem;
	}

	.prediction-card__topline {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 6px 10px;
	}

	.predictions-panel .prediction-row-compact .match-time {
		font-size: 0.74rem;
		line-height: 1.25;
	}

	.prediction-card__status-stack {
		gap: 6px;
		width: auto;
		flex: 0 0 auto;
	}

	.prediction-status-badge,
	.predictions-panel .status-badge {
		min-height: 42px;
		padding-inline: 20px;
		font-size: 15px;
	}

	.prediction-match-shell {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.play-match-teams {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.prediction-match-shell .team-side-away {
		flex-direction: row-reverse;
		justify-content: flex-start;
		text-align: left;
	}

	.play-match-teams .team-side-away {
		flex-direction: row;
		justify-content: flex-start;
		text-align: left;
	}

	.prediction-match-shell .team-side,
	.prediction-match-shell .team-side-away {
		min-height: 32px;
	}

	.prediction-score-box {
		min-width: 0;
		width: 100%;
		min-height: 42px;
		padding-inline: 8px;
		border-radius: 16px;
	}

	.prediction-team-side .match-team-name,
	.prediction-match-shell .match-team-name {
		white-space: normal;
		overflow: visible;
		text-overflow: initial;
		line-height: 1.15;
	}

	.prediction-group-title {
		font-size: 1.45rem;
	}

	.prediction-group-progress,
	.prediction-group-complete {
		height: 32px;
		padding-inline: 12px;
		font-size: 0.8rem;
	}

	.prediction-select-shell {
		min-width: 0;
	}

	.prediction-result-select,
	.prediction-readonly {
		height: 42px;
		padding-inline: 10px;
		font-size: 0.98rem;
	}
}

@media (max-width: 442px) {
	.play-page {
		padding-inline: 0.45rem;
	}

	.predictions-panel .prediction-row-compact {
		padding: 11px;
	}

	.prediction-group-card {
		padding: 12px;
	}

	.prediction-group-title {
		font-size: 1.32rem;
	}

	.prediction-group-meta,
	.prediction-group-deadline,
	.prediction-group-dirty {
		font-size: 0.79rem;
	}

	.prediction-match-shell .team-flag,
	.prediction-match-shell .team-flag-fallback {
		width: 28px;
		height: 28px;
		min-width: 28px;
	}

	.prediction-match-shell .match-team strong {
		font-size: 0.84rem;
	}

	.prediction-match-shell .match-team-name {
		font-size: 0.7rem;
	}

	.predictions-panel .prediction-row-compact .match-time {
		font-size: 0.68rem;
	}

	.prediction-match-shell {
		gap: 7px;
	}

	.play-match-teams {
		gap: 7px;
	}

	.prediction-score-box {
		min-width: 0;
		padding-inline: 8px;
	}

	.prediction-score-input {
		width: 40px;
		height: 40px;
		font-size: 17px;
	}

	.prediction-segment {
		height: 54px;
		padding: 0 18px;
		width: 100%;
		justify-content: center;
	}

	.segment-label {
		font-size: 16px;
	}

	.segment-value {
		font-size: 14px;
	}

	.mobile-save-bar {
		left: 8px;
		right: 8px;
		bottom: 82px;
		padding: 11px;
		border-radius: 18px;
	}
}

@media (max-width: 360px) {
	.play-page {
		padding-inline: 0.35rem;
	}

	.glass-card,
	.leaderboard-card,
	.activity-feed-card,
	.symbolic-prize-card,
	.round-progress-card {
		padding: 0.9rem;
		border-radius: 20px;
	}

	.prediction-group-card,
	.predictions-panel .prediction-row-compact {
		border-radius: 16px;
	}

	.prediction-group-title {
		font-size: 1.22rem;
	}

	.prediction-group-progress,
	.prediction-group-complete {
		height: 30px;
		padding-inline: 10px;
		font-size: 0.76rem;
	}

	.prediction-status-badge,
	.predictions-panel .status-badge {
		min-height: 40px;
		font-size: 14px;
		padding-inline: 16px;
	}

	.prediction-match-shell .team-flag,
	.prediction-match-shell .team-flag-fallback {
		width: 26px;
		height: 26px;
		min-width: 26px;
	}

	.prediction-match-shell .match-team strong {
		font-size: 0.8rem;
	}

	.prediction-match-shell .match-team-name,
	.prediction-group-meta,
	.prediction-group-deadline,
	.prediction-group-dirty,
	.predictions-panel .prediction-row-compact .match-time {
		font-size: 0.68rem;
	}

	.prediction-card__topline {
		gap: 5px 8px;
	}

	.prediction-result-select,
	.prediction-readonly {
		height: 40px;
		font-size: 0.88rem;
		padding-inline: 8px;
	}

	.play-page .prediction-row-compact {
		padding: 10px;
	}

	.play-page .play-match-teams {
		gap: 6px;
	}

	.play-page .play-match-teams .team-side,
	.play-page .play-match-teams .team-side-away {
		gap: 7px;
	}

	.play-page .prediction-result-select,
	.play-page .prediction-readonly {
		padding-right: 28px;
		font-size: 0.84rem;
	}

	.prediction-card__footerline {
		gap: 4px;
	}

	.mobile-save-bar__copy {
		font-size: 0.76rem;
	}

	.mobile-save-bar .save-group-btn {
		padding-inline: 17px;
		font-size: 0.94rem;
	}
}

@media (min-width: 769px) {
	.score-rules-cards-mobile {
		display: none;
	}
}

@media (max-width: 576px) {
	.home-activation-grid,
	.activation-stepper {
		grid-template-columns: 1fr;
	}

	.home-world-status {
		padding: 18px;
		border-radius: 24px;
	}

	.home-world-status__metrics,
	.home-pool-preview-list--competitive {
		grid-template-columns: 1fr;
	}

	.home-world-status__actions {
		flex-direction: column;
	}

	.home-world-status__actions .btn-primary-gradient,
	.home-world-status__actions .btn-secondary-soft {
		width: 100%;
	}

	.futuristic-football-orb {
		width: min(58vw, 180px);
		margin: 1rem auto 0;
	}

	.activation-card,
	.home-context-card,
	.home-status-alert {
		border-radius: 22px;
		padding: 20px;
	}

	.activation-card {
		min-height: auto;
	}

	.competition-metrics-grid,
	.prediction-card__teams {
		grid-template-columns: 1fr;
	}

	.team-side-away {
		flex-direction: row;
	}
}

@media (max-width: 390px) {
	.ranking-insights-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ranking-entry-card {
		padding: 16px;
	}

	.ranking-entry-position,
	.ranking-entry-points {
		font-size: 36px;
	}

	.ranking-entry-name {
		font-size: 21px;
	}

	.competition-metrics-grid .metric-card {
		min-width: 145px;
	}

	.play-hero {
		padding: 0.9rem;
	}

	.play-page {
		padding: 0.85rem 0.5rem 7.4rem;
	}

	.play-section-title {
		font-size: 1.4rem;
	}

	.mobile-teams-row {
		gap: 0.45rem;
	}

	.play-page .prediction-list {
		gap: 10px;
	}

	.play-page .prediction-row-compact {
		padding: 10px;
		border-radius: 16px;
	}

	.play-page .prediction-card__topline {
		gap: 5px;
	}

	.play-page .prediction-row-compact .match-time,
	.play-page .prediction-inline-meta,
	.play-page .prediction-summary-inline {
		font-size: 0.74rem;
		line-height: 1.22;
	}

	.play-page .prediction-card__status-stack {
		gap: 5px;
	}

	.play-page .prediction-status-badge,
	.play-page .predictions-panel .status-badge {
		height: 42px;
		padding-inline: 20px;
		font-size: 15px;
	}

	.play-page .play-match-teams {
		gap: 6px;
	}

	.play-page .play-match-teams .team-side,
	.play-page .play-match-teams .team-side-away {
		gap: 6px;
	}

	.play-page .play-match-teams .team-flag,
	.play-page .play-match-teams .team-flag-fallback {
		width: 26px;
		height: 26px;
		min-width: 26px;
	}

	.play-page .play-match-teams .match-team strong {
		font-size: 0.8rem;
	}

	.play-page .play-match-teams .match-team-name {
		font-size: 0.7rem;
		line-height: 1.12;
	}

	.play-page .prediction-result-select,
	.play-page .prediction-readonly {
		height: 40px;
		padding-inline: 10px 28px;
		font-size: 0.86rem;
	}

	.play-page .prediction-card__footerline {
		gap: 3px;
	}

	.play-page .mobile-save-bar {
		left: 8px;
		right: 8px;
		bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 6px);
		padding: 9px 10px;
	}
}

@media (max-width: 575.98px) {
	.play-page .play-main-column,
	.play-page .predictions-panel,
	.play-page .prediction-toolbar,
	.play-page .prediction-toolbar__meta,
	.play-page .prediction-filters-wrapper {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		align-self: stretch;
	}

	.play-page .prediction-row-compact {
		overflow: hidden;
	}

	.play-page .prediction-card__topline {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
		min-width: 0;
	}

	.play-page .prediction-card__status-stack {
		justify-content: flex-start;
		width: 100%;
		min-width: 0;
	}

	.play-page .prediction-row-compact .match-time {
		max-width: 100%;
		white-space: normal;
	}

	.play-page .prediction-match-shell {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		width: 100%;
	}

	.play-page .play-match-teams {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: visible;
	}

	.play-page .play-match-teams > .prediction-team-side,
	.play-page .play-match-teams > .prediction-score-box {
		grid-column: 1 / -1;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.play-page .prediction-match-shell .team-side,
	.play-page .prediction-match-shell .team-side-away {
		justify-content: flex-start;
		text-align: left;
		width: 100%;
	}

	.play-page .play-match-teams .team-side,
	.play-page .play-match-teams .team-side-away {
		justify-content: flex-start;
		text-align: left;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		gap: 8px;
	}

	.play-page .prediction-match-shell .team-side-away {
		flex-direction: row-reverse;
	}

	.play-page .play-match-teams .team-side-away {
		flex-direction: row;
		justify-content: flex-start;
	}

	.play-page .prediction-score-box {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		min-height: 42px;
		padding: 0 8px;
	}

	.play-page .prediction-select-shell {
		width: 100%;
		min-width: 0;
	}

	.play-page .play-match-teams .match-team {
		min-width: 0;
		max-width: 100%;
	}

	.play-page .play-match-teams .team-flag,
	.play-page .play-match-teams .team-flag-fallback {
		flex: 0 0 auto;
	}

	.play-page .play-match-teams .match-team-name {
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
		line-height: 1.15;
	}

	.play-page .prediction-result-select,
	.play-page .prediction-readonly {
		width: 100%;
		max-width: 100%;
		height: 52px;
		min-width: 0;
		padding-right: 32px;
		font-size: clamp(0.92rem, 4.3vw, 0.98rem);
		line-height: 1.1;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.play-page .prediction-controls--score {
		display: grid;
		grid-template-columns: 1fr;
		justify-items: center;
	}
}

@media (max-width: 1180px) {
	.ranking-card {
		grid-template-columns: minmax(300px, 1.5fr) minmax(86px, 0.5fr) minmax(120px, 0.66fr) minmax(96px, 0.52fr) minmax(66px, 0.38fr);
	}

	.ranking-card > .ranking-stat:not(.ranking-stat-wide) {
		display: none;
	}

	.member-panel-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.ranking-insights-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.ranking-insight-card {
		min-height: 118px;
		padding: 16px;
		border-radius: 22px;
	}

	.ranking-insight-value {
		font-size: 28px;
	}

	.ranking-insight-text {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		font-size: 13px;
		line-height: 1.25;
	}

	.ranking-hero {
		padding: 18px 16px;
		border-radius: 24px;
	}

	.ranking-hero__lead {
		font-size: clamp(28px, 9.2vw, 38px);
		line-height: 0.92;
	}

	.ranking-hero__copy {
		font-size: 13px;
		line-height: 1.3;
	}

	.ranking-board {
		padding: 18px;
		border-radius: 26px;
	}

	.ranking-board__actions {
		width: 100%;
		justify-content: flex-start;
	}

	.ranking-mode-chips {
		max-width: 100%;
		overflow-x: auto;
	}

	.ranking-self-bar {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 14px;
		border-radius: 20px;
	}

	.ranking-self-main {
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.ranking-self-name {
		white-space: normal;
		line-height: 1.15;
	}

	.ranking-self-stats {
		font-size: 13px;
	}

	.ranking-self-gap {
		align-self: flex-start;
	}

	.ranking-board__story {
		font-size: 0.9rem;
		line-height: 1.4;
	}

	.ranking-list {
		gap: 10px;
	}

	.ranking-entry-card {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 16px;
		border-radius: 24px;
		min-height: auto;
		background:
			radial-gradient(circle at top left, rgba(24,199,216,.16), transparent 34%),
			linear-gradient(135deg, rgba(24,199,216,.08), rgba(255,255,255,.98));
	}

	.ranking-mobile-stack {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.ranking-card__identity,
	.ranking-points,
	.ranking-stat,
	.ranking-stat-wide,
	.ranking-gap,
	.ranking-movement {
		display: none;
	}

	.ranking-entry-top {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
	}

	.ranking-entry-position {
		font-size: 42px;
		line-height: 0.9;
		font-weight: 950;
		letter-spacing: -0.06em;
		color: #07111f;
	}

	.ranking-entry-position-label {
		font-size: 12px;
		font-weight: 900;
		text-transform: uppercase;
		color: #8a96a8;
		margin-top: 4px;
	}

	.ranking-entry-points-wrap {
		flex-shrink: 0;
		text-align: right;
	}

	.ranking-entry-points {
		font-size: 42px;
		line-height: 0.9;
		font-weight: 950;
		color: #2563eb;
	}

	.ranking-entry-points-label {
		font-size: 11px;
		font-weight: 900;
		text-transform: uppercase;
		color: #66758c;
		margin-top: 4px;
	}

	.ranking-entry-name {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		max-width: 100%;
		font-size: 17px;
		line-height: 1.05;
		font-weight: 950;
		color: #07111f;
		letter-spacing: -0.04em;
	}

	.ranking-entry-badges {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.ranking-entry-meta {
		display: block;
		margin-top: 0;
		font-size: 13px;
		line-height: 1.35;
		font-weight: 800;
		color: #66758c;
	}

	.ranking-entry-meta span {
		display: inline;
	}

	.ranking-entry-meta span + span::before {
		content: ' · ';
		color: #a8b2c2;
	}

	.ranking-impact-match {
		gap: 16px;
		padding: 18px;
		border-radius: 24px;
	}

	.ranking-impact-match__top,
	.ranking-impact-match__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.ranking-impact-match__top {
		font-size: 0.88rem;
	}

	.ranking-impact-match__teams {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ranking-impact-vs {
		justify-self: center;
		width: 56px;
		height: 42px;
		min-width: 56px;
		border-radius: 18px;
	}

	.ranking-impact-team-away {
		justify-content: flex-start;
		text-align: left;
	}

	.ranking-impact-team-away .ranking-impact-flag {
		order: -1;
	}

	.ranking-impact-action {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.futuristic-football-orb,
	.orb-lines {
		animation: none;
	}
}

@media (max-width: 390px) {
	.play-page {
		padding: 0.85rem 0.42rem calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 44px) !important;
	}

	.play-page .page-container {
		width: 100% !important;
		max-width: 100% !important;
	}

	.play-page .prediction-list {
		gap: 9px !important;
	}

	.play-page .predictions-panel .prediction-row-compact {
		padding: 10px !important;
		border-radius: 15px !important;
	}

	.play-page .prediction-card__topline {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 4px !important;
	}

	.play-page .prediction-card__status-stack {
		width: 100% !important;
		gap: 4px !important;
	}

	.play-page .prediction-row-compact .match-time,
	.play-page .prediction-inline-meta,
	.play-page .prediction-summary-inline {
		font-size: 0.72rem !important;
		line-height: 1.2 !important;
	}

	.play-page .prediction-status-badge,
	.play-page .predictions-panel .status-badge {
		height: 40px !important;
		padding: 0 16px !important;
		font-size: 14px !important;
	}

	.play-page .play-match-teams {
		gap: 6px !important;
	}

	.play-page .play-match-teams .team-side,
	.play-page .play-match-teams .team-side-away {
		gap: 6px !important;
	}

	.play-page .play-match-teams .team-flag,
	.play-page .play-match-teams .team-flag-fallback {
		width: 26px !important;
		height: 26px !important;
		min-width: 26px !important;
	}

	.play-page .play-match-teams .match-team strong {
		font-size: 0.78rem !important;
	}

	.play-page .play-match-teams .match-team-name {
		font-size: 0.68rem !important;
		line-height: 1.1 !important;
	}

	.play-page .prediction-result-select,
	.play-page .prediction-readonly {
		height: 38px !important;
		font-size: 0.82rem !important;
		padding: 0 26px 0 9px !important;
	}

	.play-page .prediction-card__footerline {
		gap: 3px !important;
	}

	.play-page .mobile-save-bar {
		left: 8px !important;
		right: 8px !important;
		bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 6px) !important;
		padding: 9px 10px !important;
	}
}

@media (max-width: 360px) {
	.play-page {
		padding-inline: 0.32rem !important;
	}

	.play-page .predictions-panel .prediction-row-compact {
		padding: 9px !important;
	}

	.play-page .prediction-row-compact .match-time,
	.play-page .prediction-inline-meta,
	.play-page .prediction-summary-inline,
	.play-page .play-match-teams .match-team-name {
		font-size: 0.66rem !important;
	}

	.play-page .prediction-result-select,
	.play-page .prediction-readonly {
		height: 36px !important;
		font-size: 0.78rem !important;
	}
}

/* Prediction match cards v3: sports row with score controls inside the matchup. */
.play-page .predictions-panel .prediction-row-compact.match-card,
.play-page .prediction-match-card {
	gap: 10px;
	padding: 12px 14px;
	border-radius: 20px;
}

.play-page .prediction-match-card .match-card-header {
	align-items: center;
	gap: 10px;
}

.play-page .prediction-match-card .prediction-card__status-stack {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.play-page .prediction-match-card .match-status-chip {
	height: 28px !important;
	min-height: 28px !important;
	padding: 0 10px !important;
	font-size: 11px !important;
	line-height: 1;
}

.play-page .prediction-match-card .match-deadline-chip {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 9px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 999px;
	color: #66758c;
	background: rgba(255, 255, 255, 0.58);
	font-size: 0.74rem;
	font-weight: 850;
	white-space: nowrap;
}

.play-page .prediction-match-card .match-meta {
	justify-content: flex-end;
	font-size: 0.76rem;
	white-space: nowrap;
}

.play-page .prediction-match-card .match-hero {
	grid-template-columns: minmax(0, 1fr) minmax(132px, auto) minmax(0, 1fr);
	gap: 12px;
	padding: 10px;
	border-radius: 18px;
}

.play-page .prediction-match-card .match-team {
	gap: 10px;
}

.play-page .prediction-match-card .match-team-name {
	font-size: clamp(0.96rem, 1.5vw, 1.08rem);
	letter-spacing: -0.025em;
}

.play-page .prediction-match-card .match-team-code {
	font-size: 0.68rem;
}

.play-page .prediction-match-card .match-team-flag {
	width: 38px;
	height: 38px;
	min-width: 38px;
}

.play-page .prediction-match-card .match-score-control {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.play-page .prediction-match-card .match-score-control .prediction-score-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	gap: 7px;
}

.play-page .prediction-match-card .match-score-control .prediction-controls--score {
	flex-direction: row;
}

.play-page .prediction-match-card .match-score-control .prediction-score-input {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	font-size: 1.18rem;
	font-weight: 900;
}

.play-page .prediction-match-card .match-score-control .prediction-score-separator {
	padding: 0;
	color: #94a3b8;
	font-size: 1.05rem;
	font-weight: 950;
}

.play-page .prediction-match-card .match-score-control .prediction-select-shell {
	width: min(100%, 190px);
	min-width: 150px;
	min-height: 46px;
}

.play-page .prediction-match-card .match-score-control .prediction-result-select,
.play-page .prediction-match-card .match-score-control .prediction-readonly {
	height: 46px;
	border-radius: 14px;
	font-size: 0.86rem;
	font-weight: 900;
}

.play-page .prediction-match-card .match-score-control .prediction-readonly {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 96px;
	padding: 0 14px;
}

.play-page .prediction-match-card .match-score-control .prediction-native-save-form {
	width: auto;
}

.play-page .prediction-match-card .match-score-control .prediction-native-save-form.prediction-controls--result {
	display: grid;
	grid-template-columns: minmax(145px, 1fr) auto;
	align-items: center;
	gap: 8px;
}

.play-page .prediction-match-card .match-score-control .prediction-native-save-btn {
	width: auto;
	min-height: 38px;
	padding-inline: 12px;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.play-page .prediction-match-card .match-hero {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
		gap: 8px;
		padding: 9px;
	}

	.play-page .prediction-match-card .match-card-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.play-page .prediction-match-card .match-meta {
		justify-content: flex-start;
	}

	.play-page .prediction-match-card .match-team,
	.play-page .prediction-match-card .match-team--away {
		flex-direction: column !important;
		justify-content: center !important;
		text-align: center !important;
		gap: 6px;
	}

	.play-page .prediction-match-card .match-team--away .match-team-flag {
		order: 0 !important;
	}

	.play-page .prediction-match-card .match-team-name {
		display: -webkit-box;
		font-size: 0.9rem !important;
		line-height: 1.05 !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: normal !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.play-page .prediction-match-card .match-team-flag {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
	}

	.play-page .prediction-match-card .match-score-control .prediction-score-input {
		width: 42px;
		height: 42px;
	}

	.play-page .prediction-match-card .match-score-control .prediction-select-shell {
		min-width: 118px;
		width: 128px;
	}

	.play-page .prediction-match-card .match-score-control .prediction-native-save-form.prediction-controls--result {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.play-page .prediction-match-card {
		padding: 10px;
	}

	.play-page .prediction-match-card .match-hero {
		grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr) !important;
	}

	.play-page .prediction-match-card .match-team-code {
		display: none;
	}

	.play-page .prediction-match-card .match-score-control .prediction-score-input {
		width: 38px;
		height: 38px;
		border-radius: 12px;
		font-size: 1rem;
	}

	.play-page .prediction-match-card .match-score-control .prediction-score-separator {
		font-size: 0.92rem;
	}
}

.admin-leagues-page {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 32px 0 112px;
}

.admin-hero {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: flex-end;
	padding: 28px;
	border: 1px solid rgba(244, 216, 128, 0.18);
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(20, 25, 38, 0.92), rgba(11, 17, 29, 0.96));
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.admin-hero .section-title {
	color: #f7fbff;
}

.admin-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.admin-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted-text);
	font-weight: 700;
	text-decoration: none;
	margin-bottom: 12px;
}

.admin-back-link:hover {
	color: var(--accent-gold);
}

.admin-kpi-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin: 18px 0;
}

.admin-kpi {
	min-height: 154px;
}

.admin-kpi.is-live {
	border-color: rgba(68, 220, 145, 0.42);
}

.admin-filter-bar,
.admin-league-table,
.admin-detail-panel {
	border-radius: 8px;
}

.admin-filter-form {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) 160px 190px auto auto auto;
	gap: 10px;
	align-items: center;
}

.admin-search {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	min-height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--muted-text);
}

.admin-search input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	font-weight: 700;
}

.admin-check-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted-text);
	font-weight: 700;
	white-space: nowrap;
}

.admin-table-header {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	margin-bottom: 18px;
}

.admin-table-header h2 {
	margin: 0;
	color: var(--text);
	font-size: 1.35rem;
}

.admin-league-list {
	display: grid;
	gap: 12px;
}

.admin-league-row {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.55fr) minmax(220px, 0.5fr);
	gap: 16px;
	align-items: center;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.045);
}

.admin-league-main {
	display: flex;
	gap: 14px;
	min-width: 0;
}

.admin-league-avatar {
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: rgba(244, 216, 128, 0.12);
	border: 1px solid rgba(244, 216, 128, 0.24);
	color: var(--accent-gold);
	font-family: var(--font-display);
	font-weight: 800;
}

.admin-league-title-line {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.admin-league-title-line h3 {
	margin: 0;
	font-size: 1.05rem;
	color: var(--text);
}

.admin-league-main p,
.admin-league-health small {
	margin: 4px 0 0;
	color: var(--muted-text);
}

.admin-league-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: 10px;
	color: var(--muted-text);
	font-size: 0.86rem;
}

.admin-league-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.admin-league-health {
	display: grid;
	gap: 8px;
}

.admin-health-label {
	color: var(--text);
	font-weight: 800;
}

.admin-progress-track {
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.admin-progress-track > div {
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--accent-gold), #49e2a7);
}

.admin-league-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.admin-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	color: var(--muted-text);
	font-weight: 800;
}

.admin-pagination .disabled {
	opacity: 0.45;
	pointer-events: none;
}

.admin-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 16px;
	margin-top: 18px;
}

.admin-detail-grid--wide {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.admin-fact-list,
.admin-ranking-mini,
.admin-member-list,
.admin-activity-list {
	display: grid;
	gap: 10px;
}

.admin-fact-list div,
.admin-ranking-row,
.admin-member-row,
.admin-activity-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 11px 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
}

.admin-fact-list span,
.admin-member-row span,
.admin-activity-row small {
	color: var(--muted-text);
}

.admin-ranking-row {
	grid-template-columns: 46px minmax(0, 1fr) auto;
}

.admin-ranking-row span {
	color: var(--accent-gold);
	font-weight: 900;
}

.admin-ranking-row em {
	color: var(--text);
	font-style: normal;
	font-weight: 800;
}

.admin-member-row {
	grid-template-columns: minmax(220px, 1fr) auto auto auto auto;
}

.admin-member-row strong,
.admin-activity-row strong {
	display: block;
	color: var(--text);
}

.admin-member-row span {
	font-size: 0.86rem;
}

.admin-activity-row {
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
}

@media (max-width: 1100px) {
	.admin-kpi-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.admin-filter-form {
		grid-template-columns: 1fr 1fr;
	}

	.admin-search {
		grid-column: 1 / -1;
	}

	.admin-league-row {
		grid-template-columns: 1fr;
	}

	.admin-league-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	.admin-leagues-page {
		width: min(100% - 20px, 1180px);
		padding-top: 18px;
	}

	.admin-hero {
		align-items: flex-start;
		flex-direction: column;
		padding: 20px;
	}

	.admin-hero__actions,
	.admin-hero__actions .btn-primary-gradient,
	.admin-hero__actions .btn-secondary-soft,
	.admin-filter-form,
	.admin-filter-form .btn-primary-gradient,
	.admin-filter-form .btn-secondary-soft {
		width: 100%;
	}

	.admin-kpi-grid,
	.admin-detail-grid,
	.admin-detail-grid--wide {
		grid-template-columns: 1fr;
	}

	.admin-filter-form {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.admin-table-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.admin-league-main {
		align-items: flex-start;
	}

	.admin-league-meta {
		display: grid;
		grid-template-columns: 1fr;
	}

	.admin-league-actions .btn-primary-gradient,
	.admin-league-actions .btn-secondary-soft {
		flex: 1 1 100%;
	}

	.admin-member-row {
		grid-template-columns: 1fr 1fr;
	}

	.admin-member-row > div {
		grid-column: 1 / -1;
	}
}

/* Ranking premium refresh */
html.corporate-surface .ranking-page {
	--rank-bg: #050816;
	--rank-surface: rgba(11, 16, 31, 0.9);
	--rank-surface-strong: rgba(15, 23, 42, 0.96);
	--rank-surface-soft: rgba(15, 23, 42, 0.68);
	--rank-ink: #f8fafc;
	--rank-muted: rgba(203, 213, 225, 0.72);
	--rank-line: rgba(148, 163, 184, 0.16);
	--rank-blue: #35d0e2;
	--rank-cyan: #35d0e2;
	--rank-purple: #a78bfa;
	--rank-gold: #ead7a8;
	--rank-silver: #cbd5e1;
	--rank-bronze: #c28b5f;
	--rank-gradient: linear-gradient(135deg, var(--rank-cyan), var(--rank-gold));
	--rank-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
	background:
		radial-gradient(circle at 16% 0%, rgba(53, 208, 226, 0.14), transparent 32%),
		radial-gradient(circle at 88% 12%, rgba(234, 215, 168, 0.12), transparent 28%),
		linear-gradient(180deg, #050816 0%, #070b18 58%, #050816 100%);
	color: var(--rank-ink);
}

html.corporate-surface .ranking-page .glass-card {
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(8, 13, 27, 0.92));
	border-color: rgba(148, 163, 184, 0.16);
	box-shadow: var(--rank-shadow);
}

html.corporate-surface .ranking-page .ranking-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
	align-items: center;
	gap: 18px;
	min-height: clamp(270px, 31vw, 420px);
	padding: clamp(22px, 3.2vw, 34px);
	border: 1px solid rgba(53, 208, 226, 0.18);
	border-radius: 30px;
	background:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		radial-gradient(circle at 18% 18%, rgba(53, 208, 226, 0.16), transparent 36%),
		radial-gradient(circle at 88% 12%, rgba(234, 215, 168, 0.14), transparent 30%),
		linear-gradient(135deg, rgba(16, 23, 38, 0.98), rgba(5, 8, 22, 0.96));
	background-size: 96px 96px, 96px 96px, auto, auto, auto;
	overflow: hidden;
}

html.corporate-surface .ranking-page .ranking-hero__content,
html.corporate-surface .ranking-page .ranking-hero__actions {
	position: relative;
	z-index: 1;
}

html.corporate-surface .ranking-page .ranking-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 16px;
}

html.corporate-surface .ranking-page .ranking-hero::before {
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 38%),
		radial-gradient(circle at 82% 42%, rgba(53, 208, 226, 0.14), transparent 24%);
	opacity: 0.82;
}

html.corporate-surface .ranking-page .ranking-hero .eyebrow,
html.corporate-surface .ranking-page .ranking-board-label {
	color: var(--rank-gold);
}

html.corporate-surface .ranking-page .ranking-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

html.corporate-surface .ranking-page .ranking-hero h1,
html.corporate-surface .ranking-page .ranking-hero__lead,
html.corporate-surface .ranking-page .ranking-board h1,
html.corporate-surface .ranking-page .ranking-board h2,
html.corporate-surface .ranking-page .ranking-board h3,
html.corporate-surface .ranking-page .ranking-board .section-title {
	color: var(--rank-ink);
}

html.corporate-surface .ranking-page .ranking-hero__lead {
	max-width: 820px;
	margin-bottom: 12px;
	font-size: clamp(3rem, 5.2vw, 5.2rem);
	line-height: 0.95;
	letter-spacing: 0;
	text-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

html.corporate-surface .ranking-page .ranking-hero__copy,
html.corporate-surface .ranking-page .ranking-board__story,
html.corporate-surface .ranking-page .section-subtitle {
	color: var(--rank-muted);
}

html.corporate-surface .ranking-page .ranking-hero__copy {
	max-width: 760px;
	margin: 0;
	font-size: clamp(1rem, 1.55vw, 1.22rem);
	font-weight: 800;
	line-height: 1.32;
}

html.corporate-surface .ranking-page .ranking-hero .accent,
html.corporate-surface .ranking-page .ranking-hero .hero-accent {
	background: linear-gradient(135deg, #ffffff, var(--rank-gold) 58%, var(--rank-cyan));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

html.corporate-surface .ranking-page .ranking-hero .hero-accent--brown {
	background: linear-gradient(135deg, #f0d4b8, var(--rank-bronze));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.ranking-page .ranking-hero .hero-accent--brown {
	background: linear-gradient(135deg, #f0d4b8, var(--rank-bronze));
	-webkit-background-clip: text;
	background-clip: text;
	color: #c28b5f;
	-webkit-text-fill-color: transparent;
}

html.corporate-surface .ranking-page .ranking-hero__metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	max-width: 760px;
	margin-top: 20px;
}

html.corporate-surface .ranking-page .ranking-hero-metric {
	display: grid;
	gap: 4px;
	min-height: 72px;
	padding: 12px 14px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.055);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.corporate-surface .ranking-page .ranking-hero-metric strong {
	color: var(--rank-ink);
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.6vw, 2.15rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
}

html.corporate-surface .ranking-page .ranking-hero-metric span {
	color: rgba(203, 213, 225, 0.68);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

html.corporate-surface .ranking-page .ranking-hero .corporate-live-network {
	width: clamp(150px, 18vw, 245px);
	opacity: 0.82;
}

html.corporate-surface .ranking-page .ranking-hero .badge-premium,
html.corporate-surface .ranking-page .ranking-board .badge-muted {
	border: 1px solid rgba(234, 215, 168, 0.22);
	background: rgba(255, 255, 255, 0.07);
	color: rgba(248, 250, 252, 0.88);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html.corporate-surface .ranking-page .ranking-insights-grid {
	gap: 14px;
	opacity: 0.9;
}

html.corporate-surface .ranking-page .ranking-insight-card {
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 22px;
	background:
		radial-gradient(circle at 18% 18%, rgba(53, 208, 226, 0.08), transparent 34%),
		linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(8, 13, 27, 0.94));
	color: var(--rank-ink);
	box-shadow: 0 14px 42px rgba(0, 0, 0, 0.16);
}

html.corporate-surface .ranking-page .ranking-insight-card.is-primary,
html.corporate-surface .ranking-page .ranking-insight-card.is-position {
	background:
		radial-gradient(circle at 18% 16%, rgba(234, 215, 168, 0.12), transparent 34%),
		linear-gradient(145deg, rgba(20, 27, 43, 0.94), rgba(8, 13, 27, 0.94));
}

html.corporate-surface .ranking-page .ranking-insight-card.is-distance,
html.corporate-surface .ranking-page .ranking-insight-card.is-opportunity {
	background:
		radial-gradient(circle at 18% 16%, rgba(53, 208, 226, 0.12), transparent 34%),
		linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(8, 13, 27, 0.94));
}

html.corporate-surface .ranking-page .ranking-insight-card.is-danger {
	background:
		radial-gradient(circle at 18% 16%, rgba(194, 139, 95, 0.13), transparent 34%),
		linear-gradient(145deg, rgba(19, 24, 38, 0.92), rgba(8, 13, 27, 0.94));
}

html.corporate-surface .ranking-page .ranking-insight-label,
html.corporate-surface .ranking-page .ranking-insight-text {
	color: var(--rank-muted);
}

html.corporate-surface .ranking-page .ranking-insight-value {
	color: var(--rank-ink);
	font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

html.corporate-surface .ranking-page .ranking-insight-icon {
	background: rgba(255, 255, 255, 0.07);
	color: var(--rank-gold);
	border: 1px solid rgba(234, 215, 168, 0.16);
}

html.corporate-surface .ranking-page .ranking-board {
	border: 1px solid rgba(53, 208, 226, 0.18);
	border-radius: 30px;
	background:
		radial-gradient(circle at 10% 8%, rgba(53, 208, 226, 0.12), transparent 32%),
		radial-gradient(circle at 88% 0%, rgba(234, 215, 168, 0.1), transparent 26%),
		linear-gradient(145deg, rgba(12, 18, 34, 0.96), rgba(5, 8, 22, 0.98));
	box-shadow:
		0 34px 100px rgba(0, 0, 0, 0.32),
		0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

html.corporate-surface .ranking-page .ranking-layout > .ranking-board:first-child {
	box-shadow:
		0 36px 110px rgba(0, 0, 0, 0.34),
		0 0 58px rgba(53, 208, 226, 0.07);
}

html.corporate-surface .ranking-page .ranking-layout > .ranking-board:first-child::before {
	background: radial-gradient(ellipse at center, rgba(53, 208, 226, 0.16), rgba(234, 215, 168, 0.08) 42%, transparent 74%);
}

html.corporate-surface .ranking-page .ranking-mode-chips {
	border-color: rgba(148, 163, 184, 0.18);
	background: rgba(255, 255, 255, 0.06);
}

html.corporate-surface .ranking-page .ranking-mode-chip {
	color: rgba(226, 232, 240, 0.7);
}

html.corporate-surface .ranking-page .ranking-mode-chip.is-active {
	background: linear-gradient(135deg, rgba(234, 215, 168, 0.92), rgba(255, 245, 202, 0.82));
	color: #101522;
	box-shadow: 0 10px 28px rgba(234, 215, 168, 0.16);
}

html.corporate-surface .ranking-page .ranking-mode-chip__live,
html.corporate-surface .ranking-page .live-badge {
	background: rgba(34, 197, 94, 0.14);
	color: #86efac;
	border: 1px solid rgba(34, 197, 94, 0.26);
	box-shadow: 0 0 18px rgba(34, 197, 94, 0.14);
}

html.corporate-surface .ranking-page .ranking-search-input {
	min-height: 56px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 18px;
	background: rgba(5, 8, 22, 0.62);
	color: var(--rank-ink);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.corporate-surface .ranking-page .ranking-search-input::placeholder {
	color: rgba(203, 213, 225, 0.54);
}

html.corporate-surface .ranking-page .ranking-search-input:focus {
	border-color: rgba(53, 208, 226, 0.38);
	box-shadow:
		0 0 0 4px rgba(53, 208, 226, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html.corporate-surface .ranking-page .ranking-search-icon {
	color: rgba(203, 213, 225, 0.58);
}

html.corporate-surface .ranking-page .ranking-search-clear {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(248, 250, 252, 0.78);
}

html.corporate-surface .ranking-page .ranking-search-loading {
	border-color: rgba(53, 208, 226, 0.16);
	border-top-color: var(--rank-cyan);
}

html.corporate-surface .ranking-page .ranking-self-bar {
	border: 1px solid rgba(53, 208, 226, 0.32);
	background:
		radial-gradient(circle at 10% 20%, rgba(53, 208, 226, 0.16), transparent 34%),
		linear-gradient(135deg, rgba(11, 26, 42, 0.94), rgba(13, 17, 31, 0.96));
	color: var(--rank-ink);
	box-shadow:
		0 22px 70px rgba(53, 208, 226, 0.12),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

html.corporate-surface .ranking-page .ranking-self-badge {
	background: rgba(53, 208, 226, 0.14);
	color: #a5f3fc;
	border: 1px solid rgba(53, 208, 226, 0.24);
}

html.corporate-surface .ranking-page .ranking-self-stats,
html.corporate-surface .ranking-page .ranking-self-gap {
	color: rgba(226, 232, 240, 0.82);
}

html.corporate-surface .ranking-page .ranking-self-gap {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(148, 163, 184, 0.14);
}

html.corporate-surface .ranking-page .ranking-card {
	border: 1px solid rgba(148, 163, 184, 0.14);
	background:
		radial-gradient(circle at 0% 0%, rgba(53, 208, 226, 0.055), transparent 34%),
		linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(8, 13, 27, 0.92));
	box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
	color: var(--rank-ink);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

html.corporate-surface .ranking-page .ranking-card:hover {
	border-color: rgba(53, 208, 226, 0.28);
	background:
		radial-gradient(circle at 0% 0%, rgba(53, 208, 226, 0.1), transparent 36%),
		linear-gradient(135deg, rgba(18, 27, 45, 0.9), rgba(8, 13, 27, 0.94));
	box-shadow: 0 22px 66px rgba(0, 0, 0, 0.26);
	transform: translateY(-1px);
}

html.corporate-surface .ranking-page .ranking-card::before {
	background: linear-gradient(180deg, rgba(53, 208, 226, 0.66), rgba(234, 215, 168, 0.42));
}

html.corporate-surface .ranking-page .ranking-card.is-rank-1 {
	border-color: rgba(234, 215, 168, 0.34);
	background:
		radial-gradient(circle at 0% 0%, rgba(234, 215, 168, 0.12), transparent 34%),
		linear-gradient(135deg, rgba(22, 27, 38, 0.92), rgba(8, 13, 27, 0.94));
}

html.corporate-surface .ranking-page .ranking-card.is-rank-1::before {
	background: linear-gradient(180deg, var(--rank-gold), rgba(234, 215, 168, 0.28));
}

html.corporate-surface .ranking-page .ranking-card.is-rank-2 {
	border-color: rgba(203, 213, 225, 0.28);
	background:
		radial-gradient(circle at 0% 0%, rgba(203, 213, 225, 0.1), transparent 34%),
		linear-gradient(135deg, rgba(18, 25, 39, 0.9), rgba(8, 13, 27, 0.94));
}

html.corporate-surface .ranking-page .ranking-card.is-rank-2::before {
	background: linear-gradient(180deg, var(--rank-silver), rgba(203, 213, 225, 0.24));
}

html.corporate-surface .ranking-page .ranking-card.is-rank-3 {
	border-color: rgba(194, 139, 95, 0.3);
	background:
		radial-gradient(circle at 0% 0%, rgba(194, 139, 95, 0.1), transparent 34%),
		linear-gradient(135deg, rgba(21, 24, 34, 0.9), rgba(8, 13, 27, 0.94));
}

html.corporate-surface .ranking-page .ranking-card.is-rank-3::before {
	background: linear-gradient(180deg, var(--rank-bronze), rgba(194, 139, 95, 0.24));
}

html.corporate-surface .ranking-page .ranking-card.is-current-user {
	border-color: rgba(53, 208, 226, 0.46);
	background:
		radial-gradient(circle at 0% 0%, rgba(53, 208, 226, 0.16), transparent 36%),
		linear-gradient(135deg, rgba(11, 27, 42, 0.94), rgba(8, 13, 27, 0.96));
	box-shadow:
		0 22px 72px rgba(53, 208, 226, 0.13),
		0 0 0 1px rgba(53, 208, 226, 0.08) inset;
}

html.corporate-surface .ranking-page .ranking-position,
html.corporate-surface .ranking-page .ranking-position span,
html.corporate-surface .ranking-page .ranking-name strong,
html.corporate-surface .ranking-page .ranking-entry-name,
html.corporate-surface .ranking-page .ranking-entry-position,
html.corporate-surface .ranking-page .ranking-stat strong,
html.corporate-surface .ranking-page .ranking-gap strong,
html.corporate-surface .ranking-page .ranking-movement strong {
	color: var(--rank-ink);
}

html.corporate-surface .ranking-page .ranking-position span,
html.corporate-surface .ranking-page .ranking-entry-position,
html.corporate-surface .ranking-page .ranking-entry-name {
	letter-spacing: 0;
}

html.corporate-surface .ranking-page .ranking-position small,
html.corporate-surface .ranking-page .ranking-entry-position-label,
html.corporate-surface .ranking-page .ranking-entry-meta,
html.corporate-surface .ranking-page .ranking-entry-points-label,
html.corporate-surface .ranking-page .ranking-points span,
html.corporate-surface .ranking-page .ranking-stat span,
html.corporate-surface .ranking-page .ranking-gap span,
html.corporate-surface .ranking-page .ranking-movement span {
	color: var(--rank-muted);
}

html.corporate-surface .ranking-page .ranking-points,
html.corporate-surface .ranking-page .ranking-entry-points {
	color: var(--rank-gold);
}

html.corporate-surface .ranking-page .ranking-points strong {
	color: var(--rank-gold);
	text-shadow: 0 0 26px rgba(234, 215, 168, 0.14);
}

html.corporate-surface .ranking-page .ranking-gap {
	border-color: rgba(148, 163, 184, 0.14);
	background: rgba(255, 255, 255, 0.045);
}

html.corporate-surface .ranking-page .ranking-gap.is-leader strong,
html.corporate-surface .ranking-page .ranking-gap.is-tied strong {
	background: none;
	color: var(--rank-gold);
	-webkit-text-fill-color: var(--rank-gold);
}

html.corporate-surface .ranking-page .ranking-avatar {
	border-color: rgba(148, 163, 184, 0.16);
	background: rgba(255, 255, 255, 0.06);
	color: var(--rank-cyan);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.corporate-surface .ranking-page .ranking-avatar.is-leader {
	border-color: rgba(234, 215, 168, 0.28);
	background:
		radial-gradient(circle at 28% 18%, rgba(234, 215, 168, 0.22), transparent 28%),
		rgba(234, 215, 168, 0.08);
	box-shadow: 0 0 22px rgba(234, 215, 168, 0.12);
}

html.corporate-surface .ranking-page .ranking-avatar.is-leader i {
	background: linear-gradient(180deg, #fff7d6, var(--rank-gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

html.corporate-surface .ranking-page .you-badge {
	border: 1px solid rgba(53, 208, 226, 0.28);
	background: rgba(53, 208, 226, 0.12);
	color: #a5f3fc;
}

html.corporate-surface .ranking-page .podium-badge {
	border: 1px solid rgba(234, 215, 168, 0.18);
	background: rgba(234, 215, 168, 0.08);
	color: rgba(255, 246, 218, 0.92);
}

html.corporate-surface .ranking-page .podium-badge-main {
	border-color: rgba(234, 215, 168, 0.28);
	background: rgba(234, 215, 168, 0.12);
	color: #fff3c4;
	box-shadow: none;
}

html.corporate-surface .ranking-page .ranking-search-empty,
html.corporate-surface .ranking-page .ranking-placeholder,
html.corporate-surface .ranking-page .ranking-empty {
	color: var(--rank-muted);
}

html.corporate-surface .ranking-page .ranking-search-empty h3,
html.corporate-surface .ranking-page .ranking-placeholder h3,
html.corporate-surface .ranking-page .ranking-empty h2 {
	color: var(--rank-ink);
}

html.corporate-surface .ranking-page .ranking-search-empty i,
html.corporate-surface .ranking-page .ranking-placeholder i,
html.corporate-surface .ranking-page .empty-icon {
	color: var(--rank-cyan);
}

html.corporate-surface .ranking-page .ranking-skeleton-row {
	border-color: rgba(148, 163, 184, 0.12);
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(8, 13, 27, 0.92));
}

@media (max-width: 900px) {
	html.corporate-surface .ranking-page .ranking-hero {
		grid-template-columns: 1fr;
		align-items: start;
	}

	html.corporate-surface .ranking-page .ranking-hero__actions,
	html.corporate-surface .ranking-page .ranking-hero .badge-premium {
		align-items: flex-start;
		justify-content: flex-start;
		width: 100%;
	}

	html.corporate-surface .ranking-page .ranking-hero__metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
	}

	html.corporate-surface .ranking-page .ranking-card {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px;
		min-height: 0;
	}

	html.corporate-surface .ranking-page .ranking-card__identity,
	html.corporate-surface .ranking-page .ranking-card > .ranking-points,
	html.corporate-surface .ranking-page .ranking-card > .ranking-stat,
	html.corporate-surface .ranking-page .ranking-card > .ranking-gap,
	html.corporate-surface .ranking-page .ranking-card > .ranking-movement {
		display: none;
	}

	html.corporate-surface .ranking-page .ranking-mobile-stack {
		position: relative;
		z-index: 1;
		display: grid;
		gap: 12px;
		min-width: 0;
	}

	html.corporate-surface .ranking-page .ranking-mobile-meta {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		color: var(--rank-muted);
	}

	html.corporate-surface .ranking-page .ranking-mobile-meta span {
		display: inline-flex;
		padding: 6px 9px;
		border: 1px solid rgba(148, 163, 184, 0.12);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.045);
	}

	html.corporate-surface .ranking-page .ranking-entry-meta span + span::before {
		content: none;
	}

	html.corporate-surface .ranking-page .ranking-entry-top {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 14px;
	}

	html.corporate-surface .ranking-page .ranking-entry-points-wrap {
		text-align: right;
	}

	html.corporate-surface .ranking-page .ranking-self-bar {
		grid-template-columns: 1fr;
		align-items: start;
	}

	html.corporate-surface .ranking-page .ranking-self-gap {
		width: max-content;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	html.corporate-surface .ranking-page .ranking-insights-grid {
		grid-template-columns: 1fr;
	}

	html.corporate-surface .ranking-page .ranking-board,
	html.corporate-surface .ranking-page .ranking-hero {
		border-radius: 24px;
	}

	html.corporate-surface .ranking-page .ranking-board__actions {
		justify-content: flex-start;
	}

	html.corporate-surface .ranking-page .ranking-hero__lead {
		font-size: clamp(2.6rem, 12vw, 4rem);
	}

	html.corporate-surface .ranking-page .ranking-hero__metrics {
		grid-template-columns: 1fr;
	}

	html.corporate-surface .ranking-page .ranking-hero .corporate-live-network {
		display: none;
	}

	html.corporate-surface .ranking-page .ranking-search-input {
		min-height: 52px;
		padding-right: 54px;
	}
}
