/* ==========================================================================
   UCDREAMS GAMES - CYBER-ESPORTS & ARCADE GAMING STYLESHEET
   Brand Anchor: #C5453E (UCD Red)
   Gaming Accents: #00F0FF (Cyber Cyan), #A855F7 (Arcade Violet), #10B981 (Live Emerald)
   ========================================================================== */

:root,
html[data-theme="light"] {
	--ucd-primary: #C5453E;
	--ucd-primary-hover: #B23B35;
	--ucd-primary-glow: rgba(197, 69, 62, 0.25);
	--ucd-cyan: #00A9B8;
	--ucd-cyan-glow: rgba(0, 169, 184, 0.2);
	--ucd-violet: #8B5CF6;
	--ucd-violet-glow: rgba(139, 92, 246, 0.2);
	--ucd-emerald: #10B981;
	--ucd-emerald-glow: rgba(16, 185, 129, 0.2);
	--ucd-gold: #F59E0B;
	--ucd-soft-red: #FEF2F2;
	--ucd-soft-red-border: #FEE2E2;
	--ucd-bg-canvas: #F8FAFC;
	--ucd-bg-surface: #FFFFFF;
	--ucd-bg-surface-elevated: #F1F5F9;
	--ucd-bg-elevated: #F1F5F9;
	--ucd-border: #E2E8F0;
	--ucd-border-glow: rgba(197, 69, 62, 0.3);
	--ucd-text-primary: #0F172A;
	--ucd-text-secondary: #475569;
	--ucd-text-muted: #64748B;
	--ucd-card-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
	--ucd-card-shadow-hover: 0 16px 32px rgba(15, 23, 42, 0.1);
	--ucd-grid-line: rgba(15, 23, 42, 0.04);
	--ucd-game-canvas-bg: radial-gradient(circle at 50% 20%, #F8FAFC 0%, #EEF2F6 70%, #E2E8F0 100%);
	--ucd-game-grid-line: rgba(15, 23, 42, 0.04);
	--ucd-game-frame-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), 0 0 16px rgba(197, 69, 62, 0.08);
	color-scheme: light;
}

html[data-theme="dark"],
html.dark:not([data-theme="light"]) {
	--ucd-primary: #C5453E;
	--ucd-primary-hover: #DB544D;
	--ucd-primary-glow: rgba(197, 69, 62, 0.5);
	--ucd-cyan: #00F0FF;
	--ucd-cyan-glow: rgba(0, 240, 255, 0.35);
	--ucd-violet: #A855F7;
	--ucd-violet-glow: rgba(168, 85, 247, 0.35);
	--ucd-emerald: #10B981;
	--ucd-emerald-glow: rgba(16, 185, 129, 0.4);
	--ucd-gold: #F59E0B;
	--ucd-soft-red: rgba(197, 69, 62, 0.16);
	--ucd-soft-red-border: rgba(197, 69, 62, 0.35);
	--ucd-bg-canvas: #090B10;
	--ucd-bg-surface: #10141D;
	--ucd-bg-surface-elevated: #161B26;
	--ucd-bg-elevated: #161B26;
	--ucd-border: rgba(255, 255, 255, 0.09);
	--ucd-border-glow: rgba(197, 69, 62, 0.45);
	--ucd-text-primary: #F8FAFC;
	--ucd-text-secondary: #94A3B8;
	--ucd-text-muted: #64748B;
	--ucd-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	--ucd-card-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.7);
	--ucd-grid-line: rgba(255, 255, 255, 0.025);
	--ucd-game-canvas-bg: radial-gradient(circle at 50% 20%, #131A29 0%, #0A0E17 75%, #05070B 100%);
	--ucd-game-grid-line: rgba(255, 255, 255, 0.035);
	--ucd-game-frame-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(197, 69, 62, 0.25);
	color-scheme: dark;
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	overflow-x: clip;
	max-width: 100vw;
	font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background-color: var(--ucd-bg-canvas);
	color: var(--ucd-text-primary);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* Subtle Cyberpunk Gaming Grid Backdrop */
body {
	background-image: 
		linear-gradient(to right, var(--ucd-grid-line) 1px, transparent 1px),
		linear-gradient(to bottom, var(--ucd-grid-line) 1px, transparent 1px);
	background-size: 40px 40px;
	background-position: center top;
	background-attachment: fixed;
}

html[data-theme="dark"] ::selection {
	background-color: var(--ucd-primary);
	color: #FFFFFF;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

a {
	color: var(--ucd-primary);
	text-decoration: none;
	transition: all 0.18s ease;
}
a:hover {
	color: var(--ucd-cyan);
	text-shadow: 0 0 8px var(--ucd-cyan-glow);
}

.ucd-container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #FFFFFF;
	padding: 12px 20px;
	border-bottom: 1px solid var(--ucd-border);
	transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] .site-header {
	background: rgba(9, 11, 16, 0.92) !important;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .site-header.is-scrolled {
	box-shadow: 0 4px 28px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(197, 69, 62, 0.35) !important;
	border-bottom-color: rgba(197, 69, 62, 0.35) !important;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1320px;
	margin: 0 auto;
	gap: 12px;
}

.site-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.brand-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.brand-logo-img {
	height: 40px;
	width: auto;
	display: block;
}

/* Glowing Gaming Badge */
.brand-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: linear-gradient(135deg, rgba(197, 69, 62, 0.25), rgba(0, 240, 255, 0.15));
	color: #FF7B72;
	border: 1px solid rgba(197, 69, 62, 0.45);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	border-radius: 6px;
	padding: 3px 9px;
	margin: 0 !important;
	line-height: 1.4;
	text-transform: uppercase;
	box-shadow: 0 0 12px rgba(197, 69, 62, 0.2);
	transition: all 0.2s ease;
}

.brand-wrap:hover .brand-badge {
	color: #00F0FF;
	border-color: rgba(0, 240, 255, 0.6);
	box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.brand-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10B981;
	box-shadow: 0 0 8px #10B981;
	animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.85); }
}

/* Nav Links */
.site-nav-links {
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-nav-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--ucd-text-secondary);
	transition: color 0.18s ease, text-shadow 0.18s ease;
	position: relative;
	text-decoration: none;
}

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

html[data-theme="dark"] .site-nav-link:hover,
html[data-theme="dark"] .site-nav-link.active {
	color: #FF7B72 !important;
	text-shadow: 0 0 10px rgba(197, 69, 62, 0.4);
}

/* ==========================================================================
   GAMES MEGA MENU (Esports Directory)
   ========================================================================== */
.ucd-nav-megamenu-item {
	position: relative;
	display: flex;
	align-items: center;
}

.ucd-megamenu-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px 10px;
	font-family: inherit;
	line-height: 1;
}

.ucd-megamenu-chevron {
	color: var(--ucd-text-muted);
	transition: transform 0.2s ease, color 0.2s ease;
	margin-left: 2px;
}

.ucd-nav-megamenu-item:hover .ucd-megamenu-chevron,
.ucd-megamenu-btn.is-active .ucd-megamenu-chevron {
	transform: rotate(180deg);
	color: var(--ucd-cyan);
}

.ucd-games-megamenu {
	position: absolute;
	top: calc(100% + 10px);
	right: -80px;
	left: auto;
	width: 540px;
	max-width: calc(100vw - 32px);
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 24px rgba(197, 69, 62, 0.15);
	padding: 20px;
	z-index: 350;
	display: none;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

/* Invisible Hover Bridge: Eliminates cursor gap between trigger button and dropdown */
.ucd-games-megamenu::before {
	content: '';
	position: absolute;
	top: -16px;
	left: -20px;
	right: -20px;
	height: 16px;
	background: transparent;
	display: block;
}

@media (min-width: 900px) {
	.ucd-nav-megamenu-item:hover .ucd-games-megamenu {
		display: block;
		animation: ucdMegaIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	}
}

.ucd-games-megamenu.is-open {
	display: block !important;
	animation: ucdMegaIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ucdMegaIn {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

.ucd-megamenu-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 18px;
}

.ucd-megamenu-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ucd-megamenu-col-head {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ucd-text-muted);
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ucd-border);
}

.ucd-megamenu-game-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 12px;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.ucd-megamenu-game-item.is-live:hover {
	background: rgba(0, 240, 255, 0.08);
	border-color: rgba(0, 240, 255, 0.3);
	transform: translateY(-1px);
}

.ucd-mega-thumb {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: radial-gradient(circle at center, #1E293B, #0B1120);
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ucd-mega-thumb.ucd-thumb-purple {
	background: radial-gradient(circle at center, #271738, #0E0717);
	border-color: rgba(168, 85, 247, 0.25);
}

.ucd-mega-thumb.ucd-thumb-amber {
	background: radial-gradient(circle at center, #322108, #110B02);
	border-color: rgba(245, 158, 11, 0.25);
}

.ucd-mega-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ucd-mega-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
}

.ucd-mega-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--ucd-text-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ucd-mega-desc {
	font-size: 11px;
	color: var(--ucd-text-secondary);
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ucd-mega-badge-live {
	font-size: 9px;
	font-weight: 700;
	color: var(--ucd-emerald);
	background: rgba(16, 185, 129, 0.15);
	border-radius: 4px;
	padding: 1px 5px;
	text-transform: uppercase;
}

.ucd-mega-badge-soon {
	font-size: 9px;
	font-weight: 700;
	color: #C084FC;
	background: rgba(168, 85, 247, 0.15);
	border-radius: 4px;
	padding: 1px 5px;
	text-transform: uppercase;
}

.ucd-megamenu-spotlight {
	display: flex;
	flex-direction: column;
}

.ucd-mega-spotlight-box {
	background: linear-gradient(135deg, rgba(197, 69, 62, 0.18), rgba(0, 240, 255, 0.1));
	border: 1px solid rgba(197, 69, 62, 0.4);
	border-radius: 12px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.ucd-mega-spotlight-tag {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #FF7B72;
	margin-bottom: 4px;
}

.ucd-mega-spotlight-box h4 {
	font-size: 13px;
	font-weight: 800;
	color: var(--ucd-text-primary);
	margin: 0 0 6px 0;
}

.ucd-mega-spotlight-box p {
	font-size: 11px;
	color: var(--ucd-text-secondary);
	line-height: 1.4;
	margin: 0 0 12px 0;
}

.ucd-mega-spotlight-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 8px 12px;
	border-radius: 8px;
	background: linear-gradient(135deg, #C5453E, #E04840);
	color: #FFFFFF !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: all 0.2s ease;
}

.ucd-mega-spotlight-btn:hover {
	background: linear-gradient(135deg, #E04840, #FF5A50);
	box-shadow: 0 4px 14px rgba(197, 69, 62, 0.5);
}

@media (max-width: 899px) {
	.ucd-games-megamenu {
		position: fixed;
		top: 60px;
		left: 10px;
		right: 10px;
		width: auto;
		max-height: 80vh;
		overflow-y: auto;
		padding: 16px;
	}
	.ucd-megamenu-inner {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.ucd-games-megamenu::before {
		display: none !important;
	}
}

/* Theme Toggle Button */
.ucd-theme-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--ucd-bg-surface);
	border: 1px solid var(--ucd-border);
	color: var(--ucd-text-primary);
	cursor: pointer;
	padding: 0;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	outline: none;
}

.ucd-theme-toggle-btn:hover {
	border-color: var(--ucd-cyan);
	color: var(--ucd-cyan);
	box-shadow: 0 0 14px var(--ucd-cyan-glow);
	transform: scale(1.05);
}

/* ==========================================================================
   HEADER GAMER AUTH WIDGET & DROPDOWN (1-Login System)
   ========================================================================== */
.ucd-header-auth-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.ucd-header-login-btn,
html[data-theme="light"] .ucd-header-login-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 15px;
	background: linear-gradient(135deg, #C5453E 0%, #D84D45 100%) !important;
	border: 1px solid rgba(197, 69, 62, 0.9) !important;
	border-radius: 9px;
	color: #FFFFFF !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 10px rgba(197, 69, 62, 0.32), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
	line-height: 1;
}

.ucd-header-login-btn:hover,
html[data-theme="light"] .ucd-header-login-btn:hover {
	background: linear-gradient(135deg, #D84D45 0%, #E65A52 100%) !important;
	border-color: #E65A52 !important;
	box-shadow: 0 4px 18px rgba(197, 69, 62, 0.48) !important;
	transform: translateY(-1px);
}

.ucd-header-login-btn:active,
html[data-theme="light"] .ucd-header-login-btn:active {
	transform: scale(0.97);
}

html[data-theme="dark"] .ucd-header-login-btn,
html.dark:not([data-theme="light"]) .ucd-header-login-btn {
	background: linear-gradient(135deg, rgba(197, 69, 62, 0.35), rgba(224, 72, 64, 0.2)) !important;
	border: 1px solid rgba(255, 123, 114, 0.5) !important;
	box-shadow: 0 2px 10px rgba(197, 69, 62, 0.25) !important;
	color: #FFFFFF !important;
}

html[data-theme="dark"] .ucd-header-login-btn:hover,
html.dark:not([data-theme="light"]) .ucd-header-login-btn:hover {
	background: linear-gradient(135deg, #C5453E, #E04840) !important;
	border-color: #FF7B72 !important;
	box-shadow: 0 4px 20px rgba(197, 69, 62, 0.6), 0 0 10px rgba(0, 240, 255, 0.25) !important;
}

.ucd-header-profile {
	position: relative;
}

.ucd-header-profile-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px 4px 5px;
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	border-radius: 20px;
	cursor: pointer;
	color: var(--ucd-text-primary);
	transition: all 0.2s ease;
	line-height: 1;
}

.ucd-header-profile-btn:hover,
.ucd-header-profile-btn.is-active {
	border-color: var(--ucd-cyan);
	box-shadow: 0 0 12px var(--ucd-cyan-glow);
}

.ucd-header-avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ucd-primary), var(--ucd-cyan));
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	box-shadow: 0 0 8px rgba(0, 240, 255, 0.35);
}

.ucd-header-tag {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.01em;
	max-width: 120px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ucd-header-chevron {
	color: var(--ucd-text-muted);
	transition: transform 0.2s ease;
}

.ucd-header-profile-btn.is-active .ucd-header-chevron {
	transform: rotate(180deg);
}

.ucd-profile-dropdown {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 260px;
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	border-radius: 14px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 240, 255, 0.15);
	padding: 16px;
	z-index: 300;
	display: none;
	flex-direction: column;
	gap: 14px;
	animation: ucdDropIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.ucd-profile-dropdown.is-open {
	display: flex;
}

@keyframes ucdDropIn {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

.ucd-profile-dropdown-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ucd-border);
}

.ucd-dropdown-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ucd-primary), var(--ucd-cyan));
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.ucd-dropdown-tag {
	font-size: 14px;
	font-weight: 800;
	color: var(--ucd-text-primary);
}

.ucd-dropdown-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: var(--ucd-emerald);
	font-weight: 600;
	margin-top: 2px;
}

.ucd-dropdown-scores {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--ucd-border);
	border-radius: 8px;
	padding: 10px 12px;
}

.ucd-score-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
}

.ucd-score-title {
	color: var(--ucd-text-secondary);
}

.ucd-score-num {
	color: var(--ucd-cyan);
	font-weight: 800;
	font-family: monospace;
	font-size: 13px;
}

.ucd-dropdown-actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ucd-dropdown-action-link,
.ucd-dropdown-logout-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ucd-text-secondary);
	text-decoration: none;
	background: transparent;
	border: none;
	cursor: pointer;
	width: 100%;
	text-align: left;
	transition: all 0.15s ease;
}

.ucd-dropdown-action-link:hover {
	background: rgba(0, 240, 255, 0.08);
	color: var(--ucd-cyan);
}

.ucd-dropdown-logout-btn {
	color: #FF7B72;
}

.ucd-dropdown-logout-btn:hover {
	background: rgba(197, 69, 62, 0.15);
	color: #FF5A50;
}

/* ==========================================================================
   GAMING HERO SECTION
   ========================================================================== */
.ucd-hero-gaming {
	text-align: center;
	max-width: 860px;
	margin: 0 auto 52px;
	position: relative;
}

.ucd-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(197, 69, 62, 0.12);
	border: 1px solid rgba(197, 69, 62, 0.35);
	color: #FF7B72;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 9999px;
	margin-bottom: 18px;
	box-shadow: 0 0 16px rgba(197, 69, 62, 0.2);
}

.ucd-hero-title {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-bottom: 16px;
	color: var(--ucd-text-primary);
}

.ucd-hero-gradient-text {
	background: linear-gradient(135deg, #FFFFFF 20%, #FF7B72 65%, #00F0FF 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

html[data-theme="light"] .ucd-hero-gradient-text {
	background: linear-gradient(135deg, #0F172A 20%, #C5453E 70%, #00A9B8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ucd-hero-sub {
	color: var(--ucd-text-secondary);
	font-size: 17px;
	max-width: 680px;
	margin: 0 auto 28px;
	line-height: 1.6;
}

/* Gaming Categories Filter Bar */
.ucd-filter-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.ucd-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 600;
	background: var(--ucd-bg-surface);
	border: 1px solid var(--ucd-border);
	color: var(--ucd-text-secondary);
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.ucd-pill:hover,
.ucd-pill.is-active {
	background: var(--ucd-primary);
	border-color: var(--ucd-primary);
	color: #FFFFFF !important;
	box-shadow: 0 0 16px var(--ucd-primary-glow);
	transform: translateY(-1px);
}

.ucd-pill-cyan.is-active,
.ucd-pill-cyan:hover {
	background: var(--ucd-cyan);
	border-color: var(--ucd-cyan);
	color: #090B10 !important;
	box-shadow: 0 0 16px var(--ucd-cyan-glow);
}

.ucd-pill-violet.is-active,
.ucd-pill-violet:hover {
	background: var(--ucd-violet);
	border-color: var(--ucd-violet);
	color: #FFFFFF !important;
	box-shadow: 0 0 16px var(--ucd-violet-glow);
}

/* ==========================================================================
   GAMING CARD & GRID (Cyber Glow Hover)
   ========================================================================== */
.ucd-games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
}

.ucd-gaming-card {
	background: var(--ucd-bg-surface);
	border: 1px solid var(--ucd-border);
	border-radius: 18px;
	padding: 16px;
	position: relative;
	overflow: hidden;
	box-shadow: var(--ucd-card-shadow);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ucd-gaming-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ucd-primary), var(--ucd-cyan));
	opacity: 0;
	transition: opacity 0.25s ease;
}

.ucd-gaming-card:hover {
	transform: translateY(-4px);
	border-color: rgba(197, 69, 62, 0.4);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 16px rgba(197, 69, 62, 0.15);
}

.ucd-gaming-card:hover::before {
	opacity: 1;
}

/* Simplified Card Thumbnail & Badges */
.ucd-card-thumb-link {
	display: block;
	text-decoration: none;
}

.ucd-card-thumb-wrap {
	position: relative;
	aspect-ratio: 16/9;
	width: 100%;
	border-radius: 12px;
	margin-bottom: 14px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #0B0E17;
}

.ucd-card-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.ucd-gaming-card:hover .ucd-card-thumb-img {
	transform: scale(1.03);
}

.ucd-card-thumb-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(15, 23, 42, 0.8);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #F8FAFC;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	z-index: 2;
	letter-spacing: 0.02em;
}

.ucd-card-thumb-live {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(16, 185, 129, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #34D399;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	z-index: 2;
}

.ucd-live-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10B981;
	box-shadow: 0 0 6px #10B981;
}

/* Simplified Card Body */
.ucd-simple-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.ucd-simple-title {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--ucd-text-primary);
	margin: 0;
	line-height: 1.3;
}

.ucd-simple-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ucd-simple-title a:hover {
	color: var(--ucd-cyan);
}

.ucd-simple-desc {
	color: var(--ucd-text-secondary);
	font-size: 13.5px;
	line-height: 1.5;
	margin: 0;
}

.ucd-simple-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--ucd-text-muted);
	font-weight: 600;
	margin-top: 4px;
}

.ucd-simple-meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* Glowing Play Action Button */
.ucd-btn-play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #C5453E, #E04840);
	color: #FFFFFF !important;
	padding: 10px 20px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(197, 69, 62, 0.35);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
	text-decoration: none;
}

.ucd-btn-play:hover {
	background: linear-gradient(135deg, #E04840, #FF5A50);
	box-shadow: 0 6px 20px rgba(197, 69, 62, 0.55), 0 0 10px rgba(0, 240, 255, 0.25);
	transform: translateY(-2px);
}

.ucd-btn-play:active {
	transform: scale(0.98);
}

/* ==========================================================================
   ISOLATED GAME SANDBOX (Esports Frame)
   ========================================================================== */
.ucd-game-frame {
	background: var(--ucd-bg-surface);
	border: 1px solid var(--ucd-border);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--ucd-game-frame-shadow);
	position: relative;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ucd-game-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	background: var(--ucd-bg-surface-elevated);
	border-bottom: 1px solid var(--ucd-border);
	font-size: 13px;
	color: var(--ucd-text-secondary);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ucd-game-status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--ucd-emerald);
}

.ucd-game-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ucd-tool-btn {
	background: var(--ucd-bg-surface);
	border: 1px solid var(--ucd-border);
	color: var(--ucd-text-secondary);
	padding: 6px 12px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1;
	transition: all 0.18s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ucd-tool-btn:hover,
.ucd-tool-btn.is-active {
	color: var(--ucd-cyan);
	border-color: var(--ucd-cyan);
	background: rgba(0, 240, 255, 0.08);
	box-shadow: 0 0 10px var(--ucd-cyan-glow);
}

.ucd-game-canvas-area {
	position: relative;
	min-height: 540px;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--ucd-game-canvas-bg);
	background-image: 
		linear-gradient(var(--ucd-game-grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--ucd-game-grid-line) 1px, transparent 1px);
	background-size: 32px 32px;
	transition: background 0.22s ease;
}

.ucd-game-canvas-area > * {
	width: 100%;
}

/* ==========================================================================
   FULLSCREEN ESPORTS VIEWPORT (100% Screen Scaling - Zero Dead Space)
   ========================================================================== */
:fullscreen,
:-webkit-full-screen {
	background: var(--ucd-game-canvas-bg) !important;
}

.ucd-game-frame:fullscreen,
.ucd-game-frame:-webkit-full-screen,
.ucd-game-frame.is-fullscreen {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	max-width: 100vw !important;
	max-height: 100vh !important;
	border-radius: 0 !important;
	border: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	background: var(--ucd-game-canvas-bg) !important;
	overflow: hidden !important;
	z-index: 999999 !important;
}

.ucd-game-frame:fullscreen .ucd-game-topbar,
.ucd-game-frame:-webkit-full-screen .ucd-game-topbar,
.ucd-game-frame.is-fullscreen .ucd-game-topbar {
	border-radius: 0 !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
	border-bottom: 1px solid var(--ucd-border) !important;
	flex: 0 0 46px !important;
	height: 46px !important;
	padding: 0 20px !important;
	background: var(--ucd-bg-surface-elevated) !important;
	backdrop-filter: blur(12px) !important;
	z-index: 100 !important;
}

.ucd-game-frame:fullscreen .ucd-game-canvas-area,
.ucd-game-frame:-webkit-full-screen .ucd-game-canvas-area,
.ucd-game-frame.is-fullscreen .ucd-game-canvas-area {
	flex: 1 1 0% !important;
	height: calc(100vh - 46px) !important;
	min-height: 0 !important;
	width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ucd-game-frame:fullscreen #ucd-clickwar-app,
.ucd-game-frame:-webkit-full-screen #ucd-clickwar-app,
.ucd-game-frame.is-fullscreen #ucd-clickwar-app,
.ucd-game-frame:fullscreen [id^="ucd-"][id$="-app"],
.ucd-game-frame:-webkit-full-screen [id^="ucd-"][id$="-app"],
.ucd-game-frame.is-fullscreen [id^="ucd-"][id$="-app"] {
	flex: 1 1 0% !important;
	height: 100% !important;
	min-height: 0 !important;
	border-radius: 0 !important;
	border: none !important;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	margin: 0 auto !important;
}

.ucd-game-frame:fullscreen .cw-top-player-banner,
.ucd-game-frame:-webkit-full-screen .cw-top-player-banner,
.ucd-game-frame.is-fullscreen .cw-top-player-banner,
.ucd-game-frame:fullscreen .cw-hud,
.ucd-game-frame:-webkit-full-screen .cw-hud,
.ucd-game-frame.is-fullscreen .cw-hud,
.ucd-game-frame:fullscreen .cr-hud,
.ucd-game-frame:-webkit-full-screen .cr-hud,
.ucd-game-frame.is-fullscreen .cr-hud {
	flex: 0 0 auto !important;
	border-radius: 0 !important;
}

.ucd-game-frame:fullscreen .cw-arena,
.ucd-game-frame:-webkit-full-screen .cw-arena,
.ucd-game-frame.is-fullscreen .cw-arena,
.ucd-game-frame:fullscreen .cr-canvas-wrap,
.ucd-game-frame:-webkit-full-screen .cr-canvas-wrap,
.ucd-game-frame.is-fullscreen .cr-canvas-wrap {
	flex: 1 1 0% !important;
	height: 100% !important;
	min-height: 0 !important;
	width: 100% !important;
	position: relative !important;
	overflow: hidden !important;
}

.ucd-game-frame:fullscreen #cr-canvas,
.ucd-game-frame:-webkit-full-screen #cr-canvas,
.ucd-game-frame.is-fullscreen #cr-canvas {
	width: 100% !important;
	height: 100% !important;
	display: block !important;
}

.ucd-game-frame:fullscreen .cw-arena-bg,
.ucd-game-frame:-webkit-full-screen .cw-arena-bg,
.ucd-game-frame.is-fullscreen .cw-arena-bg {
	width: 100% !important;
	height: 100% !important;
	background-size: cover !important;
	background-position: center bottom !important;
}

.ucd-game-frame:fullscreen .ucd-canvas-lock-overlay,
.ucd-game-frame:-webkit-full-screen .ucd-canvas-lock-overlay,
.ucd-game-frame.is-fullscreen .ucd-canvas-lock-overlay {
	border-radius: 0 !important;
	height: 100% !important;
	inset: 0 !important;
}

/* ==========================================================================
   AD SLOTS (Zero CLS)
   ========================================================================== */
.ucd-ad-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ucd-soft-red);
	border: 1px dashed var(--ucd-soft-red-border);
	border-radius: 14px;
	margin: 28px auto;
	overflow: hidden;
}

.ucd-ad-leaderboard {
	min-height: 90px;
	max-width: 728px;
	width: 100%;
}

.ucd-ad-banner {
	min-height: 250px;
	max-width: 300px;
	width: 100%;
}

/* ==========================================================================
   FOOTER (Esports Arcade Harmony)
   ========================================================================== */
.site-footer {
	background: #FFFFFF;
	border-top: 1px solid var(--ucd-border);
	padding: 56px 20px 28px;
	margin-top: 80px;
	position: relative;
}

html[data-theme="dark"] .site-footer {
	background: #090B10 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-inner {
	max-width: 1320px;
	margin: 0 auto;
}

.footer-top {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 36px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--ucd-border);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-cols {
	display: flex;
	gap: 52px;
	flex-wrap: wrap;
}

.footer-col-head {
	font-size: 14px;
	font-weight: 700;
	color: var(--ucd-text-primary);
	margin-bottom: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.footer-col a {
	display: block;
	font-size: 13px;
	color: var(--ucd-text-secondary);
	margin-bottom: 10px;
	transition: color 0.18s ease, transform 0.15s ease;
}

.footer-col a:hover {
	color: var(--ucd-cyan) !important;
	transform: translateX(3px);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	font-size: 13px;
	color: var(--ucd-text-muted);
	flex-wrap: wrap;
	gap: 12px;
}


/* ==========================================================================
   UNIFIED GAMER AUTHENTICATION & CANVAS LOCK SYSTEM
   ========================================================================== */
.ucd-game-canvas-area.is-auth-locked {
	position: relative;
	min-height: 480px;
}

.ucd-game-canvas-area.is-auth-locked > :not(.ucd-canvas-lock-overlay) {
	filter: blur(12px) grayscale(40%);
	opacity: 0.35;
	pointer-events: none;
	user-select: none;
}

.ucd-canvas-lock-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 50;
	padding: 24px;
	pointer-events: auto;
}

.ucd-lock-box {
	background: rgba(16, 20, 29, 0.94);
	border: 1px solid rgba(197, 69, 62, 0.45);
	border-radius: 20px;
	padding: 36px 30px;
	max-width: 440px;
	width: 100%;
	text-align: center;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(197, 69, 62, 0.3);
	backdrop-filter: blur(16px);
}

.ucd-lock-icon {
	font-size: 44px;
	margin-bottom: 12px;
	filter: drop-shadow(0 0 14px rgba(197, 69, 62, 0.5));
}

.ucd-lock-title {
	font-size: 22px;
	font-weight: 800;
	color: #FFFFFF;
	margin-bottom: 8px;
	letter-spacing: -0.01em;
}

.ucd-lock-sub {
	font-size: 13px;
	color: var(--ucd-text-secondary);
	line-height: 1.6;
	margin-bottom: 24px;
}

.ucd-lock-btn {
	background: linear-gradient(135deg, #C5453E, #E04840);
	color: #FFFFFF;
	border: none;
	border-radius: 12px;
	padding: 13px 26px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(197, 69, 62, 0.45);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
}

.ucd-lock-btn:hover {
	background: linear-gradient(135deg, #E04840, #FF5A50);
	box-shadow: 0 6px 24px rgba(197, 69, 62, 0.7), 0 0 14px rgba(0, 240, 255, 0.3);
	transform: translateY(-2px);
}

/* Auth Modal Overlay (Native <dialog> Top Layer) */
dialog#ucd-auth-modal:not([open]):not(.is-open) {
	display: none;
}

dialog#ucd-auth-modal[open],
.ucd-auth-modal-overlay.is-open {
	display: flex;
	flex-direction: column;
	width: min(94vw, 440px);
	max-width: 440px;
	max-height: min(92dvh, 760px);
	margin: auto;
	padding: 0;
	border: none;
	border-radius: 20px;
	background: transparent;
	color: #F8FAFC;
	overflow-y: auto;
	z-index: 99999;
}

dialog#ucd-auth-modal:modal {
	overscroll-behavior: contain;
}

dialog#ucd-auth-modal::backdrop {
	background: rgba(4, 6, 11, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	overflow: hidden;
	overscroll-behavior: contain;
}

.ucd-auth-card {
	background: #10141D;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	max-width: 440px;
	width: 100%;
	padding: 34px 28px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(197, 69, 62, 0.25);
	position: relative;
	overflow: hidden;
	color: #F8FAFC;
}

.ucd-auth-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #C5453E, #00F0FF);
}

.ucd-modal-close {
	position: absolute;
	top: 16px;
	right: 18px;
	background: transparent;
	border: none;
	font-size: 22px;
	color: var(--ucd-text-muted);
	cursor: pointer;
	transition: color 0.15s;
}

.ucd-modal-close:hover {
	color: #FFFFFF;
}

.ucd-auth-header {
	text-align: center;
	margin-bottom: 22px;
}

.ucd-auth-header h2 {
	font-size: 22px;
	font-weight: 800;
	color: #FFFFFF;
	margin-bottom: 6px;
}

.ucd-auth-header p {
	font-size: 13px;
	color: var(--ucd-text-secondary);
	margin: 0;
}

/* Tabs */
.ucd-auth-tabs {
	display: flex;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 22px;
	gap: 4px;
}

.ucd-auth-tab-btn {
	flex: 1;
	background: transparent;
	border: none;
	border-radius: 8px;
	padding: 9px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ucd-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ucd-auth-tab-btn.is-active {
	background: #C5453E;
	color: #FFFFFF;
	box-shadow: 0 2px 10px rgba(197, 69, 62, 0.4);
}

/* Form Groups */
.ucd-auth-group {
	margin-bottom: 16px;
	text-align: left;
}

.ucd-auth-group label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ucd-text-secondary);
	margin-bottom: 6px;
}

.ucd-auth-input {
	width: 100%;
	min-height: 48px;
	background: #090B10;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 12px 14px;
	color: #FFFFFF;
	font-size: max(1rem, 16px);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	font-family: inherit;
	box-sizing: border-box;
}

.ucd-auth-input:focus {
	border-color: #C5453E;
	box-shadow: 0 0 0 3px rgba(197, 69, 62, 0.25), 0 0 10px rgba(0, 240, 255, 0.15);
}

.ucd-auth-hint {
	display: block;
	font-size: 11px;
	color: var(--ucd-text-muted);
	margin-top: 4px;
}

.ucd-auth-btn-submit {
	width: 100%;
	min-height: 48px;
	background: linear-gradient(135deg, #C5453E, #E04840);
	color: #FFFFFF;
	border: none;
	border-radius: 10px;
	padding: 13px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(197, 69, 62, 0.4);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	margin-top: 6px;
}

.ucd-auth-btn-submit:focus-visible,
.ucd-auth-google-btn:focus-visible,
.ucd-modal-close:focus-visible,
.ucd-auth-tab-btn:focus-visible,
.ucd-otp-link-btn:focus-visible {
	outline: 2px solid var(--ucd-cyan, #00F0FF);
	outline-offset: 2px;
}

/* Google OAuth Controls inside #ucd-auth-modal */
.ucd-google-oauth-wrap[hidden],
#ucd-auth-google-step[hidden] {
	display: none !important;
}

.ucd-auth-google-btn {
	width: 100%;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #FFFFFF;
	color: #0F172A;
	border: 1px solid #CBD5E1;
	border-radius: 10px;
	padding: 11px 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ucd-auth-google-btn:hover:not(:disabled) {
	background: #F8FAFC;
	box-shadow: 0 4px 16px rgba(0, 240, 255, 0.22);
	transform: translateY(-1px);
}

.ucd-auth-google-btn:disabled {
	opacity: 0.65;
	cursor: wait;
}

.ucd-google-icon {
	flex-shrink: 0;
	display: block;
}

.ucd-google-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0 16px;
	color: var(--ucd-text-muted, #94A3B8);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.ucd-google-divider::before,
.ucd-google-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.ucd-google-verified-badge {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(0, 240, 255, 0.08);
	border: 1px solid rgba(0, 240, 255, 0.28);
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 16px;
	text-align: left;
}

.ucd-google-verified-title {
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 2px 0;
}

.ucd-google-verified-sub {
	font-size: 12px;
	color: var(--ucd-text-secondary, #CBD5E1);
	margin: 0;
	word-break: break-word;
}

.ucd-google-verified-sub strong {
	color: var(--ucd-cyan, #00F0FF);
}

.ucd-auth-btn-submit:hover:not(:disabled) {
	background: linear-gradient(135deg, #E04840, #FF5A50);
	box-shadow: 0 6px 22px rgba(197, 69, 62, 0.65), 0 0 12px rgba(0, 240, 255, 0.3);
	transform: translateY(-2px);
}

.ucd-auth-btn-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ucd-auth-alert {
	display: none;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 14px;
}

.ucd-auth-alert.error {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid #EF4444;
	color: #FCA5A5;
}

.ucd-auth-alert.success {
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid #10B981;
	color: #6EE7B7;
}

.ucd-auth-alert.info {
	background: rgba(0, 240, 255, 0.12);
	border: 1px solid rgba(0, 240, 255, 0.4);
	color: #A5F3FC;
}

/* Username Availability & OTP Verification UI */
.ucd-input-wrap-status {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.ucd-status-spinner {
	position: absolute;
	right: 14px;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-top-color: var(--ucd-cyan, #00F0FF);
	border-radius: 50%;
	animation: ucdAuthSpin 0.7s linear infinite;
	pointer-events: none;
}

@keyframes ucdAuthSpin {
	to { transform: rotate(360deg); }
}

.ucd-username-feedback {
	font-size: 11.5px;
	font-weight: 600;
	margin-top: 5px;
	min-height: 16px;
	transition: all 0.2s ease;
}

.ucd-username-feedback.is-available,
.ucd-username-feedback.status-ok {
	color: #10B981 !important;
}

.ucd-username-feedback.is-error,
.ucd-username-feedback.status-taken {
	color: #EF4444 !important;
}

.ucd-username-feedback.is-checking {
	color: var(--ucd-cyan, #00F0FF) !important;
}

.ucd-otp-banner {
	display: flex;
	align-items: center;
	gap: 14px;
	background: rgba(0, 240, 255, 0.08);
	border: 1px solid rgba(0, 240, 255, 0.25);
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 16px;
	text-align: left;
}

.ucd-otp-banner-icon {
	font-size: 24px;
	line-height: 1;
	flex-shrink: 0;
}

.ucd-otp-banner-title {
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 2px 0;
}

.ucd-otp-banner-sub {
	font-size: 12px;
	color: var(--ucd-text-secondary);
	margin: 0;
}

.ucd-otp-banner-sub strong {
	color: var(--ucd-cyan, #00F0FF);
}

.ucd-otp-code-input {
	font-family: monospace, Courier, monospace !important;
	font-size: 24px !important;
	font-weight: 900 !important;
	letter-spacing: 8px !important;
	text-align: center !important;
	max-width: 200px !important;
	margin: 6px auto 0 auto !important;
	display: block !important;
}

.ucd-otp-footer-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	gap: 10px;
	flex-wrap: wrap;
}

.ucd-otp-link-btn {
	background: transparent;
	border: none;
	font-size: 12px;
	font-weight: 600;
	color: var(--ucd-text-secondary);
	cursor: pointer;
	padding: 4px 0;
	transition: color 0.15s ease;
}

.ucd-otp-link-btn:hover:not(:disabled) {
	color: var(--ucd-primary, #C5453E);
}

.ucd-otp-link-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Light Theme overrides for Auth Modal & OTP */
html[data-theme="light"] .ucd-auth-card {
	background: #FFFFFF !important;
	border: 1px solid #CBD5E1 !important;
	color: #0F172A !important;
	box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2), 0 0 35px rgba(197, 69, 62, 0.15) !important;
}

html[data-theme="light"] .ucd-auth-header h2 {
	color: #0F172A !important;
}

html[data-theme="light"] .ucd-auth-tabs {
	background: #F1F5F9 !important;
	border-color: #E2E8F0 !important;
}

html[data-theme="light"] .ucd-auth-tab-btn:not(.is-active) {
	color: #64748B !important;
}

html[data-theme="light"] .ucd-auth-input {
	background: #F8FAFC !important;
	border-color: #CBD5E1 !important;
	color: #0F172A !important;
}

html[data-theme="light"] .ucd-auth-input:focus {
	background: #FFFFFF !important;
	border-color: #C5453E !important;
}

html[data-theme="light"] .ucd-status-spinner {
	border-color: rgba(15, 23, 42, 0.15) !important;
	border-top-color: var(--ucd-primary, #C5453E) !important;
}

html[data-theme="light"] .ucd-otp-banner {
	background: #F0FDF4 !important;
	border-color: #86EFAC !important;
}

html[data-theme="light"] .ucd-otp-banner-title {
	color: #0F172A !important;
}

html[data-theme="light"] .ucd-otp-banner-sub {
	color: #475569 !important;
}

html[data-theme="light"] .ucd-otp-banner-sub strong {
	color: #0284C7 !important;
}

html[data-theme="light"] .ucd-otp-code-input {
	background: #F8FAFC !important;
	border-color: #CBD5E1 !important;
	color: #0F172A !important;
}

html[data-theme="light"] .ucd-otp-link-btn {
	color: #475569 !important;
}

html[data-theme="light"] .ucd-modal-close:hover {
	color: #0F172A !important;
}

html[data-theme="light"] dialog#ucd-auth-modal::backdrop {
	background: rgba(15, 23, 42, 0.65);
}

html[data-theme="light"] .ucd-google-divider {
	color: #64748B !important;
}

html[data-theme="light"] .ucd-google-divider::before,
html[data-theme="light"] .ucd-google-divider::after {
	background: #E2E8F0;
}

html[data-theme="light"] .ucd-google-verified-badge {
	background: #F0FDF4 !important;
	border-color: #86EFAC !important;
}

html[data-theme="light"] .ucd-google-verified-title {
	color: #0F172A !important;
}

html[data-theme="light"] .ucd-google-verified-sub {
	color: #475569 !important;
}

html[data-theme="light"] .ucd-google-verified-sub strong {
	color: #0284C7 !important;
}

html[data-theme="light"] .ucd-auth-alert.info {
	background: #EFF6FF;
	border-color: #93C5FD;
	color: #1E3A8A;
}

html[data-theme="light"] .ucd-auth-alert.error {
	color: #991B1B;
}

html[data-theme="light"] .ucd-auth-alert.success {
	color: #065F46;
}

/* ==========================================================================
   UNIFIED GAMER CHAT WIDGET (Global + Game Room)
   ========================================================================== */
.ucd-chat-widget {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 400;
}

.ucd-chat-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: #FFFFFF;
	border: 1px solid var(--ucd-border);
	border-radius: 28px;
	color: var(--ucd-text-primary);
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.06);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.ucd-chat-toggle-btn:hover {
	border-color: #C5453E;
	color: #C5453E;
	box-shadow: 0 6px 20px rgba(197, 69, 62, 0.22);
	transform: translateY(-2px);
}

html[data-theme="dark"] .ucd-chat-toggle-btn,
html.dark:not([data-theme="light"]) .ucd-chat-toggle-btn {
	background: var(--ucd-bg-surface-elevated);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 240, 255, 0.2);
	color: var(--ucd-text-primary);
}

html[data-theme="dark"] .ucd-chat-toggle-btn:hover,
html.dark:not([data-theme="light"]) .ucd-chat-toggle-btn:hover {
	border-color: var(--ucd-cyan);
	color: var(--ucd-cyan);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 20px var(--ucd-cyan-glow);
}

html[data-theme="light"] .ucd-chat-toggle-btn {
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid #E2E8F0 !important;
	color: #0F172A !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

.ucd-chat-unread-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #FF5A50;
	box-shadow: 0 0 8px #FF5A50;
	animation: pulseLive 1.5s infinite;
}

.ucd-chat-panel {
	width: 350px;
	height: 450px;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid var(--ucd-border);
	border-radius: 18px;
	box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: ucdChatIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] .ucd-chat-panel,
html.dark:not([data-theme="light"]) .ucd-chat-panel {
	background: rgba(16, 20, 29, 0.96) !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 240, 255, 0.15) !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="light"] .ucd-chat-panel {
	background: rgba(255, 255, 255, 0.98) !important;
	border: 1px solid #E2E8F0 !important;
	box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}

@keyframes ucdChatIn {
	from { opacity: 0; transform: translateY(12px) scale(0.96); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.ucd-chat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: #F8FAFC;
	border-bottom: 1px solid var(--ucd-border);
}

html[data-theme="dark"] .ucd-chat-header,
html.dark:not([data-theme="light"]) .ucd-chat-header {
	background: rgba(255, 255, 255, 0.03) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="light"] .ucd-chat-header {
	background: #F8FAFC !important;
	border-bottom: 1px solid #E2E8F0 !important;
}

.ucd-chat-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ucd-chat-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 8px;
	background: transparent;
	border: 1px solid transparent;
	color: var(--ucd-text-secondary);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
}

.ucd-chat-tab-btn:hover {
	color: var(--ucd-text-primary);
	background: rgba(15, 23, 42, 0.04);
}

html[data-theme="dark"] .ucd-chat-tab-btn:hover,
html.dark:not([data-theme="light"]) .ucd-chat-tab-btn:hover {
	background: rgba(255, 255, 255, 0.04);
}

.ucd-chat-tab-btn.is-active {
	background: rgba(197, 69, 62, 0.09);
	border-color: rgba(197, 69, 62, 0.28);
	color: #C5453E;
	font-weight: 800;
}

html[data-theme="dark"] .ucd-chat-tab-btn.is-active,
html.dark:not([data-theme="light"]) .ucd-chat-tab-btn.is-active {
	background: rgba(0, 240, 255, 0.1) !important;
	border-color: rgba(0, 240, 255, 0.35) !important;
	color: var(--ucd-cyan) !important;
}

html[data-theme="light"] .ucd-chat-tab-btn.is-active {
	background: rgba(197, 69, 62, 0.09) !important;
	border-color: rgba(197, 69, 62, 0.28) !important;
	color: #C5453E !important;
}

.ucd-chat-controls {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ucd-chat-tool-btn {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: #FFFFFF;
	border: 1px solid var(--ucd-border);
	color: var(--ucd-text-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	transition: all 0.15s ease;
}

.ucd-chat-tool-btn:hover {
	color: var(--ucd-text-primary);
	border-color: #CBD5E1;
	background: #F1F5F9;
}

html[data-theme="dark"] .ucd-chat-tool-btn,
html.dark:not([data-theme="light"]) .ucd-chat-tool-btn {
	background: rgba(255, 255, 255, 0.05) !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
	color: var(--ucd-text-secondary) !important;
}

html[data-theme="dark"] .ucd-chat-tool-btn:hover,
html.dark:not([data-theme="light"]) .ucd-chat-tool-btn:hover {
	color: var(--ucd-text-primary) !important;
	border-color: var(--ucd-border-glow) !important;
	background: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="light"] .ucd-chat-tool-btn {
	background: #FFFFFF !important;
	border-color: #E2E8F0 !important;
	color: #475569 !important;
}

html[data-theme="light"] .ucd-chat-tool-btn:hover {
	background: #F1F5F9 !important;
	border-color: #CBD5E1 !important;
	color: #0F172A !important;
}

.ucd-chat-feed {
	flex: 1;
	padding: 14px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #F8FAFC;
}

html[data-theme="dark"] .ucd-chat-feed,
html.dark:not([data-theme="light"]) .ucd-chat-feed {
	background: rgba(10, 14, 23, 0.65) !important;
}

html[data-theme="light"] .ucd-chat-feed {
	background: #F8FAFC !important;
}

.ucd-chat-msg-row {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ucd-chat-msg-row.is-me {
	align-items: flex-end;
}

.ucd-chat-msg-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
}

.ucd-chat-msg-tag {
	font-weight: 700;
	color: #0284C7;
}

html[data-theme="dark"] .ucd-chat-msg-tag,
html.dark:not([data-theme="light"]) .ucd-chat-msg-tag {
	color: var(--ucd-cyan) !important;
}

html[data-theme="light"] .ucd-chat-msg-tag {
	color: #0284C7 !important;
}

.ucd-chat-msg-row.is-me .ucd-chat-msg-tag {
	color: #C5453E;
}

html[data-theme="dark"] .ucd-chat-msg-row.is-me .ucd-chat-msg-tag,
html.dark:not([data-theme="light"]) .ucd-chat-msg-row.is-me .ucd-chat-msg-tag {
	color: #FF7B72 !important;
}

html[data-theme="light"] .ucd-chat-msg-row.is-me .ucd-chat-msg-tag {
	color: #C5453E !important;
}

.ucd-chat-msg-time {
	color: var(--ucd-text-muted);
	font-size: 10px;
}

.ucd-chat-bubble {
	padding: 7px 11px;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.4;
	background: #FFFFFF;
	border: 1px solid var(--ucd-border);
	color: var(--ucd-text-primary);
	max-width: 85%;
	word-break: break-word;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

html[data-theme="dark"] .ucd-chat-bubble,
html.dark:not([data-theme="light"]) .ucd-chat-bubble {
	background: var(--ucd-bg-surface-elevated) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	color: var(--ucd-text-primary) !important;
	box-shadow: none !important;
}

html[data-theme="light"] .ucd-chat-bubble {
	background: #FFFFFF !important;
	border: 1px solid #E2E8F0 !important;
	color: #0F172A !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

.ucd-chat-msg-row.is-me .ucd-chat-bubble {
	background: linear-gradient(135deg, #C5453E 0%, #D84D45 100%);
	border-color: #C5453E;
	color: #FFFFFF !important;
	box-shadow: 0 2px 6px rgba(197, 69, 62, 0.25);
}

html[data-theme="dark"] .ucd-chat-msg-row.is-me .ucd-chat-bubble,
html.dark:not([data-theme="light"]) .ucd-chat-msg-row.is-me .ucd-chat-bubble {
	background: linear-gradient(135deg, rgba(197, 69, 62, 0.35), rgba(224, 72, 64, 0.2)) !important;
	border-color: rgba(197, 69, 62, 0.45) !important;
	color: var(--ucd-text-primary) !important;
	box-shadow: none !important;
}

html[data-theme="light"] .ucd-chat-msg-row.is-me .ucd-chat-bubble {
	background: linear-gradient(135deg, #C5453E 0%, #D84D45 100%) !important;
	border-color: #C5453E !important;
	color: #FFFFFF !important;
	box-shadow: 0 2px 6px rgba(197, 69, 62, 0.25) !important;
}

.ucd-chat-footer {
	padding: 10px 12px;
	border-top: 1px solid var(--ucd-border);
	background: #FFFFFF;
}

html[data-theme="dark"] .ucd-chat-footer,
html.dark:not([data-theme="light"]) .ucd-chat-footer {
	background: rgba(0, 0, 0, 0.35) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="light"] .ucd-chat-footer {
	background: #FFFFFF !important;
	border-top: 1px solid #E2E8F0 !important;
}

.ucd-chat-form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ucd-chat-input {
	flex: 1;
	background: #F8FAFC;
	border: 1px solid var(--ucd-border);
	border-radius: 10px;
	padding: 8px 12px;
	font-size: 12px;
	color: var(--ucd-text-primary);
	outline: none;
	font-family: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ucd-chat-input:focus {
	border-color: #C5453E;
	box-shadow: 0 0 0 3px rgba(197, 69, 62, 0.14);
}

html[data-theme="dark"] .ucd-chat-input,
html.dark:not([data-theme="light"]) .ucd-chat-input {
	background: rgba(255, 255, 255, 0.05) !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
	color: var(--ucd-text-primary) !important;
}

html[data-theme="dark"] .ucd-chat-input:focus,
html.dark:not([data-theme="light"]) .ucd-chat-input:focus {
	border-color: var(--ucd-cyan) !important;
	box-shadow: 0 0 10px var(--ucd-cyan-glow) !important;
}

html[data-theme="light"] .ucd-chat-input {
	background: #F8FAFC !important;
	border: 1px solid #CBD5E1 !important;
	color: #0F172A !important;
}

html[data-theme="light"] .ucd-chat-input:focus {
	border-color: #C5453E !important;
	box-shadow: 0 0 0 3px rgba(197, 69, 62, 0.14) !important;
}

.ucd-chat-send-btn {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: linear-gradient(135deg, #C5453E, #E04840);
	border: none;
	color: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.18s ease;
	flex-shrink: 0;
}

.ucd-chat-send-btn:hover {
	background: linear-gradient(135deg, #E04840, #FF5A50);
	transform: scale(1.05);
}

.ucd-chat-voice-btn {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #F1F5F9;
	border: 1px solid var(--ucd-border);
	color: var(--ucd-text-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.18s ease;
	flex-shrink: 0;
	user-select: none;
	-webkit-user-select: none;
}

html[data-theme="dark"] .ucd-chat-voice-btn,
html.dark:not([data-theme="light"]) .ucd-chat-voice-btn {
	background: rgba(255, 255, 255, 0.05) !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
	color: var(--ucd-text-primary) !important;
}

html[data-theme="light"] .ucd-chat-voice-btn {
	background: #F1F5F9 !important;
	border-color: #CBD5E1 !important;
	color: #334155 !important;
}

.ucd-chat-voice-btn:hover {
	color: #C5453E !important;
	border-color: #C5453E !important;
	transform: scale(1.05);
}

.ucd-chat-voice-btn:active {
	background: rgba(197, 69, 62, 0.15) !important;
	border-color: #C5453E !important;
	color: #C5453E !important;
	transform: scale(0.95);
}

/* Live Recording Overlay inside Chat Footer */
.ucd-chat-recording-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 12px;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.4);
	border-radius: 10px;
	gap: 10px;
	animation: ucdRecIn 0.2s ease;
}

@keyframes ucdRecIn {
	from { opacity: 0; transform: scale(0.96); }
	to { opacity: 1; transform: scale(1); }
}

.ucd-recording-indicator {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ucd-recording-beacon {
	width: 8px;
	height: 8px;
	background: #EF4444;
	border-radius: 99px;
	box-shadow: 0 0 8px #EF4444;
	animation: pulseRecDot 1s infinite alternate;
}

@keyframes pulseRecDot {
	0% { opacity: 1; transform: scale(1); }
	100% { opacity: 0.3; transform: scale(1.3); }
}

#ucd-recording-timer {
	font-size: 12px;
	font-weight: 800;
	color: #EF4444;
	font-family: monospace;
}

.ucd-recording-hint {
	font-size: 11px;
	color: var(--ucd-text-secondary);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ucd-recording-cancel-btn {
	background: transparent;
	border: none;
	color: #EF4444;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
	padding: 0 4px;
}

/* Inline Voice Message Audio Player in Chat Bubble */
.ucd-chat-bubble.has-voice {
	padding: 6px 10px;
}

.ucd-chat-voice-bubble {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	user-select: none;
}

.ucd-voice-play-btn {
	width: 28px;
	height: 28px;
	border-radius: 99px;
	background: linear-gradient(135deg, #C5453E, #E04840);
	border: none;
	color: #FFFFFF !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: transform 0.15s ease;
	box-shadow: 0 2px 6px rgba(197, 69, 62, 0.35);
	padding: 0;
}

.ucd-voice-play-btn:hover {
	transform: scale(1.1);
}

.ucd-voice-waveform-wrap {
	position: relative;
	width: 90px;
	height: 20px;
	display: flex;
	align-items: center;
	background: rgba(0, 0, 0, 0.05);
	border-radius: 6px;
	padding: 0 4px;
	overflow: hidden;
}

html[data-theme="dark"] .ucd-voice-waveform-wrap,
html.dark:not([data-theme="light"]) .ucd-voice-waveform-wrap {
	background: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="light"] .ucd-voice-waveform-wrap {
	background: rgba(0, 0, 0, 0.05) !important;
}

.ucd-voice-progress {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0%;
	background: rgba(197, 69, 62, 0.22);
	transition: width 0.1s linear;
	pointer-events: none;
}

.ucd-voice-waves {
	display: flex;
	align-items: center;
	gap: 3px;
	width: 100%;
	height: 100%;
	justify-content: space-between;
}

.ucd-voice-waves span {
	width: 3px;
	border-radius: 2px;
	background: currentColor;
	opacity: 0.55;
}

.ucd-voice-waves span:nth-child(1) { height: 6px; }
.ucd-voice-waves span:nth-child(2) { height: 12px; }
.ucd-voice-waves span:nth-child(3) { height: 16px; }
.ucd-voice-waves span:nth-child(4) { height: 8px; }
.ucd-voice-waves span:nth-child(5) { height: 14px; }
.ucd-voice-waves span:nth-child(6) { height: 18px; }
.ucd-voice-waves span:nth-child(7) { height: 10px; }
.ucd-voice-waves span:nth-child(8) { height: 14px; }
.ucd-voice-waves span:nth-child(9) { height: 8px; }
.ucd-voice-waves span:nth-child(10) { height: 12px; }

.ucd-voice-duration-tag {
	font-size: 11px;
	font-weight: 800;
	opacity: 0.85;
	white-space: nowrap;
}

.ucd-chat-login-prompt {
	text-align: center;
	font-size: 12px;
	padding: 6px;
	color: var(--ucd-text-secondary);
}

html[data-theme="light"] .ucd-chat-login-prompt {
	color: #475569 !important;
}

.ucd-chat-login-prompt a {
	color: #C5453E;
	text-decoration: underline;
	font-weight: 700;
	transition: color 0.15s ease;
}

.ucd-chat-login-prompt a:hover {
	color: #991B1B;
}

html[data-theme="dark"] .ucd-chat-login-prompt a,
html.dark:not([data-theme="light"]) .ucd-chat-login-prompt a {
	color: #FF7B72 !important;
}

html[data-theme="dark"] .ucd-chat-login-prompt a:hover,
html.dark:not([data-theme="light"]) .ucd-chat-login-prompt a:hover {
	color: #FFA39E !important;
}

html[data-theme="light"] .ucd-chat-login-prompt a {
	color: #C5453E !important;
}

html[data-theme="light"] .ucd-chat-login-prompt a:hover {
	color: #991B1B !important;
}

/* Card Thumbnail Interactive Polish */
.ucd-card-thumb img {
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}
.ucd-gaming-card:hover .ucd-card-thumb img {
	transform: scale(1.05);
	filter: brightness(1.08);
}

/* ==========================================================================
   MOBILE & RESPONSIVE POLISH (Ultra-Lightweight & Fluid)
   ========================================================================== */
@media (max-width: 899px) {
	.ucd-games-megamenu {
		position: fixed !important;
		top: 56px !important;
		left: 10px !important;
		right: 10px !important;
		width: auto !important;
		max-height: calc(100dvh - 72px) !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		padding: 16px !important;
		border-radius: 16px !important;
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 24px rgba(197, 69, 62, 0.25) !important;
	}
	.ucd-megamenu-inner {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}
	.ucd-nav-catalog-link {
		display: none !important;
	}
	.ucd-games-megamenu::before {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.site-header {
		padding: 8px 10px !important;
	}
	.site-header-inner {
		gap: 6px !important;
	}
	.brand-wrap {
		gap: 0 !important;
	}
	.brand-logo-img {
		height: 24px !important;
		width: auto !important;
	}
	.brand-badge {
		display: none !important;
	}
	.site-header-actions {
		gap: 6px !important;
	}
	.site-nav-links {
		gap: 4px !important;
	}
	.ucd-megamenu-btn {
		padding: 5px 8px !important;
		font-size: 12px !important;
		min-height: 34px !important;
		gap: 4px !important;
	}
	.ucd-megamenu-btn span {
		font-size: 12px !important;
	}
	.ucd-header-login-btn {
		padding: 5px 9px !important;
		font-size: 12px !important;
		min-height: 34px !important;
		border-radius: 8px !important;
	}
	.ucd-header-profile-btn {
		padding: 2px 6px 2px 3px !important;
		min-height: 34px !important;
		gap: 5px !important;
	}
	.ucd-header-avatar {
		width: 24px !important;
		height: 24px !important;
		font-size: 11px !important;
	}
	.ucd-header-tag {
		max-width: 55px !important;
		font-size: 11px !important;
	}
	.ucd-theme-toggle-btn {
		width: 32px !important;
		height: 32px !important;
		border-radius: 8px !important;
		flex-shrink: 0 !important;
	}
	.ucd-theme-toggle-btn svg {
		width: 14px !important;
		height: 14px !important;
	}

	/* Profile Dropdown Positioning on Mobile */
	.ucd-profile-dropdown {
		position: fixed !important;
		top: 54px !important;
		right: 10px !important;
		left: auto !important;
		width: calc(100vw - 20px) !important;
		max-width: 290px !important;
	}

	/* Catalog Hero & Filter Bar on Mobile */
	.ucd-hero-gaming {
		margin-bottom: 24px !important;
	}
	.ucd-hero-title {
		font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
	}
	.ucd-hero-sub {
		font-size: 14px !important;
		margin-bottom: 20px !important;
	}
	.ucd-filter-bar {
		overflow-x: auto !important;
		flex-wrap: nowrap !important;
		justify-content: flex-start !important;
		-webkit-overflow-scrolling: touch !important;
		padding: 4px 0 8px 0 !important;
		scrollbar-width: none !important;
	}
	.ucd-filter-bar::-webkit-scrollbar {
		display: none !important;
	}
	.ucd-pill {
		flex-shrink: 0 !important;
		padding: 6px 12px !important;
		font-size: 12px !important;
	}

	/* Chat Widget on Mobile */
	.ucd-chat-widget {
		bottom: 14px !important;
		right: 14px !important;
	}
	.ucd-chat-panel {
		width: calc(100vw - 28px) !important;
		height: 360px !important;
		right: 0 !important;
	}
}

@media (max-width: 400px) {
	.brand-badge {
		display: none !important;
	}
	.ucd-header-tag {
		display: none !important;
	}
	.ucd-header-profile-btn {
		padding: 4px !important;
		border-radius: 50% !important;
	}
	.ucd-header-chevron {
		display: none !important;
	}
}

/* Cross-site Game Invite Toast */
.ucd-invite-toast {
	position: fixed;
	top: 72px;
	right: 20px;
	z-index: 9999999;
	max-width: 380px;
	width: calc(100vw - 32px);
	background: rgba(14, 18, 27, 0.95);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(0, 240, 255, 0.45);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.25);
	border-radius: 14px;
	padding: 12px 14px;
	animation: ucdSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ucdSlideDown {
	from {
		opacity: 0;
		transform: translateY(-16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ucd-invite-toast-inner {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ucd-invite-toast-icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(0, 240, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ucd-invite-toast-content {
	flex: 1;
	min-width: 0;
}

.ucd-invite-toast-title {
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	line-height: 1.3;
}

.ucd-invite-toast-sub {
	font-size: 11px;
	color: var(--ucd-text-secondary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ucd-invite-toast-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ucd-invite-btn-join {
	background: linear-gradient(135deg, #00F0FF, #0284C7);
	color: #06070D !important;
	font-size: 12px;
	font-weight: 800;
	padding: 6px 12px;
	border-radius: 8px;
	text-decoration: none !important;
	display: inline-block;
	white-space: nowrap;
	transition: transform 0.15s ease;
}

.ucd-invite-btn-join:hover {
	transform: scale(1.04);
}

.ucd-invite-btn-decline {
	background: rgba(255, 255, 255, 0.08);
	color: var(--ucd-text-muted);
	border: none;
	font-size: 18px;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.ucd-invite-btn-decline:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Gamer Profile & Friends Hub Styles (v1.9.9)
   Responsive Desktop & Mobile Layout + Theme Buttons
   ========================================================================== */

/* Universal Gamer Buttons */
.ucd-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
	color: #FFFFFF !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.03em;
	padding: 10px 20px;
	border-radius: 10px;
	border: 1px solid rgba(239, 68, 68, 0.45);
	box-shadow: 0 4px 14px rgba(239, 68, 68, 0.28);
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	white-space: nowrap;
	box-sizing: border-box;
	user-select: none;
}

.ucd-btn-primary:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
	box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
	color: #FFFFFF !important;
}

.ucd-btn-primary:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.ucd-hud-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--ucd-bg-surface-elevated, #1A1F2C);
	color: var(--ucd-text-primary, #FFFFFF) !important;
	font-size: 13px;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 10px;
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.12));
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
	box-sizing: border-box;
	user-select: none;
}

.ucd-hud-btn:hover {
	border-color: var(--ucd-cyan, #00F0FF);
	color: var(--ucd-cyan, #00F0FF) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(0, 240, 255, 0.22);
}

.ucd-hud-btn:active {
	transform: translateY(0);
}

.ucd-btn-cyan {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #00F0FF 0%, #0284C7 100%);
	color: #04141E !important;
	font-size: 13px;
	font-weight: 850;
	letter-spacing: 0.03em;
	padding: 10px 20px;
	border-radius: 10px;
	border: 1px solid rgba(0, 240, 255, 0.6);
	box-shadow: 0 4px 16px rgba(0, 240, 255, 0.32);
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	white-space: nowrap;
	box-sizing: border-box;
}

.ucd-btn-cyan:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(0, 240, 255, 0.55);
	color: #04141E !important;
}

.ucd-btn-cyan:active {
	transform: translateY(0);
}

/* Profile Panels */
.ucd-profile-panel {
	background: var(--ucd-bg-surface, #121622);
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.08));
	border-radius: 18px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
	display: block;
	transition: border-color 0.2s ease;
}

.ucd-pending-card {
	border-color: var(--ucd-cyan, #00F0FF) !important;
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.15) !important;
}

.ucd-profile-hero-card {
	background: var(--ucd-bg-surface);
	border: 1px solid var(--ucd-border);
	border-radius: 20px;
	padding: 28px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	margin-bottom: 28px;
	position: relative;
	overflow: hidden;
}

.ucd-profile-hero-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ucd-primary), var(--ucd-cyan), var(--ucd-violet));
}

.ucd-profile-hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.ucd-profile-hero-left {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.ucd-profile-avatar-wrap {
	position: relative;
	width: 76px;
	height: 76px;
	flex-shrink: 0;
}

.ucd-profile-avatar-circle {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ucd-primary), var(--ucd-cyan));
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: 900;
	text-transform: uppercase;
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.ucd-presence-indicator {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 3px solid var(--ucd-bg-surface);
}

.ucd-presence-indicator.is-online {
	background: var(--ucd-emerald);
	box-shadow: 0 0 10px var(--ucd-emerald);
}

.ucd-presence-indicator.is-offline {
	background: var(--ucd-text-muted);
}

.ucd-presence-indicator-sm {
	position: absolute;
	bottom: -2px;
	right: -2px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--ucd-bg-surface);
}

.ucd-presence-indicator-sm.is-online {
	background: var(--ucd-emerald);
	box-shadow: 0 0 6px var(--ucd-emerald);
}

.ucd-presence-indicator-sm.is-offline {
	background: var(--ucd-text-muted);
}

.ucd-profile-hero-info {
	flex: 1;
	min-width: 220px;
}

.ucd-profile-tag-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.ucd-profile-tag {
	font-size: clamp(1.5rem, 3.5vw, 2.1rem);
	font-weight: 900;
	color: var(--ucd-text-primary);
	margin: 0;
	letter-spacing: -0.02em;
}

.ucd-profile-self-badge {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	background: rgba(197, 69, 62, 0.18);
	border: 1px solid var(--ucd-primary);
	color: var(--ucd-primary);
	padding: 2px 8px;
	border-radius: 6px;
	letter-spacing: 0.05em;
}

.ucd-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 12px;
}

.ucd-status-badge.status-online {
	background: rgba(16, 185, 129, 0.12);
	color: var(--ucd-emerald);
	border: 1px solid rgba(16, 185, 129, 0.28);
}

.ucd-status-badge.status-offline {
	background: rgba(100, 116, 139, 0.12);
	color: var(--ucd-text-muted);
	border: 1px solid rgba(100, 116, 139, 0.25);
}

.ucd-status-badge .status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.ucd-status-badge.status-online .status-dot {
	box-shadow: 0 0 6px var(--ucd-emerald);
}

.ucd-profile-meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--ucd-text-secondary);
	flex-wrap: wrap;
}

.ucd-profile-hero-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ucd-friends-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ucd-emerald);
	background: rgba(16, 185, 129, 0.14);
	border: 1px solid rgba(16, 185, 129, 0.3);
	padding: 8px 14px;
	border-radius: 10px;
}

.ucd-btn-danger-outline {
	background: transparent;
	border: 1px solid rgba(197, 69, 62, 0.4);
	color: var(--ucd-primary);
	font-size: 13px;
	font-weight: 700;
	padding: 8px 14px;
	border-radius: 10px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.ucd-btn-danger-outline:hover {
	background: rgba(197, 69, 62, 0.14);
	border-color: var(--ucd-primary);
}

.ucd-profile-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	padding-top: 22px;
	border-top: 1px solid var(--ucd-border);
}

.ucd-profile-stat-box {
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	border-radius: 12px;
	padding: 14px 16px;
	text-align: center;
}

.ucd-profile-stat-box .stat-label {
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--ucd-text-muted);
	margin-bottom: 4px;
}

.ucd-profile-stat-box .stat-value {
	font-size: 20px;
	font-weight: 900;
	color: var(--ucd-text-primary);
	font-family: monospace;
}

.ucd-gold-glow { color: var(--ucd-gold) !important; text-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
.ucd-emerald-glow { color: var(--ucd-emerald) !important; text-shadow: 0 0 10px rgba(16, 185, 129, 0.3); }
.ucd-cyan-glow { color: var(--ucd-cyan) !important; text-shadow: 0 0 10px rgba(0, 240, 255, 0.3); }

/* Responsive Grid Profile Layout */
.ucd-profile-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: flex-start;
}

.ucd-profile-main-col {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ucd-profile-side-col {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ucd-pending-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ucd-friend-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	border-radius: 12px;
	padding: 12px 14px;
	gap: 12px;
}

.ucd-friend-left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.ucd-friend-avatar-wrap {
	position: relative;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
}

.ucd-friend-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ucd-primary), var(--ucd-cyan));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	font-weight: 800;
	text-transform: uppercase;
	flex-shrink: 0;
}

.ucd-friend-name {
	font-size: 14px;
	font-weight: 800;
	color: var(--ucd-text-primary);
	text-decoration: none;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ucd-friend-name:hover {
	color: var(--ucd-cyan);
}

.ucd-friend-sub {
	font-size: 11px;
	color: var(--ucd-text-muted);
}

.ucd-friend-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ucd-btn-primary-sm {
	background: linear-gradient(135deg, var(--ucd-primary), #E04E46);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 800;
	border: none;
	border-radius: 8px;
	padding: 6px 12px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: transform 0.15s ease;
	text-decoration: none;
	white-space: nowrap;
}

.ucd-btn-primary-sm:hover {
	transform: scale(1.03);
}

.ucd-btn-ghost-sm {
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	color: var(--ucd-text-primary);
	font-size: 12px;
	font-weight: 700;
	border-radius: 8px;
	padding: 6px 12px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ucd-btn-ghost-sm:hover {
	border-color: var(--ucd-cyan);
	color: var(--ucd-cyan);
}

.ucd-btn-icon-danger {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: transparent;
	border: 1px solid transparent;
	color: var(--ucd-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
}

.ucd-btn-icon-danger:hover {
	background: rgba(197, 69, 62, 0.15);
	color: var(--ucd-primary);
	border-color: var(--ucd-primary);
}

.ucd-friends-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 14px;
}

.ucd-friend-card {
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	border-radius: 14px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ucd-friend-card-top {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ucd-friend-info {
	min-width: 0;
	flex: 1;
}

.ucd-friend-status-text {
	font-size: 11px;
	font-weight: 600;
}

.color-online { color: var(--ucd-emerald); }
.color-offline { color: var(--ucd-text-muted); }

.ucd-friend-card-score {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	color: var(--ucd-text-muted);
	background: var(--ucd-bg-canvas);
	padding: 6px 10px;
	border-radius: 8px;
}

.ucd-friend-card-score strong {
	color: var(--ucd-text-primary);
	font-family: monospace;
}

.ucd-friend-card-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: flex-end;
}

.ucd-profile-games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.ucd-profile-game-card {
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	border-radius: 14px;
	padding: 16px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ucd-profile-game-card:hover {
	transform: translateY(-2px);
	border-color: var(--ucd-primary);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.ucd-profile-game-card .game-tag-badge {
	font-size: 10px;
	font-weight: 800;
	color: var(--ucd-primary);
	letter-spacing: 0.05em;
}

.ucd-profile-game-card h4 {
	font-size: 15px;
	font-weight: 800;
	color: var(--ucd-text-primary);
	margin: 0;
}

.ucd-profile-game-card p {
	font-size: 12px;
	color: var(--ucd-text-secondary);
	margin: 0;
	line-height: 1.4;
}

.ucd-profile-stat-tile {
	background: var(--ucd-bg-surface-elevated);
	border: 1px solid var(--ucd-border);
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ucd-profile-stat-tile .tile-game {
	font-size: 11px;
	font-weight: 800;
	color: var(--ucd-cyan);
	text-transform: uppercase;
}

.ucd-profile-stat-tile .tile-val {
	font-size: 20px;
	font-weight: 900;
	color: var(--ucd-text-primary);
	font-family: monospace;
}

.ucd-profile-stat-tile .tile-desc {
	font-size: 12px;
	color: var(--ucd-text-muted);
}

.ucd-chat-tag-link {
	color: inherit;
	text-decoration: none;
	font-weight: 800;
	transition: color 0.15s ease;
}

.ucd-chat-tag-link:hover {
	color: var(--ucd-cyan);
	text-decoration: underline;
}

/* Light Theme Overrides */
html[data-theme="light"] .ucd-profile-hero-card {
	background: #FFFFFF !important;
	border-color: #E2E8F0 !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .ucd-profile-panel {
	background: #FFFFFF !important;
	border-color: #E2E8F0 !important;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .ucd-hud-btn {
	background: #FFFFFF !important;
	border-color: #CBD5E1 !important;
	color: #0F172A !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] .ucd-hud-btn:hover {
	border-color: #0284C7 !important;
	color: #0284C7 !important;
	background: #F0F9FF !important;
}

html[data-theme="light"] .ucd-btn-primary {
	background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
	color: #FFFFFF !important;
	border-color: #DC2626 !important;
}

html[data-theme="light"] .ucd-btn-cyan {
	background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
	color: #FFFFFF !important;
	border-color: #0284C7 !important;
}

html[data-theme="light"] .ucd-profile-stat-box {
	background: #F8FAFC !important;
	border-color: #E2E8F0 !important;
}

html[data-theme="light"] .ucd-friend-card {
	background: #F8FAFC !important;
	border-color: #E2E8F0 !important;
}

html[data-theme="light"] .ucd-friend-card-score {
	background: #EDF2F7 !important;
}

html[data-theme="light"] .ucd-friend-row {
	background: #F8FAFC !important;
	border-color: #E2E8F0 !important;
}

html[data-theme="light"] .ucd-profile-game-card {
	background: #F8FAFC !important;
	border-color: #E2E8F0 !important;
}

html[data-theme="light"] .ucd-profile-stat-tile {
	background: #F8FAFC !important;
	border-color: #E2E8F0 !important;
}

/* Responsive Breakpoints: Tablet & Mobile */
@media (max-width: 960px) {
	.ucd-profile-layout {
		grid-template-columns: 1fr;
	}
	.ucd-profile-side-col {
		width: 100%;
	}
	.ucd-profile-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.ucd-profile-page {
		padding-top: 18px !important;
		padding-bottom: 50px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
	.ucd-profile-hero-card {
		padding: 18px 14px !important;
		border-radius: 16px !important;
		margin-bottom: 18px !important;
	}
	.ucd-profile-hero-top {
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		gap: 14px !important;
		margin-bottom: 16px !important;
	}
	.ucd-profile-hero-left {
		flex-direction: column !important;
		align-items: center !important;
		gap: 12px !important;
	}
	.ucd-profile-tag-row {
		justify-content: center !important;
		gap: 8px !important;
	}
	.ucd-profile-meta-row {
		justify-content: center !important;
		gap: 6px !important;
		font-size: 11.5px !important;
	}
	.ucd-profile-hero-actions {
		width: 100% !important;
		justify-content: center !important;
		gap: 8px !important;
	}
	.ucd-profile-hero-actions .ucd-btn-primary,
	.ucd-profile-hero-actions .ucd-hud-btn,
	.ucd-profile-hero-actions .ucd-btn-cyan {
		flex: 1 1 130px !important;
		padding: 9px 12px !important;
		font-size: 12px !important;
		justify-content: center !important;
	}
	.ucd-profile-stats-grid {
		grid-template-columns: 1fr 1fr !important;
		gap: 8px !important;
		padding-top: 14px !important;
	}
	.ucd-profile-stat-box {
		padding: 10px 8px !important;
	}
	.ucd-profile-stat-box .stat-label {
		font-size: 9.5px !important;
	}
	.ucd-profile-stat-box .stat-value {
		font-size: 17px !important;
	}
	.ucd-profile-panel {
		padding: 16px 14px !important;
		border-radius: 14px !important;
		margin-bottom: 16px !important;
	}
	.ucd-friends-grid {
		grid-template-columns: 1fr !important;
	}
	.ucd-profile-games-grid {
		grid-template-columns: 1fr !important;
	}
}


/* ==========================================================================
   FULLSCREEN GAMER CHAT VISIBILITY & OVERLAY
   ========================================================================== */
:fullscreen #ucd-chat-widget,
:-webkit-full-screen #ucd-chat-widget,
.ucd-game-frame.is-fullscreen #ucd-chat-widget {
	position: fixed !important;
	bottom: 24px !important;
	right: 24px !important;
	z-index: 2147483647 !important;
	display: block !important;
}

:fullscreen .ucd-chat-panel,
:-webkit-full-screen .ucd-chat-panel,
.ucd-game-frame.is-fullscreen .ucd-chat-panel {
	z-index: 2147483647 !important;
}


/* ==========================================================================
   SEO GAME LANDING HUB & DEDICATED PLAY STYLES (v1.6.6)
   ========================================================================== */

/* Hero Showcase Card */
.ucd-landing-hero-card {
	background: linear-gradient(135deg, rgba(26, 29, 46, 0.95) 0%, rgba(18, 20, 31, 0.98) 100%);
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.08));
	border-radius: 24px;
	padding: 40px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	position: relative;
	overflow: hidden;
}

html[data-theme="light"] .ucd-landing-hero-card {
	background: #ffffff;
	border-color: #E2E8F0;
	box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.ucd-hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: center;
}

.ucd-hero-badges {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.ucd-badge-emerald {
	background: rgba(16, 185, 129, 0.15) !important;
	color: #10B981 !important;
	border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.ucd-hero-rating {
	font-size: 13px;
	font-weight: 700;
	color: #F59E0B;
}

.ucd-hero-title {
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: var(--ucd-text-primary, #ffffff);
	margin: 0 0 16px 0;
}

.ucd-hero-tagline {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ucd-text-secondary, #94a3b8);
	margin: 0 0 28px 0;
	max-width: 600px;
}

/* High-Impact Glowing Play CTA Button */
.ucd-hero-cta-group {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.ucd-btn-play-large {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, #E03E36 0%, #C5453E 50%, #9E2B25 100%);
	color: #ffffff !important;
	padding: 16px 32px;
	border-radius: 16px;
	text-decoration: none !important;
	box-shadow: 0 12px 32px rgba(197, 69, 62, 0.45), 0 0 20px rgba(197, 69, 62, 0.3);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
	animation: ucdBtnGlow 3s infinite alternate;
}

.ucd-btn-play-large:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 16px 40px rgba(197, 69, 62, 0.65), 0 0 30px rgba(197, 69, 62, 0.5);
	color: #ffffff !important;
}

.ucd-play-btn-icon {
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.ucd-play-btn-content {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.ucd-play-btn-primary {
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

.ucd-play-btn-sub {
	font-size: 11.5px;
	opacity: 0.88;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.ucd-btn-guide-anchor {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ucd-text-secondary, #94a3b8);
	background: var(--ucd-bg-elevated, #1a1d2e);
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.08));
	padding: 14px 20px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.ucd-btn-guide-anchor:hover {
	color: var(--ucd-text-primary, #ffffff);
	border-color: var(--ucd-primary, #c5453e);
	background: rgba(255, 255, 255, 0.08);
}

/* Hero Specs Bar */
.ucd-hero-specs-row {
	display: flex;
	gap: 24px;
	border-top: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.08));
	padding-top: 20px;
}

.ucd-spec-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ucd-spec-label {
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ucd-text-muted, #64748b);
	font-weight: 600;
}

.ucd-spec-val {
	font-size: 14px;
	font-weight: 700;
	color: var(--ucd-text-primary, #ffffff);
}

/* Interactive Preview Card */
.ucd-preview-card {
	display: block;
	text-decoration: none;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: #000000;
	aspect-ratio: 16 / 9;
}

.ucd-preview-card:hover {
	transform: scale(1.02);
	box-shadow: 0 20px 48px rgba(197, 69, 62, 0.35);
}

.ucd-preview-thumb-wrap {
	position: relative;
	width: 100%;
	height: 100%;
}

.ucd-preview-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ucd-preview-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	transition: background 0.2s ease;
}

.ucd-preview-card:hover .ucd-preview-overlay {
	background: linear-gradient(180deg, rgba(197, 69, 62, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.ucd-preview-play-orb {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--ucd-primary, #c5453e);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 30px rgba(197, 69, 62, 0.8);
	transition: transform 0.2s ease;
}

.ucd-preview-card:hover .ucd-preview-play-orb {
	transform: scale(1.12);
}

.ucd-preview-cta-text {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* SEO Content Sections */
.ucd-section-heading {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 16px 0;
	color: var(--ucd-text-primary, #ffffff);
	letter-spacing: -0.02em;
}

.ucd-content-body {
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--ucd-text-secondary, #94a3b8);
}

.ucd-controls-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ucd-control-box {
	background: var(--ucd-bg-elevated, #1a1d2e);
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.08));
	border-radius: 16px;
	padding: 20px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.ucd-control-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(197, 69, 62, 0.15);
	color: var(--ucd-primary, #c5453e);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ucd-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.ucd-feature-item {
	background: var(--ucd-bg-elevated, #1a1d2e);
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.08));
	border-radius: 16px;
	padding: 20px;
}

.ucd-feature-emoji {
	font-size: 28px;
	display: block;
	margin-bottom: 10px;
}

.ucd-feature-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--ucd-text-primary, #ffffff);
	margin: 0 0 6px 0;
}

.ucd-feature-desc {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--ucd-text-secondary, #94a3b8);
	margin: 0;
}

.ucd-tips-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ucd-tip-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--ucd-text-secondary, #94a3b8);
}

.ucd-tip-bullet {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.15);
	color: #10B981;
	font-size: 12px;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

/* FAQ Accordion */
.ucd-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ucd-faq-item {
	background: var(--ucd-bg-elevated, #1a1d2e);
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.08));
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.ucd-faq-item[open] {
	border-color: rgba(197, 69, 62, 0.4);
}

.ucd-faq-question {
	padding: 16px 20px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ucd-text-primary, #ffffff);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	user-select: none;
}

.ucd-faq-question::-webkit-details-marker {
	display: none;
}

.ucd-faq-chevron {
	transition: transform 0.2s ease;
	flex-shrink: 0;
	color: var(--ucd-text-muted, #64748b);
}

.ucd-faq-item[open] .ucd-faq-chevron {
	transform: rotate(180deg);
	color: var(--ucd-primary, #c5453e);
}

.ucd-faq-answer {
	padding: 0 20px 18px 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--ucd-text-secondary, #94a3b8);
}

.ucd-faq-answer p {
	margin: 0;
}

/* Light Theme Overrides for Landing Hub */
html[data-theme="light"] .ucd-control-box,
html[data-theme="light"] .ucd-feature-item,
html[data-theme="light"] .ucd-faq-item,
html[data-theme="light"] .ucd-btn-guide-anchor {
	background: #F8FAFC !important;
	border-color: #E2E8F0 !important;
}

html[data-theme="light"] .ucd-hero-title,
html[data-theme="light"] .ucd-section-heading,
html[data-theme="light"] .ucd-feature-title,
html[data-theme="light"] .ucd-faq-question {
	color: #0F172A !important;
}

html[data-theme="light"] .ucd-hero-tagline,
html[data-theme="light"] .ucd-content-body,
html[data-theme="light"] .ucd-feature-desc,
html[data-theme="light"] .ucd-tip-item,
html[data-theme="light"] .ucd-faq-answer {
	color: #475569 !important;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
	.ucd-hero-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.ucd-controls-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ucd-landing-hero-card {
		padding: 24px 18px;
		border-radius: 18px;
	}
	.ucd-hero-title {
		font-size: 1.85rem;
	}
	.ucd-hero-tagline {
		font-size: 14px;
	}
	.ucd-btn-play-large {
		width: 100%;
		justify-content: center;
		padding: 14px 20px;
	}
	.ucd-btn-guide-anchor {
		width: 100%;
		justify-content: center;
	}
	.ucd-hero-specs-row {
		flex-wrap: wrap;
		gap: 14px 24px;
	}
}

@keyframes ucdBtnGlow {
	0% { box-shadow: 0 12px 32px rgba(197, 69, 62, 0.45), 0 0 15px rgba(197, 69, 62, 0.25); }
	100% { box-shadow: 0 14px 38px rgba(197, 69, 62, 0.65), 0 0 25px rgba(197, 69, 62, 0.5); }
}


/* WP Admin Bar suppression for players & full-viewport play screen */
body:not(.admin-bar) #wpadminbar,
html.ucd-play-html #wpadminbar,
body.ucd-play-body #wpadminbar {
	display: none !important;
}

html.ucd-play-html,
body.ucd-play-body {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* ==========================================================================
   Universal Gamer Profile Modal (Cross-Game Social Hub)
   ========================================================================== */
.ucd-profile-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(4, 6, 11, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ucd-profile-modal-overlay.is-open {
	display: flex;
}
.ucd-profile-modal-card {
	background: var(--ucd-bg-surface, #10141D);
	border: 1.5px solid var(--ucd-border, rgba(255, 255, 255, 0.1));
	border-radius: 20px;
	width: 100%;
	max-width: 440px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
	position: relative;
	overflow: hidden;
	animation: ucdPopIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
	box-sizing: border-box;
}
@keyframes ucdPopIn {
	from { opacity: 0; transform: scale(0.92); }
	to { opacity: 1; transform: scale(1); }
}
.ucd-profile-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.15));
	color: var(--ucd-text-primary, #FFFFFF);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	transition: all 0.15s ease;
	z-index: 5;
}
.ucd-profile-modal-close:hover {
	background: rgba(239, 68, 68, 0.2);
	color: #EF4444;
}
.ucd-pmodal-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px 20px 16px 20px;
	border-bottom: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.1));
}
.ucd-pmodal-avatar {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ucd-crimson, #C5453E), var(--ucd-cyan, #00F0FF));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 900;
	color: #FFFFFF;
	box-shadow: 0 4px 16px rgba(0, 240, 255, 0.35);
	flex-shrink: 0;
}
.ucd-pmodal-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.ucd-pmodal-tag {
	font-size: 19px;
	font-weight: 900;
	color: var(--ucd-text-primary, #FFFFFF);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ucd-pmodal-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
}
.ucd-pmodal-status.is-online {
	color: #10B981;
}
.ucd-pmodal-status.is-offline {
	color: var(--ucd-text-muted, #94A3B8);
}
.ucd-pmodal-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 6px currentColor;
}
.ucd-pmodal-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 16px 20px;
	background: rgba(0, 0, 0, 0.15);
	border-bottom: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.1));
}
.ucd-pmodal-stat-box {
	text-align: center;
	padding: 8px 6px;
	background: var(--ucd-bg-card, rgba(255, 255, 255, 0.03));
	border-radius: 10px;
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.08));
}
.ucd-pmodal-stat-val {
	font-size: 16px;
	font-weight: 900;
	color: var(--ucd-text-primary, #FFFFFF);
	display: block;
}
.ucd-pmodal-stat-lbl {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--ucd-text-secondary, #94A3B8);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-top: 2px;
}
.ucd-pmodal-actions {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ucd-pmodal-btn-add {
	background: linear-gradient(135deg, #00F0FF, #0284C7);
	color: #04101A !important;
	font-weight: 800;
	font-size: 14px;
	border: none;
	border-radius: 12px;
	padding: 12px 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 18px rgba(0, 240, 255, 0.4);
	transition: all 0.15s ease;
	text-decoration: none;
	width: 100%;
	box-sizing: border-box;
}
.ucd-pmodal-btn-add:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(0, 240, 255, 0.6);
}
.ucd-pmodal-btn-chat {
	background: rgba(16, 185, 129, 0.12);
	border: 1.5px solid #10B981;
	color: #10B981;
	font-weight: 800;
	font-size: 13.5px;
	border-radius: 12px;
	padding: 11px 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.15s ease;
	width: 100%;
	box-sizing: border-box;
}
.ucd-pmodal-btn-chat:hover {
	background: #10B981;
	color: #FFFFFF;
}
.ucd-pmodal-btn-profile {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--ucd-border, rgba(255, 255, 255, 0.15));
	color: var(--ucd-text-primary, #FFFFFF);
	font-weight: 700;
	font-size: 12.5px;
	border-radius: 10px;
	padding: 9px 14px;
	text-align: center;
	text-decoration: none;
	display: block;
	transition: all 0.15s ease;
}
.ucd-pmodal-btn-profile:hover {
	border-color: var(--ucd-cyan, #00F0FF);
	color: var(--ucd-cyan, #00F0FF);
}
.ucd-pmodal-badge-friends {
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #10B981;
	padding: 9px 14px;
	border-radius: 10px;
	font-weight: 800;
	font-size: 13px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.ucd-pmodal-badge-pending {
	background: rgba(245, 158, 11, 0.15);
	border: 1px solid rgba(245, 158, 11, 0.4);
	color: #F59E0B;
	padding: 10px 14px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 13px;
	text-align: center;
}

