:root {
	--shell-bg: #f8f3e7;
	--shell-surface: #fffaf0;
	--shell-panel: #ffffff;
	--shell-ink: #211d17;
	--shell-muted: #6c665c;
	--shell-gold: #d39a27;
	--shell-gold-soft: #f1dfb8;
	--shell-border: #ead9b7;
	--shell-dark: #0f1714;
	--shell-max: 1440px;
}

/* Final club dark override after legacy component skins. */
body.chessora-shell.view-clubs .shell-page {
	background:
		linear-gradient(rgba(241, 207, 119, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(241, 207, 119, .035) 1px, transparent 1px),
		#07110f !important;
	background-size: 64px 64px !important;
}

body.chessora-shell.view-clubs .shell-component-card,
body.chessora-shell.view-clubs .chessora-clubs-page {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs .chessora-club-command-hero,
body.chessora-shell.view-clubs .chessora-clubs-hero,
body.chessora-shell.view-clubs .chessora-club-overview-strip article,
body.chessora-shell.view-clubs .chessora-club-room-panel,
body.chessora-shell.view-clubs .chessora-club-list-card,
body.chessora-shell.view-clubs .chessora-club-welcome-card,
body.chessora-shell.view-clubs .chessora-club-member-panel,
body.chessora-shell.view-clubs .chessora-club-instructions,
body.chessora-shell.view-clubs .chessora-club-rules,
body.chessora-shell.view-clubs .chessora-club-post-list article,
body.chessora-shell.view-clubs .chessora-club-forum-list article,
body.chessora-shell.view-clubs .chessora-club-activity-stream button,
body.chessora-shell.view-clubs .chessora-club-wall-replies article {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border-color: rgba(229, 180, 77, .22) !important;
	box-shadow: none !important;
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs :where(h1, h2, h3, strong, b, label span, dt, dd) {
	color: #fff7df !important;
}

body.chessora-shell.view-clubs :where(p, small, li, span, time) {
	color: #cbd4c8 !important;
}

body.chessora-shell.view-clubs .chessora-kicker,
body.chessora-shell.view-clubs .chessora-club-member-panel > header span,
body.chessora-shell.view-clubs .chessora-club-activity-stream > button > span,
body.chessora-shell.view-clubs .chessora-club-wall-replies > header button {
	color: #f1cf77 !important;
}

body.chessora-shell.view-clubs .chessora-button,
body.chessora-shell.view-clubs .chessora-club-tools-grid button,
body.chessora-shell.view-clubs .chessora-club-member-tools button,
body.chessora-shell.view-clubs button[data-club-tool-target] {
	background: rgba(255, 255, 255, .045) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-button-primary,
body.chessora-shell.view-clubs .chessora-club-tools-grid button.is-active,
body.chessora-shell.view-clubs button[data-club-tool-target].is-active {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, .62) !important;
	color: #151008 !important;
}

body.chessora-shell.view-clubs .chessora-club-post-form :where(input, select, textarea),
body.chessora-shell.view-clubs .chessora-club-forum-list form :where(input, select, textarea),
body.chessora-shell.view-clubs .chessora-club-reply-form :where(input, select, textarea) {
	background: #07110f !important;
	border-color: rgba(229, 180, 77, .42) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-club-post-form :where(input, textarea)::placeholder,
body.chessora-shell.view-clubs .chessora-club-reply-form textarea::placeholder {
	color: #97a59a !important;
	opacity: 1 !important;
}

body.chessora-shell.view-clubs .chessora-club-league-rules article,
body.chessora-shell.view-clubs .chessora-club-league-form-note {
	background: #fff8e6 !important;
	border-color: #d8b85d !important;
}

body.chessora-shell.view-clubs .chessora-club-league-rules article.is-premium {
	background: linear-gradient(135deg, #fff2c9, #efd078) !important;
	border-color: #d39b2c !important;
}

body.chessora-shell.view-clubs .chessora-club-league-rules span,
body.chessora-shell.view-clubs .chessora-club-league-form-note strong {
	color: #7a4d08 !important;
}

body.chessora-shell.view-clubs .chessora-club-league-rules strong {
	color: #261a08 !important;
}

body.chessora-shell.view-clubs .chessora-club-league-rules p,
body.chessora-shell.view-clubs .chessora-club-league-form-note span {
	color: #3f4939 !important;
}

/* Last-pass private club tournament template fix. */
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-grid {
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side {
	align-items: start !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: minmax(0, 1fr) !important;
	max-width: 100% !important;
	min-width: 0 !important;
	order: -1 !important;
	padding: 16px 18px !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side dl,
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools,
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-box,
body.chessora-shell.view-clubs .chessora-club-tournament-list,
body.chessora-shell.view-clubs .chessora-club-private-tournament,
body.chessora-shell.view-clubs .chessora-club-tournament-broadcast,
body.chessora-shell.view-clubs .chessora-club-crosstable-panel,
body.chessora-shell.view-clubs .chessora-club-pairings-panel,
body.chessora-shell.view-clubs .chessora-club-selection-panel,
body.chessora-shell.view-clubs .chessora-club-presence-panel,
body.chessora-shell.view-clubs .chessora-club-standings-panel {
	box-sizing: border-box !important;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: hidden !important;
	overflow-wrap: anywhere !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border: 1px solid rgba(229, 180, 77, .26) !important;
	box-shadow: none !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr) !important;
	margin-top: 16px !important;
	padding: 22px !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament h1 {
	color: #fff7df !important;
	font-size: clamp(1.65rem, 3vw, 2.45rem) !important;
	line-height: 1.08 !important;
	margin: 0 !important;
	overflow-wrap: anywhere !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament .chessora-event-open-note {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage {
	margin-inline: auto !important;
	max-width: min(100%, 600px) !important;
}

/* Final result/rematch UI pass. */
body.chessora-shell.view-game .chessora-game-room .chessora-result-player .chessora-player-avatar {
	height: 58px !important;
	width: 58px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button:first-child {
	grid-column: 1 !important;
	justify-content: center !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-game-finished .chessora-panel-tabs button[data-tool-tab="info"] {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, .7) !important;
	color: #151008 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-game-finished .chessora-panel-tabs button[data-tool-tab="info"].is-active {
	box-shadow: inset 0 -3px 0 rgba(255, 247, 223, .72), 0 0 0 1px rgba(241, 207, 119, .28) !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .16), rgba(255, 255, 255, .035)),
		#07110f !important;
	border: 1px solid rgba(241, 207, 119, .34) !important;
	border-radius: 10px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	margin-bottom: 14px !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card span {
	color: #f1cf77 !important;
	display: block !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card strong {
	color: #fff7df !important;
	display: block !important;
	font-size: 1rem !important;
	margin-top: 2px !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card p {
	color: #cfd7cc !important;
	font-size: .9rem !important;
	margin: 4px 0 0 !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card .chessora-button {
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form {
	display: inline-flex !important;
	margin: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form .chessora-button-danger {
	background: rgba(145, 49, 42, .16) !important;
	border: 1px solid rgba(255, 139, 126, .38) !important;
	color: #ffd4cf !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form .chessora-button-danger:hover {
	background: rgba(145, 49, 42, .28) !important;
	border-color: rgba(255, 139, 126, .62) !important;
	color: #fff2ef !important;
}

/* Profile hero social command strip. */
body.chessora-shell.view-profile .chessora-profile-hero-actions {
	align-content: center !important;
	align-items: stretch !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(5, minmax(96px, 1fr)) !important;
	justify-content: stretch !important;
	max-width: 520px !important;
	width: 100% !important;
}

body.chessora-shell.view-profile .chessora-profile-hero-actions form {
	display: contents !important;
	margin: 0 !important;
}

body.chessora-shell.view-profile .chessora-profile-social-action {
	align-items: center !important;
	background:
		linear-gradient(180deg, rgba(255, 247, 223, .08), rgba(255, 247, 223, .02)),
		#101b16 !important;
	border: 1px solid rgba(229, 180, 77, .42) !important;
	border-radius: 8px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) !important;
	color: #fff7df !important;
	cursor: pointer !important;
	display: grid !important;
	font: inherit !important;
	gap: 7px !important;
	justify-items: center !important;
	min-height: 74px !important;
	padding: 11px 10px !important;
	text-align: center !important;
	text-decoration: none !important;
	width: 100% !important;
}

body.chessora-shell.view-profile .chessora-profile-social-action span {
	align-items: center !important;
	background: linear-gradient(135deg, #fff0a7, #d29a28) !important;
	border: 1px solid rgba(255, 247, 223, .7) !important;
	border-radius: 999px !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .45) !important;
	color: #11170f !important;
	display: inline-grid !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	height: 30px !important;
	justify-content: center !important;
	line-height: 1 !important;
	width: 30px !important;
}

body.chessora-shell.view-profile .chessora-profile-social-action strong {
	color: #fff7df !important;
	display: block !important;
	font-size: .8rem !important;
	font-weight: 950 !important;
	letter-spacing: 0 !important;
	line-height: 1.08 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	width: 100% !important;
}

body.chessora-shell.view-profile .chessora-profile-social-action:hover,
body.chessora-shell.view-profile .chessora-profile-social-action:focus-visible {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, .22), rgba(241, 207, 119, .06)),
		#14231c !important;
	border-color: rgba(241, 207, 119, .72) !important;
	color: #fff7df !important;
	outline: 0 !important;
	transform: translateY(-1px) !important;
}

body.chessora-shell.view-profile .chessora-profile-social-action.is-danger {
	border-color: rgba(255, 139, 126, .34) !important;
}

body.chessora-shell.view-profile .chessora-profile-social-action.is-danger span {
	background: linear-gradient(135deg, #ffd5ce, #b44e43) !important;
	color: #1b0f0d !important;
}

@media (max-width: 1100px) {
	body.chessora-shell.view-profile .chessora-profile-hero-actions {
		grid-template-columns: repeat(3, minmax(96px, 1fr)) !important;
		max-width: 100% !important;
	}
}

@media (max-width: 620px) {
	body.chessora-shell.view-profile .chessora-profile-hero-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.chessora-shell.view-profile .chessora-profile-social-action {
		min-height: 64px !important;
	}
}

@media (max-width: 620px) {
	body.chessora-shell.view-game .chessora-rematch-info-card {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-game .chessora-rematch-info-card .chessora-button {
		width: 100% !important;
	}
}

/* Final shell layout overrides. */
body.chessora-shell.view-clubs .chessora-club-player-actions a {
	align-items: center !important;
	background: rgba(255, 255, 255, .1) !important;
	border: 1px solid rgba(244, 204, 93, .24) !important;
	border-radius: 999px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	height: 28px !important;
	justify-content: center !important;
	text-decoration: none !important;
	width: 28px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-actions a:hover,
body.chessora-shell.view-clubs .chessora-club-player-actions a:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	color: #130f08 !important;
}

/* Daily move badge in shell navigation. */
body.chessora-shell .shell-nav a,
body.chessora-shell .shell-left-group nav a {
	position: relative !important;
}

body.chessora-shell .shell-nav-label,
body.chessora-shell .shell-left-label {
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell .shell-daily-nav-badge {
	align-items: center !important;
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(255, 223, 133, .72) !important;
	border-radius: 999px !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .22) !important;
	color: #141008 !important;
	display: inline-flex !important;
	flex: 0 0 auto !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	height: 20px !important;
	justify-content: center !important;
	line-height: 1 !important;
	margin-left: 2px !important;
	min-width: 20px !important;
	padding: 0 6px !important;
	text-decoration: none !important;
}

body.chessora-shell .shell-left-group nav a .shell-left-label {
	flex: 1 1 auto !important;
}

body.chessora-shell .shell-left-group nav a .shell-daily-nav-badge {
	margin-left: auto !important;
}

@media (max-width: 760px) {
	body.chessora-shell .shell-daily-nav-badge {
		font-size: .68rem !important;
		height: 18px !important;
		min-width: 18px !important;
		padding: 0 5px !important;
	}

	body.chessora-shell .shell-left-group nav a {
		min-width: 0 !important;
	}
}

@media (max-width: 1100px) {
	.shell-left-accordion {
		transform: translateX(-100%) !important;
		transition: transform .18s ease !important;
	}

	body.shell-menu-open .shell-left-accordion {
		transform: translateX(0) !important;
	}

	body.chessora-shell .shell-site-header,
	body.chessora-shell .shell-page,
	body.chessora-shell .shell-footer {
		margin-left: 0 !important;
	}
}

/* Daily correspondence cockpit. */
body.chessora-shell.view-correspondence .chessora-correspondence-cockpit,
body.chessora-shell.view-correspondence .chessora-correspondence-lists {
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr) !important;
	margin: 18px 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-lists {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-next,
body.chessora-shell.view-correspondence .chessora-correspondence-summary,
body.chessora-shell.view-correspondence .chessora-correspondence-queue,
body.chessora-shell.view-correspondence .chessora-correspondence-active,
body.chessora-shell.view-correspondence .chessora-correspondence-open {
	box-sizing: border-box !important;
	min-width: 0 !important;
	overflow: hidden !important;
	padding: 18px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-next-main {
	align-items: center !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	margin-top: 12px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-next-main h2 {
	font-size: 1.45rem !important;
	line-height: 1.1 !important;
	margin: 4px 0 0 !important;
	overflow-wrap: anywhere !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-next-main p {
	margin: 6px 0 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-facts {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin: 16px 0 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-facts div,
body.chessora-shell.view-correspondence .chessora-correspondence-summary-grid span {
	background: rgba(255, 247, 223, .72) !important;
	border: 1px solid rgba(174, 126, 38, .2) !important;
	border-radius: 8px !important;
	padding: 10px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-facts dt,
body.chessora-shell.view-correspondence .chessora-correspondence-summary-grid small {
	color: var(--shell-component-muted) !important;
	display: block !important;
	font-size: .76rem !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-facts dd,
body.chessora-shell.view-correspondence .chessora-correspondence-summary-grid strong {
	color: var(--shell-component-ink) !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	margin: 3px 0 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-summary-grid {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin-top: 12px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-vacation {
	background: rgba(47, 91, 70, .1) !important;
	border: 1px solid rgba(47, 91, 70, .22) !important;
	border-radius: 8px !important;
	color: #2f5b46 !important;
	font-weight: 900 !important;
	margin: 12px 0 0 !important;
	padding: 10px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-vacation.is-active {
	background: rgba(194, 106, 43, .12) !important;
	border-color: rgba(194, 106, 43, .28) !important;
	color: #874f19 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-board-list {
	display: grid !important;
	gap: 8px !important;
	margin-top: 12px !important;
	overflow: visible !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-row {
	align-items: center !important;
	background: var(--shell-component-row) !important;
	border: 1px solid rgba(174, 126, 38, .18) !important;
	border-radius: 8px !important;
	color: var(--shell-component-ink) !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: minmax(0, 1.6fr) minmax(90px, .75fr) minmax(86px, .7fr) !important;
	min-height: 58px !important;
	min-width: 0 !important;
	padding: 10px 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-row:hover,
body.chessora-shell.view-correspondence .chessora-correspondence-row:focus {
	background: #fff7df !important;
	border-color: rgba(174, 126, 38, .34) !important;
	color: var(--shell-component-ink) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-row span {
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-row strong,
body.chessora-shell.view-correspondence .chessora-correspondence-row small {
	display: block !important;
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-row small {
	color: var(--shell-component-muted) !important;
	font-size: .82rem !important;
	margin-top: 2px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-empty {
	background: rgba(255, 247, 223, .62) !important;
	border: 1px dashed rgba(174, 126, 38, .28) !important;
	border-radius: 8px !important;
	margin-top: 12px !important;
	padding: 14px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-empty p {
	margin: 4px 0 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-empty-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin-top: 12px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-empty-actions .chessora-button {
	align-items: center !important;
	border-radius: 8px !important;
	display: inline-flex !important;
	font-size: .88rem !important;
	font-weight: 950 !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 0 12px !important;
	text-decoration: none !important;
	white-space: normal !important;
}

@media (max-width: 1180px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-lists {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 820px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-cockpit {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-next-main,
	body.chessora-shell.view-correspondence .chessora-correspondence-facts,
	body.chessora-shell.view-correspondence .chessora-correspondence-summary-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-next-main .chessora-button {
		width: 100% !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-row {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 620px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-cockpit,
	body.chessora-shell.view-correspondence .chessora-correspondence-lists {
		gap: 12px !important;
		margin: 12px 0 !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-next,
	body.chessora-shell.view-correspondence .chessora-correspondence-summary,
	body.chessora-shell.view-correspondence .chessora-correspondence-queue,
	body.chessora-shell.view-correspondence .chessora-correspondence-active,
	body.chessora-shell.view-correspondence .chessora-correspondence-open {
		padding: 14px !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-next-main .chessora-button,
	body.chessora-shell.view-correspondence .chessora-correspondence-row {
		min-width: 0 !important;
		width: 100% !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-row {
		align-items: start !important;
		gap: 6px !important;
		min-height: 0 !important;
		padding: 12px !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-row span,
	body.chessora-shell.view-correspondence .chessora-correspondence-row strong,
	body.chessora-shell.view-correspondence .chessora-correspondence-row small {
		overflow: visible !important;
		text-overflow: clip !important;
		white-space: normal !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-empty-actions {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-empty-actions .chessora-button {
		width: 100% !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-summary-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/* Final create-game layout correction: keep setup and side rail aligned. */
body.chessora-shell.view-game .shell-page,
body.chessora-shell.view-game .shell-component-card {
	overflow: visible !important;
}

body.chessora-shell.view-game .shell-page {
	padding-top: 22px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game {
	align-items: start !important;
	display: grid !important;
	gap: 24px 30px !important;
	grid-template-columns: minmax(250px, 320px) minmax(0, 900px) !important;
	justify-content: center !important;
	margin: 0 auto !important;
	max-width: 1280px !important;
	overflow: visible !important;
	padding-top: 0 !important;
	scroll-margin-top: 96px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-board-layout {
	align-self: start !important;
	grid-column: 2 !important;
	grid-row: 1 / span 4 !important;
	margin-top: 0 !important;
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel,
body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table {
	align-self: start !important;
	grid-column: 1 !important;
	margin: 0 !important;
	position: static !important;
	top: auto !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel,
body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table {
	grid-row: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
	margin-top: 0 !important;
	overflow: visible !important;
}

@media (max-width: 980px) {
	body.chessora-shell.view-game .chessora-game-room.is-creating-game {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-board-layout,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table {
		grid-column: 1 !important;
		grid-row: auto !important;
	}
}

/* EOF shell/nav/game stability overrides. Keep this block last. */
body.chessora-shell {
	--shell-left-width: 260px;
	overflow-x: hidden !important;
}

body.chessora-shell .shell-left-accordion {
	background: linear-gradient(180deg, #06120f, #03100d) !important;
	border-right: 1px solid rgba(229, 180, 77, .25) !important;
	bottom: 0 !important;
	box-sizing: border-box !important;
	left: 0 !important;
	overflow-y: auto !important;
	padding: 16px 14px !important;
	position: fixed !important;
	top: 0 !important;
	transform: none !important;
	width: var(--shell-left-width) !important;
	z-index: 2200 !important;
}

body.chessora-shell .shell-site-header,
body.chessora-shell .shell-page,
body.chessora-shell .shell-footer {
	box-sizing: border-box !important;
	margin-left: var(--shell-left-width) !important;
	max-width: none !important;
	width: calc(100% - var(--shell-left-width)) !important;
}

body.chessora-shell .shell-site-header {
	left: var(--shell-left-width) !important;
	right: 0 !important;
	top: 0 !important;
	width: auto !important;
	z-index: 2100 !important;
}

body.chessora-shell .shell-page {
	min-width: 0 !important;
	overflow-x: clip !important;
	padding-inline: clamp(16px, 2vw, 32px) !important;
}

body.chessora-shell .shell-component-card {
	box-sizing: border-box !important;
	margin-inline: auto !important;
	max-width: 1520px !important;
	overflow-x: clip !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel {
	position: static !important;
	top: auto !important;
}

body.chessora-shell.view-game .chessora-opening-book-line {
	display: grid !important;
	gap: 0 !important;
	grid-template-columns: minmax(0, 1fr) !important;
	list-style: none !important;
	margin: 14px 0 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-opening-book-line li {
	align-items: center !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(241, 207, 119, .18) !important;
	border-radius: 0 !important;
	display: grid !important;
	grid-template-columns: 42px minmax(0, 1fr) auto !important;
	min-height: 42px !important;
	padding: 8px 0 !important;
}

body.chessora-shell.view-game .chessora-opening-book-line li:last-child {
	border-bottom: 0 !important;
}

body.chessora-shell.view-game .chessora-board,
body.chessora-shell.view-game .chessora-board-wrap,
body.chessora-shell.view-game .cg-wrap {
	background-color: #b6782e !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page.is-members-directory .chessora-lobby-tabs,
body.chessora-shell.view-challenges .chessora-challenges-page.is-members-directory [data-lobby-panel]:not([data-lobby-panel="players"]) {
	display: none !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page.is-members-directory [data-lobby-panel="players"] {
	display: grid !important;
}

body.chessora-shell.view-challenges .chessora-lobby-card-grid {
	align-items: stretch !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 300px)) !important;
	justify-content: start !important;
}

body.chessora-shell.view-challenges .chessora-player-roster-card {
	min-height: 230px !important;
	width: 100% !important;
}

@media (max-width: 1100px) {
	body.chessora-shell .shell-left-accordion {
		transform: translateX(-100%) !important;
		transition: transform .18s ease !important;
	}

	body.shell-menu-open .shell-left-accordion {
		transform: translateX(0) !important;
	}

	body.chessora-shell .shell-site-header,
	body.chessora-shell .shell-page,
	body.chessora-shell .shell-footer {
		margin-left: 0 !important;
		width: 100% !important;
	}

	body.chessora-shell .shell-site-header {
		left: 0 !important;
	}
}

/* Final shell navigation and direct challenge drawer overrides. */
body.chessora-shell {
	--shell-left-width: 260px;
	overflow-x: hidden !important;
}

body.chessora-shell .shell-left-accordion {
	background: linear-gradient(180deg, #06120f, #03100d) !important;
	border-right: 1px solid rgba(229, 180, 77, .25) !important;
	bottom: 0 !important;
	box-sizing: border-box !important;
	left: 0 !important;
	overflow-y: auto !important;
	padding: 16px 14px !important;
	position: fixed !important;
	top: 0 !important;
	transform: none !important;
	width: var(--shell-left-width) !important;
	z-index: 2200 !important;
}

body.chessora-shell .shell-site-header,
body.chessora-shell .shell-page,
body.chessora-shell .shell-footer {
	box-sizing: border-box !important;
	margin-left: var(--shell-left-width) !important;
	max-width: none !important;
	width: calc(100% - var(--shell-left-width)) !important;
}

body.chessora-shell .shell-site-header {
	left: var(--shell-left-width) !important;
	right: 0 !important;
	top: 0 !important;
	width: auto !important;
	z-index: 2100 !important;
}

body.chessora-shell .shell-header-row {
	max-width: 1480px !important;
	width: 100% !important;
}

body.chessora-shell .shell-page {
	min-width: 0 !important;
	overflow-x: clip !important;
	padding-inline: clamp(16px, 2vw, 32px) !important;
}

body.chessora-shell .shell-component-card {
	box-sizing: border-box !important;
	margin-inline: auto !important;
	max-width: 1520px !important;
	overflow-x: clip !important;
	width: 100% !important;
}

body.chessora-shell .shell-left-brand,
body.chessora-shell .shell-left-group {
	box-sizing: border-box !important;
	width: 100% !important;
}

.shell-direct-challenge-drawer {
	align-items: stretch;
	background: rgba(0, 0, 0, .48);
	display: flex;
	inset: 0;
	justify-content: flex-end;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity .18s ease;
	z-index: 2600;
}

.shell-direct-challenge-drawer.is-open {
	opacity: 1;
	pointer-events: auto;
}

.shell-direct-challenge-card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)),
		#081712;
	border-left: 1px solid rgba(229, 180, 77, .32);
	box-shadow: -24px 0 60px rgba(0, 0, 0, .45);
	box-sizing: border-box;
	color: #fff7df;
	display: grid;
	gap: 16px;
	max-width: min(480px, 100vw);
	overflow-y: auto;
	padding: 28px;
	transform: translateX(100%);
	transition: transform .22s ease;
	width: 480px;
}

.shell-direct-challenge-drawer.is-open .shell-direct-challenge-card {
	transform: translateX(0);
}

.shell-direct-challenge-close {
	align-self: start;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(229, 180, 77, .28);
	border-radius: 999px;
	color: #fff7df;
	cursor: pointer;
	font-size: 1.25rem;
	height: 38px;
	justify-self: end;
	width: 38px;
}

.shell-direct-challenge-kicker {
	color: #f1cf77;
	font-size: .78rem;
	font-weight: 950;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.shell-direct-challenge-card h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1;
	margin: 0;
}

.shell-direct-challenge-card p {
	color: #cfd7cc;
	margin: 0;
}

.shell-direct-challenge-options {
	display: grid;
	gap: 10px;
}

.shell-direct-challenge-options strong {
	color: #fff7df;
	margin-top: 8px;
}

.shell-direct-challenge-options div {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shell-direct-challenge-options button,
.shell-challenge-toast a,
.shell-challenge-toast button {
	background: #14251f;
	border: 1px solid rgba(229, 180, 77, .28);
	border-radius: 8px;
	color: #fff7df;
	cursor: pointer;
	font-weight: 950;
	min-height: 46px;
}

.shell-direct-challenge-options button:hover,
.shell-direct-challenge-options button:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25);
	color: #120f08;
}

.shell-direct-challenge-status {
	background: rgba(241, 207, 119, .12);
	border: 1px solid rgba(241, 207, 119, .28);
	border-radius: 8px;
	padding: 12px;
}

.shell-direct-challenge-status.is-error {
	background: rgba(150, 45, 37, .16);
	border-color: rgba(255, 150, 130, .4);
	color: #ffd9d2;
}

.shell-challenge-toast-region {
	bottom: 22px;
	display: grid;
	gap: 12px;
	position: fixed;
	right: 22px;
	width: min(380px, calc(100vw - 44px));
	z-index: 2700;
}

.shell-challenge-toast {
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .18), rgba(255, 255, 255, .04)),
		#07110f;
	border: 1px solid rgba(241, 207, 119, .36);
	border-radius: 10px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
	color: #fff7df;
	display: grid;
	gap: 9px;
	opacity: 0;
	padding: 16px;
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease;
}

.shell-challenge-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.shell-challenge-toast span {
	color: #cfd7cc;
}

.shell-challenge-toast div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.shell-challenge-toast a,
.shell-challenge-toast button {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 38px;
	padding: 0 12px;
	text-decoration: none;
}

.shell-challenge-toast .is-cancel {
	background: rgba(145, 49, 42, .16);
	border-color: rgba(255, 139, 126, .38);
	color: #ffd4cf;
}

.shell-challenge-toast .is-accept {
	background: linear-gradient(180deg, #f4c24d, #c88b1c);
	border-color: rgba(244, 194, 77, .7);
	color: #120f08;
	font-weight: 900;
}

.shell-challenge-toast .is-reject {
	background: rgba(145, 49, 42, .16);
	border: 1px solid rgba(255, 139, 126, .42);
	border-radius: 8px;
	color: #ffd4cf;
	font-weight: 900;
}

.shell-challenge-toast.shell-system-alert {
	box-shadow: inset 3px 0 0 rgba(244, 194, 77, .9), 0 18px 50px rgba(0, 0, 0, .42);
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel {
	position: static !important;
	top: auto !important;
}

body.chessora-shell.view-game .chessora-opening-book-line {
	display: grid !important;
	gap: 0 !important;
	grid-template-columns: minmax(0, 1fr) !important;
	list-style: none !important;
	margin: 14px 0 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-opening-book-line li {
	align-items: center !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(241, 207, 119, .18) !important;
	border-radius: 0 !important;
	display: grid !important;
	grid-template-columns: 42px minmax(0, 1fr) auto !important;
	min-height: 42px !important;
	padding: 8px 0 !important;
}

body.chessora-shell.view-game .chessora-opening-book-line li:last-child {
	border-bottom: 0 !important;
}

body.chessora-shell.view-game .chessora-board,
body.chessora-shell.view-game .chessora-board-wrap,
body.chessora-shell.view-game .cg-wrap {
	background-color: #b6782e !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page.is-members-directory .chessora-lobby-tabs,
body.chessora-shell.view-challenges .chessora-challenges-page.is-members-directory [data-lobby-panel]:not([data-lobby-panel="players"]) {
	display: none !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page.is-members-directory [data-lobby-panel="players"] {
	display: grid !important;
}

body.chessora-shell.view-challenges .chessora-lobby-card-grid {
	align-items: stretch !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 300px)) !important;
	justify-content: start !important;
}

body.chessora-shell.view-challenges .chessora-player-roster-card {
	min-height: 230px !important;
	width: 100% !important;
}

@media (max-width: 1100px) {
	body.chessora-shell .shell-left-accordion {
		transform: translateX(-100%) !important;
		transition: transform .18s ease !important;
	}

	body.shell-menu-open .shell-left-accordion {
		transform: translateX(0) !important;
	}

	body.chessora-shell .shell-site-header,
	body.chessora-shell .shell-page,
	body.chessora-shell .shell-footer {
		margin-left: 0 !important;
		width: 100% !important;
	}

	body.chessora-shell .shell-site-header {
		left: 0 !important;
	}
}

body.chessora-shell.view-clubs .chessora-club-player-actions a {
	align-items: center !important;
	background: rgba(255, 255, 255, .1) !important;
	border: 1px solid rgba(244, 204, 93, .24) !important;
	border-radius: 999px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	height: 28px !important;
	justify-content: center !important;
	text-decoration: none !important;
	width: 28px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-actions a:hover,
body.chessora-shell.view-clubs .chessora-club-player-actions a:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	color: #130f08 !important;
}

@media (max-width: 1100px) {
	.shell-left-accordion {
		transform: translateX(-100%);
		transition: transform .18s ease;
	}

	body.shell-menu-open .shell-left-accordion {
		transform: translateX(0);
	}

	body.chessora-shell .shell-site-header,
	body.chessora-shell .shell-page,
	body.chessora-shell .shell-footer {
		margin-left: 0;
	}
}

/* Pawn Realm notification and private-message panels. */
body.chessora-shell .shell-notification-panel-rich article {
	border-color: rgba(212, 175, 55, 0.28) !important;
	background: linear-gradient(135deg, rgba(8, 22, 18, 0.96), rgba(27, 40, 34, 0.96)) !important;
}

body.chessora-shell .shell-notification-panel-rich article.is-action {
	border-color: rgba(243, 196, 79, 0.55) !important;
}

body.chessora-shell .chessora-profile-message-panel,
body.chessora-shell .chessora-club-message-form {
	border: 1px solid rgba(212, 175, 55, 0.34) !important;
	background: linear-gradient(145deg, rgba(22, 40, 32, 0.96), rgba(7, 21, 17, 0.96)) !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25) !important;
}

body.chessora-shell .chessora-profile-message-form,
body.chessora-shell .chessora-club-message-form {
	display: grid !important;
	gap: 14px !important;
}

body.chessora-shell .chessora-profile-message-form label,
body.chessora-shell .chessora-club-message-form label {
	display: grid !important;
	gap: 7px !important;
	color: #fff7dc !important;
	font-weight: 800 !important;
}

body.chessora-shell .chessora-profile-message-form input,
body.chessora-shell .chessora-profile-message-form textarea,
body.chessora-shell .chessora-club-message-form input,
body.chessora-shell .chessora-club-message-form textarea {
	width: 100% !important;
	border: 1px solid rgba(212, 175, 55, 0.38) !important;
	border-radius: 8px !important;
	background: #061410 !important;
	color: #fff7dc !important;
	padding: 12px 14px !important;
}

body.chessora-shell .chessora-club-message-form {
	padding: 16px !important;
	margin-bottom: 16px !important;
}

body.chessora-shell .chessora-profile-drawer-backdrop {
	background: rgba(0, 0, 0, 0.48) !important;
	inset: 0 !important;
	position: fixed !important;
	z-index: 1900 !important;
}

body.chessora-shell .chessora-profile-drawer {
	background: linear-gradient(145deg, rgba(20, 39, 31, 0.98), rgba(4, 16, 13, 0.98)) !important;
	border-left: 1px solid rgba(244, 204, 93, 0.42) !important;
	box-shadow: -28px 0 70px rgba(0, 0, 0, 0.42) !important;
	color: #fff7dc !important;
	display: grid !important;
	gap: 16px !important;
	inset: 0 0 0 auto !important;
	max-width: min(430px, 92vw) !important;
	overflow-y: auto !important;
	padding: 34px 26px !important;
	position: fixed !important;
	width: 430px !important;
	z-index: 1901 !important;
}

body.chessora-shell .chessora-profile-drawer[hidden],
body.chessora-shell .chessora-profile-drawer-backdrop[hidden] {
	display: none !important;
}

body.chessora-shell .chessora-profile-drawer h2 {
	color: #fff7dc !important;
	font-size: 2rem !important;
	line-height: 1.05 !important;
	margin: 0 !important;
}

body.chessora-shell .chessora-profile-drawer-close {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(244, 204, 93, 0.35) !important;
	border-radius: 999px !important;
	color: #fff7dc !important;
	cursor: pointer !important;
	display: inline-flex !important;
	font-size: 1.2rem !important;
	height: 38px !important;
	justify-content: center !important;
	justify-self: end !important;
	width: 38px !important;
}

body.chessora-shell .chessora-profile-drawer-copy,
body.chessora-shell .chessora-profile-drawer-status {
	color: rgba(238, 245, 241, 0.78) !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	margin: 0 !important;
}

body.chessora-shell .chessora-profile-challenge-grid {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.chessora-shell .chessora-profile-challenge-grid button {
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(244, 204, 93, 0.28) !important;
	border-radius: 8px !important;
	color: #fff7dc !important;
	cursor: pointer !important;
	display: grid !important;
	gap: 4px !important;
	min-height: 76px !important;
	padding: 12px !important;
	text-align: left !important;
}

body.chessora-shell .chessora-profile-challenge-grid button:hover,
body.chessora-shell .chessora-profile-challenge-grid button:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	color: #130f08 !important;
}

body.chessora-shell .chessora-profile-challenge-grid small {
	font-size: 0.72rem !important;
	font-weight: 950 !important;
	opacity: 0.75 !important;
	text-transform: uppercase !important;
}

body.chessora-shell .chessora-profile-challenge-grid strong {
	font-size: 1.35rem !important;
}

body.chessora-shell .chessora-profile-notification-item.is-dismissed,
body.chessora-shell .chessora-profile-invite.is-dismissed {
	opacity: 0 !important;
	transform: translateX(18px) !important;
	transition: opacity 0.18s ease, transform 0.18s ease !important;
}

/* Final result/rematch UI pass. */
body.chessora-shell.view-game .chessora-game-room .chessora-result-player .chessora-player-avatar {
	height: 58px !important;
	width: 58px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button:first-child {
	grid-column: 1 !important;
	justify-content: center !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-game-finished .chessora-panel-tabs button[data-tool-tab="info"] {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, .7) !important;
	color: #151008 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-game-finished .chessora-panel-tabs button[data-tool-tab="info"].is-active {
	box-shadow: inset 0 -3px 0 rgba(255, 247, 223, .72), 0 0 0 1px rgba(241, 207, 119, .28) !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .16), rgba(255, 255, 255, .035)),
		#07110f !important;
	border: 1px solid rgba(241, 207, 119, .34) !important;
	border-radius: 10px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	margin-bottom: 14px !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card span {
	color: #f1cf77 !important;
	display: block !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card strong {
	color: #fff7df !important;
	display: block !important;
	font-size: 1rem !important;
	margin-top: 2px !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card p {
	color: #cfd7cc !important;
	font-size: .9rem !important;
	margin: 4px 0 0 !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card .chessora-button {
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form {
	display: inline-flex !important;
	margin: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form .chessora-button-danger {
	background: rgba(145, 49, 42, .16) !important;
	border: 1px solid rgba(255, 139, 126, .38) !important;
	color: #ffd4cf !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form .chessora-button-danger:hover {
	background: rgba(145, 49, 42, .28) !important;
	border-color: rgba(255, 139, 126, .62) !important;
	color: #fff2ef !important;
}

@media (max-width: 620px) {
	body.chessora-shell.view-game .chessora-rematch-info-card {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-game .chessora-rematch-info-card .chessora-button {
		width: 100% !important;
	}
}

/* Final board interaction polish. Keep this at EOF so it wins over Chessground/theme defaults. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.last-move {
	background:
		linear-gradient(135deg, rgba(255, 246, 205, .22), rgba(241, 207, 119, .42)),
		transparent !important;
	box-shadow:
		inset 0 0 0 3px rgba(255, 244, 191, .72),
		inset 0 0 24px rgba(241, 207, 119, .28) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-bot-engine-last-move:not(.is-creating-game) .chessora-board.cg-wrap square.last-move {
	background:
		linear-gradient(135deg, rgba(125, 185, 255, .16), rgba(78, 150, 255, .36)),
		transparent !important;
	box-shadow:
		inset 0 0 0 3px rgba(134, 193, 255, .82),
		inset 0 0 24px rgba(78, 150, 255, .3) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-bot-book-last-move:not(.is-creating-game) .chessora-board.cg-wrap square.last-move {
	background:
		linear-gradient(135deg, rgba(255, 247, 211, .18), rgba(241, 207, 119, .5)),
		transparent !important;
	box-shadow:
		inset 0 0 0 3px rgba(255, 244, 191, .86),
		inset 0 0 26px rgba(241, 207, 119, .34) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.selected {
	background:
		linear-gradient(135deg, rgba(255, 250, 219, .2), rgba(241, 207, 119, .5)),
		transparent !important;
	box-shadow: inset 0 0 0 3px rgba(255, 244, 191, .86) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.move-dest {
	background:
		radial-gradient(circle, rgba(255, 247, 211, .92) 0 10%, rgba(241, 207, 119, .72) 11% 15%, transparent 16%),
		radial-gradient(circle, rgba(10, 17, 14, .22) 0 28%, transparent 30%) !important;
	box-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.oc.move-dest {
	background:
		radial-gradient(circle, transparent 0 58%, rgba(255, 247, 211, .94) 60% 65%, rgba(241, 207, 119, .72) 66% 72%, transparent 74%) !important;
	box-shadow: inset 0 0 0 2px rgba(255, 244, 191, .34) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.current-premove {
	background:
		radial-gradient(circle, rgba(153, 215, 255, .94) 0 11%, rgba(89, 164, 255, .74) 12% 17%, transparent 18%),
		radial-gradient(circle, rgba(89, 164, 255, .18) 0 35%, transparent 37%) !important;
	box-shadow: inset 0 0 0 3px rgba(153, 215, 255, .64) !important;
}

body.chessora-shell.view-game .chessora-opening-book-line {
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)) !important;
	list-style: none !important;
	margin: 12px 0 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-opening-book-line[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-opening-book-line li {
	align-items: center !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
		#07110f !important;
	border: 1px solid rgba(241, 207, 119, .22) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 2px 8px !important;
	grid-template-columns: auto minmax(0, 1fr) !important;
	padding: 9px 10px !important;
}

body.chessora-shell.view-game .chessora-opening-book-line span {
	align-items: center !important;
	background: linear-gradient(180deg, #f0c65e, #b98221) !important;
	border-radius: 999px !important;
	color: #120e07 !important;
	display: inline-flex !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	height: 22px !important;
	justify-content: center !important;
	width: 22px !important;
}

body.chessora-shell.view-game .chessora-opening-book-line strong {
	color: #fff7df !important;
	font-size: .95rem !important;
	line-height: 1.1 !important;
}

body.chessora-shell.view-game .chessora-opening-book-line small {
	color: #aebbae !important;
	font-size: .75rem !important;
	grid-column: 2 !important;
}

/* Final result modal polish. */
body.chessora-shell.view-game .chessora-game-room .chessora-result-popup {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)),
		#101a15 !important;
	border: 1px solid rgba(241, 207, 119, .42) !important;
	border-radius: 14px !important;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
	color: #f8f5ee !important;
	padding: 0 !important;
	width: min(92vw, 430px) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-popup::before {
	background: linear-gradient(90deg, #8f641d, #f1cf77, #b98221) !important;
	content: "" !important;
	display: block !important;
	height: 5px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-popup h2 {
	color: #fff7df !important;
	font-size: 1.65rem !important;
	line-height: 1.08 !important;
	margin: 24px 58px 6px !important;
	text-align: center !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room [data-result-reason] {
	color: #cfd7cc !important;
	font-size: .92rem !important;
	font-weight: 850 !important;
	margin: 0 30px 18px !important;
	text-align: center !important;
	text-transform: capitalize !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-close {
	background: rgba(255, 247, 223, .92) !important;
	border: 1px solid rgba(241, 207, 119, .44) !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .28) !important;
	color: #11140f !important;
	display: grid !important;
	font-size: 1.15rem !important;
	font-weight: 950 !important;
	height: 34px !important;
	place-items: center !important;
	right: 14px !important;
	top: 14px !important;
	width: 34px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-score {
	align-items: center !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) !important;
	padding: 0 26px 18px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player {
	color: #dce4d9 !important;
	display: grid !important;
	gap: 7px !important;
	justify-items: center !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player strong {
	background: rgba(7, 15, 13, .86) !important;
	border: 1px solid rgba(241, 207, 119, .24) !important;
	border-radius: 999px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
	color: #fff7df !important;
	display: grid !important;
	font-size: 1.65rem !important;
	font-weight: 950 !important;
	height: 52px !important;
	place-items: center !important;
	width: 52px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player strong.is-win {
	background: rgba(49, 137, 83, .2) !important;
	border-color: rgba(100, 217, 142, .74) !important;
	color: #83f0a8 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player strong.is-loss {
	background: rgba(145, 49, 42, .24) !important;
	border-color: rgba(255, 139, 126, .64) !important;
	color: #ffaaa1 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player strong.is-draw {
	background: rgba(241, 207, 119, .16) !important;
	border-color: rgba(241, 207, 119, .54) !important;
	color: #f1cf77 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player small,
body.chessora-shell.view-game .chessora-game-room .chessora-result-score > b {
	color: #fff7df !important;
	font-weight: 950 !important;
	text-align: center !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-next {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)),
		#07110f !important;
	border: 1px solid rgba(241, 207, 119, .24) !important;
	border-radius: 10px !important;
	display: grid !important;
	gap: 10px !important;
	margin: 0 24px 24px !important;
	padding: 16px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-next > span {
	color: #f1cf77 !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-next > strong {
	color: #dce4d9 !important;
	font-size: .92rem !important;
	line-height: 1.35 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions {
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 1fr 1fr !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button:first-child {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button {
	justify-content: center !important;
	min-height: 42px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button[hidden] {
	display: none !important;
}

/* Board move markers and last-move clarity. */
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.last-move {
	background:
		linear-gradient(135deg, rgba(255, 235, 150, .34), rgba(241, 207, 119, .16)),
		inherit !important;
	box-shadow: inset 0 0 0 3px rgba(255, 226, 126, .55) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-bot-engine-last-move .chessora-board.cg-wrap square.last-move {
	box-shadow:
		inset 0 0 0 3px rgba(92, 176, 255, .76),
		inset 0 0 0 7px rgba(92, 176, 255, .13) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-bot-book-last-move .chessora-board.cg-wrap square.last-move {
	box-shadow:
		inset 0 0 0 3px rgba(241, 207, 119, .76),
		inset 0 0 0 7px rgba(241, 207, 119, .13) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.selected {
	background:
		linear-gradient(135deg, rgba(255, 249, 218, .24), rgba(241, 207, 119, .22)),
		inherit !important;
	box-shadow: inset 0 0 0 4px rgba(255, 247, 223, .68) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.move-dest {
	background:
		radial-gradient(circle, transparent 0 25%, rgba(255, 247, 223, .95) 27% 32%, rgba(45, 37, 20, .38) 34% 37%, transparent 39%) !important;
	box-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.oc.move-dest {
	background:
		radial-gradient(circle, transparent 0 52%, rgba(255, 247, 223, .95) 54% 59%, rgba(45, 37, 20, .38) 61% 64%, transparent 66%) !important;
	box-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.current-premove {
	background:
		radial-gradient(circle, transparent 0 27%, rgba(112, 201, 255, .88) 29% 34%, transparent 36%) !important;
	box-shadow: inset 0 0 0 3px rgba(112, 201, 255, .58) !important;
}

/* Profile settings and notification actions. */
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-edit {
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .08), rgba(255, 255, 255, .025)),
		#101d18 !important;
	border-color: rgba(241, 207, 119, .28) !important;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .24) !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-onboarding {
	align-items: start !important;
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(0, 1fr) minmax(130px, auto) !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-steps {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-challenge-settings {
	background: #07110f !important;
	border: 1px solid rgba(241, 207, 119, .24) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	margin: 0 !important;
	padding: 18px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-challenge-settings legend {
	color: #f1cf77 !important;
	font-size: .78rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	padding: 0 8px !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-settings-toggle {
	align-items: center !important;
	background: #101a15 !important;
	border: 1px solid rgba(241, 207, 119, .18) !important;
	border-radius: 8px !important;
	display: flex !important;
	flex-direction: row !important;
	gap: 12px !important;
	padding: 14px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-settings-toggle input {
	accent-color: #e4ad34 !important;
	height: 18px !important;
	width: 18px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item {
	background: #07110f !important;
	border: 1px solid rgba(241, 207, 119, .22) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	padding: 12px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-notification-item > a:first-child {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-dismiss {
	align-self: start !important;
	background: rgba(255, 255, 255, .04) !important;
	border: 1px solid rgba(241, 207, 119, .25) !important;
	border-radius: 999px !important;
	color: #f1cf77 !important;
	font-size: .78rem !important;
	font-weight: 900 !important;
	justify-self: start !important;
	padding: 7px 11px !important;
	text-decoration: none !important;
}

@media (max-width: 760px) {
	body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-onboarding,
	body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-challenge-settings {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* Final club directory grid and warmer board skin. */
body.chessora-shell.view-clubs .chessora-club-directory-page .chessora-club-list {
	display: grid !important;
	gap: 28px !important;
}

body.chessora-shell.view-clubs .chessora-club-directory-page .chessora-club-letter-group > div {
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-directory-page .chessora-club-list-card {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
		#111d18 !important;
	border: 1px solid rgba(229, 180, 77, .26) !important;
	border-radius: 8px !important;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .22) !important;
	display: flex !important;
	flex-direction: column !important;
	min-height: 230px !important;
	padding: 18px !important;
}

body.chessora-shell.view-clubs .chessora-club-directory-page .chessora-club-list-card > header {
	align-items: start !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: 58px minmax(0, 1fr) !important;
}

body.chessora-shell.view-clubs .chessora-club-directory-page .chessora-club-list-card header > strong {
	align-self: start !important;
	grid-column: 1 / -1 !important;
	justify-self: start !important;
}

body.chessora-shell.view-clubs .chessora-club-directory-page .chessora-club-list-card .chessora-club-card-actions {
	margin-top: auto !important;
}

body.chessora-shell.view-clubs .chessora-club-directory-page .chessora-club-list-card .chessora-button {
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-wrap,
body.chessora-shell.view-game .chessora-game-room .chessora-board {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(88, 44, 13, .12)),
		conic-gradient(from 90deg, #e9c985 25%, #9f6429 0 50%, #e9c985 0 75%, #9f6429 0) !important;
	background-color: #9f6429 !important;
	background-size: 100% 100%, 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.light {
	background-color: #e9c985 !important;
	background-image:
		linear-gradient(90deg, rgba(255, 246, 210, .24), rgba(137, 82, 27, .08)),
		repeating-linear-gradient(0deg, rgba(86, 48, 18, .055) 0 2px, transparent 2px 9px) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.dark {
	background-color: #9f6429 !important;
	background-image:
		linear-gradient(90deg, rgba(255, 219, 151, .10), rgba(60, 29, 10, .18)),
		repeating-linear-gradient(0deg, rgba(255, 229, 172, .07) 0 2px, transparent 2px 10px) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.current-premove {
	background:
		radial-gradient(circle, rgba(255, 239, 162, .86) 0 16%, transparent 18%),
		radial-gradient(circle, rgba(241, 207, 119, .22) 0 44%, transparent 46%) !important;
	box-shadow: inset 0 0 0 3px rgba(255, 225, 128, .82), inset 0 0 24px rgba(255, 225, 128, .2) !important;
}

/* EOF game board and bot opening polish. This repeats after club overrides so older board skins cannot flash green. */
body.chessora-shell.view-game .chessora-game-room .chessora-board-wrap,
body.chessora-shell.view-game .chessora-game-room .chessora-board {
	background:
		conic-gradient(from 90deg, #efd99f 25%, #ad712b 0 50%, #efd99f 0 75%, #ad712b 0) !important;
	background-color: #ad712b !important;
	background-size: 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board {
	border-radius: 4px !important;
	box-shadow: 0 0 0 8px rgba(255, 247, 223, .06), 0 18px 44px rgba(0, 0, 0, .34) !important;
	min-height: var(--room-board-size, 536px) !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap cg-board {
	background-color: transparent !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.light {
	background-color: #efd99f !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.dark {
	background-color: #ad712b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.current-premove {
	background:
		radial-gradient(circle, rgba(255, 239, 162, .78) 0 17%, transparent 19%),
		radial-gradient(circle, rgba(241, 207, 119, .18) 0 42%, transparent 44%) !important;
	box-shadow: inset 0 0 0 3px rgba(241, 207, 119, .72) !important;
}

body.chessora-shell.view-game .chessora-opening-book-status {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .13), rgba(255, 255, 255, .035)),
		#07110f !important;
	border: 1px solid rgba(241, 207, 119, .3) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 5px !important;
	margin-top: 18px !important;
	max-width: 380px !important;
	padding: 14px 16px !important;
}

body.chessora-shell.view-game .chessora-opening-book-status span {
	color: #f1cf77 !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-opening-book-status b {
	color: #fff7df !important;
	font-size: 1.05rem !important;
}

body.chessora-shell.view-game .chessora-opening-book-status small {
	color: #cbd4c8 !important;
}

body.chessora-shell.view-game .chessora-opening-book-line {
	display: grid !important;
	gap: 7px !important;
	list-style: none !important;
	margin: 14px 0 0 !important;
	max-width: 520px !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-opening-book-line[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-opening-book-line li {
	align-items: center !important;
	background: #07110f !important;
	border: 1px solid rgba(241, 207, 119, .2) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: 28px minmax(0, 1fr) auto !important;
	padding: 9px 11px !important;
}

body.chessora-shell.view-game .chessora-opening-book-line span {
	align-items: center !important;
	background: rgba(241, 207, 119, .13) !important;
	border: 1px solid rgba(241, 207, 119, .24) !important;
	border-radius: 999px !important;
	color: #f1cf77 !important;
	display: inline-grid !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	height: 24px !important;
	justify-content: center !important;
	width: 24px !important;
}

body.chessora-shell.view-game .chessora-opening-book-line strong {
	color: #fff7df !important;
	font-size: .95rem !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-opening-book-line small {
	color: #c4cfc4 !important;
	font-size: .76rem !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .12), rgba(255, 255, 255, .035)),
		#101a15 !important;
	border: 1px solid rgba(241, 207, 119, .26) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	margin: 16px 0 !important;
	padding: 14px 16px !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation strong {
	color: #fff7df !important;
	display: block !important;
	font-size: .98rem !important;
	line-height: 1.15 !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation span {
	color: #cbd4c8 !important;
	display: block !important;
	font-size: .92rem !important;
	line-height: 1.35 !important;
	margin-top: 3px !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation a {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(248, 217, 133, .62) !important;
	border-radius: 7px !important;
	color: #151008 !important;
	font-weight: 950 !important;
	padding: 10px 14px !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-join-challenge-panel .chessora-challenge-confirmation {
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-game .chessora-join-challenge-panel .chessora-challenge-confirmation a {
	justify-self: start !important;
}

/* Last-pass game board and bot opening polish. Keep this at EOF so legacy board skins cannot flash green. */
body.chessora-shell.view-game .chessora-game-room .chessora-board-wrap,
body.chessora-shell.view-game .chessora-game-room .chessora-board {
	background:
		conic-gradient(from 90deg, #efd99f 25%, #ad712b 0 50%, #efd99f 0 75%, #ad712b 0) !important;
	background-color: #ad712b !important;
	background-size: 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board {
	border-radius: 4px !important;
	box-shadow: 0 0 0 8px rgba(255, 247, 223, .06), 0 18px 44px rgba(0, 0, 0, .34) !important;
	min-height: var(--room-board-size, 536px) !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap cg-board {
	background-color: transparent !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.light {
	background-color: #efd99f !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.dark {
	background-color: #ad712b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.current-premove {
	background:
		radial-gradient(circle, rgba(255, 239, 162, .78) 0 17%, transparent 19%),
		radial-gradient(circle, rgba(241, 207, 119, .18) 0 42%, transparent 44%) !important;
	box-shadow: inset 0 0 0 3px rgba(241, 207, 119, .72) !important;
}

body.chessora-shell.view-game .chessora-opening-book-status {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .13), rgba(255, 255, 255, .035)),
		#07110f !important;
	border: 1px solid rgba(241, 207, 119, .3) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 5px !important;
	margin-top: 18px !important;
	max-width: 380px !important;
	padding: 14px 16px !important;
}

body.chessora-shell.view-game .chessora-opening-book-status span {
	color: #f1cf77 !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-opening-book-status b {
	color: #fff7df !important;
	font-size: 1.05rem !important;
}

body.chessora-shell.view-game .chessora-opening-book-status small {
	color: #cbd4c8 !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .12), rgba(255, 255, 255, .035)),
		#101a15 !important;
	border: 1px solid rgba(241, 207, 119, .26) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	margin: 16px 0 !important;
	padding: 14px 16px !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation strong {
	color: #fff7df !important;
	display: block !important;
	font-size: .98rem !important;
	line-height: 1.15 !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation span {
	color: #cbd4c8 !important;
	display: block !important;
	font-size: .92rem !important;
	line-height: 1.35 !important;
	margin-top: 3px !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation a {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(248, 217, 133, .62) !important;
	border-radius: 7px !important;
	color: #151008 !important;
	font-weight: 950 !important;
	padding: 10px 14px !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-join-challenge-panel .chessora-challenge-confirmation {
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-game .chessora-join-challenge-panel .chessora-challenge-confirmation a {
	justify-self: start !important;
}

/* Game board startup polish and opening book status. */
body.chessora-shell.view-game .chessora-board-wrap,
body.chessora-shell.view-game .chessora-board {
	background:
		conic-gradient(from 90deg, #efd99f 25%, #ad712b 0 50%, #efd99f 0 75%, #ad712b 0) !important;
	background-size: 25% 25% !important;
}

body.chessora-shell.view-game .chessora-board {
	border-radius: 4px;
	min-height: var(--room-board-size, 536px);
	overflow: hidden;
}

body.chessora-shell.view-game .chessora-board.cg-wrap cg-board {
	background-color: #ad712b !important;
	background-image: conic-gradient(from 90deg, #efd99f 25%, #ad712b 0 50%, #efd99f 0 75%, #ad712b 0) !important;
	background-size: 25% 25% !important;
}

body.chessora-shell.view-game .chessora-opening-book-status {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .12), rgba(255, 255, 255, .035)),
		#101a15;
	border: 1px solid rgba(241, 207, 119, .26);
	border-radius: 8px;
	display: grid;
	gap: 4px;
	margin-top: 18px;
	max-width: 360px;
	padding: 14px;
}

body.chessora-shell.view-game .chessora-opening-book-status span {
	color: #f1cf77;
	font-size: .72rem;
	font-weight: 950;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.chessora-shell.view-game .chessora-opening-book-status b {
	color: #fff7df;
	font-size: 1.05rem;
}

body.chessora-shell.view-game .chessora-opening-book-status small {
	color: #cbd4c8;
}

/* Pawn Realm club directory polish. */
body.chessora-shell .shell-nav a::before {
	content: none !important;
}

body.chessora-shell .shell-nav-icon {
	align-items: center;
	background: linear-gradient(180deg, rgba(255, 246, 206, .18), rgba(0, 0, 0, .12)), rgba(212, 175, 55, .12);
	border: 1px solid rgba(212, 175, 55, .34);
	border-radius: 999px;
	color: #f1cf77;
	display: inline-flex;
	font-size: .82rem;
	font-weight: 950;
	height: 22px;
	justify-content: center;
	line-height: 1;
	margin-right: 7px;
	min-width: 22px;
	padding: 0 5px;
	text-shadow: 0 1px 8px rgba(241, 207, 119, .28);
}

body.chessora-shell .shell-mega-panel .shell-nav-icon {
	height: 20px;
	min-width: 20px;
}

body.chessora-shell.view-clubs .shell-component-card {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.chessora-shell.view-clubs .chessora-club-directory-page {
	display: grid;
	gap: 24px;
	max-width: 1464px !important;
	padding-top: 34px !important;
}

body.chessora-shell.view-clubs .chessora-club-list-hero {
	background: radial-gradient(circle at 84% 24%, rgba(241, 207, 119, .18), transparent 26%), linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), #14231d !important;
	border: 1px solid rgba(241, 207, 119, .28) !important;
	border-radius: 8px !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .28) !important;
	color: #f8f5ee !important;
	min-height: 186px;
	padding: 28px !important;
}

body.chessora-shell.view-clubs .chessora-club-list-hero .chessora-kicker {
	color: #f1cf77 !important;
	letter-spacing: .08em;
	margin-bottom: 22px;
}

body.chessora-shell.view-clubs .chessora-club-list-hero h1 {
	color: #fff4d5 !important;
	font-size: clamp(2.3rem, 4.6vw, 4.4rem);
	letter-spacing: 0;
	margin-bottom: 16px;
}

body.chessora-shell.view-clubs .chessora-club-list-hero span,
body.chessora-shell.view-clubs .chessora-club-list-hero small {
	color: #dbe5dc !important;
	display: block;
	font-size: 1rem;
	max-width: 780px;
}

body.chessora-shell.view-clubs .chessora-club-list-hero small {
	color: #f1cf77 !important;
	margin-top: 8px;
}

body.chessora-shell.view-clubs .chessora-club-list-hero > strong {
	background: linear-gradient(180deg, #ffd76b, #e2a52f) !important;
	border: 1px solid rgba(255, 230, 150, .72) !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .22) !important;
	color: #120f07 !important;
}

body.chessora-shell.view-clubs .chessora-club-alpha-nav {
	align-items: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)), #101d18;
	border: 1px solid rgba(241, 207, 119, .24);
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px;
	position: sticky;
	top: 86px;
	z-index: 4;
}

body.chessora-shell.view-clubs .chessora-club-alpha-nav a,
body.chessora-shell.view-clubs .chessora-club-alpha-nav span {
	align-items: center;
	border: 1px solid rgba(241, 207, 119, .22);
	border-radius: 7px;
	color: #f7eed2;
	display: inline-flex;
	font-weight: 900;
	height: 34px;
	justify-content: center;
	min-width: 34px;
	padding: 0 10px;
	text-decoration: none;
}

body.chessora-shell.view-clubs .chessora-club-alpha-nav a {
	background: rgba(241, 207, 119, .09);
}

body.chessora-shell.view-clubs .chessora-club-alpha-nav a:hover,
body.chessora-shell.view-clubs .chessora-club-alpha-nav a:focus,
body.chessora-shell.view-clubs .chessora-club-alpha-nav a.is-active {
	background: linear-gradient(180deg, #f1c85d, #d79d2c);
	color: #161107;
}

body.chessora-shell.view-clubs .chessora-club-alpha-nav span {
	color: rgba(247, 238, 210, .34);
}

body.chessora-shell.view-clubs .chessora-club-list {
	gap: 22px !important;
}

body.chessora-shell.view-clubs .chessora-club-letter-group {
	scroll-margin-top: 150px;
}

body.chessora-shell.view-clubs .chessora-club-letter-group > header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 0 12px;
}

body.chessora-shell.view-clubs .chessora-club-letter-group > header span {
	align-items: center;
	background: linear-gradient(135deg, #f5d776, #c5902b);
	border-radius: 8px;
	color: #120f07;
	display: inline-flex;
	font-size: 1.25rem;
	font-weight: 950;
	height: 42px;
	justify-content: center;
	width: 42px;
}

body.chessora-shell.view-clubs .chessora-club-letter-group > header strong {
	color: #f1cf77;
	font-size: .82rem;
	text-transform: uppercase;
}

body.chessora-shell.view-clubs .chessora-club-letter-group > div {
	display: grid;
	gap: 14px;
}

body.chessora-shell.view-clubs .chessora-club-list-card {
	background: linear-gradient(90deg, rgba(241, 207, 119, .08), rgba(255, 255, 255, .02) 46%, transparent), #14231d !important;
	border: 1px solid rgba(241, 207, 119, .24) !important;
	border-radius: 8px !important;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
	padding: 18px !important;
	transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

body.chessora-shell.view-clubs .chessora-club-list-card:hover {
	border-color: rgba(241, 207, 119, .48) !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .32) !important;
	transform: translateY(-1px);
}

body.chessora-shell.view-clubs .chessora-club-list-card > header {
	grid-template-columns: 64px minmax(0, 1fr) auto auto !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card .chessora-club-mark {
	background: linear-gradient(135deg, #06110e, #1f4b39 58%, #d4af37) !important;
	border: 1px solid rgba(241, 207, 119, .5) !important;
	border-radius: 8px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 20px rgba(0, 0, 0, .22) !important;
	color: #fff4d5 !important;
	font-size: 1.55rem !important;
	height: 64px !important;
	width: 64px !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card h2 {
	color: #fff7df !important;
	font-size: 1.18rem !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card p {
	color: #dbe5dc !important;
	font-size: .98rem;
}

body.chessora-shell.view-clubs .chessora-club-list-card header > strong {
	background: rgba(255, 244, 213, .96) !important;
	border-color: rgba(241, 207, 119, .64) !important;
	color: #171207 !important;
	font-size: .84rem !important;
	padding: 9px 13px !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card .chessora-button {
	box-shadow: 0 8px 18px rgba(103, 73, 18, .22) !important;
	min-width: 132px;
}

@media (max-width: 760px) {
	body.chessora-shell.view-clubs .chessora-club-list-hero {
		align-items: flex-start !important;
		flex-direction: column;
	}

	body.chessora-shell.view-clubs .chessora-club-alpha-nav {
		position: static;
	}

	body.chessora-shell.view-clubs .chessora-club-list-card > header {
		grid-template-columns: 64px minmax(0, 1fr) !important;
	}
}

/* EOF club tournament/member final pass. */
body.chessora-shell.view-clubs .chessora-observer-strip[hidden],
body.chessora-shell.view-clubs .chessora-club-board-strip[hidden] {
	display: none !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-broadcast {
	justify-items: center !important;
}

body.chessora-shell.view-clubs .chessora-club-board-focus {
	display: grid !important;
	justify-items: center !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage {
	margin: 0 auto !important;
	width: min(100%, 600px) !important;
}

body.chessora-shell.view-clubs .chessora-club-board-strip {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
	max-height: 620px !important;
	overflow: auto !important;
	padding-right: 4px !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-strip-header {
	align-items: center !important;
	border-bottom: 1px solid rgba(229, 180, 77, .22) !important;
	display: flex !important;
	grid-column: 1 / -1 !important;
	justify-content: space-between !important;
	padding-bottom: 8px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams,
body.chessora-shell.view-clubs .chessora-club-scoreboard-columns {
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-columns {
	margin-top: 16px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-columns section {
	background: rgba(255, 255, 255, .025) !important;
	border: 1px solid rgba(229, 180, 77, .18) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	padding: 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article,
body.chessora-shell.view-clubs .chessora-club-scoreboard-columns article {
	align-items: center !important;
	background: rgba(7, 17, 15, .76) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	padding: 12px 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article.is-winner {
	border-color: rgba(240, 198, 94, .82) !important;
	box-shadow: 0 0 0 1px rgba(240, 198, 94, .24) inset !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article > b {
	color: #f8d982 !important;
	font-size: clamp(1.6rem, 3vw, 2.35rem) !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-podium {
	margin: 18px 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-player-directory {
	border-bottom: 1px solid rgba(229, 180, 77, .18) !important;
	margin-bottom: 12px !important;
	padding-bottom: 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters label {
	display: grid !important;
	gap: 6px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters :where(input, select) {
	background: rgba(255, 255, 255, .08) !important;
	border: 1px solid rgba(255, 255, 255, .16) !important;
	border-radius: 8px !important;
	color: #fff7df !important;
	min-height: 46px !important;
	padding: 0 13px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-grid {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)), #111d18 !important;
	border: 1px solid rgba(255, 255, 255, .12) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	min-height: 220px !important;
	padding: 18px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card header,
body.chessora-shell.view-clubs .chessora-club-player-card footer,
body.chessora-shell.view-clubs .chessora-club-player-actions,
body.chessora-shell.view-clubs .chessora-club-player-ratings {
	align-items: center !important;
	display: flex !important;
	gap: 9px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card header {
	justify-content: space-between !important;
}

body.chessora-shell.view-clubs .chessora-club-player-avatar {
	align-items: center !important;
	background: radial-gradient(circle at 35% 25%, rgba(248, 217, 133, .9), rgba(27, 47, 39, .88) 58%, #07110f) !important;
	border: 1px solid rgba(240, 198, 94, .7) !important;
	border-radius: 50% !important;
	color: #fff7df !important;
	display: inline-flex !important;
	flex: 0 0 58px !important;
	font-size: 1.2rem !important;
	font-weight: 950 !important;
	height: 58px !important;
	justify-content: center !important;
	width: 58px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-actions span,
body.chessora-shell.view-clubs .chessora-club-player-actions a {
	align-items: center !important;
	background: rgba(255, 255, 255, .1) !important;
	border-radius: 999px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	height: 28px !important;
	justify-content: center !important;
	text-decoration: none !important;
	width: 28px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-ratings {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-ratings span {
	align-items: center !important;
	background: rgba(255, 255, 255, .08) !important;
	border: 1px solid rgba(255, 255, 255, .14) !important;
	border-radius: 6px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	gap: 6px !important;
	min-height: 38px !important;
	padding: 0 10px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card footer {
	margin-top: auto !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card footer .chessora-button {
	flex: 1 1 0 !important;
	justify-content: center !important;
}

body.chessora-shell.view-clubs .chessora-club-activity-stream button[data-club-tool-target="scoreboard"] {
	border-color: rgba(240, 198, 94, .5) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap,
body.chessora-shell.view-game .chessora-game-room .chessora-board:not(.cg-wrap) {
	background: #172820 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	background-color: #ad712b !important;
	background-image: conic-gradient(from 90deg, #ecd59c 25%, #ad712b 0 50%, #ecd59c 0 75%, #ad712b 0) !important;
	background-size: 25% 25% !important;
}

@media (max-width: 760px) {
	body.chessora-shell.view-clubs .chessora-club-player-filters,
	body.chessora-shell.view-clubs .chessora-club-scoreboard-columns {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* EOF club tournament/member final pass. */
body.chessora-shell.view-clubs .chessora-observer-strip[hidden],
body.chessora-shell.view-clubs .chessora-club-board-strip[hidden] {
	display: none !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-broadcast {
	justify-items: center !important;
}

body.chessora-shell.view-clubs .chessora-club-board-focus {
	display: grid !important;
	justify-items: center !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage {
	margin: 0 auto !important;
	width: min(100%, 600px) !important;
}

body.chessora-shell.view-clubs .chessora-club-board-strip {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
	max-height: 620px !important;
	overflow: auto !important;
	padding-right: 4px !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-strip-header {
	align-items: center !important;
	border-bottom: 1px solid rgba(229, 180, 77, .22) !important;
	display: flex !important;
	grid-column: 1 / -1 !important;
	justify-content: space-between !important;
	padding-bottom: 8px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams,
body.chessora-shell.view-clubs .chessora-club-scoreboard-columns {
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-columns {
	margin-top: 16px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-columns section {
	background: rgba(255, 255, 255, .025) !important;
	border: 1px solid rgba(229, 180, 77, .18) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	padding: 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article,
body.chessora-shell.view-clubs .chessora-club-scoreboard-columns article {
	align-items: center !important;
	background: rgba(7, 17, 15, .76) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	padding: 12px 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article.is-winner {
	border-color: rgba(240, 198, 94, .82) !important;
	box-shadow: 0 0 0 1px rgba(240, 198, 94, .24) inset !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article > b {
	color: #f8d982 !important;
	font-size: clamp(1.6rem, 3vw, 2.35rem) !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-podium {
	margin: 18px 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-player-directory {
	border-bottom: 1px solid rgba(229, 180, 77, .18) !important;
	margin-bottom: 12px !important;
	padding-bottom: 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters label {
	display: grid !important;
	gap: 6px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters :where(input, select) {
	background: rgba(255, 255, 255, .08) !important;
	border: 1px solid rgba(255, 255, 255, .16) !important;
	border-radius: 8px !important;
	color: #fff7df !important;
	min-height: 46px !important;
	padding: 0 13px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-grid {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)), #111d18 !important;
	border: 1px solid rgba(255, 255, 255, .12) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	min-height: 220px !important;
	padding: 18px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card header,
body.chessora-shell.view-clubs .chessora-club-player-card footer,
body.chessora-shell.view-clubs .chessora-club-player-actions,
body.chessora-shell.view-clubs .chessora-club-player-ratings {
	align-items: center !important;
	display: flex !important;
	gap: 9px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card header {
	justify-content: space-between !important;
}

body.chessora-shell.view-clubs .chessora-club-player-avatar {
	align-items: center !important;
	background: radial-gradient(circle at 35% 25%, rgba(248, 217, 133, .9), rgba(27, 47, 39, .88) 58%, #07110f) !important;
	border: 1px solid rgba(240, 198, 94, .7) !important;
	border-radius: 50% !important;
	color: #fff7df !important;
	display: inline-flex !important;
	flex: 0 0 58px !important;
	font-size: 1.2rem !important;
	font-weight: 950 !important;
	height: 58px !important;
	justify-content: center !important;
	width: 58px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-actions span {
	align-items: center !important;
	background: rgba(255, 255, 255, .1) !important;
	border-radius: 999px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	height: 28px !important;
	justify-content: center !important;
	width: 28px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-ratings {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-ratings span {
	align-items: center !important;
	background: rgba(255, 255, 255, .08) !important;
	border: 1px solid rgba(255, 255, 255, .14) !important;
	border-radius: 6px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	gap: 6px !important;
	min-height: 38px !important;
	padding: 0 10px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card footer {
	margin-top: auto !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card footer .chessora-button {
	flex: 1 1 0 !important;
	justify-content: center !important;
}

body.chessora-shell.view-clubs .chessora-club-activity-stream button[data-club-tool-target="scoreboard"] {
	border-color: rgba(240, 198, 94, .5) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap,
body.chessora-shell.view-game .chessora-game-room .chessora-board:not(.cg-wrap) {
	background: #172820 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	background-color: #ad712b !important;
	background-image: conic-gradient(from 90deg, #ecd59c 25%, #ad712b 0 50%, #ecd59c 0 75%, #ad712b 0) !important;
	background-size: 25% 25% !important;
}

@media (max-width: 760px) {
	body.chessora-shell.view-clubs .chessora-club-player-filters,
	body.chessora-shell.view-clubs .chessora-club-scoreboard-columns {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* Club tournament scoreboard, roster cards, and round-isolated boards. */
body.chessora-shell.view-clubs .chessora-observer-strip[hidden],
body.chessora-shell.view-clubs .chessora-club-board-strip[hidden] {
	display: none !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-broadcast {
	justify-items: center !important;
}

body.chessora-shell.view-clubs .chessora-club-board-focus {
	display: grid !important;
	justify-items: center !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage {
	margin: 0 auto !important;
	width: min(100%, 600px) !important;
}

body.chessora-shell.view-clubs .chessora-club-board-strip {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
	max-height: 620px !important;
	overflow: auto !important;
	padding-right: 4px !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-strip-header {
	align-items: center !important;
	border-bottom: 1px solid rgba(229, 180, 77, .22) !important;
	display: flex !important;
	grid-column: 1 / -1 !important;
	justify-content: space-between !important;
	padding-bottom: 8px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article,
body.chessora-shell.view-clubs .chessora-club-scoreboard-columns article {
	align-items: center !important;
	background: rgba(7, 17, 15, .76) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	padding: 12px 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article.is-winner {
	border-color: rgba(240, 198, 94, .82) !important;
	box-shadow: 0 0 0 1px rgba(240, 198, 94, .24) inset !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-teams article > b {
	color: #f8d982 !important;
	font-size: clamp(1.6rem, 3vw, 2.35rem) !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-podium {
	margin: 18px 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-columns {
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
	margin-top: 16px !important;
}

body.chessora-shell.view-clubs .chessora-club-scoreboard-columns section {
	background: rgba(255, 255, 255, .025) !important;
	border: 1px solid rgba(229, 180, 77, .18) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	padding: 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-directory {
	border-bottom: 1px solid rgba(229, 180, 77, .18) !important;
	margin-bottom: 12px !important;
	padding-bottom: 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters label {
	display: grid !important;
	gap: 6px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-filters :where(input, select) {
	background: rgba(255, 255, 255, .08) !important;
	border: 1px solid rgba(255, 255, 255, .16) !important;
	border-radius: 8px !important;
	color: #fff7df !important;
	min-height: 46px !important;
	padding: 0 13px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-grid {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)), #111d18 !important;
	border: 1px solid rgba(255, 255, 255, .12) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	min-height: 220px !important;
	padding: 18px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card header,
body.chessora-shell.view-clubs .chessora-club-player-card footer,
body.chessora-shell.view-clubs .chessora-club-player-actions,
body.chessora-shell.view-clubs .chessora-club-player-ratings {
	align-items: center !important;
	display: flex !important;
	gap: 9px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card header {
	justify-content: space-between !important;
}

body.chessora-shell.view-clubs .chessora-club-player-avatar {
	align-items: center !important;
	background: radial-gradient(circle at 35% 25%, rgba(248, 217, 133, .9), rgba(27, 47, 39, .88) 58%, #07110f) !important;
	border: 1px solid rgba(240, 198, 94, .7) !important;
	border-radius: 50% !important;
	color: #fff7df !important;
	display: inline-flex !important;
	flex: 0 0 58px !important;
	font-size: 1.2rem !important;
	font-weight: 950 !important;
	height: 58px !important;
	justify-content: center !important;
	width: 58px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-actions span {
	align-items: center !important;
	background: rgba(255, 255, 255, .1) !important;
	border-radius: 999px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	height: 28px !important;
	justify-content: center !important;
	width: 28px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-ratings {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-player-ratings span {
	align-items: center !important;
	background: rgba(255, 255, 255, .08) !important;
	border: 1px solid rgba(255, 255, 255, .14) !important;
	border-radius: 6px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	gap: 6px !important;
	min-height: 38px !important;
	padding: 0 10px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card footer {
	margin-top: auto !important;
}

body.chessora-shell.view-clubs .chessora-club-player-card footer .chessora-button {
	flex: 1 1 0 !important;
	justify-content: center !important;
}

body.chessora-shell.view-clubs .chessora-club-activity-stream button[data-club-tool-target="scoreboard"] {
	border-color: rgba(240, 198, 94, .5) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap,
body.chessora-shell.view-game .chessora-game-room .chessora-board:not(.cg-wrap) {
	background: #172820 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	background-color: #172820 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board square.light,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board square.move-dest,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board square.oc.move-dest {
	background-color: #ecd59c !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board square.dark {
	background-color: #ad712b !important;
}

@media (max-width: 760px) {
	body.chessora-shell.view-clubs .chessora-club-player-filters,
	body.chessora-shell.view-clubs .chessora-club-scoreboard-columns {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

body.chessora-shell.view-clubs .chessora-club-tournament-box .chessora-club-instructions,
body.chessora-shell.view-clubs .chessora-club-tournament-guide {
	display: none !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(212, 175, 55, .12), rgba(9, 18, 15, .96) 42%),
		#101d18 !important;
	border-color: rgba(212, 175, 55, .44) !important;
	gap: 18px !important;
	margin-top: 0 !important;
	padding: 24px 26px !important;
}

body.chessora-shell.view-clubs .chessora-club-event-versus {
	align-items: center !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin-top: 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-event-versus span,
body.chessora-shell.view-clubs .chessora-club-event-versus b {
	background: rgba(5, 14, 11, .82) !important;
	border: 1px solid rgba(212, 175, 55, .28) !important;
	border-radius: 8px !important;
	color: #fff7df !important;
	font-weight: 900 !important;
	padding: 9px 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-event-versus b {
	color: #ffd966 !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-broadcast {
	display: grid !important;
	justify-items: center !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-broadcast > header,
body.chessora-shell.view-clubs .chessora-club-tournament-broadcast .chessora-observer-round-tabs,
body.chessora-shell.view-clubs .chessora-club-tournament-broadcast .chessora-observer-strip {
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-focus {
	display: grid !important;
	justify-items: center !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage {
	display: grid !important;
	gap: 12px !important;
	justify-items: center !important;
	max-width: min(100%, 560px) !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage .chessora-observer-board-large {
	max-width: 560px !important;
	width: min(100%, 560px) !important;
}

body.chessora-shell.view-clubs .chessora-club-board-player {
	align-items: center !important;
	background: #07110f !important;
	border: 1px solid rgba(212, 175, 55, .38) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	padding: 12px 14px !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-player small {
	color: #b8c7bd !important;
	display: block !important;
	font-weight: 700 !important;
}

body.chessora-shell.view-clubs .chessora-club-board-player strong {
	color: #fff7df !important;
	display: block !important;
	font-size: 1.05rem !important;
}

body.chessora-shell.view-clubs .chessora-club-board-player b {
	color: #ffd966 !important;
	font-size: 1.05rem !important;
}

body.chessora-shell.view-clubs .chessora-club-board-controls {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: center !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-controls button,
body.chessora-shell.view-clubs .chessora-club-board-controls span {
	align-items: center !important;
	background: rgba(7, 17, 15, .95) !important;
	border: 1px solid rgba(212, 175, 55, .36) !important;
	border-radius: 7px !important;
	color: #ffd966 !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	min-height: 42px !important;
	padding: 0 15px !important;
}

body.chessora-shell.view-clubs .chessora-club-board-controls button:disabled {
	color: rgba(255, 247, 223, .42) !important;
}

body.chessora-shell.view-clubs .chessora-club-presence-panel {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, .1), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border: 1px solid rgba(212, 175, 55, .34) !important;
	display: grid !important;
	gap: 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-presence-panel p {
	margin: 0 !important;
}

/* Final private club tournament template fix: compact, non-overflowing, no wide side rail. */
body.chessora-shell.view-clubs .chessora-clubs-page,
body.chessora-shell.view-clubs .chessora-club-room-grid,
body.chessora-shell.view-clubs .chessora-club-tool-panel,
body.chessora-shell.view-clubs .chessora-club-tournament-box,
body.chessora-shell.view-clubs .chessora-club-tournament-list,
body.chessora-shell.view-clubs .chessora-club-private-tournament,
body.chessora-shell.view-clubs .chessora-club-tournament-broadcast,
body.chessora-shell.view-clubs .chessora-club-crosstable-panel,
body.chessora-shell.view-clubs .chessora-club-pairings-panel,
body.chessora-shell.view-clubs .chessora-club-selection-panel,
body.chessora-shell.view-clubs .chessora-club-standings-panel {
	box-sizing: border-box !important;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow-wrap: anywhere !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-grid {
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side {
	align-items: start !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: minmax(0, 1fr) !important;
	max-width: 100% !important;
	min-width: 0 !important;
	order: -1 !important;
	padding: 16px 18px !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side dl,
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools,
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side dl > div {
	min-width: 150px !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools-grid button {
	min-width: 88px !important;
	width: auto !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-list a {
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: hidden !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-list a strong,
body.chessora-shell.view-clubs .chessora-club-tournament-list a span {
	display: block !important;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr) !important;
	margin-top: 16px !important;
	overflow: hidden !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament h1 {
	font-size: clamp(1.65rem, 3vw, 2.5rem) !important;
	line-height: 1.08 !important;
	margin: 0 !important;
	overflow-wrap: anywhere !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament .chessora-event-open-note {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-guide,
body.chessora-shell.view-clubs .chessora-club-tournament-broadcast {
	overflow: hidden !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage {
	margin-inline: auto !important;
	max-width: min(100%, 600px) !important;
}

@media (max-width: 760px) {
	body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* Club Swiss crosstable and board polish. Keep after final club overrides. */
body.chessora-shell.view-clubs .chessora-club-board-controls {
	align-items: center !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: center !important;
	width: min(100%, 520px) !important;
}

body.chessora-shell.view-clubs .chessora-club-board-controls button,
body.chessora-shell.view-clubs .chessora-cross-controls button {
	background: rgba(255, 255, 255, .045) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 6px !important;
	color: #fff7df !important;
	font-weight: 900 !important;
	min-height: 34px !important;
	padding: 7px 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-board-controls button:disabled {
	color: #8d988e !important;
	cursor: not-allowed !important;
	opacity: .72 !important;
}

body.chessora-shell.view-clubs .chessora-club-board-controls span {
	background: rgba(8, 18, 14, .72) !important;
	border: 1px solid rgba(229, 180, 77, .22) !important;
	border-radius: 6px !important;
	color: #f1cf77 !important;
	font-weight: 900 !important;
	min-height: 34px !important;
	padding: 7px 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-crosstable-panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
		#101d17 !important;
	border: 1px solid rgba(229, 180, 77, .25) !important;
	border-radius: 8px !important;
	margin-top: 16px !important;
	padding: 18px !important;
}

body.chessora-shell.view-clubs .chessora-cross-controls {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin-bottom: 12px !important;
}

body.chessora-shell.view-clubs .chessora-cross-controls button:hover,
body.chessora-shell.view-clubs .chessora-cross-controls button:focus-visible {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	color: #151008 !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid-scroll {
	overflow: auto !important;
	padding-bottom: 8px !important;
	position: relative !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model {
	background: #100905 !important;
	border: 2px solid #050302 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	color: #fff5dd !important;
	min-width: 1120px !important;
	overflow: hidden !important;
	width: max-content !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model thead th {
	background: #f3b640 !important;
	border: 1px solid #160e08 !important;
	color: #120b04 !important;
	font-size: .86rem !important;
	font-weight: 950 !important;
	height: 42px !important;
	padding: 0 10px !important;
	text-align: center !important;
	text-shadow: none !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-player-head {
	left: 0 !important;
	position: sticky !important;
	text-align: left !important;
	z-index: 6 !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model th,
body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model td {
	border: 1px solid #332417 !important;
	color: #fff5dd !important;
	height: 58px !important;
	min-width: 56px !important;
	padding: 0 !important;
	position: relative !important;
	text-align: center !important;
	vertical-align: middle !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-player {
	background: #130b06 !important;
	left: 0 !important;
	min-width: 300px !important;
	padding: 10px 16px !important;
	position: sticky !important;
	text-align: left !important;
	white-space: nowrap !important;
	z-index: 5 !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-player::after,
body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-player-head::after {
	background: linear-gradient(90deg, rgba(0, 0, 0, .45), transparent) !important;
	content: "" !important;
	height: 100% !important;
	pointer-events: none !important;
	position: absolute !important;
	right: -14px !important;
	top: 0 !important;
	width: 14px !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-player-link {
	align-items: center !important;
	color: #fff5dd !important;
	display: inline-flex !important;
	gap: 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-avatar {
	align-items: center !important;
	background: #07150f !important;
	border: 2px solid #fff0d1 !important;
	border-radius: 999px !important;
	color: #f2b83e !important;
	display: inline-flex !important;
	flex: 0 0 38px !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	height: 38px !important;
	justify-content: center !important;
	width: 38px !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model td {
	background:
		linear-gradient(135deg, #5a5a57 0 49.7%, #0f0905 49.7% 100%) !important;
	font-weight: 950 !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .65) !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model td:last-child,
body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model td:nth-last-child(2) {
	background: #130b06 !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model td span {
	color: #fff5dd !important;
	position: relative !important;
	z-index: 2 !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-points,
body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-place {
	color: #fff5dd !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-clubs .chessora-swiss-grid.chessora-cross-model .chessora-cross-self-logo,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-self-logo {
	background: #070f0c !important;
	border: 2px solid #f1cf77 !important;
	border-radius: 999px !important;
	box-shadow: 0 0 0 3px rgba(207, 126, 26, .72) !important;
	display: block !important;
	height: 34px !important;
	left: 50% !important;
	object-fit: cover !important;
	object-position: center 34% !important;
	position: absolute !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 34px !important;
	z-index: 3 !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-self::before,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-self::after {
	content: none !important;
	display: none !important;
}

/* Final club tournament page corrections. */
body.chessora-shell.view-clubs .chessora-club-tournament-list a {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
		#0b1712 !important;
	border: 1px solid rgba(229, 180, 77, .28) !important;
	border-radius: 8px !important;
	color: #fff7df !important;
	display: grid !important;
	gap: 5px !important;
	padding: 14px 16px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-list a strong {
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-list a span {
	color: #cbd4c8 !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border: 1px solid rgba(229, 180, 77, .26) !important;
	box-shadow: none !important;
	color: #fff7df !important;
	padding: 24px !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament :where(h1, span, div) {
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-club-board-focus {
	grid-template-columns: minmax(0, 1fr) !important;
	justify-items: center !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage {
	align-items: center !important;
	display: grid !important;
	gap: 10px !important;
	justify-items: center !important;
	width: min(100%, 600px) !important;
}

body.chessora-shell.view-clubs .chessora-club-board-player {
	align-items: center !important;
	background: rgba(8, 18, 14, .72) !important;
	border: 1px solid rgba(229, 180, 77, .28) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: 42px minmax(0, 1fr) auto !important;
	padding: 9px 12px !important;
	width: min(100%, 520px) !important;
}

body.chessora-shell.view-clubs .chessora-club-board-player div {
	display: grid !important;
	gap: 2px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-board-player strong,
body.chessora-shell.view-clubs .chessora-club-swiss-table article strong {
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-club-board-player b {
	color: #f1cf77 !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-clubs .chessora-club-player-logo {
	align-items: center !important;
	background: linear-gradient(135deg, #192820, #315744 58%, #d5a334) !important;
	border: 1px solid rgba(244, 196, 78, .46) !important;
	border-radius: 8px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	flex: 0 0 34px !important;
	font-size: .9rem !important;
	font-weight: 950 !important;
	height: 34px !important;
	justify-content: center !important;
	overflow: hidden !important;
	width: 34px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-logo img,
body.chessora-shell.view-clubs .chessora-cross-avatar img {
	display: block !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-table article > div {
	align-items: center !important;
	grid-template-columns: 34px minmax(0, 1fr) auto !important;
}

body.chessora-shell.view-clubs .chessora-club-selection-panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
		#101d17 !important;
	border: 1px solid rgba(229, 180, 77, .25) !important;
	border-radius: 8px !important;
	margin-top: 16px !important;
	padding: 18px !important;
}

body.chessora-shell.view-clubs .chessora-club-selection-note {
	background: rgba(8, 18, 14, .52) !important;
	border: 1px solid rgba(229, 180, 77, .2) !important;
	border-radius: 8px !important;
	margin-bottom: 12px !important;
	padding: 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-selection-grid {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-selection-grid article {
	align-items: center !important;
	background: #0b1712 !important;
	border: 1px solid rgba(229, 180, 77, .18) !important;
	border-radius: 7px !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: 34px minmax(0, 1fr) auto !important;
	padding: 10px 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-selection-grid article > div {
	display: grid !important;
	gap: 2px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-selection-grid article b {
	color: #f1cf77 !important;
}

/* Private club tournament room: make the internal event feel like the site tournament room. */
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-grid {
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side {
	align-items: center !important;
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: auto minmax(220px, .45fr) minmax(0, 1fr) !important;
	order: -1 !important;
	padding: 16px 20px !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side h2 {
	margin: 0 !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side dl {
	border: 0 !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;
	margin: 0 !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side dl > div {
	border: 1px solid rgba(229, 180, 77, .22) !important;
	border-radius: 6px !important;
	padding: 9px 11px !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools {
	align-items: center !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: auto minmax(0, 1fr) !important;
	min-width: 0 !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools h3 {
	margin: 0 !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools-grid button {
	min-height: 38px !important;
	padding: 8px 14px !important;
	width: auto !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-guide {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
		#111d18 !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 8px !important;
	color: #cbd4c8 !important;
	padding: 18px !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-broadcast,
body.chessora-shell.view-clubs .chessora-club-bracket-panel,
body.chessora-shell.view-clubs .chessora-club-pairings-panel,
body.chessora-shell.view-clubs .chessora-club-standings-panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
		#101d17 !important;
	border: 1px solid rgba(229, 180, 77, .25) !important;
	border-radius: 8px !important;
	margin-top: 16px !important;
	padding: 18px !important;
}

body.chessora-shell.view-clubs .chessora-club-board-focus {
	align-items: start !important;
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(280px, 520px) minmax(220px, 1fr) !important;
	justify-content: center !important;
}

body.chessora-shell.view-clubs .chessora-observer-board {
	aspect-ratio: 1 / 1 !important;
	display: grid !important;
	grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
	grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
	height: auto !important;
}

body.chessora-shell.view-clubs .chessora-observer-board > span {
	align-items: center !important;
	aspect-ratio: 1 / 1 !important;
	display: flex !important;
	justify-content: center !important;
	min-height: 0 !important;
	min-width: 0 !important;
	overflow: hidden !important;
}

body.chessora-shell.view-clubs .chessora-observer-board span.is-light {
	background: #f1d8a0 !important;
}

body.chessora-shell.view-clubs .chessora-observer-board span.is-dark {
	background: #a86b2a !important;
}

body.chessora-shell.view-clubs .chessora-observer-board img {
	height: 86% !important;
	object-fit: contain !important;
	width: 86% !important;
}

body.chessora-shell.view-clubs .chessora-observer-board-large {
	border: 10px solid #26352f !important;
	border-radius: 8px !important;
	box-shadow: 0 20px 42px rgba(0, 0, 0, .28) !important;
	max-width: min(100%, 520px) !important;
	width: min(100%, 520px) !important;
}

body.chessora-shell.view-clubs .chessora-observer-board-mini {
	border: 7px solid #26352f !important;
	border-radius: 8px !important;
	justify-self: center !important;
	max-width: 180px !important;
	width: min(100%, 180px) !important;
}

body.chessora-shell.view-clubs .chessora-club-board-players {
	display: grid !important;
	gap: 10px !important;
}

body.chessora-shell.view-clubs .chessora-club-board-players article,
body.chessora-shell.view-clubs .chessora-mini-match-line {
	background: rgba(8, 18, 14, .66) !important;
	border: 1px solid rgba(229, 180, 77, .28) !important;
	border-radius: 7px !important;
	padding: 10px 12px !important;
}

body.chessora-shell.view-clubs .chessora-observer-round-tabs {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin: 16px 0 12px !important;
}

body.chessora-shell.view-clubs .chessora-observer-round-tabs a,
body.chessora-shell.view-clubs .chessora-watch-link {
	align-items: center !important;
	background: rgba(255, 255, 255, .045) !important;
	border: 1px solid rgba(229, 180, 77, .28) !important;
	border-radius: 6px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	justify-content: center !important;
	min-height: 34px !important;
	padding: 7px 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-clubs .chessora-observer-round-tabs a.is-active,
body.chessora-shell.view-clubs .chessora-watch-link:hover,
body.chessora-shell.view-clubs .chessora-watch-link:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, .62) !important;
	color: #151008 !important;
}

body.chessora-shell.view-clubs .chessora-observer-strip {
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-observer-strip > a {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)),
		#14231c !important;
	border: 1px solid rgba(229, 180, 77, .32) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 9px !important;
	padding: 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-clubs .chessora-observer-strip > a.is-active {
	border-color: #f0c65e !important;
	box-shadow: 0 0 0 2px rgba(240, 198, 94, .22) !important;
}

body.chessora-shell.view-clubs .chessora-bracket-board {
	overflow-x: auto !important;
	padding-bottom: 8px !important;
}

body.chessora-shell.view-clubs .chessora-bracket-lane {
	display: grid !important;
	gap: 12px !important;
	min-width: min(100%, 760px) !important;
}

body.chessora-shell.view-clubs .chessora-bracket-lane > header span {
	color: #f1cf77 !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-clubs .chessora-bracket-rounds {
	display: grid !important;
	gap: 14px !important;
	grid-auto-columns: minmax(190px, 230px) !important;
	grid-auto-flow: column !important;
	overflow-x: auto !important;
}

body.chessora-shell.view-clubs .chessora-bracket-round {
	display: grid !important;
	gap: 10px !important;
}

body.chessora-shell.view-clubs .chessora-bracket-game {
	display: grid !important;
	gap: 5px !important;
}

body.chessora-shell.view-clubs .chessora-bracket-game > strong {
	color: #f1cf77 !important;
	font-size: .75rem !important;
}

body.chessora-shell.view-clubs .chessora-bracket-match {
	background: #0b1712 !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 6px !important;
	display: grid !important;
	overflow: hidden !important;
}

body.chessora-shell.view-clubs .chessora-bracket-slot {
	align-items: center !important;
	border-left: 3px solid rgba(229, 180, 77, .34) !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	min-height: 34px !important;
	padding: 6px 8px !important;
}

body.chessora-shell.view-clubs .chessora-bracket-slot + .chessora-bracket-slot {
	border-top: 1px solid rgba(229, 180, 77, .15) !important;
}

body.chessora-shell.view-clubs .chessora-bracket-slot.is-winner {
	border-left-color: #f0c65e !important;
	background: rgba(240, 198, 94, .12) !important;
}

body.chessora-shell.view-clubs .chessora-bracket-slot span {
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-bracket-slot b {
	background: rgba(255, 255, 255, .07) !important;
	border-radius: 4px !important;
	min-width: 24px !important;
	text-align: center !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-rounds {
	display: grid !important;
	gap: 16px !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-round {
	background: rgba(8, 18, 14, .52) !important;
	border: 1px solid rgba(229, 180, 77, .22) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	padding: 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-round > header {
	align-items: center !important;
	border-bottom: 1px solid rgba(229, 180, 77, .16) !important;
	display: flex !important;
	justify-content: space-between !important;
	padding-bottom: 10px !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-table {
	display: grid !important;
	gap: 9px !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-table article {
	align-items: center !important;
	background: #0b1712 !important;
	border: 1px solid rgba(229, 180, 77, .18) !important;
	border-radius: 7px !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: 86px minmax(120px, 1fr) auto minmax(120px, 1fr) auto auto !important;
	padding: 10px 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-table article > b {
	color: #f1cf77 !important;
	font-size: .82rem !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-table article > div {
	display: grid !important;
	gap: 2px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-table article strong {
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-club-swiss-table article > span,
body.chessora-shell.view-clubs .chessora-club-swiss-table article > em {
	color: #f1cf77 !important;
	font-style: normal !important;
	font-weight: 950 !important;
	text-align: center !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-clubs .chessora-club-swiss-table article {
		align-items: stretch !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
	}

	body.chessora-shell.view-clubs .chessora-club-swiss-table article > b,
	body.chessora-shell.view-clubs .chessora-club-swiss-table article > div,
	body.chessora-shell.view-clubs .chessora-club-swiss-table article > span,
	body.chessora-shell.view-clubs .chessora-club-swiss-table article > em {
		grid-column: 1 / -1 !important;
		text-align: left !important;
	}

	body.chessora-shell.view-clubs .chessora-club-swiss-table article .chessora-watch-link {
		grid-column: 1 / -1 !important;
	}
}

body.chessora-shell.view-clubs .chessora-club-standings-grid {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
}

body.chessora-shell.view-clubs .chessora-club-standings-grid article {
	align-items: center !important;
	background: rgba(8, 18, 14, .66) !important;
	border: 1px solid rgba(229, 180, 77, .22) !important;
	border-radius: 7px !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	padding: 10px 12px !important;
}

body.chessora-shell.view-clubs .chessora-club-standings-grid article.is-podium {
	border-color: rgba(240, 198, 94, .52) !important;
}

body.chessora-shell.view-clubs .chessora-club-team-result-panel {
	background:
		linear-gradient(135deg, rgba(229, 180, 77, .12), rgba(255, 255, 255, .025)),
		#111d18 !important;
}

body.chessora-shell.view-clubs .chessora-club-team-scoreboard {
	align-items: stretch !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
}

body.chessora-shell.view-clubs .chessora-club-team-scoreboard > span {
	align-self: center !important;
	color: #f1cf77 !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-clubs .chessora-club-team-scoreboard article {
	align-items: center !important;
	background: rgba(7, 17, 15, .7) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	padding: 14px !important;
}

body.chessora-shell.view-clubs .chessora-club-team-scoreboard article.is-winner {
	border-color: rgba(240, 198, 94, .75) !important;
	box-shadow: 0 0 0 1px rgba(240, 198, 94, .22), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

body.chessora-shell.view-clubs .chessora-club-team-scoreboard article b {
	color: #f8d982 !important;
	font-size: clamp(1.6rem, 3vw, 2.25rem) !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-clubs .chessora-club-podium {
	align-items: end !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin-bottom: 18px !important;
}

body.chessora-shell.view-clubs .chessora-club-podium article {
	align-items: center !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)),
		#07110f !important;
	border: 1px solid rgba(229, 180, 77, .28) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	justify-items: center !important;
	min-height: 150px !important;
	padding: 16px 12px !important;
	text-align: center !important;
}

body.chessora-shell.view-clubs .chessora-club-podium article.place-1 {
	border-color: rgba(240, 198, 94, .86) !important;
	min-height: 178px !important;
	order: 2 !important;
}

body.chessora-shell.view-clubs .chessora-club-podium article.place-2 {
	order: 1 !important;
}

body.chessora-shell.view-clubs .chessora-club-podium article.place-3 {
	order: 3 !important;
}

body.chessora-shell.view-clubs .chessora-club-podium article > strong {
	color: #f1cf77 !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-clubs .chessora-club-podium article em {
	color: #fff7df !important;
	font-style: normal !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-clubs .chessora-club-standings-subtitle {
	color: #f1cf77 !important;
	font-size: .85rem !important;
	letter-spacing: .08em !important;
	margin: 0 0 10px !important;
	text-transform: uppercase !important;
}

@media (max-width: 760px) {
	body.chessora-shell.view-clubs .chessora-club-team-scoreboard,
	body.chessora-shell.view-clubs .chessora-club-podium {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-clubs .chessora-club-podium article.place-1,
	body.chessora-shell.view-clubs .chessora-club-podium article.place-2,
	body.chessora-shell.view-clubs .chessora-club-podium article.place-3 {
		order: initial !important;
	}
}

@media (max-width: 980px) {
	body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side,
	body.chessora-shell.view-clubs .chessora-club-board-focus {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

body.chessora-shell.view-clubs .chessora-clubs-hero,
body.chessora-shell.view-clubs .chessora-club-list-card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border-color: rgba(229, 180, 77, .26) !important;
	color: #f8f5ee !important;
}

body.chessora-shell.view-clubs .chessora-clubs-hero h1,
body.chessora-shell.view-clubs .chessora-club-list-card h2 {
	color: #fff7df !important;
	text-shadow: none !important;
}

body.chessora-shell.view-clubs .chessora-clubs-hero span,
body.chessora-shell.view-clubs .chessora-club-list-card p {
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs .chessora-clubs-hero small,
body.chessora-shell.view-clubs .chessora-clubs-hero > strong,
body.chessora-shell.view-clubs .chessora-club-list-card header > strong {
	color: #0f140f !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card .chessora-club-mark {
	background: #050907 !important;
	overflow: hidden !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card .chessora-club-mark img {
	display: block !important;
	height: 100% !important;
	object-fit: contain !important;
	padding: 3px !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-member-list > span,
body.chessora-shell.view-clubs .chessora-club-member-list > a {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#0b1411 !important;
	border: 1px solid rgba(229, 180, 77, .22) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-club-member-list b {
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-club-member-list small {
	color: #cbd4c8 !important;
}

/* Dark club room skin, aligned with the redesigned homepage. */
body.chessora-shell.view-clubs {
	background:
		linear-gradient(180deg, rgba(12, 22, 18, .96), rgba(6, 15, 13, .98)),
		#07110f !important;
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs .shell-page {
	background:
		linear-gradient(rgba(241, 207, 119, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(241, 207, 119, .035) 1px, transparent 1px),
		#07110f !important;
	background-size: 64px 64px !important;
}

body.chessora-shell.view-clubs .shell-component-card {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page {
	background: transparent !important;
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs .chessora-tabs,
body.chessora-shell.view-clubs .chessora-club-command-hero,
body.chessora-shell.view-clubs .chessora-clubs-hero,
body.chessora-shell.view-clubs .chessora-club-overview-strip article,
body.chessora-shell.view-clubs .chessora-club-room-panel,
body.chessora-shell.view-clubs .chessora-club-list-card,
body.chessora-shell.view-clubs .chessora-club-directory-card,
body.chessora-shell.view-clubs .chessora-club-welcome-card,
body.chessora-shell.view-clubs .chessora-club-member-panel,
body.chessora-shell.view-clubs .chessora-club-instructions,
body.chessora-shell.view-clubs .chessora-club-rules,
body.chessora-shell.view-clubs .chessora-club-room-note,
body.chessora-shell.view-clubs .chessora-club-post-list article,
body.chessora-shell.view-clubs .chessora-club-forum-list article,
body.chessora-shell.view-clubs .chessora-club-league-list article,
body.chessora-shell.view-clubs .chessora-club-activity-stream article,
body.chessora-shell.view-clubs .chessora-club-activity-stream button,
body.chessora-shell.view-clubs .chessora-club-wall-replies article {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border-color: rgba(229, 180, 77, .22) !important;
	box-shadow: none !important;
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs :where(h1, h2, h3, strong, b, label span, dt, dd) {
	color: #fff7df !important;
}

body.chessora-shell.view-clubs :where(p, small, li, span, time) {
	color: #cbd4c8 !important;
}

body.chessora-shell.view-clubs .chessora-kicker,
body.chessora-shell.view-clubs .chessora-club-member-panel > header span,
body.chessora-shell.view-clubs .chessora-club-activity-stream > :where(article, button) > span,
body.chessora-shell.view-clubs .chessora-club-wall-replies > header button,
body.chessora-shell.view-clubs .chessora-club-history-result strong {
	color: #f1cf77 !important;
}

body.chessora-shell.view-clubs .chessora-club-logo-mark,
body.chessora-shell.view-clubs .chessora-club-mark {
	background: linear-gradient(135deg, #172820, #315744 58%, #d5a334) !important;
	border-color: rgba(244, 196, 78, .46) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-button,
body.chessora-shell.view-clubs .chessora-club-tools-grid button,
body.chessora-shell.view-clubs .chessora-club-member-tools button,
body.chessora-shell.view-clubs button[data-club-tool-target] {
	background: rgba(255, 255, 255, .045) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-button-primary,
body.chessora-shell.view-clubs .chessora-club-tools-grid button.is-active,
body.chessora-shell.view-clubs button[data-club-tool-target].is-active,
body.chessora-shell.view-clubs .chessora-club-member-tools button:hover,
body.chessora-shell.view-clubs .chessora-club-member-tools button:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, .62) !important;
	color: #151008 !important;
}

body.chessora-shell.view-clubs .chessora-club-post-form :where(input, select, textarea),
body.chessora-shell.view-clubs .chessora-club-forum-list form :where(input, select, textarea),
body.chessora-shell.view-clubs .chessora-club-reply-form :where(input, select, textarea) {
	background: #07110f !important;
	border-color: rgba(229, 180, 77, .42) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-club-post-form :where(input, textarea)::placeholder,
body.chessora-shell.view-clubs .chessora-club-reply-form textarea::placeholder {
	color: #97a59a !important;
	opacity: 1 !important;
}

body.chessora-shell.view-clubs .chessora-club-post-form :where(input, select, textarea):focus,
body.chessora-shell.view-clubs .chessora-club-reply-form :where(input, select, textarea):focus {
	border-color: #f1cf77 !important;
	box-shadow: 0 0 0 3px rgba(241, 207, 119, .14) !important;
	outline: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-policy {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, .12), rgba(241, 207, 119, .04)),
		#141f19 !important;
}

/* Final Swiss tournament table and round-tab contrast overrides. */
body.chessora-shell.view-tournaments .chessora-pairing-tabs button,
body.chessora-shell.view-tournaments .chessora-observer-round-tabs button {
	background: #fff4d3 !important;
	border-color: #d79d2b !important;
	color: #2a1b05 !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-tournaments .chessora-pairing-tabs button.is-active,
body.chessora-shell.view-tournaments .chessora-observer-round-tabs button.is-active {
	background: linear-gradient(180deg, #f2bd3d, #d69222) !important;
	border-color: #b97a18 !important;
	color: #120d04 !important;
}

body.chessora-shell.view-tournaments .chessora-pairing-tabs button:disabled,
body.chessora-shell.view-tournaments .chessora-observer-round-tabs button:disabled {
	background: #3b3425 !important;
	border-color: #7b612d !important;
	color: #ead8ad !important;
	opacity: 1 !important;
}

/* Final game setup column alignment. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr) !important;
	column-gap: 18px !important;
	row-gap: 18px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > :not(.chessora-opponent-toggle):not(.chessora-bot-level-toggle):not(.chessora-rated-toggle):not(.chessora-color-toggle):not(.chessora-rating-range):not(.chessora-rating-range-warning) {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
	grid-column: 1 !important;
	max-width: none !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
	grid-column: 2 !important;
	max-width: none !important;
	width: 100% !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
		grid-column: 1 / -1 !important;
	}
}

/* Live board redesign: board-first layout with attached player bars. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	align-items: start !important;
	display: grid !important;
	gap: 22px !important;
	grid-template-columns: minmax(560px, 820px) minmax(320px, 430px) !important;
	justify-content: center !important;
	margin-inline: auto !important;
	max-width: 1360px !important;
	padding: 18px clamp(12px, 2vw, 28px) !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-board-layout {
	display: contents !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
	align-self: start !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	display: block !important;
	grid-column: 1 !important;
	margin: 0 !important;
	max-width: none !important;
	min-width: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 auto !important;
	max-width: none !important;
	overflow: visible !important;
	padding: 0 !important;
	width: max-content !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	--room-board-size: min(720px, calc(100vh - 184px), calc(100vw - 560px)) !important;
	align-items: stretch !important;
	background: #2d2a21 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid !important;
	gap: 0 !important;
	grid-template-columns: 24px var(--room-board-size) 42px !important;
	grid-template-rows: 48px var(--room-board-size) 22px 48px !important;
	margin: 0 auto !important;
	max-width: calc(var(--room-board-size) + 66px) !important;
	padding: 0 !important;
	width: calc(var(--room-board-size) + 66px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row] {
	align-self: stretch !important;
	display: block !important;
	grid-column: 2 / 3 !important;
	margin: 0 !important;
	max-width: none !important;
	width: var(--room-board-size) !important;
	z-index: 3 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks {
	grid-column: 1 !important;
	grid-row: 2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	aspect-ratio: 1 / 1 !important;
	background: #b58863 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: 0 0 0 4px #2d2a21 !important;
	grid-column: 2 !important;
	grid-row: 2 !important;
	height: var(--room-board-size) !important;
	margin: 0 !important;
	max-height: var(--room-board-size) !important;
	max-width: var(--room-board-size) !important;
	min-height: 0 !important;
	min-width: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	height: 100% !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	background-color: #b58863 !important;
	background-image: conic-gradient(from 90deg, #f0d9b5 25%, #b58863 0 50%, #f0d9b5 0 75%, #b58863 0) !important;
	background-size: 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates {
	grid-column: 2 !important;
	grid-row: 3 !important;
	height: 22px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
	grid-column: 3 !important;
	grid-row: 2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card {
	align-items: center !important;
	background: #2d2a21 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #f9f2df !important;
	display: grid !important;
	gap: 9px !important;
	grid-template-columns: 32px minmax(0, 1fr) auto !important;
	height: 48px !important;
	margin: 0 !important;
	max-width: none !important;
	min-height: 48px !important;
	padding: 5px 8px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-avatar {
	border-radius: 3px !important;
	height: 32px !important;
	width: 32px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-name-line {
	align-items: baseline !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 5px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-name] {
	color: #fff7df !important;
	font-size: 0.86rem !important;
	font-weight: 900 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-rating],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-captured-pieces] {
	color: rgba(255, 247, 223, 0.78) !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock] {
	align-items: center !important;
	background: #f7f5eb !important;
	border: 0 !important;
	border-radius: 3px !important;
	color: #1a1914 !important;
	display: inline-flex !important;
	font-size: 1.12rem !important;
	font-weight: 950 !important;
	justify-content: center !important;
	line-height: 1 !important;
	min-height: 38px !important;
	min-width: 102px !important;
	padding: 0 12px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card.is-turn [data-player-clock] {
	background: #fff !important;
	color: #0f1512 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	align-self: start !important;
	background: #24231f !important;
	border: 0 !important;
	border-radius: 3px !important;
	box-shadow: none !important;
	grid-column: 2 !important;
	margin: 0 !important;
	max-height: calc(100vh - 112px) !important;
	max-width: 430px !important;
	min-width: 320px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: sticky !important;
	top: 96px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-panel {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid !important;
	grid-template-rows: auto minmax(0, 1fr) auto auto !important;
	min-height: min(720px, calc(100vh - 112px)) !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs {
	background: #1d1c19 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 0 !important;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #f2ead8 !important;
	min-height: 54px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button.is-active {
	background: #24231f !important;
	box-shadow: inset 0 -3px 0 #f1cf77 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-body,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-list,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves {
	min-height: 0 !important;
	overflow: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls {
	background: #1d1c19 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	display: flex !important;
	gap: 8px !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 12px !important;
}

@media (max-width: 1180px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		grid-template-columns: 1fr !important;
		max-width: 860px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
		--room-board-size: min(720px, calc(100vw - 96px)) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
		grid-column: 1 !important;
		max-height: none !important;
		max-width: calc(var(--room-board-size) + 66px) !important;
		position: static !important;
	}
}

@media (max-width: 720px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		padding-inline: 8px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
		--room-board-size: min(96vw, calc(100vh - 190px)) !important;
		grid-template-columns: 18px var(--room-board-size) 0 !important;
		width: calc(var(--room-board-size) + 18px) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
		display: none !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock] {
		min-width: 74px !important;
	}
}

/* Last-pass override: player bars stay attached above and below the live board. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	grid-template-columns: 20px var(--room-board-size) 42px !important;
	grid-template-rows: auto var(--room-board-size) 22px auto !important;
	row-gap: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row] {
	grid-column: 1 / 3 !important;
	width: calc(var(--room-board-size) + 20px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card {
	background: #25221e !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 38px minmax(0, 1fr) 10px minmax(74px, auto) !important;
	margin: 0 !important;
	min-height: 46px !important;
	padding: 6px 8px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card.is-turn {
	box-shadow: inset 4px 0 0 var(--play-gold) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-avatar {
	background: rgba(255, 247, 221, 0.12) !important;
	border-radius: 4px !important;
	height: 34px !important;
	width: 34px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > div {
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card strong {
	align-items: baseline !important;
	color: #fff7dd !important;
	display: flex !important;
	gap: 4px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-name] {
	color: #fff7dd !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-rating-pill {
	background: transparent !important;
	border: 0 !important;
	color: #b9c4bd !important;
	display: inline !important;
	font-weight: 700 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-captured-pieces {
	min-height: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock] {
	background: #f8f6ef !important;
	border: 0 !important;
	border-radius: 3px !important;
	color: #101815 !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	min-height: 34px !important;
	min-width: 74px !important;
	padding: 6px 10px !important;
}

/* Final live board player placement. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	grid-template-columns: 20px var(--room-board-size) !important;
	grid-template-rows: auto var(--room-board-size) 22px auto !important;
	row-gap: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row] {
	grid-column: 1 / -1 !important;
	width: calc(var(--room-board-size) + 20px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card {
	background: #25221e !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 38px minmax(0, 1fr) 10px minmax(74px, auto) !important;
	margin: 0 !important;
	min-height: 46px !important;
	padding: 6px 8px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card.is-turn {
	box-shadow: inset 4px 0 0 var(--play-gold) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-avatar {
	background: rgba(255, 247, 221, 0.12) !important;
	border-radius: 4px !important;
	height: 34px !important;
	width: 34px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > div {
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card strong {
	align-items: baseline !important;
	color: #fff7dd !important;
	display: flex !important;
	gap: 4px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-name] {
	color: #fff7dd !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-rating-pill {
	background: transparent !important;
	border: 0 !important;
	color: #b9c4bd !important;
	display: inline !important;
	font-weight: 700 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-captured-pieces {
	min-height: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock] {
	background: #f8f6ef !important;
	border: 0 !important;
	border-radius: 3px !important;
	color: #101815 !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	min-height: 34px !important;
	min-width: 74px !important;
	padding: 6px 10px !important;
}

@media (min-width: 640px) and (max-width: 900px) {
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr) !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
		grid-column: 1 !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle:not([hidden]),
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning:not([hidden]) {
		grid-column: 2 !important;
	}
}

/* Correspondence sidebar: mirror the Play setup guidance panels. */
body.chessora-shell.view-correspondence .chessora-correspondence-left {
	display: grid !important;
	gap: 16px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-side-panel {
	align-self: start !important;
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
		#26322d !important;
	border: 1px solid rgba(241, 207, 119, 0.28) !important;
	border-radius: 10px !important;
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3) !important;
	color: #c9d1c8 !important;
	display: grid !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 14px !important;
	width: 100% !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-side-panel .chessora-create-section-head {
	border-bottom: 1px solid rgba(214, 162, 59, 0.16) !important;
	padding-bottom: 10px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-side-panel strong {
	color: #fff7dd !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-side-panel p {
	align-items: flex-start !important;
	color: #c9d1c8 !important;
	display: grid !important;
	font-size: 0.86rem !important;
	font-weight: 700 !important;
	gap: 10px !important;
	grid-template-columns: 28px 1fr !important;
	line-height: 1.45 !important;
	margin: 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-side-panel .chessora-etiquette-icon {
	align-items: center !important;
	background: linear-gradient(135deg, rgba(241, 207, 119, 0.32), rgba(214, 162, 59, 0.14)) !important;
	border: 1px solid rgba(241, 207, 119, 0.35) !important;
	border-radius: 999px !important;
	color: #f1cf77 !important;
	display: inline-flex !important;
	font-size: 0.9rem !important;
	font-weight: 950 !important;
	height: 28px !important;
	justify-content: center !important;
	line-height: 1 !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28) !important;
	width: 28px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-side-panel .chessora-button {
	justify-self: start !important;
	min-height: 42px !important;
}

/* Final game setup alignment: keep after legacy setup rules. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
	column-gap: 18px !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	row-gap: 18px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > :not(.chessora-opponent-toggle):not(.chessora-bot-level-toggle):not(.chessora-rated-toggle):not(.chessora-color-toggle):not(.chessora-rating-range):not(.chessora-rating-range-warning) {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
	grid-column: 1 / span 7 !important;
	max-width: 100% !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
	grid-column: 8 / -1 !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* Game setup controls: aligned segmented rows. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
	column-gap: 18px !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	row-gap: 18px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > :not(.chessora-opponent-toggle):not(.chessora-bot-level-toggle):not(.chessora-rated-toggle):not(.chessora-color-toggle):not(.chessora-rating-range):not(.chessora-rating-range-warning) {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle {
	grid-column: 1 / span 7 !important;
	max-width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle {
	grid-column: 8 / -1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle {
	grid-column: 1 / span 7 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
	grid-column: 8 / -1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
	grid-column: 1 / span 7 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
	grid-column: 8 / -1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
	align-self: stretch !important;
	background: rgba(255, 255, 255, 0.055) !important;
	border: 1px solid rgba(214, 162, 59, 0.26) !important;
	border-radius: 10px !important;
	display: grid !important;
	gap: 6px !important;
	margin: 0 !important;
	max-width: none !important;
	min-height: 60px !important;
	padding: 6px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle {
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
	align-self: stretch !important;
	margin: 0 !important;
	min-height: 116px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle button,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle button,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle button,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle button {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(214, 162, 59, 0.18) !important;
	border-radius: 7px !important;
	color: #efe5cb !important;
	display: flex !important;
	font-weight: 950 !important;
	justify-content: center !important;
	min-height: 46px !important;
	padding: 0 12px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle button.is-active,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle button.is-active,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle button.is-active,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle button.is-active {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, 0.64) !important;
	color: #151008 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle[hidden],
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning[hidden] {
	display: none !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
		grid-column: 1 / -1 !important;
	}
}

/* Live board redesign: final override after legacy live-room rules. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	align-items: start !important;
	background: #24241f !important;
	display: grid !important;
	gap: 22px !important;
	grid-template-columns: minmax(560px, 820px) minmax(330px, 430px) !important;
	justify-content: center !important;
	margin-inline: auto !important;
	max-width: 1360px !important;
	padding: 18px clamp(12px, 2vw, 28px) !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-board-layout {
	display: contents !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
	align-self: start !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	display: block !important;
	grid-column: 1 !important;
	margin: 0 !important;
	max-width: none !important;
	min-width: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 auto !important;
	max-width: none !important;
	overflow: visible !important;
	padding: 0 !important;
	width: max-content !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	--room-board-size: min(720px, calc(100vh - 184px), calc(100vw - 560px)) !important;
	align-items: stretch !important;
	background: #2d2a21 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid !important;
	gap: 0 !important;
	grid-template-columns: 24px var(--room-board-size) 42px !important;
	grid-template-rows: 48px var(--room-board-size) 22px 48px !important;
	margin: 0 auto !important;
	max-width: calc(var(--room-board-size) + 66px) !important;
	padding: 0 !important;
	width: calc(var(--room-board-size) + 66px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row] {
	align-self: stretch !important;
	display: block !important;
	grid-column: 2 / 3 !important;
	margin: 0 !important;
	max-width: none !important;
	width: var(--room-board-size) !important;
	z-index: 3 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks {
	grid-column: 1 !important;
	grid-row: 2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	aspect-ratio: 1 / 1 !important;
	background: #b58863 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: 0 0 0 4px #2d2a21 !important;
	grid-column: 2 !important;
	grid-row: 2 !important;
	height: var(--room-board-size) !important;
	margin: 0 !important;
	max-height: var(--room-board-size) !important;
	max-width: var(--room-board-size) !important;
	min-height: 0 !important;
	min-width: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	height: 100% !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	background-color: #b58863 !important;
	background-image: conic-gradient(from 90deg, #f0d9b5 25%, #b58863 0 50%, #f0d9b5 0 75%, #b58863 0) !important;
	background-size: 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates {
	grid-column: 2 !important;
	grid-row: 3 !important;
	height: 22px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
	grid-column: 3 !important;
	grid-row: 2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card {
	align-items: center !important;
	background: #2d2a21 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #f9f2df !important;
	display: grid !important;
	gap: 9px !important;
	grid-template-columns: 32px minmax(0, 1fr) auto !important;
	height: 48px !important;
	margin: 0 !important;
	max-width: none !important;
	min-height: 48px !important;
	padding: 5px 8px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-avatar {
	border-radius: 3px !important;
	height: 32px !important;
	width: 32px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-name-line {
	align-items: baseline !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 5px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-name] {
	color: #fff7df !important;
	font-size: 0.86rem !important;
	font-weight: 900 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-rating],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-captured-pieces] {
	color: rgba(255, 247, 223, 0.78) !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock] {
	align-items: center !important;
	background: #f7f5eb !important;
	border: 0 !important;
	border-radius: 3px !important;
	color: #1a1914 !important;
	display: inline-flex !important;
	font-size: 1.12rem !important;
	font-weight: 950 !important;
	justify-content: center !important;
	line-height: 1 !important;
	min-height: 38px !important;
	min-width: 102px !important;
	padding: 0 12px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	align-self: start !important;
	background: #24231f !important;
	border: 0 !important;
	border-radius: 3px !important;
	box-shadow: none !important;
	grid-column: 2 !important;
	margin: 0 !important;
	max-height: calc(100vh - 112px) !important;
	max-width: 430px !important;
	min-width: 320px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: sticky !important;
	top: 96px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-panel {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid !important;
	grid-template-rows: auto minmax(0, 1fr) auto auto auto !important;
	min-height: min(720px, calc(100vh - 112px)) !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs {
	background: #1d1c19 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 0 !important;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button {
	align-items: center !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #f2ead8 !important;
	display: grid !important;
	gap: 4px !important;
	justify-items: center !important;
	min-height: 62px !important;
	padding: 8px 4px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button.is-active {
	background: #24231f !important;
	box-shadow: inset 0 -3px 0 #f1cf77 !important;
	color: #fff8dd !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs small {
	background: #dba52d !important;
	border-radius: 999px !important;
	color: #111 !important;
	font-size: 0.68rem !important;
	font-weight: 950 !important;
	min-width: 18px !important;
	padding: 1px 5px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-panel,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves {
	background: #24231f !important;
	color: #f4ecd8 !important;
	min-height: 0 !important;
	overflow: auto !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-panel[hidden],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-chat {
	display: grid !important;
	gap: 12px !important;
	grid-template-rows: auto minmax(0, 1fr) auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-lines {
	background: #1b221c !important;
	border: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 4px !important;
	min-height: 260px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-form {
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-info-list {
	display: grid !important;
	gap: 10px !important;
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-info-list div {
	background: #1b221c !important;
	border: 1px solid rgba(241, 207, 119, 0.16) !important;
	border-radius: 4px !important;
	display: grid !important;
	gap: 4px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-info-list dt {
	color: #d7d3c5 !important;
	font-size: 0.75rem !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-info-list dd {
	color: #fff8dd !important;
	font-weight: 800 !important;
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-openings {
	display: grid !important;
	gap: 10px !important;
	align-content: start !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-openings strong {
	color: #fff8dd !important;
	font-size: 1rem !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-openings p {
	color: #d7d3c5 !important;
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls {
	background: #1d1c19 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 12px !important;
}

@media (max-width: 1180px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		grid-template-columns: 1fr !important;
		max-width: 860px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
		--room-board-size: min(720px, calc(100vw - 96px)) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
		grid-column: 1 !important;
		max-height: none !important;
		max-width: calc(var(--room-board-size) + 66px) !important;
		position: static !important;
	}
}

@media (max-width: 720px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		padding-inline: 8px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
		--room-board-size: min(96vw, calc(100vh - 190px)) !important;
		grid-template-columns: 18px var(--room-board-size) 0 !important;
		width: calc(var(--room-board-size) + 18px) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
		display: none !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock] {
		min-width: 74px !important;
	}
}

* {
	box-sizing: border-box;
}

html {
	background: var(--shell-bg);
	color: var(--shell-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
}

body.chessora-shell {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(circle at top left, rgba(211, 154, 39, 0.16), transparent 34rem),
		linear-gradient(180deg, #fffaf0 0, #f8f3e7 28rem, #f7efe1 100%);
	color: var(--shell-ink);
}

a {
	color: inherit;
	text-decoration: none;
}

input,
button,
select,
textarea {
	font: inherit;
}

.visually-hidden,
.shell-skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.shell-skip-link:focus {
	position: fixed;
	z-index: 1000;
	top: 12px;
	left: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--shell-dark);
	color: #fff7df;
}

.shell-site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 250, 240, 0.94);
	border-bottom: 1px solid var(--shell-border);
	backdrop-filter: blur(18px);
}

.shell-utility {
	min-height: 28px;
	background: var(--shell-dark);
	color: #f8ecd3;
	font-size: 0.82rem;
}

.shell-header-row {
	display: grid;
	grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(330px, 430px);
	align-items: center;
	gap: 28px;
	width: min(100%, var(--shell-max));
	margin: 0 auto;
	padding: 18px 32px;
}

.shell-actions,
.shell-user-menu {
	display: flex;
	align-items: center;
	gap: 14px;
}

.shell-logout-form {
	display: inline-flex;
	margin: 0;
}

.shell-nav {
	display: none !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	white-space: nowrap;
}

.shell-left-accordion {
	background: linear-gradient(180deg, rgba(10, 27, 22, 0.98), rgba(4, 16, 13, 0.98));
	border-right: 1px solid rgba(212, 175, 55, 0.28);
	box-shadow: 18px 0 45px rgba(0, 0, 0, 0.28);
	display: grid;
	gap: 12px;
	height: 100vh;
	left: 0;
	overflow-y: auto;
	padding: 18px 14px;
	position: fixed;
	top: 0;
	width: 238px;
	z-index: 1200;
}

.shell-left-brand {
	align-items: center;
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 10px;
	color: #fff7dc;
	display: flex;
	gap: 10px;
	min-height: 52px;
	padding: 10px 12px;
	text-decoration: none;
}

.shell-left-brand span,
.shell-left-group nav a span {
	align-items: center;
	background: linear-gradient(180deg, #f0c65e, #c78b25);
	border-radius: 999px;
	color: #151008;
	display: inline-flex;
	flex: 0 0 28px;
	font-weight: 950;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.shell-left-group {
	border: 1px solid rgba(212, 175, 55, 0.22);
	border-radius: 10px;
	padding: 8px;
}

.shell-left-group summary {
	color: rgba(255, 247, 220, 0.72);
	cursor: pointer;
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0;
	list-style: none;
	padding: 5px 6px 10px;
	text-transform: uppercase;
}

.shell-left-group summary::-webkit-details-marker {
	display: none;
}

.shell-left-group nav {
	display: grid;
	gap: 7px;
}

.shell-left-group nav a {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 8px;
	color: #fff7dc;
	display: flex;
	font-weight: 900;
	gap: 10px;
	min-height: 42px;
	padding: 7px 8px;
	text-decoration: none;
}

.shell-left-group nav a:hover,
.shell-left-group nav a.is-active {
	background: rgba(244, 204, 93, 0.12);
	border-color: rgba(244, 204, 93, 0.38);
}

body.chessora-shell .shell-site-header,
body.chessora-shell .shell-page,
body.chessora-shell .shell-footer {
	margin-left: 238px;
}

.shell-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 10px;
	color: #38342c;
	font-weight: 800;
}

.shell-nav a:hover,
.shell-nav a.is-active {
	background: var(--shell-gold-soft);
	color: #19140b;
}

.shell-actions {
	justify-content: flex-end;
	gap: 10px;
	min-width: 0;
}

.shell-search {
	flex: 0 1 150px;
	min-width: 120px;
	max-width: 160px;
}

.shell-search input[type="search"] {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--shell-border);
	border-radius: 10px;
	background: #fffdf8;
	color: var(--shell-ink);
}

.shell-login-link,
.shell-user-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: #fff6df;
	border: 1px solid var(--shell-border);
	color: var(--shell-ink);
	font-weight: 800;
}

.shell-user-menu-account {
	gap: 6px;
	min-width: 0;
	padding: 3px;
	border: 1px solid var(--shell-border);
	border-radius: 999px;
	background: #fff6df;
}

.shell-user-pill {
	min-width: 0;
	max-width: 190px;
	padding: 0 10px 0 6px;
	border: 0;
	background: transparent;
}

.shell-user-pill strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shell-user-settings-link {
	align-items: center;
	border: 1px solid rgba(214, 162, 59, 0.2);
	border-radius: 999px;
	color: var(--shell-muted);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 900;
	min-height: 34px;
	padding: 0 12px;
	text-decoration: none;
}

.shell-user-settings-link:hover,
.shell-user-settings-link:focus-visible {
	background: var(--shell-gold-soft);
	color: #19140b;
	outline: none;
}

.shell-logout-button {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--shell-muted);
	cursor: pointer;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 850;
}

.shell-logout-button:hover,
.shell-logout-button:focus-visible {
	background: var(--shell-gold-soft);
	color: #19140b;
	outline: none;
}

.shell-user-avatar {
	display: grid;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #f4cf72, #c58a18);
	color: #18120a;
	font-weight: 950;
	overflow: hidden;
}

.shell-user-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shell-notification-bell {
	align-items: center;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(214, 162, 59, 0.22);
	border-radius: 999px;
	color: #f1cf77;
	cursor: pointer;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	position: relative;
	text-decoration: none;
	width: 42px;
}

.shell-notification-bell span {
	color: #f1cf77;
	font-size: 0.85rem;
}

.shell-notification-bell b {
	align-items: center;
	background: #e34646;
	border: 2px solid #07100e;
	border-radius: 999px;
	color: #fff7dd;
	display: inline-flex;
	font-size: 0.68rem;
	font-weight: 950;
	height: 20px;
	justify-content: center;
	line-height: 1;
	min-width: 20px;
	padding: 0 5px;
	position: absolute;
	right: -5px;
	top: -5px;
}

.shell-notification-bell:hover,
.shell-notification-bell:focus-visible,
.shell-notification-menu.is-open .shell-notification-bell {
	background: rgba(241, 207, 119, 0.12);
	border-color: rgba(241, 207, 119, 0.58);
	outline: 0;
}

.shell-notification-menu {
	display: inline-flex;
	position: relative;
}

.shell-notification-panel {
	background: linear-gradient(180deg, rgba(22, 38, 32, 0.98), rgba(6, 19, 16, 0.98));
	border: 1px solid rgba(214, 162, 59, 0.42);
	border-radius: 14px;
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
	color: #fff8e6;
	display: grid;
	gap: 10px;
	min-width: 320px;
	opacity: 0;
	padding: 14px;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	transform: translateY(-4px);
	transition: opacity 0.16s ease, transform 0.16s ease;
	z-index: 2000;
}

.shell-notification-menu:hover .shell-notification-panel,
.shell-notification-menu:focus-within .shell-notification-panel,
.shell-notification-menu.is-open .shell-notification-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.shell-notification-panel::before {
	background: transparent;
	content: "";
	height: 10px;
	left: 0;
	position: absolute;
	right: 0;
	top: -10px;
}

.shell-notification-panel > strong {
	color: #ffe08a;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.shell-notification-panel [data-shell-notification-items] {
	display: grid;
	gap: 10px;
}

.shell-notification-empty {
	color: rgba(255, 248, 230, 0.72);
	font-size: 0.88rem;
	margin: 0;
	padding: 8px 2px;
}

.shell-notification-panel article {
	background: rgba(3, 15, 12, 0.76);
	border: 1px solid rgba(214, 162, 59, 0.28);
	border-radius: 10px;
	display: grid;
	gap: 6px;
	padding: 12px;
}

.shell-notification-panel article span {
	color: #fff8e6;
	font-weight: 850;
}

.shell-notification-panel article b {
	color: rgba(255, 248, 230, 0.76);
	font-size: 0.85rem;
}

.shell-notification-panel article div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.shell-notification-panel .shell-challenge-tooltip-card {
	background:
		linear-gradient(135deg, rgba(241, 207, 119, 0.16), rgba(255, 255, 255, 0.035)),
		#07110f;
	border-color: rgba(241, 207, 119, 0.48);
	box-shadow: inset 3px 0 0 rgba(241, 207, 119, 0.82);
}

.shell-notification-panel .shell-challenge-tooltip-card span {
	color: #fff7df;
}

.shell-notification-panel .shell-challenge-tooltip-card b {
	color: #d8e1d6;
}

.shell-notification-panel a {
	align-items: center;
	border: 1px solid rgba(214, 162, 59, 0.4);
	border-radius: 8px;
	color: #fff8e6;
	display: inline-flex;
	font-size: 0.86rem;
	font-weight: 900;
	min-height: 34px;
	padding: 7px 12px;
	text-decoration: none;
}

.shell-notification-panel a.is-accept {
	background: linear-gradient(180deg, #f4c24d, #c88b1c);
	color: #120f08;
}

.shell-notification-panel a.is-reject {
	background: rgba(145, 49, 42, 0.16);
	border-color: rgba(255, 139, 126, 0.42);
	color: #ffd4cf;
}

.shell-notification-panel a.is-reject:hover,
.shell-notification-panel a.is-reject:focus-visible {
	background: rgba(145, 49, 42, 0.3);
	border-color: rgba(255, 139, 126, 0.68);
	color: #fff2ef;
}

.shell-notification-all {
	justify-content: center;
}

body.chessora-shell.view-profile .chessora-profile-invite {
	background: rgba(4, 17, 14, 0.84);
	border: 1px solid rgba(214, 162, 59, 0.38);
	border-radius: 10px;
	box-shadow: inset 3px 0 0 rgba(244, 194, 77, 0.86);
	color: #fff8e6;
	display: grid;
	gap: 8px;
	padding: 14px;
	text-decoration: none;
}

body.chessora-shell.view-profile .chessora-profile-invite b {
	color: #fff8e6;
}

body.chessora-shell.view-profile .chessora-profile-invite span,
body.chessora-shell.view-profile .chessora-profile-invite small {
	color: rgba(255, 248, 230, 0.72);
}

body.chessora-shell.view-profile .chessora-profile-invite div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.chessora-shell.view-profile .chessora-profile-invite .chessora-button {
	align-items: center;
	display: inline-flex;
	min-height: 36px;
	padding: 0 14px;
}

.shell-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 11px;
	border: 1px solid var(--shell-border);
	border-radius: 10px;
	background: #fffdf8;
}

.shell-menu-toggle span:not(.visually-hidden) {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: var(--shell-ink);
}

.shell-page {
	width: min(100%, var(--shell-max));
	margin: 0 auto;
	padding: 28px 32px 48px;
}

.shell-component-card {
	min-height: 52vh;
	border: 1px solid var(--shell-border);
	border-radius: 18px;
	background: rgba(255, 250, 240, 0.72);
	box-shadow: 0 22px 60px rgba(61, 43, 16, 0.08);
	overflow: clip;
}

.shell-footer {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 18px;
	align-items: center;
	width: min(100%, var(--shell-max));
	margin: 0 auto;
	padding: 28px 32px 42px;
	color: var(--shell-muted);
}

.shell-footer > div {
	display: flex;
	align-items: center;
	gap: 12px;
}

.shell-footer > div:nth-child(2) {
	justify-content: center;
}

.shell-footer > div:last-child {
	justify-content: flex-end;
}

@media (max-width: 1100px) {
	.shell-header-row {
		grid-template-columns: minmax(150px, 1fr) auto;
	}

	.shell-menu-toggle {
		display: inline-block;
		justify-self: end;
	}

	.shell-nav,
	.shell-actions {
		display: none;
		grid-column: 1 / -1;
	}

	body.shell-menu-open .shell-nav,
	body.shell-menu-open .shell-actions {
		display: flex;
	}

	body.shell-menu-open .shell-nav {
		align-items: stretch;
		flex-direction: column;
	}

	body.shell-menu-open .shell-actions {
		align-items: stretch;
		flex-direction: column;
	}

	body.shell-menu-open .shell-search {
		max-width: none;
		width: 100%;
	}
}

@media (max-width: 700px) {
	.shell-header-row,
	.shell-page,
	.shell-footer {
		padding-inline: 16px;
	}

	.shell-footer {
		grid-template-columns: 1fr;
	}

	.shell-footer > div,
	.shell-footer > div:nth-child(2),
	.shell-footer > div:last-child {
		justify-content: flex-start;
	}
}

/* Component theme bridge.
   This template CSS loads after com_chess/site.css, so these rules only repaint
   the component inside the new shell. They avoid data hooks, hidden states, and
   chessboard engine selectors. */
body.chessora-shell {
	--shell-component-bg: #fffdf7;
	--shell-component-soft: #f7eedc;
	--shell-component-card: #fffaf0;
	--shell-component-row: #fffdf9;
	--shell-component-line: rgba(174, 126, 38, 0.24);
	--shell-component-line-strong: rgba(174, 126, 38, 0.42);
	--shell-component-ink: #211d17;
	--shell-component-muted: #676257;
	--shell-component-gold: #bd842d;
	--shell-component-gold-2: #d9a441;
	--shell-component-green: #3f7448;
	--shell-component-red: #9f3b36;
}

body.chessora-shell .shell-component-card {
	background:
		radial-gradient(circle at 12% 0, rgba(217, 164, 65, 0.14), transparent 32rem),
		linear-gradient(180deg, var(--shell-component-bg), var(--shell-component-soft));
	color: var(--shell-component-ink);
}

body.chessora-shell .chessora,
body.chessora-shell .chessora.chessora-tournaments-page,
body.chessora-shell .chessora.chessora-forum-page,
body.chessora-shell .chessora-game-room {
	--chessora-ink: var(--shell-component-ink);
	--chessora-muted: var(--shell-component-muted);
	--chessora-line: var(--shell-component-line);
	--chessora-panel: var(--shell-component-card);
	--chessora-soft: var(--shell-component-soft);
	--chessora-green: var(--shell-component-green);
	--chessora-green-dark: #285938;
	--chessora-gold: var(--shell-component-gold-2);
	--chessora-red: var(--shell-component-red);
	background: transparent !important;
	color: var(--shell-component-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room {
	--room-bg: var(--shell-component-bg);
	--room-panel: var(--shell-component-card);
	--room-panel-2: #fff6e4;
	--room-line: var(--shell-component-line);
	--room-muted: var(--shell-component-muted);
	--room-gold: var(--shell-component-gold-2);
	background:
		radial-gradient(circle at 50% 0, rgba(217, 164, 65, 0.14), transparent 30rem),
		linear-gradient(180deg, var(--shell-component-bg), var(--shell-component-soft)) !important;
	border: 0 !important;
	min-height: auto;
}

body.chessora-shell .chessora :where(
	.chessora-page-head,
	.chessora-hero,
	.chessora-card,
	.chessora-panel,
	.chessora-room-panel,
	.chessora-tournament-detail,
	.chessora-tournament-list,
	.chessora-tournament-create,
	.chessora-guide-panel,
	.chessora-format-panel,
	.chessora-chat-panel,
	.chessora-player-card,
	.chessora-create-panel,
	.chessora-open-matches,
	.chessora-open-match-table,
	.chessora-lobby-table,
	.chessora-table,
	.chessora-forum-hero,
	.chessora-forum-section,
	.chessora-forum-topic-list,
	.chessora-forum-form,
	.chessora-forum-empty,
	.chessora-forum-cats,
	.chessora-topic-post,
	.chessora-forum-create,
	.chessora-forum-toolbar,
	.chessora-profile-hero,
	.chessora-profile-edit,
	.chessora-register-form,
	.chessora-register-side article,
	.chessora-club-card,
	.chessora-club-sidebar,
	.chessora-correspondence-card,
	.chessora-correspondence-board-card,
	.chessora-correspondence-active,
	.chessora-tournament-row,
	.chessora-event-info,
	.chessora-event-stage,
	.chessora-bracket-board,
	.chessora-bracket-match,
	.chessora-admin-control
) {
	background: rgba(255, 250, 240, 0.94) !important;
	border-color: var(--shell-component-line) !important;
	box-shadow: 0 18px 44px rgba(94, 62, 16, 0.08) !important;
	color: var(--shell-component-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room :where(
	.chessora-room-sidebar,
	.chessora-game-side,
	.chessora-play-stage,
	.chessora-board-area,
	.chessora-move-panel,
	.chessora-panel,
	.chessora-sidebar-chat,
	.chessora-sidebar-spectators,
	.chessora-sidebar-game-info,
	.chessora-engine-panel,
	.chessora-openings-panel,
	.chessora-result-popup,
	.chessora-board-notice,
	.chessora-challenge-confirmation
) {
	background: rgba(255, 250, 240, 0.94) !important;
	border-color: var(--shell-component-line) !important;
	box-shadow: 0 18px 44px rgba(94, 62, 16, 0.08) !important;
	color: var(--shell-component-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-wrap {
	background: #2f5b46 !important;
	border-color: rgba(47, 91, 70, 0.42) !important;
	box-shadow: 0 20px 50px rgba(69, 45, 16, 0.18) !important;
}

body.chessora-shell .chessora :where(
	h1,
	h2,
	h3,
	h4,
	strong,
	b,
	.chessora-page-head h1,
	.chessora-hero h1,
	.chessora-tournament-hero h1,
	.chessora-forum-room-main strong,
	.chessora-forum-topic-row strong
),
body.chessora-shell.view-game .chessora-game-room :where(h1, h2, h3, h4, strong, b) {
	color: var(--shell-component-ink) !important;
}

body.chessora-shell .chessora :where(
	p,
	small,
	.chessora-muted,
	.chessora-card p,
	.chessora-panel p,
	.chessora-page-head p,
	.chessora-hero p,
	.chessora-tournament-hero p,
	.chessora-guide-panel header p,
	.chessora-guide-panel article p,
	.chessora-topic-post-body
),
body.chessora-shell.view-game .chessora-game-room :where(
	p,
	small,
	.chessora-panel-head span,
	.chessora-game-meta small,
	.chessora-engine-lines span
) {
	color: var(--shell-component-muted) !important;
}

body.chessora-shell .chessora :where(
	.chessora-tabs,
	.chessora-segmented,
	.chessora-create-select,
	.chessora-calendar-row,
	.chessora-table-row,
	.chessora-open-match-row,
	.chessora-forum-room,
	.chessora-forum-topic-row,
	.chessora-forum-cats a,
	.chessora-forum-game-embed,
	.chessora-lobby-subtable,
	.chessora-history-row,
	.chessora-activity-feed a,
	.chessora-activity-feed div,
	.chessora-profile-community a,
	.chessora-correspondence-rules article,
	.chessora-turn-list article,
	.chessora-correspondence-lobby article
) {
	background: var(--shell-component-row) !important;
	border-color: rgba(174, 126, 38, 0.18) !important;
	color: var(--shell-component-ink) !important;
}

body.chessora-shell .chessora :where(
	.chessora-table-head,
	.chessora-open-match-head,
	.chessora-forum-section > header,
	.chessora-forum-topic-list > header
) {
	background: #efe0bd !important;
	border-color: rgba(174, 126, 38, 0.2) !important;
	color: #5d5546 !important;
}

body.chessora-shell .chessora :where(
	.chessora-tabs a,
	.chessora-tabs button,
	.chessora-lobby-tabs button,
	.chessora-panel-tabs button
) {
	background: #fff7df !important;
	border-color: rgba(174, 126, 38, 0.22) !important;
	color: #3b3529 !important;
}

body.chessora-shell .chessora :where(
	.chessora-tabs a.is-active,
	.chessora-tabs button.is-active,
	.chessora-lobby-tabs button.is-active,
	.chessora-panel-tabs button.is-active,
	.chessora-tournament-row:hover,
	.chessora-tournament-row.is-active,
	.chessora-table-row:hover,
	.chessora-open-match-row:hover,
	.chessora-forum-room:hover,
	.chessora-forum-topic-row:hover
) {
	background: linear-gradient(180deg, #f2d899, #d9a441) !important;
	border-color: var(--shell-component-line-strong) !important;
	color: #1b1408 !important;
}

body.chessora-shell .chessora :where(
	.chessora-kicker,
	.chessora-badge,
	.chessora-status,
	.chessora-pill,
	mark,
	.chessora-club-badge,
	.chessora-forum-room-stat,
	.chessora-forum-staff-badge,
	.chessora-forum-pin-badge,
	.chessora-table mark,
	.chessora-lobby-tabs button span
) {
	background: #fff7df !important;
	border-color: rgba(183, 123, 35, 0.28) !important;
	color: #8a5b15 !important;
}

body.chessora-shell .chessora :where(
	.chessora-button,
	.chessora-button-primary,
	button:not(.shell-menu-toggle),
	input[type="submit"],
	.chessora-correspondence-active a,
	.chessora-turn-list a,
	.chessora-correspondence-lobby a
) {
	background: linear-gradient(180deg, #e4bb57, #bd842d) !important;
	border-color: rgba(155, 100, 30, 0.38) !important;
	color: #1b1408 !important;
	text-shadow: none !important;
}

body.chessora-shell .chessora :where(.chessora-button-danger, button.chessora-button-danger) {
	background: #fffaf0 !important;
	border-color: rgba(143, 70, 54, 0.34) !important;
	color: #813a2f !important;
}

body.chessora-shell .chessora :where(
	.chessora-button:disabled,
	button:disabled,
	.is-disabled,
	[aria-disabled="true"]
) {
	background: #eee4cf !important;
	border-color: rgba(174, 126, 38, 0.18) !important;
	color: #8f897c !important;
	cursor: not-allowed !important;
}

body.chessora-shell .chessora :where(input, select, textarea) {
	background: #fffdf8 !important;
	border-color: var(--shell-component-line) !important;
	color: var(--shell-component-ink) !important;
}

body.chessora-shell .chessora :where(input::placeholder, textarea::placeholder) {
	color: #928879 !important;
}

body.chessora-shell.view-game .chessora-game-room :where(
	.chessora-moves li,
	.chessora-moves li.is-empty,
	.chessora-move-controls button,
	.chessora-board-actions .chessora-button,
	.chessora-postgame-actions .chessora-button
) {
	background: #fff7df !important;
	border-color: rgba(174, 126, 38, 0.22) !important;
	color: var(--shell-component-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-actions .chessora-button-danger {
	background: #fff0ea !important;
	border-color: rgba(143, 70, 54, 0.32) !important;
	color: #813a2f !important;
}

body.chessora-shell.view-game .chessora-game-room :where(
	.chessora-board-coordinates,
	.chessora-board-ranks
) {
	color: #5f6b62 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-clock {
	background: linear-gradient(180deg, #e4bb57, #bd842d) !important;
	color: #1b1408 !important;
}

/* Arena cream/gold theme.
   Keep this as a late shell-scoped layer: it repaints component chrome while
   preserving the chess and tournament data hooks that drive behavior. */
body.chessora-shell {
	--chess-bg: #fffaf0;
	--chess-panel: rgba(255, 250, 240, 0.94);
	--chess-card: #fffdf9;
	--chess-border: #ead9b7;
	--chess-text: #19140b;
	--chess-muted: #756a5b;
	--chess-gold: #d49a24;
	--chess-gold-soft: rgba(211, 154, 39, 0.16);
	--chess-gold-hover: #e4aa32;
	--board-light: #f8ecd3;
	--board-dark: #b98245;
	--board-active: #e5aa3d;
	--shell-bg: var(--chess-bg);
	--shell-surface: var(--chess-card);
	--shell-panel: #ffffff;
	--shell-ink: var(--chess-text);
	--shell-muted: var(--chess-muted);
	--shell-gold: var(--chess-gold);
	--shell-gold-soft: #f6e8c8;
	--shell-border: var(--chess-border);
	background:
		radial-gradient(circle at 0 0, rgba(211, 154, 39, 0.14), transparent 32rem),
		linear-gradient(180deg, #fffaf0 0%, #f8f3e7 100%) !important;
}

body.chessora-shell .shell-site-header {
	background: rgba(255, 250, 240, 0.96);
	border-bottom-color: var(--chess-border);
	box-shadow: 0 10px 32px rgba(80, 55, 22, 0.08);
}

body.chessora-shell .shell-header-row {
	gap: 22px;
}

body.chessora-shell .shell-nav a {
	gap: 8px;
	color: #2e271d;
}

body.chessora-shell .shell-nav a::before {
	color: var(--chess-gold);
	font-size: 0.9rem;
	font-weight: 900;
	line-height: 1;
}

body.chessora-shell .shell-nav a[href*="dashboard"]::before { content: "⌂"; }
body.chessora-shell .shell-nav a[href*="view=game"]::before { content: "▶"; }
body.chessora-shell .shell-nav a[href*="challenges"]::before { content: "◆"; }
body.chessora-shell .shell-nav a[href*="correspondence"]::before { content: "◷"; }
body.chessora-shell .shell-nav a[href*="tournaments"]::before { content: "♛"; }
body.chessora-shell .shell-nav a[href*="teams"]::before { content: "♙"; }
body.chessora-shell .shell-nav a[href*="clubs"]::before { content: "♧"; }
body.chessora-shell .shell-nav a[href*="forum"]::before { content: "✎"; }
body.chessora-shell .shell-nav a[href*="profile"]::before { content: "●"; }

body.chessora-shell .shell-nav a:hover,
body.chessora-shell .shell-nav a.is-active {
	background: linear-gradient(180deg, #fff4d2, #f1ce78);
	box-shadow: inset 0 -2px 0 var(--chess-gold);
	color: #19140b;
}

body.chessora-shell .shell-search input[type="search"],
body.chessora-shell .shell-login-link,
body.chessora-shell .shell-user-pill {
	background: #fffdf9;
	border-color: var(--chess-border);
	box-shadow: 0 8px 20px rgba(80, 55, 22, 0.06);
	color: var(--chess-text);
}

body.chessora-shell .shell-component-card {
	background:
		radial-gradient(circle at 16% 0, rgba(211, 154, 39, 0.12), transparent 34rem),
		linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(248, 243, 231, 0.96)) !important;
	border-color: var(--chess-border);
	box-shadow: 0 24px 70px rgba(80, 55, 22, 0.1);
}

body.chessora-shell .chessora {
	--chessora-ink: var(--chess-text);
	--chessora-muted: var(--chess-muted);
	--chessora-line: rgba(174, 126, 38, 0.24);
	--chessora-panel: var(--chess-panel);
	--chessora-soft: #f8f3e7;
	--chessora-gold: var(--chess-gold);
	--chessora-board-light: var(--board-light);
	--chessora-board-dark: var(--board-dark);
	--chessora-board-edge: #2f5b46;
	--chessora-board-inner: #2f5b46;
	color: var(--chess-text) !important;
}

body.chessora-shell .chessora :where(
	.chessora-page-head,
	.chessora-hero,
	.chessora-card,
	.chessora-panel,
	.chessora-room-panel,
	.chessora-tournament-detail,
	.chessora-tournament-list,
	.chessora-tournament-create,
	.chessora-guide-panel,
	.chessora-format-panel,
	.chessora-chat-panel,
	.chessora-player-card,
	.chessora-create-panel,
	.chessora-open-matches,
	.chessora-open-match-table,
	.chessora-lobby-table,
	.chessora-table,
	.chessora-forum-hero,
	.chessora-forum-section,
	.chessora-forum-topic-list,
	.chessora-forum-form,
	.chessora-forum-empty,
	.chessora-forum-cats,
	.chessora-topic-post,
	.chessora-profile-hero,
	.chessora-register-form,
	.chessora-correspondence-card,
	.chessora-correspondence-board-card,
	.chessora-event-info,
	.chessora-event-stage,
	.chessora-admin-control
) {
	background: var(--chess-panel) !important;
	border: 1px solid var(--chess-border) !important;
	border-radius: 14px !important;
	box-shadow: 0 10px 30px rgba(80, 55, 22, 0.08) !important;
	color: var(--chess-text) !important;
}

body.chessora-shell .chessora :where(h1, h2, h3, h4, h5, h6, strong, b),
body.chessora-shell .chessora :where(td, th, label) {
	color: var(--chess-text) !important;
}

body.chessora-shell .chessora :where(p, li, small, .chessora-muted, .chessora-panel-head span, .chessora-game-meta small) {
	color: var(--chess-muted) !important;
}

body.chessora-shell .chessora :where(input, textarea, select) {
	background: #fffdf9 !important;
	border: 1px solid var(--chess-border) !important;
	border-radius: 10px !important;
	color: var(--chess-text) !important;
}

body.chessora-shell .chessora :where(input:focus, textarea:focus, select:focus) {
	border-color: var(--chess-gold) !important;
	box-shadow: 0 0 0 3px var(--chess-gold-soft) !important;
	outline: none !important;
}

body.chessora-shell .chessora :where(
	.chessora-button,
	.chessora-button-primary,
	.chessora-button-accent,
	input[type="submit"]
) {
	background: linear-gradient(180deg, #f2c95f, var(--chess-gold)) !important;
	border: 1px solid #bf8427 !important;
	border-radius: 10px !important;
	box-shadow: 0 10px 22px rgba(159, 103, 20, 0.18);
	color: #19140b !important;
	font-weight: 800 !important;
	text-shadow: none !important;
}

body.chessora-shell .chessora :where(.chessora-button:hover, .chessora-button-primary:hover, .chessora-button-accent:hover) {
	background: linear-gradient(180deg, #ffd56e, var(--chess-gold-hover)) !important;
	color: #19140b !important;
}

body.chessora-shell .chessora :where(.chessora-button-danger, button.chessora-button-danger) {
	background: #fff3ed !important;
	border-color: rgba(144, 68, 54, 0.36) !important;
	color: #7f382d !important;
	box-shadow: none;
}

body.chessora-shell .chessora :where(.chessora-badge, .chessora-status, .chessora-pill, mark, .chessora-rating-pill) {
	background: var(--chess-gold-soft) !important;
	border: 1px solid rgba(211, 154, 39, 0.3) !important;
	border-radius: 999px !important;
	color: #8a5b15 !important;
}

body.chessora-shell .chessora :where(.chessora-table-head, .chessora-open-match-head, thead tr) {
	background: #f1e3c1 !important;
	color: #5f574b !important;
}

body.chessora-shell .chessora :where(.chessora-table-row, .chessora-open-match-row, tbody tr, .chessora-moves li) {
	background: #fffdf9 !important;
	border-color: rgba(234, 217, 183, 0.9) !important;
	color: var(--chess-text) !important;
}

body.chessora-shell .chessora :where(.chessora-table-row:hover, .chessora-open-match-row:hover, tbody tr:hover) {
	background: var(--chess-gold-soft) !important;
}

/* Board page: make the live room feel like a polished chess arena while
   retaining all existing data-* hooks and Chessground-generated markup. */
body.chessora-shell.view-game .shell-page {
	max-width: 1680px;
	padding-inline: clamp(16px, 2vw, 32px);
}

body.chessora-shell.view-game .chessora-game-room {
	--room-bg: var(--chess-bg);
	--room-panel: var(--chess-panel);
	--room-panel-2: #fffdf9;
	--room-line: var(--chess-border);
	--room-muted: var(--chess-muted);
	--room-gold: var(--chess-gold);
	background:
		radial-gradient(circle at top left, rgba(211, 154, 39, 0.12), transparent 34rem),
		linear-gradient(180deg, #fffdf9, #f8f3e7) !important;
	color: var(--chess-text) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-layout {
	gap: clamp(16px, 2vw, 26px);
}

body.chessora-shell.view-game .chessora-game-room :where(
	.chessora-room-sidebar,
	.chessora-play-stage,
	.chessora-game-side,
	.chessora-board-area,
	.chessora-move-panel,
	.chessora-sidebar-chat,
	.chessora-sidebar-spectators,
	.chessora-sidebar-game-info,
	.chessora-engine-panel,
	.chessora-openings-panel
) {
	background: var(--chess-panel) !important;
	border: 1px solid var(--chess-border) !important;
	border-radius: 14px !important;
	box-shadow: 0 12px 34px rgba(80, 55, 22, 0.1) !important;
	color: var(--chess-text) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-area {
	background:
		radial-gradient(circle at 50% 0, rgba(211, 154, 39, 0.12), transparent 24rem),
		#fffdf9 !important;
	padding: clamp(10px, 1.4vw, 18px);
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card {
	background: #fffdf9 !important;
	border-color: var(--chess-border) !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 22px rgba(80, 55, 22, 0.08) !important;
	color: var(--chess-text) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card.is-turn {
	background: linear-gradient(90deg, #fff8e6, #fffdf9) !important;
	border-color: rgba(211, 154, 39, 0.52) !important;
	box-shadow: 0 0 0 3px rgba(211, 154, 39, 0.12), 0 10px 26px rgba(80, 55, 22, 0.1) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-avatar,
body.chessora-shell.view-game .chessora-game-room .chessora-spectators span {
	background: linear-gradient(145deg, #ffd67a, #c98d25) !important;
	color: #19140b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-avatar.has-image {
	background: #fffdf9 !important;
	overflow: hidden;
	padding: 0;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-score {
	background: #fff7df !important;
	border-color: rgba(211, 154, 39, 0.3) !important;
	color: #8a5b15 !important;
}

body.chessora-shell.view-game .chessora-game-room :where([data-player-clock], .chessora-clock) {
	background: linear-gradient(180deg, #f4c85c, var(--chess-gold)) !important;
	border: 1px solid #bd842d !important;
	border-radius: 10px !important;
	box-shadow: 0 10px 24px rgba(159, 103, 20, 0.2);
	color: #19140b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-wrap {
	background: #2f5b46 !important;
	border: 8px solid #2f5b46 !important;
	border-radius: 12px !important;
	box-shadow: 0 18px 40px rgba(80, 55, 22, 0.24) !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap {
	border: 0 !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap cg-board {
	background-color: var(--board-light) !important;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(95, 49, 12, 0.08)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 9px),
		conic-gradient(from 90deg, var(--board-light) 25%, var(--board-dark) 0 50%, var(--board-light) 0 75%, var(--board-dark) 0) !important;
	background-size: 100% 100%, 28px 100%, 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.last-move,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.selected {
	background: rgba(229, 170, 61, 0.58) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.move-dest {
	background: radial-gradient(rgba(51, 111, 76, 0.64) 20%, rgba(51, 111, 76, 0) 22%) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.oc.move-dest {
	background: radial-gradient(transparent 0%, transparent 78%, rgba(51, 111, 76, 0.42) 79%) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.current-premove {
	background: rgba(118, 86, 184, 0.32) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.check {
	background: radial-gradient(ellipse at center, rgba(154, 29, 22, 0.86) 0%, rgba(154, 29, 22, 0.38) 42%, rgba(154, 29, 22, 0) 72%) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-coordinates,
body.chessora-shell.view-game .chessora-game-room .chessora-board-ranks {
	color: #637064 !important;
	font-weight: 900;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-flip-corner {
	background: #fff7df !important;
	border-color: rgba(211, 154, 39, 0.45) !important;
	box-shadow: 0 8px 20px rgba(80, 55, 22, 0.12);
	color: #8a5b15 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs {
	background: #fff7df !important;
	padding: 5px;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs button.is-active {
	background: #ffffff !important;
	border-color: rgba(211, 154, 39, 0.36) !important;
	box-shadow: inset 0 -2px 0 var(--chess-gold);
	color: #8a5b15 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-move-controls {
	display: grid;
	grid-template-columns: repeat(5, minmax(40px, 1fr)) minmax(64px, 1.2fr);
	gap: 8px;
}

body.chessora-shell.view-game .chessora-game-room .chessora-move-controls button,
body.chessora-shell.view-game .chessora-game-room .chessora-board-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room .chessora-postgame-actions .chessora-button {
	align-items: center;
	background: #fffdf9 !important;
	border: 1px solid var(--chess-border) !important;
	border-radius: 10px !important;
	box-shadow: 0 6px 16px rgba(80, 55, 22, 0.07);
	color: var(--chess-text) !important;
	display: inline-flex;
	font-weight: 900 !important;
	justify-content: center;
	min-height: 42px;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-actions .chessora-button span,
body.chessora-shell.view-game .chessora-game-room .chessora-postgame-actions .chessora-button span {
	align-items: center;
	background: var(--chess-gold-soft);
	border: 1px solid rgba(211, 154, 39, 0.28);
	border-radius: 8px;
	color: #8a5b15;
	display: inline-flex;
	height: 28px;
	justify-content: center;
	margin-right: 8px;
	min-width: 28px;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-actions .chessora-button-danger span {
	background: #fff0ea;
	border-color: rgba(144, 68, 54, 0.28);
	color: #7f382d;
}

body.chessora-shell.view-game .chessora-game-room .chessora-moves {
	scrollbar-color: rgba(211, 154, 39, 0.48) rgba(234, 217, 183, 0.42);
}

body.chessora-shell.view-game .chessora-game-room .chessora-moves li {
	border-radius: 9px !important;
	box-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-warning {
	background: #fff7df !important;
	border: 1px solid rgba(211, 154, 39, 0.26);
	border-radius: 10px;
	color: #6f572d !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-popup {
	background: #fffaf0 !important;
	border-color: var(--chess-border) !important;
	color: var(--chess-text) !important;
	box-shadow: 0 24px 60px rgba(80, 55, 22, 0.26) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-notice {
	background: rgba(255, 250, 240, 0.96) !important;
	border-color: rgba(211, 154, 39, 0.42) !important;
	color: var(--chess-text) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-notice.is-loss {
	background: rgba(92, 18, 18, 0.92) !important;
	color: #ffe3df !important;
}

body.chessora-shell.view-game .chessora-game-room :where(i, .icon, .fa, .fas, .far),
body.chessora-shell .chessora :where(i, .icon, .fa, .fas, .far) {
	color: #8a6b43;
}

@media (max-width: 1180px) {
	body.chessora-shell.view-game .chessora-game-room .chessora-board-layout {
		grid-template-columns: 1fr;
	}

	body.chessora-shell.view-game .chessora-game-room .chessora-game-side,
	body.chessora-shell.view-game .chessora-game-room .chessora-room-sidebar {
		order: 2;
	}
}

@media (max-width: 760px) {
	body.chessora-shell.view-game .chessora-game-room .chessora-player-card {
		grid-template-columns: 34px minmax(0, 1fr) auto;
		width: 100%;
	}

	body.chessora-shell.view-game .chessora-game-room .chessora-board-wrap,
	body.chessora-shell.view-game .chessora-game-room .chessora-board-frame,
	body.chessora-shell.view-game .chessora-game-room .chessora-board-coordinates {
		max-width: 100%;
	}

	body.chessora-shell.view-game .chessora-game-room .chessora-board-actions {
		grid-template-columns: 1fr;
	}
}

/* Arena polish layer.
   This sits last on purpose: it uses the new cream/gold system while staying
   scoped to the shell and Pawn Realm component classes so game/tournament hooks
   keep working exactly as before. */
body.chessora-shell {
	--arena-bg: #fffaf0;
	--arena-bg-2: #f8f3e7;
	--arena-panel: rgba(255, 250, 240, 0.96);
	--arena-card: #fffdf9;
	--arena-card-2: #fff7df;
	--arena-border: #ead9b7;
	--arena-border-strong: rgba(185, 130, 69, 0.42);
	--arena-ink: #19140b;
	--arena-muted: #6d604f;
	--arena-gold: #d49a24;
	--arena-gold-hover: #e4aa32;
	--arena-gold-soft: rgba(211, 154, 39, 0.16);
	--arena-success: #2f7d46;
	--arena-danger: #8d332c;
	--arena-board-light: #f8ecd3;
	--arena-board-dark: #b98245;
	--arena-board-active: #e5aa3d;
	--shell-bg: var(--arena-bg);
	--shell-surface: var(--arena-panel);
	--shell-panel: var(--arena-card);
	--shell-ink: var(--arena-ink);
	--shell-muted: var(--arena-muted);
	--shell-gold: var(--arena-gold);
	--shell-gold-soft: #f5e6c7;
	--shell-border: var(--arena-border);
	background:
		radial-gradient(circle at 7% 0, rgba(211, 154, 39, 0.18), transparent 30rem),
		linear-gradient(180deg, var(--arena-bg) 0%, var(--arena-bg-2) 100%) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell :where(.shell-site-header, .shell-component-card) {
	background: rgba(255, 250, 240, 0.97) !important;
	border-color: var(--arena-border) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell .shell-page {
	background:
		radial-gradient(circle at top right, rgba(211, 154, 39, 0.09), transparent 24rem),
		linear-gradient(180deg, rgba(255, 250, 240, 0.62), rgba(255, 253, 249, 0.34));
}

body.chessora-shell .shell-nav a,
body.chessora-shell .shell-login-link,
body.chessora-shell .shell-user-pill {
	color: var(--arena-ink) !important;
}

body.chessora-shell .shell-nav a:hover,
body.chessora-shell .shell-nav a.is-active {
	background: var(--arena-gold-soft) !important;
	box-shadow: inset 0 -2px 0 var(--arena-gold);
	color: #7e530d !important;
}

body.chessora-shell .shell-nav a::before {
	color: #9a650d !important;
	filter: none;
}

body.chessora-shell .shell-search input[type="search"] {
	background: #fffdf9 !important;
	border-color: var(--arena-border) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell .chessora {
	--chessora-bg: var(--arena-bg);
	--chessora-ink: var(--arena-ink);
	--chessora-muted: var(--arena-muted);
	--chessora-line: rgba(185, 130, 69, 0.28);
	--chessora-panel: var(--arena-card);
	--chessora-soft: var(--arena-bg-2);
	--chessora-gold: var(--arena-gold);
	--chessora-board-light: var(--arena-board-light);
	--chessora-board-dark: var(--arena-board-dark);
	--chessora-board-edge: #2d624a;
	--chessora-board-inner: #2d624a;
	color: var(--arena-ink) !important;
}

body.chessora-shell .chessora :where(
	.chessora-card,
	.chessora-panel,
	.chessora-room-panel,
	.chessora-page-head,
	.chessora-hero,
	.chessora-forum-hero,
	.chessora-forum-section,
	.chessora-topic-post,
	.chessora-profile-hero,
	.chessora-tournament-detail,
	.chessora-tournament-list,
	.chessora-tournament-create,
	.chessora-event-stage,
	.chessora-event-info,
	.chessora-correspondence-card,
	.chessora-correspondence-board-card,
	.chessora-admin-control,
	.chessora-guide-panel,
	.chessora-format-panel
) {
	background:
		linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 250, 240, 0.98)) !important;
	border: 1px solid var(--arena-border) !important;
	border-radius: 14px !important;
	box-shadow: 0 18px 45px rgba(80, 55, 22, 0.08) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell .chessora :where(.chessora-hero, .chessora-page-head, .chessora-forum-hero) {
	background:
		radial-gradient(circle at 5% 0, rgba(211, 154, 39, 0.18), transparent 18rem),
		linear-gradient(115deg, #fff4d6, #fffdf9 46%, #f3e5c4) !important;
}

body.chessora-shell .chessora :where(h1, h2, h3, h4, h5, h6, strong, b, label, th) {
	color: var(--arena-ink) !important;
}

body.chessora-shell .chessora :where(p, li, td, small, .chessora-muted, .chessora-subtitle, .chessora-meta) {
	color: var(--arena-muted) !important;
}

body.chessora-shell .chessora :where(a, .chessora-link) {
	color: #8a5b15 !important;
}

body.chessora-shell .chessora :where(
	.chessora-button,
	.chessora-button-primary,
	.chessora-button-accent,
	.chessora-start-selected,
	.chessora-custom-submit,
	input[type="submit"]
) {
	background: linear-gradient(180deg, #f5c75d, var(--arena-gold)) !important;
	border: 1px solid #bd842d !important;
	border-radius: 10px !important;
	box-shadow: 0 10px 24px rgba(159, 103, 20, 0.18) !important;
	color: #19140b !important;
	font-weight: 900 !important;
	text-shadow: none !important;
}

body.chessora-shell .chessora :where(
	.chessora-button:hover,
	.chessora-button-primary:hover,
	.chessora-button-accent:hover,
	.chessora-start-selected:hover,
	.chessora-custom-submit:hover
) {
	background: linear-gradient(180deg, #ffd56e, var(--arena-gold-hover)) !important;
	border-color: var(--arena-gold-hover) !important;
	color: #19140b !important;
}

body.chessora-shell .chessora :where(.chessora-button-secondary, .chessora-button-ghost, .chessora-custom-toggle) {
	background: #fff7df !important;
	border: 1px solid var(--arena-border) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell .chessora :where(.chessora-button-danger, button.chessora-button-danger) {
	background: #fff0ea !important;
	border-color: rgba(141, 51, 44, 0.34) !important;
	color: #7f382d !important;
}

body.chessora-shell .chessora :where(input, textarea, select) {
	background: #fffdf9 !important;
	border: 1px solid var(--arena-border) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell .chessora :where(input:focus, textarea:focus, select:focus) {
	border-color: var(--arena-gold) !important;
	box-shadow: 0 0 0 3px var(--arena-gold-soft) !important;
	outline: none !important;
}

body.chessora-shell .chessora :where(
	table,
	.chessora-table,
	.chessora-lobby-table,
	.chessora-open-match-table,
	.chessora-forum-topic-list,
	.chessora-moves,
	.chessora-chat-panel,
	.chessora-game-info
) {
	background: var(--arena-card) !important;
	border: 1px solid var(--arena-border) !important;
	border-radius: 12px !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell .chessora :where(thead tr, .chessora-table-head, .chessora-open-match-head) {
	background: #f1e3c1 !important;
	color: #5e5140 !important;
}

body.chessora-shell .chessora :where(tbody tr, .chessora-table-row, .chessora-open-match-row, .chessora-moves li) {
	background: #fffdf9 !important;
	border-color: rgba(234, 217, 183, 0.85) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell .chessora :where(tbody tr:nth-child(even), .chessora-moves li:nth-child(even)) {
	background: rgba(211, 154, 39, 0.06) !important;
}

body.chessora-shell .chessora :where(tbody tr:hover, .chessora-table-row:hover, .chessora-open-match-row:hover) {
	background: var(--arena-gold-soft) !important;
}

body.chessora-shell .chessora :where(.chessora-badge, .chessora-pill, .chessora-status, .chessora-rating-pill, .badge, .label, mark) {
	background: var(--arena-gold-soft) !important;
	border: 1px solid rgba(211, 154, 39, 0.3) !important;
	color: #8a5b15 !important;
}

/* Board room features and contrast. */
body.chessora-shell.view-game .chessora-game-room .chessora-board-layout {
	align-items: start;
}

body.chessora-shell.view-game .chessora-game-room :where(
	.chessora-room-sidebar,
	.chessora-play-stage,
	.chessora-game-side,
	.chessora-board-area,
	.chessora-move-panel,
	.chessora-engine-panel,
	.chessora-openings-panel,
	.chessora-chat-panel,
	.chessora-spectators,
	.chessora-sidebar-game-info,
	.chessora-correspondence-board-tools,
	.chessora-create-panel,
	.chessora-open-matches
) {
	background: rgba(255, 253, 249, 0.96) !important;
	border: 1px solid var(--arena-border) !important;
	box-shadow: 0 18px 42px rgba(80, 55, 22, 0.09) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card {
	background: linear-gradient(90deg, #fffdf9, #fff8e8) !important;
	border: 1px solid var(--arena-border) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card.is-turn {
	border-color: rgba(211, 154, 39, 0.62) !important;
	box-shadow: 0 0 0 3px rgba(211, 154, 39, 0.13), 0 14px 34px rgba(80, 55, 22, 0.12) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-avatar,
body.chessora-shell.view-game .chessora-game-room .chessora-spectators span {
	background: linear-gradient(145deg, #ffd87d, #bd842d) !important;
	color: #19140b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-online {
	background: #34b65d !important;
	box-shadow: 0 0 0 4px rgba(52, 182, 93, 0.18);
}

body.chessora-shell.view-game .chessora-game-room :where([data-player-clock], .chessora-clock) {
	background: linear-gradient(180deg, #f5c75d, #d49a24) !important;
	border: 1px solid #bd842d !important;
	color: #19140b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-wrap {
	background: #2d624a !important;
	border: 8px solid #2d624a !important;
	border-radius: 12px !important;
	box-shadow: 0 18px 42px rgba(80, 55, 22, 0.2) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap cg-board {
	background-color: var(--arena-board-light) !important;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(95, 49, 12, 0.08)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 10px),
		conic-gradient(from 90deg, var(--arena-board-light) 25%, var(--arena-board-dark) 0 50%, var(--arena-board-light) 0 75%, var(--arena-board-dark) 0) !important;
	background-size: 100% 100%, 34px 100%, 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.last-move,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.selected {
	background: rgba(229, 170, 61, 0.56) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.move-dest {
	background: radial-gradient(rgba(25, 20, 11, 0.28) 20%, transparent 22%) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.oc.move-dest {
	background: radial-gradient(transparent 0%, transparent 78%, rgba(25, 20, 11, 0.22) 79%) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.current-premove {
	background: rgba(126, 83, 13, 0.24) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.check {
	background: radial-gradient(ellipse at center, rgba(141, 51, 44, 0.82) 0%, rgba(141, 51, 44, 0.35) 42%, transparent 72%) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-coordinates,
body.chessora-shell.view-game .chessora-game-room .chessora-board-ranks {
	color: #5e5140 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs {
	background: #fff7df !important;
	border-bottom: 1px solid var(--arena-border);
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs button {
	background: transparent !important;
	border: 0 !important;
	border-radius: 8px !important;
	color: #5e5140 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs button.is-active {
	background: #fffdf9 !important;
	box-shadow: inset 0 -2px 0 var(--arena-gold);
	color: #8a5b15 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-move-controls button,
body.chessora-shell.view-game .chessora-game-room .chessora-board-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room .chessora-postgame-actions .chessora-button {
	background: #fffdf9 !important;
	border: 1px solid var(--arena-border) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-actions .chessora-button span,
body.chessora-shell.view-game .chessora-game-room .chessora-postgame-actions .chessora-button span,
body.chessora-shell.view-game .chessora-game-room .chessora-move-controls button::before {
	background: var(--arena-gold-soft);
	border: 1px solid rgba(211, 154, 39, 0.28);
	color: #8a5b15;
}

/* Reference board-room layout: left play rail, centered board, right tools.
   The selectors stay presentation-only; all data-* hooks remain untouched. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	display: grid !important;
	grid-template-columns: minmax(250px, 300px) minmax(0, 760px) minmax(280px, 320px);
	justify-content: center;
	gap: clamp(16px, 1.8vw, 26px);
	padding: clamp(16px, 2vw, 28px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
	position: sticky;
	top: 112px;
	align-self: start;
	display: flex !important;
	flex-direction: column;
	gap: 16px;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-board-layout {
	display: contents !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	min-width: 0;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-brand,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-nav,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-premium {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game [data-game-live-only] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-game-setup-only],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-create-panel {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-play-menu,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-stats-overview {
	display: block !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu,
body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview {
	background: rgba(255, 253, 249, 0.96) !important;
	border: 1px solid var(--arena-border) !important;
	border-radius: 14px !important;
	box-shadow: 0 18px 42px rgba(80, 55, 22, 0.08) !important;
	color: var(--arena-ink) !important;
	padding: 18px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu .chessora-panel-head,
body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview .chessora-panel-head,
body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-spectators .chessora-panel-head,
body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat .chessora-panel-head {
	border-bottom: 1px solid var(--arena-border);
	margin-bottom: 14px;
	padding-bottom: 12px;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	column-gap: 12px;
	align-items: center;
	padding: 10px 4px;
	color: var(--arena-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a > span {
	grid-row: span 2;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--arena-gold-soft);
	color: #9a650d !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a strong {
	line-height: 1.15;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a small {
	color: var(--arena-muted) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview dl {
	display: grid;
	gap: 10px;
	margin: 0;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview dl > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview dt {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--arena-muted) !important;
	font-weight: 700;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview dt i {
	color: #b57814 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview dd {
	margin: 0;
	color: var(--arena-ink) !important;
	font-weight: 900;
}

body.chessora-shell.view-game .chessora-game-room .chessora-match-bar {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-area {
	padding: clamp(18px, 2vw, 28px) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card {
	grid-template-columns: 46px minmax(0, 1fr) 54px auto auto !important;
	padding: 14px 18px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card [data-player-outcomes],
body.chessora-shell.view-game .chessora-game-room .chessora-player-card [data-player-meta] {
	display: block;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-score {
	min-width: 48px;
	height: 48px;
	border-radius: 8px !important;
	display: grid;
	place-items: center;
	font-size: 1.3rem;
}

body.chessora-shell.view-game .chessora-game-room [data-player-clock] {
	min-width: 88px;
	height: 48px;
	display: grid;
	place-items: center;
	font-size: 1.55rem;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-frame {
	margin-inline: auto;
	width: min(100%, 690px);
}

body.chessora-shell.view-game .chessora-game-room .chessora-move-panel {
	padding: 0 16px 16px !important;
	overflow: hidden;
}

body.chessora-shell.view-game .chessora-game-room .chessora-moves {
	min-height: 128px;
	max-height: min(36vh, 320px);
	margin: 16px 0;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-actions,
body.chessora-shell.view-game .chessora-game-room .chessora-postgame-actions {
	grid-template-columns: 1fr !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room .chessora-postgame-actions .chessora-button {
	min-height: 54px;
	justify-content: flex-start !important;
	padding-inline: 18px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat {
	min-height: 210px;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-lines {
	min-height: 72px;
}

@media (max-width: 1280px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		grid-template-columns: 1fr !important;
		justify-content: stretch;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
		position: static;
	}
}

@media (min-width: 1281px) and (max-width: 1460px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		grid-template-columns: minmax(235px, 280px) minmax(0, 640px) minmax(250px, 300px);
	}
}

/* Live board left rail cleanup. Keep this scoped to the shell game view so
   Chessground and the tournament dashboard keep their own behaviour. */
@media (min-width: 1100px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		grid-template-columns: minmax(210px, 230px) minmax(0, 760px) minmax(250px, 280px) !important;
		gap: 18px !important;
		align-items: start !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
		grid-column: 1 !important;
		grid-row: 1 !important;
		position: sticky !important;
		top: 112px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
		grid-column: 2 !important;
		grid-row: 1 !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
		grid-column: 3 !important;
		grid-row: 1 !important;
	}
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar > .chessora-panel,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar > .chessora-chat-panel {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: rgba(255, 253, 249, 0.96) !important;
	border: 1px solid var(--arena-border) !important;
	border-radius: 14px !important;
	box-shadow: 0 10px 24px rgba(80, 55, 22, 0.06) !important;
	color: var(--arena-ink) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-room-sidebar .chessora-panel-head {
	min-height: 56px !important;
	margin: 0 !important;
	padding: 16px 18px !important;
	border-bottom: 1px solid var(--arena-border) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-room-sidebar .chessora-panel-head h2,
body.chessora-shell.view-game .chessora-game-room .chessora-room-sidebar .chessora-panel-head strong {
	margin: 0 !important;
	color: var(--arena-ink) !important;
	font-size: 0.82rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-room-sidebar .chessora-panel-head span {
	color: #4c9c59 !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
}

body.chessora-shell.view-game .chessora-h2h-card {
	margin: 0 !important;
	padding: 18px !important;
	display: grid !important;
	grid-template-columns: 1fr !important;
	align-items: center !important;
	gap: 14px !important;
	min-height: 164px !important;
}

body.chessora-shell.view-game .chessora-h2h-card span {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	width: 100% !important;
	min-width: 0 !important;
	color: #4c3a20 !important;
	font-weight: 900 !important;
	overflow-wrap: anywhere !important;
	line-height: 1.25 !important;
}

body.chessora-shell.view-game .chessora-h2h-card strong {
	display: block !important;
	color: var(--arena-ink) !important;
	font-size: 1.6rem !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	text-align: center !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a {
	grid-template-columns: 42px minmax(0, 1fr) !important;
	padding: 13px 18px !important;
	border-top: 1px solid rgba(234, 217, 183, 0.72) !important;
	text-decoration: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a:first-of-type {
	border-top: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a > span {
	width: 38px !important;
	height: 38px !important;
	background: #fff0ca !important;
	color: #a46c11 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a strong {
	color: var(--arena-ink) !important;
	font-size: 0.95rem !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a small {
	color: #746550 !important;
	font-size: 0.8rem !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview dl {
	padding: 10px 16px 14px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview dl > div {
	padding: 8px 0 !important;
	border-top: 1px solid rgba(234, 217, 183, 0.72) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-game-side .chessora-live-play-menu {
	margin: 0 0 14px !important;
	padding: 0 !important;
	border-radius: 14px !important;
	box-shadow: 0 10px 24px rgba(80, 55, 22, 0.06) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-game-side .chessora-live-play-menu .chessora-panel-head {
	margin: 0 !important;
	padding: 14px 16px !important;
	border-bottom: 1px solid var(--arena-border) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-game-side .chessora-live-play-menu a {
	padding: 11px 16px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-play-stage > .chessora-sidebar-spectators {
	width: 100% !important;
	margin: 14px 0 0 !important;
	padding: 0 !important;
	background: rgba(255, 253, 249, 0.96) !important;
	border: 1px solid var(--arena-border) !important;
	border-radius: 14px !important;
	box-shadow: 0 10px 24px rgba(80, 55, 22, 0.06) !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-play-stage > .chessora-sidebar-spectators .chessora-panel-head {
	min-height: 52px !important;
	margin: 0 !important;
	padding: 14px 18px !important;
	border-bottom: 1px solid var(--arena-border) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-play-stage > .chessora-sidebar-spectators .chessora-panel-head h2 {
	margin: 0 !important;
	color: var(--arena-ink) !important;
	font-size: 0.82rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-play-stage > .chessora-sidebar-spectators .chessora-panel-head span {
	display: inline-flex !important;
	width: auto !important;
	min-width: 32px !important;
	height: 30px !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 999px !important;
	background: #f1c258 !important;
	border: 1px solid #d49a24 !important;
	color: #21180a !important;
	font-size: 0.82rem !important;
	font-weight: 900 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview dl > div:first-child {
	border-top: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-spectators > div:last-child {
	margin: 0 !important;
	padding: 16px 18px 18px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	gap: 10px !important;
	min-height: 76px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-spectators > div:last-child span {
	width: auto !important;
	min-width: 42px !important;
	height: 42px !important;
	padding: 0 11px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 999px !important;
	background: #fff7df !important;
	border: 1px solid var(--arena-border) !important;
	color: #4c3a20 !important;
	font-size: 0.82rem !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-spectators .chessora-spectator-chip {
	gap: 8px !important;
	padding: 0 12px 0 5px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-spectators .chessora-spectator-chip i {
	width: 32px !important;
	height: 32px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: linear-gradient(135deg, #f4c45b, #c8891f) !important;
	color: #21180a !important;
	font-style: normal !important;
	font-size: 0.76rem !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-spectators .chessora-spectator-chip img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat {
	min-height: 330px !important;
	display: grid !important;
	grid-template-rows: auto auto minmax(120px, 1fr) auto auto !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat .chessora-chat-lines {
	margin: 0 !important;
	padding: 16px 18px !important;
	min-height: 120px !important;
	max-height: 300px !important;
	overflow-y: auto !important;
	color: #4f4639 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat .chessora-chat-lines p,
body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat .chessora-chat-lines span,
body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat .chessora-chat-lines strong {
	color: inherit !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat .chessora-chat-warning {
	margin: 0 18px 12px !important;
	padding: 12px 14px !important;
	display: flex !important;
	gap: 10px !important;
	align-items: flex-start !important;
	background: #fff7df !important;
	border: 1px solid var(--arena-border) !important;
	border-radius: 12px !important;
	color: #6f5d44 !important;
	font-size: 0.82rem !important;
	line-height: 1.35 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat .chessora-chat-warning::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	margin-top: 1px;
	border-radius: 50%;
	background: #e7f6e5;
	border: 1px solid #cbe7c8;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-form {
	margin: 0 !important;
	padding: 0 18px 18px !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 48px !important;
	gap: 10px !important;
	align-items: stretch !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-form input {
	width: 100% !important;
	min-width: 0 !important;
	height: 48px !important;
	background: #fffdf9 !important;
	border: 1px solid var(--arena-border) !important;
	border-radius: 10px !important;
	color: var(--arena-ink) !important;
	padding: 0 14px !important;
	font-size: 0.94rem !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-form .chessora-button {
	width: 48px !important;
	min-width: 48px !important;
	height: 48px !important;
	padding: 0 !important;
	display: grid !important;
	place-items: center !important;
	border-radius: 10px !important;
	font-size: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-form .chessora-button span {
	margin: 0 !important;
	font-size: 1rem !important;
	line-height: 1 !important;
}

/* Board centering, module icons, move-panel contrast, and chat rating preview. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	width: min(100%, 760px) !important;
	margin-inline: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	position: relative !important;
	width: min(100%, 650px) !important;
	margin-inline: auto !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	column-gap: 0 !important;
	justify-content: center !important;
	align-items: stretch !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	width: 100% !important;
	grid-column: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks {
	position: absolute !important;
	left: -28px !important;
	top: 0 !important;
	bottom: 28px !important;
	width: 20px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-rail {
	position: absolute !important;
	left: -48px !important;
	top: 0 !important;
	bottom: 44px !important;
	width: 9px !important;
	display: flex !important;
	align-items: flex-end !important;
	justify-content: center !important;
	overflow: hidden !important;
	border: 1px solid rgba(25, 20, 11, 0.32) !important;
	border-radius: 999px !important;
	background: #1f1a12 !important;
	box-shadow: 0 4px 12px rgba(80, 55, 22, 0.14) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-rail[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-rail i {
	display: block !important;
	width: 100% !important;
	height: 50%;
	background: #fffaf0 !important;
	transition: height 180ms ease !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-rail span {
	position: absolute !important;
	left: 50% !important;
	bottom: -22px !important;
	transform: translateX(-50%) !important;
	font-size: 0.62rem !important;
	font-weight: 900 !important;
	color: #6f6252 !important;
	text-shadow: none !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates {
	grid-column: 1 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
	position: absolute !important;
	top: 50% !important;
	right: -18px !important;
	z-index: 8 !important;
	transform: translateY(-50%) !important;
	width: 42px !important;
	height: 42px !important;
	margin: 0 !important;
	display: grid !important;
	place-items: center !important;
	border-radius: 12px !important;
	background: #d49a24 !important;
	border: 1px solid #b57814 !important;
	color: #19140b !important;
	box-shadow: 0 10px 24px rgba(80, 55, 22, 0.18) !important;
	font-weight: 900 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-head h2 {
	display: inline-flex !important;
	align-items: center !important;
	gap: 9px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-module-icon,
body.chessora-shell.view-game .chessora-game-room .chessora-panel-head h2 i,
body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs button i {
	color: #b57814 !important;
	font-size: 0.95em !important;
	line-height: 1 !important;
	flex: 0 0 auto !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-move-panel {
	background: #fffdf9 !important;
	border: 1px solid #d9bd84 !important;
	color: #19140b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs {
	background: #fff5dc !important;
	border-bottom: 1px solid #ead9b7 !important;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 6px !important;
	padding: 10px !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs button {
	color: #3b2a16 !important;
	opacity: 1 !important;
	font-weight: 900 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	min-width: 0 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	font-size: clamp(0.66rem, 0.9vw, 0.78rem) !important;
	padding: 9px 5px !important;
	border-radius: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs button.is-active {
	color: #19140b !important;
	background: rgba(212, 154, 36, 0.18) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-moves,
body.chessora-shell.view-game .chessora-game-room .chessora-engine-panel,
body.chessora-shell.view-game .chessora-game-room .chessora-openings-panel {
	background: #fffaf0 !important;
	border: 1px solid #ead9b7 !important;
	color: #2a2114 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-moves :where(li, p, span, strong, .is-empty),
body.chessora-shell.view-game .chessora-game-room .chessora-engine-panel :where(strong, span),
body.chessora-shell.view-game .chessora-game-room .chessora-openings-panel :where(strong, span) {
	color: #2a2114 !important;
	opacity: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-moves .is-empty {
	display: block !important;
	max-width: none !important;
	background: #fffdf9 !important;
	border: 1px solid #ead9b7 !important;
	border-radius: 10px !important;
	color: #3b2a16 !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-rating-preview:not([hidden]) {
	margin: 14px 18px 0 !important;
	padding: 12px 14px !important;
	display: grid !important;
	gap: 8px !important;
	background: #fff7df !important;
	border: 1px solid #ead9b7 !important;
	border-radius: 12px !important;
	color: #3b2a16 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-rating-preview > strong {
	color: #19140b !important;
	font-size: 0.82rem !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-rating-preview > span,
body.chessora-shell.view-game .chessora-game-room .chessora-chat-rating-preview > div {
	color: #5f4f39 !important;
	font-size: 0.82rem !important;
	line-height: 1.35 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-rating-preview > div {
	display: grid !important;
	gap: 3px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-chat-rating-preview b {
	color: #19140b !important;
}

/* Final game-room polish: result modal, player cards, score pills, and action icons. */
body.chessora-shell.view-game .chessora-game-room .chessora-player-card {
	background: linear-gradient(180deg, #fffdf9 0%, #fff8e8 100%) !important;
	border: 1px solid #e1c68c !important;
	border-radius: 16px !important;
	box-shadow: 0 12px 32px rgba(80, 55, 22, 0.08) !important;
	color: #19140b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card strong,
body.chessora-shell.view-game .chessora-game-room .chessora-player-card [data-player-name] {
	color: #2d2314 !important;
	font-weight: 900 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card [data-player-rating] {
	display: inline-flex !important;
	width: fit-content !important;
	max-width: 100% !important;
	margin-top: 3px !important;
	padding: 2px 9px !important;
	border-radius: 999px !important;
	background: #fff1c9 !important;
	border: 1px solid #e6c77f !important;
	color: #7a4d08 !important;
	font-size: 0.8rem !important;
	font-weight: 900 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card [data-player-meta] {
	display: block !important;
	margin-top: 5px !important;
	color: #5f503c !important;
	font-size: 0.82rem !important;
	line-height: 1.35 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-card [data-player-outcomes] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-avatar {
	width: 48px !important;
	height: 48px !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #fff0bd 0%, #d49a24 100%) !important;
	border: 1px solid #c38d20 !important;
	color: #19140b !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
	font-weight: 900 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-avatar.has-image {
	background: #fffdf9 !important;
	overflow: hidden !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-avatar img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: inherit !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-score {
	width: 52px !important;
	min-width: 52px !important;
	height: 52px !important;
	border-radius: 999px !important;
	background: #f1e8d6 !important;
	border: 1px solid #d4c4a8 !important;
	color: #514331 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
	font-size: 1.5rem !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-score.is-winner {
	background: #dff3e5 !important;
	border-color: #84c996 !important;
	color: #176f38 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-score.is-loser {
	background: #ffe3de !important;
	border-color: #e0a095 !important;
	color: #8f2f23 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-player-score.is-draw {
	background: #ece8df !important;
	border-color: #cfc3ae !important;
	color: #5f5648 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-popup {
	width: min(88vw, 410px) !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: linear-gradient(180deg, #fffdf9 0%, #fff7e8 100%) !important;
	border: 1px solid #e1c68c !important;
	border-radius: 22px !important;
	box-shadow: 0 24px 70px rgba(45, 31, 10, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
	color: #19140b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-popup::before {
	content: "";
	display: block;
	height: 8px;
	background: linear-gradient(90deg, #c98b18, #f1c561, #c98b18);
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-popup h2 {
	margin: 22px 56px 4px !important;
	color: #19140b !important;
	text-align: center !important;
	font-size: 1.65rem !important;
	line-height: 1.1 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-reason,
body.chessora-shell.view-game .chessora-game-room [data-result-reason] {
	margin: 0 28px 18px !important;
	color: #6f5d44 !important;
	text-align: center !important;
	font-size: 0.98rem !important;
	font-weight: 800 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-close {
	top: 14px !important;
	right: 14px !important;
	width: 36px !important;
	height: 36px !important;
	display: grid !important;
	place-items: center !important;
	border-radius: 999px !important;
	background: #fff0c8 !important;
	border: 1px solid #e1c68c !important;
	color: #6f4708 !important;
	font-size: 1.25rem !important;
	font-weight: 950 !important;
	box-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-score {
	display: grid !important;
	grid-template-columns: minmax(92px, 1fr) 34px minmax(92px, 1fr) !important;
	gap: 14px !important;
	align-items: center !important;
	padding: 0 28px 18px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player {
	min-width: 0 !important;
	display: grid !important;
	grid-template-rows: 46px 50px auto !important;
	justify-items: center !important;
	align-items: center !important;
	gap: 6px !important;
	color: #5f503c !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player .chessora-player-avatar {
	width: 42px !important;
	height: 42px !important;
	margin: 0 !important;
	box-shadow: 0 8px 18px rgba(88, 56, 8, 0.16) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player strong {
	width: 50px !important;
	height: 50px !important;
	display: grid !important;
	place-items: center !important;
	border-radius: 999px !important;
	background: #fff0c8 !important;
	border: 1px solid #e1c68c !important;
	color: #19140b !important;
	font-size: 1.7rem !important;
	font-weight: 950 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player strong.is-win {
	background: #dff6e5 !important;
	border-color: #75c98c !important;
	color: #155a2b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player strong.is-loss {
	background: #ffe2df !important;
	border-color: #e59a92 !important;
	color: #8a2118 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player strong.is-draw {
	background: #f2eee6 !important;
	border-color: #cfc3ae !important;
	color: #5d554a !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-player small {
	max-width: 100% !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	color: #5f503c !important;
	font-size: 0.86rem !important;
	font-weight: 900 !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-score > b {
	color: #19140b !important;
	font-size: 0.9rem !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
	text-align: center !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-ad-slot {
	margin: 0 26px 16px !important;
	padding: 16px !important;
	background: #fffaf0 !important;
	border: 1px solid #ead9b7 !important;
	border-radius: 14px !important;
	color: #3b2a16 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-ad-slot small {
	color: #9b8a70 !important;
	font-weight: 800 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-ad-slot p {
	margin: 8px 0 0 !important;
	color: #2d2314 !important;
	font-weight: 900 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-ad-remove {
	width: calc(100% - 52px) !important;
	margin: 0 26px 26px !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 22px rgba(165, 109, 18, 0.18) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-module-icon,
body.chessora-shell.view-game .chessora-game-room .chessora-play-option-icon {
	width: 27px !important;
	height: 27px !important;
	display: inline-grid !important;
	place-items: center !important;
	flex: 0 0 27px !important;
	border-radius: 999px !important;
	background: #fff0c8 !important;
	border: 1px solid #e1c68c !important;
	color: #9a650d !important;
	font-size: 0.82rem !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-panel-tabs .chessora-module-icon {
	width: 20px !important;
	height: 20px !important;
	flex-basis: 20px !important;
	font-size: 0.66rem !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a {
	display: grid !important;
	grid-template-columns: 42px minmax(0, 1fr) !important;
	align-items: center !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-play-menu a > .chessora-play-option-icon {
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-tool-content-stack {
	width: min(100%, 760px) !important;
	margin: 16px auto 0 !important;
	display: none !important;
	gap: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-tool-content-stack:has(> :not([hidden])) {
	display: grid !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-tool-content-stack .chessora-engine-panel,
body.chessora-shell.view-game .chessora-game-room .chessora-tool-content-stack .chessora-openings-panel {
	width: 100% !important;
	margin: 0 !important;
	padding: 14px !important;
	border-radius: 16px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-head {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-head .chessora-button {
	min-height: 34px !important;
	padding: 7px 12px !important;
	border-radius: 999px !important;
	font-size: 0.82rem !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-head .chessora-button:disabled {
	background: #efe5d1 !important;
	border-color: #ddcaa8 !important;
	color: #8a7a61 !important;
	cursor: not-allowed !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-lines {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-card {
	display: grid !important;
	gap: 8px !important;
	padding: 12px !important;
	border-radius: 13px !important;
	background: #f1eee7 !important;
	border: 1px solid #ddd3c1 !important;
	color: #2a2114 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-card strong {
	color: #19140b !important;
	font-size: 1rem !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-card span {
	color: #5f503c !important;
	font-size: 0.9rem !important;
	line-height: 1.4 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-eval {
	display: grid !important;
	gap: 6px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-eval-bar {
	height: 9px !important;
	overflow: hidden !important;
	border-radius: 999px !important;
	background: linear-gradient(90deg, #2e251b 0 50%, #fffaf0 50% 100%) !important;
	border: 1px solid #cdbb9d !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-eval-bar i {
	display: block !important;
	height: 100% !important;
	border-radius: inherit !important;
	background: linear-gradient(90deg, #7f5220, #d49a24) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-eval small {
	display: flex !important;
	justify-content: space-between !important;
	gap: 10px !important;
	color: #6f5d44 !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-eval small b {
	color: #19140b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-live-stats-overview {
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-stat-tiles {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
	padding: 16px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-stat-tile {
	display: grid !important;
	min-height: 76px !important;
	gap: 8px !important;
	padding: 13px !important;
	border: 1px solid #ead9b7 !important;
	border-radius: 14px !important;
	background: linear-gradient(180deg, #fffdf9, #fff7e8) !important;
	color: #19140b !important;
	text-decoration: none !important;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.7) !important;
	transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-stat-tile:hover {
	transform: translateY(-1px) !important;
	border-color: #d49a24 !important;
	box-shadow: 0 10px 22px rgba(80, 55, 22, 0.08), inset 0 1px rgba(255, 255, 255, 0.7) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-stat-tile span {
	display: flex !important;
	align-items: center !important;
	gap: 7px !important;
	color: #6f5d44 !important;
	font-size: 0.74rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.03em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-stat-tile i {
	color: #b57814 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-stat-tile strong {
	color: #19140b !important;
	font-size: 1.45rem !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-stat-tile.is-wide {
	grid-column: 1 / -1 !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	align-items: center !important;
	min-height: 62px !important;
}

body.chessora-shell .chessora :where(
	.chessora-button,
	.chessora-button-primary,
	.chessora-button-accent,
	.chessora-custom-submit,
	input[type="submit"]
),
body.chessora-shell.view-game .chessora-game-room :where(
	.chessora-move-controls button,
	.chessora-board-actions .chessora-button,
	.chessora-postgame-actions .chessora-button
) {
	transform: translateY(0) !important;
	transition:
		transform 0.08s ease,
		box-shadow 0.08s ease,
		background-color 0.08s ease,
		border-color 0.08s ease !important;
}

body.chessora-shell .chessora :where(
	.chessora-button:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):active,
	.chessora-button.is-pressed:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
	.chessora-button-primary:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):active,
	.chessora-button-primary.is-pressed:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
	.chessora-button-accent:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):active,
	.chessora-button-accent.is-pressed:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
	.chessora-custom-submit:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):active,
	.chessora-custom-submit.is-pressed:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
	input[type="submit"]:not(:disabled):active,
	input[type="submit"].is-pressed:not(:disabled)
) {
	background: linear-gradient(180deg, #dba640, #a96d22) !important;
	border-color: #9f6714 !important;
	box-shadow: inset 0 3px 7px rgba(71, 43, 10, 0.22), 0 3px 8px rgba(80, 55, 22, 0.1) !important;
	transform: translateY(1px) scale(0.985) !important;
}

body.chessora-shell.view-game .chessora-game-room :where(
	.chessora-move-controls button:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):active,
	.chessora-move-controls button.is-pressed:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
	.chessora-board-actions .chessora-button:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):active,
	.chessora-board-actions .chessora-button.is-pressed:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
	.chessora-postgame-actions .chessora-button:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):active,
	.chessora-postgame-actions .chessora-button.is-pressed:not(:disabled):not(.is-disabled):not([aria-disabled="true"])
) {
	background: #fff3d2 !important;
	border-color: rgba(183, 123, 35, 0.46) !important;
	box-shadow: inset 0 3px 8px rgba(124, 79, 17, 0.16), 0 2px 6px rgba(80, 55, 22, 0.06) !important;
	transform: translateY(1px) scale(0.985) !important;
}

@media (max-width: 1099px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
		position: static !important;
		order: 2 !important;
	}

	body.chessora-shell.view-game .chessora-game-room .chessora-sidebar-chat {
		min-height: 260px !important;
	}
}

/* Game page matte-gold visual pass: CSS only, scoped away from game logic. */
body.chessora-shell.view-game {
	--game-matte-bg: #111820;
	--game-matte-bg-2: #151e26;
	--game-matte-panel: #1a242c;
	--game-matte-panel-2: #202c35;
	--game-matte-line: rgba(214, 162, 59, 0.26);
	--game-matte-line-strong: rgba(214, 162, 59, 0.48);
	--game-matte-text: #f6efd9;
	--game-matte-muted: #b9c4bd;
	--game-matte-dim: #899792;
	--game-matte-gold: #d6a23b;
	--game-matte-gold-soft: #f1cf77;
	--game-matte-green: #6fc487;
	background:
		radial-gradient(circle at 16% 0%, rgba(214, 162, 59, 0.14), transparent 34%),
		linear-gradient(180deg, var(--game-matte-bg-2) 0%, var(--game-matte-bg) 52%, #0e141b 100%) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .shell-site-header,
body.chessora-shell.view-game .shell-component-card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
		var(--game-matte-panel) !important;
	border-color: var(--game-matte-line) !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .shell-nav a,
body.chessora-shell.view-game .shell-login-link,
body.chessora-shell.view-game .shell-user-pill {
	background: rgba(255, 255, 255, 0.045) !important;
	border-color: rgba(214, 162, 59, 0.18) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .shell-nav a:hover,
body.chessora-shell.view-game .shell-nav a.is-active,
body.chessora-shell.view-game .shell-login-link:hover {
	background: rgba(214, 162, 59, 0.16) !important;
	border-color: var(--game-matte-line-strong) !important;
	color: var(--game-matte-gold-soft) !important;
}

body.chessora-shell.view-game .shell-search input[type="search"] {
	background: #101820 !important;
	border-color: var(--game-matte-line) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .shell-search input[type="search"]::placeholder {
	color: var(--game-matte-dim) !important;
}

body.chessora-shell.view-game .chessora-game-room {
	--setup-ink: var(--game-matte-text);
	--setup-muted: var(--game-matte-muted);
	--setup-line: var(--game-matte-line);
	--setup-gold: var(--game-matte-gold);
	--setup-green: var(--game-matte-green);
	--room-panel: var(--game-matte-panel);
	--room-line: var(--game-matte-line);
	background:
		radial-gradient(circle at 56% 0%, rgba(214, 162, 59, 0.13), transparent 34%),
		linear-gradient(180deg, #151f27 0%, #111920 100%) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-setup-brief,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-matches.chessora-lobby-table,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-table,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-setup-extra-panel,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-challenge-confirmation,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-room-sidebar {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
		var(--game-matte-panel) !important;
	border-color: var(--game-matte-line) !important;
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
	background:
		radial-gradient(circle at 88% 14%, rgba(214, 162, 59, 0.12), transparent 30%),
		linear-gradient(180deg, #101a16 0%, #0b1512 100%) !important;
	border-color: rgba(214, 162, 59, 0.34) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game :where(h1, h2, h3, strong, b, label),
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel::before,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-group strong,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-empty strong {
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game :where(p, span, small),
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-setup-brief p,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-empty span {
	color: var(--game-matte-muted) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-room-sidebar {
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-setup-brief {
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-panel-head {
	border-color: rgba(214, 162, 59, 0.18) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game :where(
	.chessora-create-select,
	.chessora-rated-toggle,
	.chessora-create-group button,
	.chessora-custom-toggle,
	.chessora-setup-brief-row,
	.chessora-setup-rating-note,
	.chessora-play-commitment,
	.chessora-watch-row,
	.chessora-follow-row
) {
	background: rgba(255, 255, 255, 0.055) !important;
	border-color: rgba(214, 162, 59, 0.22) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game :where(
	.chessora-create-group button.is-active,
	.chessora-create-group button:hover,
	.chessora-create-group button:focus,
	.chessora-rated-toggle button.is-active,
	.chessora-create-tabs button.is-active
) {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, 0.62) !important;
	color: #151008 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
	background: rgba(255, 255, 255, 0.055) !important;
	border: 1px solid rgba(214, 162, 59, 0.26) !important;
	border-radius: 12px !important;
	display: grid !important;
	gap: 6px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	max-width: 360px !important;
	min-height: 58px !important;
	padding: 6px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle {
	grid-column: 1 !important;
	margin: 0 !important;
	max-width: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
	grid-column: 2 !important;
	margin: 0 !important;
	max-width: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle:has(+ .chessora-color-toggle) {
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
	grid-template-columns: minmax(0, 1fr) minmax(168px, 0.56fr) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > :not(.chessora-rated-toggle):not(.chessora-color-toggle) {
	grid-column: 1 / -1;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle button {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(214, 162, 59, 0.18) !important;
	border-radius: 8px !important;
	color: var(--game-matte-text) !important;
	display: flex !important;
	justify-content: center !important;
	min-height: 44px !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle button.is-active {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, 0.62) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon {
	display: block;
	height: 26px;
	position: relative;
	width: 32px;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon::before,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon::after {
	background: currentColor;
	clip-path: polygon(0 100%, 0 48%, 17% 66%, 32% 18%, 50% 60%, 68% 18%, 83% 66%, 100% 48%, 100% 100%);
	content: "";
	height: 20px;
	left: 0;
	position: absolute;
	top: 2px;
	width: 100%;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon::after {
	border-radius: 999px;
	clip-path: none;
	height: 4px;
	top: 22px;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon.is-white {
	color: #fff8df !important;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon.is-white::before,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon.is-white::after {
	background: #fff8df !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon.is-black {
	color: #0b0f12 !important;
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.2));
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon.is-black::before,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon.is-black::after {
	background: #0b0f12 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon.is-random::before,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-crown-icon.is-random::after {
	background: linear-gradient(90deg, #fff8df 0 50%, #0b0f12 50% 100%) !important;
}

@media (max-width: 700px) {
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle {
		grid-column: 1 !important;
	}
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-group button:not(.is-active):hover,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-toggle:hover {
	background: rgba(214, 162, 59, 0.14) !important;
	border-color: var(--game-matte-line-strong) !important;
	color: var(--game-matte-gold-soft) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-row {
	background: rgba(255, 255, 255, 0.045) !important;
	border-color: rgba(214, 162, 59, 0.16) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-head {
	background: rgba(214, 162, 59, 0.14) !important;
	color: var(--game-matte-gold-soft) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-row b,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-watch-row b,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-follow-row :where(a, button) {
	background: rgba(214, 162, 59, 0.14) !important;
	border-color: rgba(214, 162, 59, 0.34) !important;
	color: var(--game-matte-gold-soft) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game input,
body.chessora-shell.view-game .chessora-game-room.is-creating-game select,
body.chessora-shell.view-game .chessora-game-room.is-creating-game textarea {
	background: #101820 !important;
	border-color: var(--game-matte-line) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room :where(.chessora-button, button):focus-visible,
body.chessora-shell.view-game :where(.shell-nav a, .shell-login-link, input):focus-visible {
	outline: 3px solid rgba(241, 207, 119, 0.72) !important;
	outline-offset: 2px !important;
}

/* Finish the setup screen: no pale form islands inside the dark matte picker. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-time {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
		var(--game-matte-panel-2) !important;
	border: 1px solid var(--game-matte-line) !important;
	border-radius: 10px !important;
	color: var(--game-matte-text) !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-time[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-time :where(label, legend, strong) {
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-time :where(span, small, p) {
	color: var(--game-matte-muted) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-fields,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-time label {
	background: transparent !important;
	border-color: rgba(214, 162, 59, 0.16) !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
	--rating-min-pos: 0%;
	--rating-max-pos: 100%;
	border: 1px solid rgba(214, 162, 59, 0.22) !important;
	border-radius: 12px !important;
	display: grid !important;
	gap: 14px !important;
	grid-column: 1 !important;
	padding: 12px 14px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
	align-self: stretch !important;
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
		rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(241, 207, 119, 0.28) !important;
	border-radius: 12px !important;
	color: var(--game-matte-gold-soft) !important;
	display: flex !important;
	font-size: 0.82rem !important;
	font-weight: 850 !important;
	grid-column: 2 !important;
	line-height: 1.35 !important;
	padding: 12px 14px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range .chessora-create-section-head span,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range .chessora-create-section-head b {
	color: var(--game-matte-gold-soft) !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-slider {
	background:
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.1) 0 var(--rating-min-pos),
			#d6a23b var(--rating-min-pos) var(--rating-max-pos),
			rgba(255, 255, 255, 0.1) var(--rating-max-pos) 100%
		) !important;
	border: 1px solid rgba(214, 162, 59, 0.22) !important;
	border-radius: 999px !important;
	height: 12px !important;
	margin: 12px 10px 8px !important;
	position: relative !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	background: transparent !important;
	border: 0 !important;
	height: 32px !important;
	left: 0 !important;
	margin: 0 !important;
	pointer-events: none !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]:focus {
	outline: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-webkit-slider-runnable-track {
	background: transparent !important;
	border: 0 !important;
	height: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-moz-range-track {
	background: transparent !important;
	border: 0 !important;
	height: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-moz-range-progress {
	background: transparent !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-webkit-slider-thumb {
	appearance: none !important;
	-webkit-appearance: none !important;
	background:
		radial-gradient(circle at 50% 18%, #fff6d6 0 16%, transparent 17%),
		radial-gradient(ellipse at 50% 46%, #f8d985 0 31%, transparent 32%),
		linear-gradient(180deg, transparent 0 61%, #c78b25 62% 78%, transparent 79%),
		linear-gradient(180deg, transparent 0 78%, #9f6714 79% 100%) !important;
	border: 0 !important;
	border-radius: 0 0 4px 4px !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28) !important;
	cursor: grab !important;
	clip-path: polygon(36% 7%, 64% 7%, 70% 19%, 64% 30%, 74% 48%, 65% 68%, 82% 82%, 88% 100%, 12% 100%, 18% 82%, 35% 68%, 26% 48%, 36% 30%, 30% 19%) !important;
	height: 28px !important;
	margin-top: -22px !important;
	pointer-events: auto !important;
	width: 24px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-slider input[type="range"]::-moz-range-thumb {
	background:
		radial-gradient(circle at 50% 18%, #fff6d6 0 16%, transparent 17%),
		radial-gradient(ellipse at 50% 46%, #f8d985 0 31%, transparent 32%),
		linear-gradient(180deg, transparent 0 61%, #c78b25 62% 78%, transparent 79%),
		linear-gradient(180deg, transparent 0 78%, #9f6714 79% 100%) !important;
	border: 0 !important;
	border-radius: 0 0 4px 4px !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28) !important;
	cursor: grab !important;
	clip-path: polygon(36% 7%, 64% 7%, 70% 19%, 64% 30%, 74% 48%, 65% 68%, 82% 82%, 88% 100%, 12% 100%, 18% 82%, 35% 68%, 26% 48%, 36% 30%, 30% 19%) !important;
	height: 28px !important;
	transform: translateY(-18px) !important;
	pointer-events: auto !important;
	width: 24px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-time input,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-time select {
	background: #101820 !important;
	border: 1px solid rgba(214, 162, 59, 0.28) !important;
	border-radius: 8px !important;
	color: var(--game-matte-text) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-submit,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-start-selected,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-challenge-confirmation .chessora-button {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, 0.62) !important;
	color: #151008 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-toggle {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(214, 162, 59, 0.26) !important;
	border-radius: 10px !important;
	color: var(--game-matte-text) !important;
	display: inline-flex !important;
	font-size: 0.98rem !important;
	font-weight: 950 !important;
	gap: 12px !important;
	justify-content: space-between !important;
	justify-self: start !important;
	min-height: 44px !important;
	padding: 7px 8px 7px 16px !important;
	width: min(100%, 220px) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-custom-toggle::after {
	align-items: center;
	background: linear-gradient(180deg, #f0c65e, #c78b25);
	border: 1px solid rgba(248, 217, 133, 0.56);
	border-radius: 50%;
	color: #151008;
	content: "+";
	display: inline-flex;
	flex: 0 0 30px;
	font-size: 1.1rem;
	font-weight: 950;
	height: 30px;
	justify-content: center;
	line-height: 1;
	width: 30px;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel:has(.chessora-custom-time:not([hidden])) .chessora-custom-toggle::after {
	content: "-";
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-play-commitment {
	background: rgba(241, 207, 119, 0.12) !important;
	border-color: rgba(241, 207, 119, 0.34) !important;
	color: var(--game-matte-gold-soft) !important;
}

/* Hide duplicate setup reminders while preserving their JS-updated markup. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game {
	grid-template-columns: minmax(0, 900px) !important;
	max-width: 980px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-room-sidebar,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-setup-brief,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-select {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-board-layout,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-matches.chessora-lobby-table {
	grid-column: 1 !important;
}

/* Keep open challenges in the setup selector instead of as a separate table below. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > .chessora-open-matches {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
		var(--game-matte-panel-2) !important;
	border: 1px solid var(--game-matte-line) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: var(--game-matte-text) !important;
	display: grid !important;
	gap: 10px !important;
	margin-top: 4px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > .chessora-open-matches .chessora-create-section-head {
	align-items: center !important;
	border-bottom: 1px solid rgba(214, 162, 59, 0.16) !important;
	display: flex !important;
	justify-content: space-between !important;
	margin: -2px 0 0 !important;
	padding: 0 0 10px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > .chessora-open-matches .chessora-open-match-table {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid !important;
	gap: 8px !important;
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > .chessora-open-matches .chessora-open-match-row {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(214, 162, 59, 0.16) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: minmax(0, 1fr) auto auto !important;
	min-height: 48px !important;
	padding: 10px 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > .chessora-open-matches .chessora-open-match-empty {
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(214, 162, 59, 0.16) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 4px !important;
	padding: 12px !important;
}

/* Place open challenges in the left setup rail, beside the selector. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game {
	grid-template-columns: minmax(250px, 320px) minmax(0, 900px) !important;
	justify-content: center !important;
	max-width: 1280px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-board-layout {
	grid-column: 2 !important;
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table {
	align-self: start !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
		var(--game-matte-panel) !important;
	border: 1px solid var(--game-matte-line) !important;
	border-radius: 10px !important;
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3) !important;
	color: var(--game-matte-text) !important;
	display: grid !important;
	gap: 12px !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	min-height: 260px !important;
	padding: 14px !important;
	position: sticky !important;
	top: 118px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > .chessora-open-matches {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table .chessora-create-section-head {
	align-items: center !important;
	background: transparent !important;
	border-bottom: 1px solid rgba(214, 162, 59, 0.16) !important;
	display: flex !important;
	justify-content: space-between !important;
	margin: 0 !important;
	padding: 0 0 12px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table .chessora-create-section-head span {
	background: #e0f6df !important;
	border: 1px solid #75c477 !important;
	border-radius: 999px !important;
	color: #275b2d !important;
	font-weight: 950 !important;
	padding: 6px 12px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table .chessora-open-match-table {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid !important;
	gap: 8px !important;
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table .chessora-open-match-head {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table .chessora-open-match-row {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(214, 162, 59, 0.16) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 1fr !important;
	min-height: 48px !important;
	padding: 10px 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table .chessora-open-match-empty {
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(214, 162, 59, 0.16) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 6px !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table::after {
	content: none !important;
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel {
	align-self: start !important;
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
		var(--game-matte-panel) !important;
	border: 1px solid rgba(241, 207, 119, 0.28) !important;
	border-radius: 10px !important;
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3) !important;
	color: var(--game-matte-muted) !important;
	display: grid !important;
	gap: 10px !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	padding: 14px !important;
	position: sticky !important;
	top: 118px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
	align-self: start !important;
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
		var(--game-matte-panel) !important;
	border: 1px solid rgba(241, 207, 119, 0.28) !important;
	border-radius: 10px !important;
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3) !important;
	color: var(--game-matte-muted) !important;
	display: grid !important;
	gap: 12px !important;
	grid-column: 1 !important;
	grid-row: auto !important;
	margin: 0 !important;
	padding: 14px !important;
	position: relative !important;
	top: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table,
body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
	z-index: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel .chessora-create-section-head {
	border-bottom: 1px solid rgba(214, 162, 59, 0.16) !important;
	padding-bottom: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel strong {
	color: var(--game-matte-text) !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel p {
	align-items: flex-start !important;
	color: var(--game-matte-muted) !important;
	display: grid !important;
	font-size: 0.86rem !important;
	font-weight: 700 !important;
	gap: 10px !important;
	grid-template-columns: 28px 1fr !important;
	line-height: 1.45 !important;
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel .chessora-button {
	justify-self: start !important;
	min-height: 42px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel .chessora-etiquette-icon {
	align-items: center !important;
	background: linear-gradient(135deg, rgba(241, 207, 119, 0.32), rgba(214, 162, 59, 0.14)) !important;
	border: 1px solid rgba(241, 207, 119, 0.35) !important;
	border-radius: 999px !important;
	color: var(--game-matte-gold-soft) !important;
	display: inline-flex !important;
	font-size: 0.9rem !important;
	font-weight: 950 !important;
	height: 28px !important;
	justify-content: center !important;
	line-height: 1 !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28) !important;
	width: 28px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel .chessora-create-section-head {
	border-bottom: 1px solid rgba(214, 162, 59, 0.16) !important;
	padding-bottom: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel strong {
	color: var(--game-matte-text) !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel p {
	align-items: flex-start !important;
	color: var(--game-matte-muted) !important;
	display: grid !important;
	font-size: 0.86rem !important;
	font-weight: 700 !important;
	gap: 10px !important;
	grid-template-columns: 28px 1fr !important;
	line-height: 1.45 !important;
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel .chessora-etiquette-icon {
	align-items: center !important;
	background: linear-gradient(135deg, rgba(241, 207, 119, 0.32), rgba(214, 162, 59, 0.14)) !important;
	border: 1px solid rgba(241, 207, 119, 0.35) !important;
	border-radius: 999px !important;
	color: var(--game-matte-gold-soft) !important;
	display: inline-flex !important;
	font-size: 0.9rem !important;
	font-weight: 950 !important;
	height: 28px !important;
	justify-content: center !important;
	line-height: 1 !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28) !important;
	width: 28px !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-game .chessora-game-room.is-creating-game {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-board-layout,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
		grid-column: 1 !important;
		position: static !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-open-matches.chessora-lobby-table,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-etiquette-panel,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game > .chessora-join-challenge-panel {
		grid-row: 2 !important;
		margin: 0 !important;
	}
}

/* Live board reference theme: dark shell with cream/gold panels and green board surround. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	background:
		linear-gradient(90deg, rgba(7, 14, 18, 0.92), transparent 9%, transparent 91%, rgba(7, 14, 18, 0.92)),
		#b9b5a5 !important;
	color: #18130b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-room-sidebar,
	.chessora-play-stage,
	.chessora-game-side,
	.chessora-board-area,
	.chessora-move-panel,
	.chessora-engine-panel,
	.chessora-openings-panel,
	.chessora-chat-panel,
	.chessora-sidebar-spectators,
	.chessora-sidebar-game-info,
	.chessora-live-play-menu,
	.chessora-live-stats-overview,
	.chessora-player-card,
	.chessora-result-popup,
	.chessora-board-notice
) {
	background: #fffaf0 !important;
	border: 1px solid rgba(191, 139, 47, 0.38) !important;
	box-shadow: 0 18px 42px rgba(28, 22, 12, 0.13) !important;
	color: #18130b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	background: #fffaf0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	background: #2f6a4f !important;
	border: 12px solid #2f6a4f !important;
	border-radius: 10px !important;
	box-shadow: 0 20px 52px rgba(15, 20, 14, 0.3) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	background:
		conic-gradient(
			#f2e5c7 0 25%,
			#bf8647 0 50%,
			#f2e5c7 0 75%,
			#bf8647 0 100%
		) 0 0 / 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(h1, h2, h3, strong, b, label) {
	color: #18130b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(p, span, small, li) {
	color: #5f5344 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-panel-head,
	.chessora-panel-tabs,
	.chessora-live-play-menu a,
	.chessora-stat-tile,
	.chessora-moves,
	.chessora-moves li,
	.chessora-engine-lines,
	.chessora-chat-rating-preview,
	.chessora-chat-warning
) {
	background: rgba(255, 248, 234, 0.72) !important;
	border-color: rgba(191, 139, 47, 0.28) !important;
	color: #18130b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button.is-active,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-postgame-actions .chessora-button {
	background: #fffaf0 !important;
	border-color: rgba(191, 139, 47, 0.34) !important;
	color: #18130b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button:hover,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button:hover,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button.is-active {
	background: linear-gradient(180deg, #f0c65e, #d69d28) !important;
	border-color: rgba(152, 99, 20, 0.46) !important;
	color: #18130b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-avatar,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-spectators span,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-module-icon,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-option-icon {
	background: linear-gradient(180deg, #f4d16f, #d59c27) !important;
	border-color: rgba(152, 99, 20, 0.32) !important;
	color: #18130b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where([data-player-clock], .chessora-clock) {
	background: linear-gradient(180deg, #efbd43, #d59b25) !important;
	border-color: rgba(152, 99, 20, 0.42) !important;
	color: #111 !important;
}
/* Challenges seek graph */
body.chessora-shell .chessora-seek-graph-panel {
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(0, 1fr) 300px !important;
}

body.chessora-shell .chessora-seek-board,
body.chessora-shell .chessora-seek-detail {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.09), rgba(255, 255, 255, 0.025)),
		#101c18 !important;
	border: 1px solid rgba(214, 162, 59, 0.34) !important;
	border-radius: 12px !important;
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24) !important;
	color: #f7eed2 !important;
}

body.chessora-shell .chessora-seek-board {
	display: grid !important;
	gap: 16px !important;
	padding: 18px !important;
}

body.chessora-shell .chessora-seek-toolbar {
	align-items: center !important;
	border-bottom: 1px solid rgba(214, 162, 59, 0.18) !important;
	display: flex !important;
	gap: 16px !important;
	justify-content: space-between !important;
	padding-bottom: 14px !important;
}

body.chessora-shell .chessora-seek-toolbar div {
	display: grid !important;
	gap: 4px !important;
}

body.chessora-shell .chessora-seek-toolbar strong {
	color: #fff7d7 !important;
	font-size: 1.05rem !important;
	font-weight: 950 !important;
}

body.chessora-shell .chessora-seek-toolbar span,
body.chessora-shell .chessora-seek-detail p {
	color: #bfc8bd !important;
	font-weight: 750 !important;
}

body.chessora-shell .chessora-seek-legend {
	align-items: center !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px 16px !important;
	justify-content: center !important;
}

body.chessora-shell .chessora-seek-legend div {
	align-items: center !important;
	display: inline-flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

body.chessora-shell .chessora-seek-legend b {
	color: #f1cf77 !important;
	font-size: 0.68rem !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
}

body.chessora-shell .chessora-seek-legend span {
	align-items: center !important;
	color: #bfc8bd !important;
	display: inline-flex !important;
	font-size: 0.74rem !important;
	font-weight: 850 !important;
	gap: 6px !important;
}

body.chessora-shell .chessora-seek-legend i {
	--seek-color: #d6a23b;
	background: var(--seek-color) !important;
	border: 2px solid var(--seek-color) !important;
	border-radius: 999px !important;
	display: inline-block !important;
	height: 11px !important;
	width: 11px !important;
}

body.chessora-shell .chessora-seek-legend i.is-bullet { --seek-color: #f1cf77; }
body.chessora-shell .chessora-seek-legend i.is-blitz { --seek-color: #69d391; }
body.chessora-shell .chessora-seek-legend i.is-rapid { --seek-color: #72b8ff; }
body.chessora-shell .chessora-seek-legend i.is-classical { --seek-color: #d9a4ff; }
body.chessora-shell .chessora-seek-legend i.is-correspondence { --seek-color: #ff9d6f; }
body.chessora-shell .chessora-seek-legend i.is-rated { --seek-color: #f1cf77; }
body.chessora-shell .chessora-seek-legend i.is-unrated {
	--seek-color: #f1cf77;
	background: transparent !important;
}
body.chessora-shell .chessora-seek-legend i.is-owned { --seek-color: #c8d0c8; }

body.chessora-shell .chessora-seek-plot {
	background:
		linear-gradient(rgba(241, 207, 119, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(241, 207, 119, 0.08) 1px, transparent 1px),
		radial-gradient(circle at 50% 50%, rgba(214, 162, 59, 0.12), transparent 62%),
		#08130f !important;
	background-size: 100% 16.66%, 20% 100%, auto, auto !important;
	border: 1px solid rgba(214, 162, 59, 0.24) !important;
	border-radius: 10px !important;
	min-height: 470px !important;
	overflow: hidden !important;
	position: relative !important;
}

body.chessora-shell .chessora-seek-y-axis {
	bottom: 36px !important;
	color: rgba(247, 238, 210, 0.62) !important;
	display: flex !important;
	flex-direction: column !important;
	font-size: 0.74rem !important;
	font-weight: 850 !important;
	justify-content: space-between !important;
	left: 12px !important;
	position: absolute !important;
	top: 18px !important;
	z-index: 1 !important;
}

body.chessora-shell .chessora-seek-grid {
	align-items: end !important;
	bottom: 0 !important;
	color: #f1cf77 !important;
	display: grid !important;
	font-size: 0.78rem !important;
	font-weight: 950 !important;
	grid-template-columns: repeat(5, 1fr) !important;
	left: 42px !important;
	position: absolute !important;
	right: 16px !important;
	top: 0 !important;
	z-index: 1 !important;
}

body.chessora-shell .chessora-seek-grid span {
	border-left: 1px solid rgba(214, 162, 59, 0.12) !important;
	padding: 0 0 12px 10px !important;
}

body.chessora-shell .chessora-seek-dot {
	align-items: center !important;
	--seek-color: #d6a23b;
	background: var(--seek-color) !important;
	border: 2px solid var(--seek-color) !important;
	border-radius: 999px !important;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(241, 207, 119, 0.36) !important;
	cursor: pointer !important;
	display: inline-flex !important;
	height: 10px !important;
	justify-content: center !important;
	padding: 0 !important;
	position: absolute !important;
	transform: translate(-50%, -50%) !important;
	transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease !important;
	width: 10px !important;
	z-index: 3 !important;
}

body.chessora-shell .chessora-seek-dot.is-unrated {
	background: transparent !important;
}

body.chessora-shell .chessora-seek-dot.is-bullet {
	--seek-color: #f1cf77;
}

body.chessora-shell .chessora-seek-dot.is-blitz {
	--seek-color: #69d391;
}

body.chessora-shell .chessora-seek-dot.is-rapid {
	--seek-color: #72b8ff;
}

body.chessora-shell .chessora-seek-dot.is-classical {
	--seek-color: #d9a4ff;
}

body.chessora-shell .chessora-seek-dot.is-correspondence,
body.chessora-shell .chessora-seek-dot.is-daily {
	--seek-color: #ff9d6f;
}

body.chessora-shell .chessora-seek-dot:hover,
body.chessora-shell .chessora-seek-dot:focus,
body.chessora-shell .chessora-seek-dot.is-active {
	border-color: var(--seek-color) !important;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), 0 0 0 7px rgba(241, 207, 119, 0.18) !important;
	outline: none !important;
	transform: translate(-50%, -50%) scale(1.22) !important;
}

body.chessora-shell .chessora-seek-dot.is-owned {
	--seek-color: #c8d0c8;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

body.chessora-shell .chessora-seek-popover {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.12), rgba(255, 255, 255, 0.035)),
		#18241f !important;
	border: 1px solid rgba(241, 207, 119, 0.34) !important;
	border-radius: 10px !important;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34) !important;
	color: #fff7d7 !important;
	display: grid !important;
	gap: 10px !important;
	left: 0;
	min-width: 190px !important;
	padding: 12px !important;
	pointer-events: none !important;
	position: absolute !important;
	top: 0;
	z-index: 8 !important;
}

body.chessora-shell .chessora-seek-popover-head {
	align-items: center !important;
	display: flex !important;
	gap: 10px !important;
}

body.chessora-shell .chessora-seek-popover-avatar {
	align-items: center !important;
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(255, 247, 215, 0.48) !important;
	border-radius: 999px !important;
	color: #151008 !important;
	display: inline-flex !important;
	flex: 0 0 32px !important;
	font-size: 0.88rem !important;
	font-weight: 950 !important;
	height: 32px !important;
	justify-content: center !important;
	overflow: hidden !important;
	width: 32px !important;
}

body.chessora-shell .chessora-seek-popover-avatar img {
	display: block !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

body.chessora-shell .chessora-seek-popover[hidden] {
	display: none !important;
}

body.chessora-shell .chessora-seek-popover strong {
	color: #fff7d7 !important;
	font-size: 0.9rem !important;
	line-height: 1.2 !important;
}

body.chessora-shell .chessora-seek-popover-meta {
	display: grid !important;
	gap: 7px !important;
}

body.chessora-shell .chessora-seek-popover-meta span {
	align-items: center !important;
	color: #f1cf77 !important;
	display: flex !important;
	font-size: 0.82rem !important;
	font-weight: 900 !important;
	gap: 8px !important;
}

body.chessora-shell .chessora-seek-popover-meta i {
	align-items: center !important;
	background: rgba(241, 207, 119, 0.14) !important;
	border: 1px solid rgba(241, 207, 119, 0.24) !important;
	border-radius: 999px !important;
	color: #f1cf77 !important;
	display: inline-flex !important;
	font-style: normal !important;
	height: 22px !important;
	justify-content: center !important;
	line-height: 1 !important;
	width: 22px !important;
}

body.chessora-shell .chessora-seek-popover-meta b {
	color: #fff7d7 !important;
	font-weight: 950 !important;
}

body.chessora-shell .chessora-seek-empty {
	color: #f7eed2 !important;
	display: grid !important;
	gap: 6px !important;
	left: 50% !important;
	place-items: center !important;
	position: absolute !important;
	text-align: center !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	z-index: 2 !important;
}

body.chessora-shell .chessora-seek-empty span {
	color: #bfc8bd !important;
	font-weight: 750 !important;
}

body.chessora-shell .chessora-seek-detail {
	align-self: start !important;
	display: grid !important;
	gap: 16px !important;
	padding: 18px !important;
	position: sticky !important;
	top: 96px !important;
}

body.chessora-shell .chessora-seek-detail-avatar {
	align-items: center !important;
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(255, 247, 215, 0.52) !important;
	border-radius: 999px !important;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24) !important;
	color: #151008 !important;
	display: inline-flex !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	height: 48px !important;
	justify-content: center !important;
	overflow: hidden !important;
	position: absolute !important;
	right: 18px !important;
	top: 18px !important;
	width: 48px !important;
}

body.chessora-shell .chessora-seek-detail-avatar img {
	display: block !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

body.chessora-shell .chessora-seek-detail-kicker {
	color: #f1cf77 !important;
	font-size: 0.76rem !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
}

body.chessora-shell .chessora-seek-detail h2 {
	color: #fff7d7 !important;
	font-size: 1.35rem !important;
	line-height: 1.15 !important;
	margin: 0 !important;
	max-width: calc(100% - 58px) !important;
}

body.chessora-shell .chessora-seek-detail h2 a {
	color: inherit !important;
	text-decoration: none !important;
}

body.chessora-shell .chessora-seek-detail h2 a:hover,
body.chessora-shell .chessora-seek-detail h2 a:focus {
	color: #f1cf77 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
}

body.chessora-shell .chessora-seek-detail-rating {
	align-items: end !important;
	display: flex !important;
	gap: 8px !important;
}

body.chessora-shell .chessora-seek-detail-rating strong {
	color: #f1cf77 !important;
	font-size: 2.25rem !important;
	line-height: 1 !important;
}

body.chessora-shell .chessora-seek-detail-rating span,
body.chessora-shell .chessora-seek-detail dt {
	color: #bfc8bd !important;
	font-size: 0.76rem !important;
	font-weight: 850 !important;
	text-transform: uppercase !important;
}

body.chessora-shell .chessora-seek-detail dl {
	display: grid !important;
	gap: 10px !important;
	margin: 0 !important;
}

body.chessora-shell .chessora-seek-detail dl div {
	align-items: center !important;
	border-top: 1px solid rgba(214, 162, 59, 0.14) !important;
	display: flex !important;
	justify-content: space-between !important;
	padding-top: 10px !important;
}

body.chessora-shell .chessora-seek-detail dd {
	color: #fff7d7 !important;
	font-weight: 950 !important;
	margin: 0 !important;
	text-align: right !important;
}

@media (max-width: 860px) {
	body.chessora-shell .chessora-seek-graph-panel {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell .chessora-seek-plot {
		min-height: 390px !important;
	}

	body.chessora-shell .chessora-seek-detail {
		position: static !important;
	}
}

/* Challenges page uses the same dark room language as the play setup. */
body.chessora-shell.view-challenges .shell-component-card {
	background:
		linear-gradient(90deg, rgba(7, 14, 18, 0.34), transparent 10%, transparent 90%, rgba(7, 14, 18, 0.34)),
		#6f746f !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin-inline: auto !important;
	max-width: 1584px !important;
	padding: 32px 36px 54px !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page {
	--challenge-bg: #07100e;
	--challenge-panel: #0d1714;
	--challenge-module-panel: #2f3a33;
	--challenge-module-panel-2: #26322b;
	--challenge-module-head: #3a422c;
	--challenge-module-line: rgba(205, 218, 210, 0.28);
	--challenge-module-line-soft: rgba(205, 218, 210, 0.18);
	--challenge-module-text: #eef5f1;
	--challenge-module-muted: #cbd6d0;
	--challenge-board-light: #e7c98f;
	--challenge-board-dark: #9b5f2f;
	--challenge-board-edge: #234e3d;
	--challenge-board-inner: #10211c;
	--challenge-line: rgba(241, 207, 119, 0.28);
	--challenge-gold: #f1cf77;
	--challenge-text: #fff7d7;
	--challenge-muted: #bfc8bd;
	background:
		radial-gradient(circle at 20% 8%, rgba(214, 162, 59, 0.09), transparent 26%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
		#101923 !important;
	border: 0 !important;
	border-radius: 18px !important;
	box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36) !important;
	color: var(--challenge-text) !important;
	display: grid !important;
	gap: 18px !important;
	margin: 0 auto !important;
	max-width: 1514px !important;
	padding: 34px 84px 40px !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page > .chessora-tabs {
	display: none !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page [hidden],
body.chessora-shell.view-challenges .chessora-challenges-page [data-lobby-panel][hidden] {
	display: none !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-page-head {
	align-items: center !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: flex !important;
	gap: 18px !important;
	justify-content: space-between !important;
	padding: 0 0 18px !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-kicker {
	background: transparent !important;
	border: 0 !important;
	color: var(--challenge-gold) !important;
	font-size: 0.78rem !important;
	font-weight: 950 !important;
	letter-spacing: 0 !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-page-head h1 {
	color: var(--challenge-text) !important;
	font-size: 2.05rem !important;
	line-height: 1.05 !important;
	margin: 0 !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-lobby-tabs {
	background: rgba(13, 23, 20, 0.84) !important;
	border: 1px solid var(--challenge-line) !important;
	border-radius: 12px !important;
	display: flex !important;
	gap: 8px !important;
	padding: 8px !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-lobby-tabs button {
	background: rgba(255, 255, 255, 0.055) !important;
	border: 1px solid rgba(241, 207, 119, 0.16) !important;
	border-radius: 8px !important;
	color: var(--challenge-muted) !important;
	min-height: 38px !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-lobby-tabs button.is-active,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-lobby-tabs button:hover,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-lobby-tabs button:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, 0.62) !important;
	color: #151008 !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-lobby-tabs button span {
	background: rgba(0, 0, 0, 0.22) !important;
	border-color: rgba(255, 255, 255, 0.18) !important;
	color: inherit !important;
}

body.chessora-shell.view-challenges .chessora-seek-graph-panel {
	gap: 22px !important;
	grid-template-columns: minmax(0, 1fr) 330px !important;
}

body.chessora-shell.view-challenges .chessora-seek-board,
body.chessora-shell.view-challenges .chessora-seek-detail,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-table,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-lobby-table,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-leaderboard-pool {
	background:
		linear-gradient(180deg, rgba(230, 236, 232, 0.12), rgba(255, 255, 255, 0.04)),
		var(--challenge-module-panel) !important;
	border: 1px solid var(--challenge-module-line) !important;
	border-radius: 10px !important;
	box-shadow:
		0 22px 54px rgba(0, 0, 0, 0.32),
		inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
	color: var(--challenge-module-text) !important;
}

body.chessora-shell.view-challenges .chessora-seek-board {
	border-color: var(--challenge-module-line) !important;
	padding: 22px !important;
}

body.chessora-shell.view-challenges .chessora-seek-plot {
	background:
		linear-gradient(rgba(205, 218, 210, 0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(205, 218, 210, 0.12) 1px, transparent 1px),
		radial-gradient(circle at 50% 50%, rgba(205, 218, 210, 0.06), transparent 62%),
		#08130f !important;
	background-size: 100% 16.66%, 20% 100%, auto, auto !important;
	border: 1px solid var(--challenge-module-line) !important;
	border-radius: 10px !important;
	box-shadow:
		0 18px 34px rgba(0, 0, 0, 0.2),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
	min-height: 550px !important;
}

body.chessora-shell.view-challenges .chessora-seek-detail {
	top: 118px !important;
	position: sticky !important;
}

body.chessora-shell.view-challenges .chessora-seek-detail > .chessora-seek-detail-avatar {
	align-items: center !important;
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(255, 247, 215, 0.52) !important;
	border-radius: 999px !important;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24) !important;
	color: #151008 !important;
	display: inline-flex !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	height: 48px !important;
	justify-content: center !important;
	overflow: hidden !important;
	position: absolute !important;
	right: 16px !important;
	top: 16px !important;
	width: 48px !important;
	z-index: 2 !important;
}

body.chessora-shell.view-challenges .chessora-seek-detail > .chessora-seek-detail-avatar img {
	display: block !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

body.chessora-shell.view-challenges .chessora-seek-detail h2 a,
body.chessora-shell.view-challenges .chessora-seek-detail h2 a span {
	color: #fff7d7 !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-table-row {
	background: rgba(255, 255, 255, 0.035) !important;
	border-color: rgba(241, 207, 119, 0.12) !important;
	color: var(--challenge-text) !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-table-head {
	background: rgba(241, 207, 119, 0.14) !important;
	color: var(--challenge-gold) !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-table-row small,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-table-row span,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-table-empty {
	color: var(--challenge-muted) !important;
}

@media (max-width: 1100px) {
	body.chessora-shell.view-challenges .shell-component-card {
		padding: 22px !important;
	}

	body.chessora-shell.view-challenges .chessora-challenges-page {
		padding: 24px !important;
	}

	body.chessora-shell.view-challenges .chessora-seek-graph-panel {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-challenges .chessora-seek-detail {
		position: static !important;
	}
}

/* Header account/search polish. Keep this late so page-specific skins inherit it. */
body.chessora-shell .shell-search {
	flex: 0 1 150px;
	min-width: 120px;
	max-width: 160px;
}

body.chessora-shell .shell-actions {
	gap: 10px;
}

body.chessora-shell .shell-user-menu-account {
	background: #fffdf9;
	border-color: var(--shell-border);
	box-shadow: 0 8px 20px rgba(80, 55, 22, 0.06);
}

body.chessora-shell .shell-user-pill {
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

body.chessora-shell .shell-logout-button {
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: var(--shell-muted);
}

body.chessora-shell .shell-logout-button:hover,
body.chessora-shell .shell-logout-button:focus-visible {
	background: var(--shell-gold-soft) !important;
	color: #19140b !important;
}

body.chessora-shell.view-game .shell-user-menu-account {
	background: rgba(255, 255, 255, 0.045);
	border-color: rgba(214, 162, 59, 0.18);
	box-shadow: none;
}

body.chessora-shell.view-game .shell-logout-button {
	color: var(--game-matte-muted);
}

@media (max-width: 1100px) {
	body.chessora-shell .shell-menu-toggle {
		grid-column: 2;
	}

	body.shell-menu-open.chessora-shell .shell-search {
		max-width: none;
		width: 100%;
	}
}

/* Unified site theme: use the dark green/gold Pawn Realm palette across shell and app pages. */
body.chessora-shell {
	--shell-bg: #07100e;
	--shell-surface: #0d1714;
	--shell-panel: #111c18;
	--shell-ink: #f4f6f2;
	--shell-muted: #aeb8b2;
	--shell-gold: #d6a23b;
	--shell-gold-soft: #f1cf77;
	--shell-border: rgba(214, 162, 59, 0.24);
	background:
		radial-gradient(circle at 18% 0, rgba(214, 162, 59, 0.14), transparent 30rem),
		linear-gradient(180deg, #07100e 0%, #0b1512 52%, #060b0a 100%) !important;
	color: var(--shell-ink) !important;
}

body.chessora-shell .shell-site-header,
body.chessora-shell .shell-footer {
	background: rgba(8, 16, 14, 0.94) !important;
	border-color: var(--shell-border) !important;
	color: var(--shell-ink) !important;
}

body.chessora-shell .shell-page,
body.chessora-shell .shell-component-card {
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: var(--shell-ink) !important;
}

body.chessora-shell .shell-nav a,
body.chessora-shell .shell-login-link,
body.chessora-shell .shell-user-menu-account,
body.chessora-shell .shell-user-pill,
body.chessora-shell .shell-menu-toggle {
	background: rgba(255, 255, 255, 0.045) !important;
	border-color: rgba(214, 162, 59, 0.18) !important;
	color: var(--shell-ink) !important;
}

body.chessora-shell .shell-nav a:hover,
body.chessora-shell .shell-nav a.is-active,
body.chessora-shell .shell-login-link:hover,
body.chessora-shell .shell-logout-button:hover,
body.chessora-shell .shell-logout-button:focus-visible {
	background: rgba(214, 162, 59, 0.16) !important;
	color: var(--shell-gold-soft) !important;
}

body.chessora-shell .shell-search input[type="search"] {
	background: #101820 !important;
	border-color: rgba(214, 162, 59, 0.22) !important;
	color: var(--shell-ink) !important;
}

body.chessora-shell .shell-search input[type="search"]::placeholder,
body.chessora-shell .shell-footer span,
body.chessora-shell .shell-logout-button {
	color: var(--shell-muted) !important;
}

body.chessora-shell .shell-mega-item {
	position: relative;
}

body.chessora-shell .shell-mega-panel {
	background: #111b18;
	border: 1px solid rgba(214, 162, 59, 0.28);
	border-radius: 12px;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
	display: grid;
	gap: 8px;
	left: 50%;
	min-width: 260px;
	opacity: 0;
	padding: 14px;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 6px);
	transform: translateX(-50%) translateY(-4px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	visibility: hidden;
	z-index: 2000;
}

body.chessora-shell .shell-mega-item:hover .shell-mega-panel,
body.chessora-shell .shell-mega-item:focus-within .shell-mega-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
	visibility: visible;
}

body.chessora-shell .shell-mega-panel::before {
	content: "";
	height: 8px;
	left: 0;
	position: absolute;
	right: 0;
	top: -8px;
}

body.chessora-shell .shell-mega-panel strong {
	color: var(--shell-gold-soft);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.chessora-shell .shell-mega-panel > span {
	color: var(--shell-muted);
	font-size: 0.86rem;
	line-height: 1.35;
	margin-bottom: 4px;
	white-space: normal;
}

body.chessora-shell .shell-mega-panel a {
	justify-content: flex-start;
	min-height: 38px;
	width: 100%;
}

body.chessora-shell .shell-notification-bell i {
	color: #f1cf77;
	font-size: 0.9rem;
	line-height: 1;
}

body.chessora-shell .chessora {
	--chessora-ink: #f4f6f2;
	--chessora-muted: #aeb8b2;
	--chessora-line: rgba(214, 162, 59, 0.24);
	--chessora-panel: #0d1714;
	--chessora-soft: rgba(255, 255, 255, 0.045);
	--chessora-green: #6fbe4a;
	--chessora-green-dark: #2f7f4e;
	--chessora-gold: #f1cf77;
	background:
		radial-gradient(circle at 20% 8%, rgba(214, 162, 59, 0.11), transparent 28%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
		#101923 !important;
	border-color: var(--chessora-line) !important;
	color: var(--chessora-ink) !important;
}

body.chessora-shell .chessora :where(h1, h2, h3, h4, strong, b, label, dt, dd) {
	color: var(--chessora-ink) !important;
}

body.chessora-shell .chessora :where(p, span, small, li) {
	color: var(--chessora-muted) !important;
}

body.chessora-shell .chessora :where(.chessora-kicker, a) {
	color: var(--chessora-gold) !important;
}

body.chessora-shell .chessora :where(
	.chessora-tabs,
	.chessora-correspondence-hero,
	.chessora-correspondence-profile-card,
	.chessora-correspondence-goal-card,
	.chessora-correspondence-card,
	.chessora-correspondence-board-card,
	.chessora-correspondence-active,
	.chessora-correspondence-rules article,
	.chessora-turn-list article,
	.chessora-correspondence-lobby article,
	.chessora-table,
	.chessora-lobby-table,
	.chessora-panel,
	.chessora-card
) {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.08), rgba(255, 255, 255, 0.025)),
		var(--chessora-panel) !important;
	border-color: var(--chessora-line) !important;
	box-shadow: 0 20px 52px rgba(0, 0, 0, 0.26) !important;
	color: var(--chessora-ink) !important;
}

body.chessora-shell .chessora :where(.chessora-tabs a, .chessora-button, button, .chessora-lobby-tabs button) {
	background: rgba(255, 255, 255, 0.045) !important;
	border-color: rgba(214, 162, 59, 0.18) !important;
	color: var(--chessora-ink) !important;
}

body.chessora-shell .chessora :where(.chessora-tabs a.is-active, .chessora-tabs a:hover, .chessora-button-primary, button.is-active, button:hover) {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, 0.62) !important;
	color: #151008 !important;
}

body.chessora-shell .chessora :where(input, select, textarea) {
	background: #101820 !important;
	border-color: rgba(214, 162, 59, 0.22) !important;
	color: var(--chessora-ink) !important;
}

/* Header without logo: give navigation the primary row space and keep search from covering links. */
body.chessora-shell .shell-header-row {
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 18px !important;
}

body.chessora-shell .shell-nav {
	flex-wrap: wrap !important;
	justify-content: flex-start !important;
	white-space: normal !important;
}

body.chessora-shell .shell-actions {
	position: relative;
	z-index: 1;
}

body.chessora-shell .shell-search {
	flex-basis: 150px !important;
	max-width: 150px !important;
}

/* Compact dark live tables. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-matches.chessora-lobby-table,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-table,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.08), rgba(255, 255, 255, 0.018)),
		#0d1714 !important;
	border-color: rgba(241, 207, 119, 0.28) !important;
	color: #f7eed2 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-row,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-row {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.035) !important;
	border-color: rgba(241, 207, 119, 0.13) !important;
	color: #f7eed2 !important;
	gap: 12px !important;
	min-height: 44px !important;
	padding: 8px 14px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-head,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-head {
	background: rgba(241, 207, 119, 0.14) !important;
	color: #f1cf77 !important;
	font-size: 0.7rem !important;
	min-height: 34px !important;
	padding-bottom: 7px !important;
	padding-top: 7px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-row:not(.chessora-open-match-head):hover,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-row:not(.chessora-open-match-head):focus,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-row:not(.chessora-table-head):hover,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-row:not(.chessora-table-head):focus {
	background: rgba(241, 207, 119, 0.12) !important;
	box-shadow: inset 3px 0 0 #f1cf77 !important;
	color: #fff7d7 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-player strong,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-row strong {
	color: #fff7d7 !important;
	font-size: 0.9rem !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-player small,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-row > span:not(.chessora-open-match-player),
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-row span,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-row small {
	color: #c2cdc6 !important;
	font-size: 0.8rem !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-open-match-row b,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table mark,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-button {
	background: rgba(241, 207, 119, 0.16) !important;
	border-color: rgba(241, 207, 119, 0.36) !important;
	color: #f1cf77 !important;
	min-height: 28px !important;
	padding: 5px 10px !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-live-games-empty {
	background: rgba(255, 255, 255, 0.035) !important;
	border: 1px solid rgba(241, 207, 119, 0.13) !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	min-height: 30px !important;
	padding: 4px 14px !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-live-games-empty:hover,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-live-games-empty:focus {
	background: rgba(255, 255, 255, 0.035) !important;
	box-shadow: none !important;
	color: #c2cdc6 !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-row.chessora-table-empty.chessora-live-games-empty:hover,
body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-table-row.chessora-table-empty.chessora-live-games-empty:focus {
	background: rgba(255, 255, 255, 0.035) !important;
	box-shadow: none !important;
	color: #c2cdc6 !important;
}

body.chessora-shell.view-challenges .chessora-challenges-page .chessora-live-games-table .chessora-live-games-empty span {
	color: #c2cdc6 !important;
	font-size: 0.8rem !important;
	text-align: center !important;
}

/* Rebuilt lobby tabs: keep all non-seek panels independent from legacy table skins. */
body.chessora-shell .chessora-challenges-page .chessora-lobby-panel {
	background:
		linear-gradient(180deg, rgba(230, 236, 232, 0.12), rgba(255, 255, 255, 0.04)),
		var(--challenge-module-panel) !important;
	border: 1px solid var(--challenge-module-line) !important;
	border-radius: 10px !important;
	box-shadow:
		0 22px 54px rgba(0, 0, 0, 0.32),
		inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
	color: var(--challenge-module-text) !important;
	display: block !important;
	margin-top: 20px !important;
	padding: 16px 18px 18px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-panel[hidden] {
	display: none !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-panel-head,
body.chessora-shell .chessora-challenges-page .chessora-live-games-summary {
	align-items: center !important;
	border-bottom: 1px solid var(--challenge-module-line-soft) !important;
	display: flex !important;
	justify-content: space-between !important;
	margin-bottom: 10px !important;
	min-height: 34px !important;
	padding-bottom: 10px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-panel-head > div,
body.chessora-shell .chessora-challenges-page .chessora-live-games-summary > div {
	display: grid !important;
	gap: 2px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-panel :where(strong, b, h2) {
	color: var(--challenge-module-text) !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-panel :where(span, small) {
	color: var(--challenge-module-muted) !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-grid,
body.chessora-shell .chessora-challenges-page .chessora-leaderboard-pool {
	display: grid !important;
	gap: 8px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-grid-row {
	align-items: center !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
		var(--challenge-module-panel-2) !important;
	border: 1px solid var(--challenge-module-line-soft) !important;
	border-radius: 7px !important;
	color: var(--challenge-module-text) !important;
	display: grid !important;
	gap: 10px !important;
	min-height: 34px !important;
	padding: 6px 14px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-live-games-panel .chessora-lobby-grid-row {
	grid-template-columns: 1fr 1.5fr 1.5fr 1.2fr 1fr .9fr auto !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row {
	grid-template-columns: .7fr 2fr 1fr 1.2fr auto !important;
}

body.chessora-shell .chessora-challenges-page .chessora-daily-grid .chessora-lobby-grid-row,
body.chessora-shell .chessora-challenges-page .chessora-team-grid .chessora-lobby-grid-row {
	grid-template-columns: .7fr 2fr 1fr 1fr 1.7fr auto !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-grid-head {
	background: var(--challenge-module-head) !important;
	border-color: var(--challenge-module-line-soft) !important;
	min-height: 30px !important;
	padding-bottom: 5px !important;
	padding-top: 5px !important;
	text-transform: uppercase !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-grid-head span {
	color: var(--challenge-module-text) !important;
	font-size: 0.74rem !important;
	font-weight: 900 !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-grid-row:not(.chessora-lobby-grid-head):hover,
body.chessora-shell .chessora-challenges-page .chessora-lobby-card:hover {
	background:
		linear-gradient(180deg, rgba(230, 236, 232, 0.16), rgba(255, 255, 255, 0.045)),
		var(--challenge-module-panel) !important;
	border-color: var(--challenge-module-line) !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-empty {
	align-items: center !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
		var(--challenge-module-panel-2) !important;
	border: 1px solid var(--challenge-module-line-soft) !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	color: var(--challenge-module-muted) !important;
	display: flex !important;
	justify-content: center !important;
	min-height: 30px !important;
	padding: 4px 14px !important;
	text-align: center !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-empty:hover {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
		var(--challenge-module-panel-2) !important;
	border-color: var(--challenge-module-line-soft) !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-empty span {
	color: var(--challenge-module-muted) !important;
	font-size: 0.8rem !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-card-grid {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 300px)) !important;
	justify-content: start !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
		var(--challenge-module-panel-2) !important;
	border: 1px solid var(--challenge-module-line-soft) !important;
	border-radius: 7px !important;
	display: grid !important;
	gap: 10px !important;
	padding: 12px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-card > div {
	display: grid !important;
	gap: 3px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-card > b {
	font-size: 1.45rem !important;
	line-height: 1 !important;
}

body.chessora-shell .chessora-challenges-page .chessora-lobby-card footer {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leaderboard-pool {
	background:
		linear-gradient(180deg, rgba(230, 236, 232, 0.1), rgba(255, 255, 255, 0.035)),
		var(--challenge-module-panel-2) !important;
	border: 1px solid var(--challenge-module-line-soft) !important;
	border-radius: 9px !important;
	margin-top: 10px !important;
	overflow: hidden !important;
	padding: 12px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leaderboard-pool header {
	align-items: center !important;
	background:
		linear-gradient(90deg, rgba(244, 207, 116, 0.22), rgba(255, 255, 255, 0.04)),
		#17231e !important;
	border: 1px solid rgba(244, 207, 116, 0.38) !important;
	border-radius: 8px !important;
	box-shadow: inset 0 0 0 1px rgba(255, 247, 215, 0.05) !important;
	display: flex !important;
	justify-content: space-between !important;
	margin-bottom: 10px !important;
	padding: 12px 14px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leaderboard-pool h2 {
	color: #fff3ba !important;
	font-size: 1.12rem !important;
	font-weight: 950 !important;
	margin: 0 !important;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.76) !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leaderboard-pool header span {
	align-items: center !important;
	background: rgba(72, 212, 111, 0.22) !important;
	border: 1px solid rgba(113, 238, 143, 0.46) !important;
	border-radius: 999px !important;
	color: #d3ffdc !important;
	display: inline-flex !important;
	font-size: 0.8rem !important;
	font-weight: 950 !important;
	min-height: 28px !important;
	padding: 6px 10px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid {
	gap: 7px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row {
	grid-template-columns: 88px minmax(180px, 1.2fr) minmax(110px, 0.55fr) minmax(130px, 0.75fr) auto !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-head {
	background: #17231e !important;
	border-color: rgba(205, 218, 210, 0.24) !important;
	min-height: 36px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-head span {
	color: #f4f8f5 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55) !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row:not(.chessora-lobby-grid-head) {
	border-radius: 8px !important;
	min-height: 62px !important;
	padding: 10px 14px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row:not(.chessora-lobby-grid-head) > span:first-child strong {
	align-items: center !important;
	background: linear-gradient(180deg, #f4cf74, #d59728) !important;
	border: 1px solid rgba(255, 247, 215, 0.38) !important;
	border-radius: 999px !important;
	color: #151008 !important;
	display: inline-flex !important;
	font-size: 0.9rem !important;
	height: 34px !important;
	justify-content: center !important;
	min-width: 46px !important;
	padding: 0 10px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-player strong {
	color: var(--challenge-module-text) !important;
	font-size: 1rem !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-player small {
	color: rgba(203, 214, 208, 0.72) !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row:not(.chessora-lobby-grid-head) > span:nth-child(3) strong {
	color: #fff4bd !important;
	font-size: 1.18rem !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row:not(.chessora-lobby-grid-head) > span:nth-child(4) {
	color: var(--challenge-module-muted) !important;
	font-weight: 850 !important;
}

body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-button {
	min-height: 34px !important;
	min-width: 80px !important;
	padding: 7px 12px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-card {
	align-content: start !important;
	min-height: 230px !important;
	padding: 16px !important;
	position: relative !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-toolbar {
	align-items: end !important;
	border-bottom: 1px solid var(--challenge-module-line-soft) !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) !important;
	margin-bottom: 10px !important;
	padding-bottom: 12px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-toolbar label {
	display: grid !important;
	gap: 6px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-toolbar span {
	color: var(--challenge-module-muted) !important;
	font-size: 0.72rem !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-toolbar input,
body.chessora-shell .chessora-challenges-page .chessora-player-roster-toolbar select {
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid var(--challenge-module-line-soft) !important;
	border-radius: 8px !important;
	color: var(--challenge-module-text) !important;
	min-height: 38px !important;
	padding: 8px 10px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-toolbar select:focus {
	background: var(--challenge-module-panel-2) !important;
	border-color: var(--challenge-module-line) !important;
	outline: none !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-toolbar select option {
	background: #26322b !important;
	color: #eef5f1 !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-toolbar input::placeholder {
	color: rgba(203, 214, 208, 0.72) !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-head {
	align-items: center !important;
	display: flex !important;
	gap: 10px !important;
	min-width: 0 !important;
	padding-right: 70px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-head > strong {
	color: var(--challenge-module-text) !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-actions {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	gap: 6px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-actions a {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid var(--challenge-module-line-soft) !important;
	border-radius: 999px !important;
	color: var(--challenge-module-text) !important;
	display: inline-flex !important;
	font-size: 0.82rem !important;
	font-weight: 950 !important;
	height: 26px !important;
	justify-content: center !important;
	line-height: 1 !important;
	text-decoration: none !important;
	width: 26px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-actions a:hover,
body.chessora-shell .chessora-challenges-page .chessora-player-roster-actions a:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(255, 223, 139, 0.64) !important;
	color: #130f08 !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-avatar {
	align-items: center !important;
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(255, 247, 215, 0.46) !important;
	border-radius: 999px !important;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22) !important;
	color: #151008 !important;
	display: inline-flex !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	height: 52px !important;
	justify-content: center !important;
	overflow: visible !important;
	position: absolute !important;
	right: 16px !important;
	top: 16px !important;
	width: 52px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-avatar img {
	border-radius: inherit !important;
	display: block !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-avatar i {
	background: #48d46f !important;
	border: 3px solid var(--challenge-module-panel) !important;
	border-radius: 999px !important;
	bottom: -1px !important;
	box-shadow: 0 0 0 1px rgba(72, 212, 111, 0.44) !important;
	height: 15px !important;
	position: absolute !important;
	right: -1px !important;
	width: 15px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-ratings {
	display: grid !important;
	gap: 7px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin-top: 16px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-ratings span {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.075) !important;
	border: 1px solid var(--challenge-module-line-soft) !important;
	border-radius: 7px !important;
	color: var(--challenge-module-text) !important;
	display: inline-flex !important;
	font-size: 0.82rem !important;
	font-weight: 900 !important;
	gap: 5px !important;
	justify-content: center !important;
	min-height: 32px !important;
	min-width: 0 !important;
	padding: 6px !important;
	white-space: nowrap !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-ratings b {
	align-items: center !important;
	background: linear-gradient(180deg, #f4cf74, #d59728) !important;
	border: 1px solid rgba(255, 247, 215, 0.34) !important;
	border-radius: 999px !important;
	color: #151008 !important;
	display: inline-flex !important;
	flex: 0 0 20px !important;
	font-size: 0.76rem !important;
	height: 20px !important;
	justify-content: center !important;
	line-height: 1 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) !important;
	width: 20px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-card footer {
	align-items: center !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin-top: 10px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-card footer .chessora-button {
	flex: 0 0 auto !important;
	justify-content: center !important;
	min-height: 38px !important;
	min-width: 82px !important;
	padding: 8px 13px !important;
}

body.chessora-shell .chessora-challenges-page .chessora-player-roster-empty {
	grid-column: 1 / -1 !important;
}

@media (max-width: 900px) {
	body.chessora-shell .chessora-challenges-page .chessora-lobby-grid-row,
	body.chessora-shell .chessora-challenges-page .chessora-live-games-panel .chessora-lobby-grid-row,
	body.chessora-shell .chessora-challenges-page .chessora-leader-grid .chessora-lobby-grid-row,
	body.chessora-shell .chessora-challenges-page .chessora-daily-grid .chessora-lobby-grid-row,
	body.chessora-shell .chessora-challenges-page .chessora-team-grid .chessora-lobby-grid-row {
		grid-template-columns: 1fr !important;
	}
}

/* Live playing board theme. CSS-only: preserve Chessground DOM and all game hooks. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	--play-bg: #07100e;
	--play-panel: #0d1714;
	--play-panel-2: #121c16;
	--play-soft: rgba(255, 255, 255, 0.045);
	--play-line: rgba(241, 207, 119, 0.24);
	--play-line-strong: rgba(241, 207, 119, 0.42);
	--play-text: #f7eed2;
	--play-muted: #c2cdc6;
	--play-gold: #f1cf77;
	--play-green: #6fbe4a;
	--chessora-board-light: #e7c98f;
	--chessora-board-dark: #9b5f2f;
	--chessora-board-edge: #08110f;
	--chessora-board-inner: #352112;
	background:
		radial-gradient(circle at 50% 0%, rgba(241, 207, 119, 0.11), transparent 30rem),
		linear-gradient(180deg, #101923 0%, #07100e 100%) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-room-sidebar,
	.chessora-play-stage,
	.chessora-game-side,
	.chessora-board-area,
	.chessora-move-panel,
	.chessora-panel,
	.chessora-sidebar-chat,
	.chessora-sidebar-spectators,
	.chessora-sidebar-game-info,
	.chessora-engine-panel,
	.chessora-openings-panel
) {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.07), rgba(255, 255, 255, 0.018)),
		var(--play-panel) !important;
	border-color: var(--play-line) !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	gap: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	background:
		linear-gradient(135deg, rgba(241, 207, 119, 0.13), rgba(111, 190, 74, 0.06)),
		#0a1411 !important;
	border: 1px solid var(--play-line-strong) !important;
	border-radius: 12px !important;
	box-shadow:
		0 22px 58px rgba(0, 0, 0, 0.42),
		inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
	padding: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.1)),
		var(--play-panel-2) !important;
	border: 1px solid rgba(241, 207, 119, 0.28) !important;
	border-radius: 10px !important;
	box-shadow:
		0 20px 46px rgba(0, 0, 0, 0.34),
		inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap {
	background:
		conic-gradient(
			var(--chessora-board-light) 0 25%,
			var(--chessora-board-dark) 0 50%,
			var(--chessora-board-light) 0 75%,
			var(--chessora-board-dark) 0 100%
		) 0 0 / 25% 25%,
		#3a2414 !important;
	border: 7px solid #2b1a0e !important;
	border-radius: 9px !important;
	box-shadow:
		0 16px 34px rgba(0, 0, 0, 0.38),
		inset 0 0 0 1px rgba(241, 207, 119, 0.18) !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board {
	background:
		conic-gradient(
			var(--chessora-board-light) 0 25%,
			var(--chessora-board-dark) 0 50%,
			var(--chessora-board-light) 0 75%,
			var(--chessora-board-dark) 0 100%
		) 0 0 / 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap piece {
	filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.58)) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap piece.dragging {
	filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.48)) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.last-move {
	background: rgba(241, 207, 119, 0.32) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.selected {
	background: rgba(241, 207, 119, 0.44) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.move-dest {
	background: radial-gradient(rgba(7, 16, 14, 0.58) 19%, transparent 21%) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.oc.move-dest {
	background: radial-gradient(transparent 0%, transparent 78%, rgba(241, 207, 119, 0.48) 80%) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.current-premove {
	background: radial-gradient(rgba(111, 190, 74, 0.5) 19%, transparent 21%) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap square.check {
	background: radial-gradient(ellipse at center, rgba(183, 55, 46, 0.88) 0%, rgba(183, 55, 46, 0.42) 46%, transparent 74%) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card {
	background: rgba(255, 255, 255, 0.04) !important;
	border-color: rgba(241, 207, 119, 0.18) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card.is-turn {
	background: rgba(241, 207, 119, 0.11) !important;
	border-color: var(--play-line-strong) !important;
	box-shadow: inset 3px 0 0 var(--play-gold) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(h1, h2, h3, strong, b, label, dt, dd) {
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(p, span, small, li) {
	color: var(--play-muted) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where([data-player-clock], .chessora-clock) {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, 0.62) !important;
	color: #151008 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks {
	color: #d9e5df !important;
	display: grid !important;
	font-size: 0.68rem !important;
	font-weight: 900 !important;
	grid-template-rows: repeat(8, 1fr) !important;
	justify-items: center !important;
	text-align: center !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks span {
	align-items: center !important;
	display: flex !important;
	height: 100% !important;
	justify-content: center !important;
	line-height: 1 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(.chessora-panel-tabs button, .chessora-move-controls button, .chessora-board-actions .chessora-button, .chessora-postgame-actions .chessora-button, .chessora-live-play-menu a) {
	background: rgba(255, 255, 255, 0.045) !important;
	border-color: rgba(241, 207, 119, 0.18) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(.chessora-panel-tabs button.is-active, .chessora-move-controls button:hover, .chessora-board-actions .chessora-button:hover, .chessora-postgame-actions .chessora-button:hover, .chessora-live-play-menu a:hover) {
	background: rgba(241, 207, 119, 0.14) !important;
	border-color: var(--play-line-strong) !important;
	color: var(--play-gold) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button-danger {
	background: rgba(183, 55, 46, 0.16) !important;
	border-color: rgba(183, 55, 46, 0.42) !important;
	color: #ffd3cb !important;
}

/* Board-room contrast pass: side columns and compact player strips. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-sidebar,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.06), rgba(255, 255, 255, 0.015)),
		#0b1512 !important;
	border-color: rgba(241, 207, 119, 0.28) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-sidebar :where(
	.chessora-panel,
	.chessora-chat-panel,
	.chessora-live-stats-overview,
	.chessora-stat-tile,
	.chessora-chat-lines,
	.chessora-chat-rating-preview,
	.chessora-chat-warning,
	.chessora-premium
),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side :where(
	.chessora-panel,
	.chessora-live-play-menu,
	.chessora-live-play-menu a,
	.chessora-move-panel,
	.chessora-moves,
	.chessora-moves li,
	.chessora-engine-panel,
	.chessora-openings-panel
) {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.07), rgba(255, 255, 255, 0.018)),
		#121c16 !important;
	border-color: rgba(241, 207, 119, 0.22) !important;
	box-shadow: none !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-sidebar :where(.chessora-panel-head, .chessora-live-play-menu .chessora-panel-head),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side :where(.chessora-panel-head, .chessora-panel-tabs) {
	background: rgba(241, 207, 119, 0.1) !important;
	border-color: rgba(241, 207, 119, 0.2) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-sidebar :where(h2, h3, strong, b, dt, dd),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side :where(h2, h3, strong, b, dt, dd) {
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-sidebar :where(p, span, small, li),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side :where(p, span, small, li) {
	color: var(--play-muted) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-stat-tile {
	border: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 8px !important;
	min-height: 72px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-stat-tile strong {
	color: #fff7d7 !important;
	font-size: 1.25rem !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-form input,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-form textarea,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-form select {
	background: #101820 !important;
	border-color: rgba(241, 207, 119, 0.22) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-form input::placeholder {
	color: #8f9e97 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-play-menu a {
	align-items: center !important;
	border-top: 0 !important;
	display: grid !important;
	gap: 6px 12px !important;
	grid-template-columns: 42px minmax(0, 1fr) !important;
	margin: 0 !important;
	min-height: 58px !important;
	padding: 10px 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-play-menu a + a {
	border-top: 1px solid rgba(241, 207, 119, 0.14) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-play-menu a:hover {
	background: rgba(241, 207, 119, 0.12) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-play-menu a > .chessora-play-option-icon,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-module-icon {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(248, 217, 133, 0.56) !important;
	color: #151008 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves {
	border-radius: 8px !important;
	padding: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves li {
	border: 1px solid rgba(241, 207, 119, 0.13) !important;
	min-height: 34px !important;
	padding: 7px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves li.is-empty {
	color: var(--play-muted) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	gap: 4px !important;
	justify-items: center !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card {
	align-items: center !important;
	border-radius: 10px !important;
	grid-template-columns: 44px minmax(0, 1fr) auto 10px auto !important;
	margin-inline: auto !important;
	max-width: min(100%, 640px) !important;
	min-height: 56px !important;
	padding: 7px 12px !important;
	width: min(100%, 640px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card-top {
	margin-bottom: 2px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card-bottom {
	margin-top: 2px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-avatar {
	height: 36px !important;
	width: 36px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card strong {
	font-size: 0.9rem !important;
	line-height: 1.15 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rating-pill {
	background: rgba(241, 207, 119, 0.16) !important;
	border: 1px solid rgba(241, 207, 119, 0.32) !important;
	color: var(--play-gold) !important;
	font-size: 0.72rem !important;
	padding: 2px 6px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-score {
	font-size: 1rem !important;
	min-height: 34px !important;
	min-width: 48px !important;
	padding: 5px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-player-clock] {
	font-size: 1rem !important;
	min-height: 38px !important;
	min-width: 96px !important;
	padding: 6px 12px !important;
}

/* Align the left live column with the right rail and put score last in player cards. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.06), rgba(255, 255, 255, 0.015)),
		#0b1512 !important;
	border-color: rgba(241, 207, 119, 0.28) !important;
	box-shadow: none !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar > .chessora-live-stats-overview,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar > .chessora-sidebar-chat {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.07), rgba(255, 255, 255, 0.018)),
		#121c16 !important;
	border: 1px solid rgba(241, 207, 119, 0.22) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: var(--play-text) !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar > .chessora-live-stats-overview > .chessora-panel-head,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar > .chessora-sidebar-chat > .chessora-panel-head {
	background: rgba(241, 207, 119, 0.1) !important;
	border-bottom: 1px solid rgba(241, 207, 119, 0.2) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-stats-overview .chessora-stat-tiles {
	background: transparent !important;
	gap: 10px !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-stats-overview .chessora-stat-tile,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-rating-preview,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-lines,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-warning {
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 8px !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-rating-preview {
	margin: 14px 14px 8px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-lines {
	margin: 14px !important;
	min-height: 110px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-warning {
	margin: 0 14px 14px !important;
	padding: 10px 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-stats-overview :where(h2, strong, b),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat :where(h2, strong, b) {
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-stats-overview :where(span, small, p),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat :where(span, small, p) {
	color: var(--play-muted) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card {
	grid-template-columns: 44px minmax(0, 1fr) 10px auto auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card > .chessora-player-avatar {
	order: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card > div {
	order: 2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card > .chessora-player-online {
	order: 3 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card > [data-player-clock] {
	order: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card > .chessora-player-score {
	order: 5 !important;
}

/* Bottom board panels: analysis, spectators, and postgame controls match the rails. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-content-stack,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-panel,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-lines,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-spectators,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-spectators,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-spectator-list,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-postgame-actions {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.07), rgba(255, 255, 255, 0.018)),
		#121c16 !important;
	border-color: rgba(241, 207, 119, 0.22) !important;
	box-shadow: none !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-content-stack,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-spectators {
	border: 1px solid rgba(241, 207, 119, 0.22) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-panel {
	border: 0 !important;
	border-radius: 0 !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-lines {
	border: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 8px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-lines meter,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-lines progress {
	accent-color: #d6a23b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-spectators > .chessora-panel-head {
	background: rgba(241, 207, 119, 0.1) !important;
	border-bottom: 1px solid rgba(241, 207, 119, 0.2) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-spectator-list {
	border: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 8px !important;
	margin: 14px !important;
	min-height: 44px !important;
	padding: 10px 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-postgame-actions {
	border: 1px solid rgba(241, 207, 119, 0.22) !important;
	border-radius: 10px !important;
	gap: 10px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-postgame-actions .chessora-button {
	background: rgba(255, 255, 255, 0.045) !important;
	border-color: rgba(241, 207, 119, 0.22) !important;
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-postgame-actions .chessora-button:hover {
	background: rgba(241, 207, 119, 0.14) !important;
	border-color: var(--play-line-strong) !important;
	color: var(--play-gold) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-content-stack :where(h2, h3, strong, b),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-spectators :where(h2, h3, strong, b),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-postgame-actions :where(strong, b) {
	color: var(--play-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-content-stack :where(p, span, small),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-spectators :where(p, span, small),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-postgame-actions :where(span, small) {
	color: var(--play-muted) !important;
}

/* Viewport-fit board: compact one-line player info and keep the full board visible on open. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	--room-board-size: clamp(330px, min(43vw, calc(100vh - 260px)), 560px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
	align-items: start !important;
	gap: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
	gap: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-bar {
	min-height: 40px !important;
	padding: 8px 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	gap: 3px !important;
	min-height: auto !important;
	padding: 6px 8px 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	gap: 2px 5px !important;
	grid-template-columns: 16px var(--room-board-size) !important;
	grid-template-rows: var(--room-board-size) 16px !important;
	padding: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	height: var(--room-board-size) !important;
	padding: 5px !important;
	width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap {
	border-width: 5px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board {
	background:
		conic-gradient(
			var(--chessora-board-light) 0 25%,
			var(--chessora-board-dark) 0 50%,
			var(--chessora-board-light) 0 75%,
			var(--chessora-board-dark) 0 100%
		) 0 0 / 25% 25% !important;
	flex-basis: calc(var(--room-board-size) - 16px) !important;
	height: calc(var(--room-board-size) - 16px) !important;
	width: calc(var(--room-board-size) - 16px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates {
	font-size: 0.68rem !important;
	width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks {
	font-size: 0.68rem !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
	bottom: 14px !important;
	height: 30px !important;
	right: -34px !important;
	width: 30px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card {
	grid-template-columns: 30px minmax(0, 1fr) 8px auto auto !important;
	gap: 8px !important;
	min-height: 38px !important;
	padding: 4px 9px !important;
	width: var(--room-board-size) !important;
	max-width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card > div {
	align-items: center !important;
	display: flex !important;
	gap: 7px !important;
	min-width: 0 !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card strong {
	align-items: center !important;
	display: flex !important;
	gap: 6px !important;
	min-width: 0 !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card [data-player-name] {
	display: inline-block !important;
	max-width: 170px !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-captured-pieces {
	display: inline-flex !important;
	min-width: 0 !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-avatar {
	height: 28px !important;
	width: 28px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rating-pill {
	font-size: 0.66rem !important;
	line-height: 1 !important;
	padding: 2px 5px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-online {
	height: 8px !important;
	width: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-player-clock] {
	font-size: 0.88rem !important;
	min-height: 30px !important;
	min-width: 74px !important;
	padding: 4px 9px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-score {
	font-size: 0.82rem !important;
	min-height: 28px !important;
	min-width: 36px !important;
	padding: 4px 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-content-stack,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-spectators {
	margin-top: 8px !important;
}

@media (max-height: 760px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		--room-board-size: clamp(310px, min(42vw, calc(100vh - 285px)), 500px) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-bar {
		min-height: 34px !important;
		padding-bottom: 6px !important;
		padding-top: 6px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card {
		min-height: 34px !important;
		padding-bottom: 3px !important;
		padding-top: 3px !important;
	}
}

/* Laptop-height fit: keep the complete board visible without the user resizing/scrolling. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	--room-board-size: clamp(300px, min(38vw, calc(100vh - 365px)), 500px) !important;
	min-height: auto !important;
}

body.chessora-shell.view-game .shell-page,
body.chessora-shell.view-game .shell-component-card {
	padding-bottom: 10px !important;
	padding-top: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	gap: 12px !important;
	margin-bottom: 0 !important;
	margin-top: 8px !important;
	padding: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	max-height: calc(100vh - 112px) !important;
	overflow: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-layout {
	gap: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
	gap: 7px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-bar {
	min-height: 32px !important;
	padding: 5px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-bar :where(strong, span) {
	font-size: 0.84rem !important;
	line-height: 1.1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	padding: 4px 6px 6px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	grid-template-columns: 14px var(--room-board-size) !important;
	grid-template-rows: var(--room-board-size) 14px !important;
	padding: 6px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	padding: 4px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board {
	flex-basis: calc(var(--room-board-size) - 14px) !important;
	height: calc(var(--room-board-size) - 14px) !important;
	width: calc(var(--room-board-size) - 14px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-card {
	min-height: 30px !important;
	padding: 2px 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-avatar {
	height: 24px !important;
	width: 24px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-player-clock] {
	min-height: 26px !important;
	min-width: 64px !important;
	padding: 3px 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-score {
	min-height: 24px !important;
	min-width: 30px !important;
	padding: 3px 7px !important;
}

@media (max-height: 700px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		--room-board-size: clamp(280px, min(36vw, calc(100vh - 390px)), 440px) !important;
	}
}

/* Player cards live in the right rail; center column is board-only. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	--room-board-size: clamp(360px, min(43vw, calc(100vh - 190px)), 620px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
	display: grid !important;
	grid-template-rows: auto !important;
	place-items: center !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.07), rgba(255, 255, 255, 0.018)),
		#121c16 !important;
	border: 1px solid rgba(241, 207, 119, 0.22) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: var(--play-text) !important;
	display: grid !important;
	gap: 10px !important;
	padding: 0 10px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail > .chessora-panel-head {
	background: rgba(241, 207, 119, 0.1) !important;
	border-bottom: 1px solid rgba(241, 207, 119, 0.2) !important;
	margin: 0 -10px !important;
	padding: 10px 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card {
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 32px minmax(0, 1fr) 8px auto auto !important;
	margin: 0 !important;
	max-width: none !important;
	min-height: 46px !important;
	padding: 7px 9px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card.is-turn {
	background: rgba(241, 207, 119, 0.11) !important;
	border-color: var(--play-line-strong) !important;
	box-shadow: inset 3px 0 0 var(--play-gold) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-avatar {
	height: 30px !important;
	width: 30px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card [data-player-name] {
	max-width: 105px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail [data-player-clock] {
	font-size: 0.85rem !important;
	min-height: 30px !important;
	min-width: 58px !important;
	padding: 4px 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-score {
	font-size: 0.8rem !important;
	min-height: 28px !important;
	min-width: 30px !important;
	padding: 4px 7px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) .chessora-player-rail .chessora-player-card-bottom {
	order: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) .chessora-player-rail .chessora-player-card-top {
	order: 2 !important;
}

@media (max-height: 760px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		--room-board-size: clamp(340px, min(41vw, calc(100vh - 205px)), 560px) !important;
	}
}

@media (max-height: 700px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		--room-board-size: clamp(310px, min(39vw, calc(100vh - 220px)), 500px) !important;
	}
}

/* Stacked match clock on the left; silver player info on the right. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-clock-panel {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.07), rgba(255, 255, 255, 0.018)),
		#121c16 !important;
	border: 1px solid rgba(241, 207, 119, 0.22) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: var(--play-text) !important;
	display: grid !important;
	gap: 10px !important;
	margin-top: 12px !important;
	overflow: hidden !important;
	padding: 0 10px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-clock-panel > .chessora-panel-head {
	background: rgba(241, 207, 119, 0.1) !important;
	border-bottom: 1px solid rgba(241, 207, 119, 0.2) !important;
	margin: 0 -10px !important;
	padding: 10px 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-clock-stack {
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 9px !important;
	display: grid !important;
	gap: 0 !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-clock-row {
	align-items: center !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	min-height: 48px !important;
	padding: 8px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-clock-row + .chessora-match-clock-row {
	border-top: 1px solid rgba(241, 207, 119, 0.14) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-clock-row span {
	color: var(--play-muted) !important;
	font-size: 0.8rem !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-match-clock-row [data-player-clock] {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(248, 217, 133, 0.62) !important;
	border-radius: 8px !important;
	color: #151008 !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	min-height: 34px !important;
	min-width: 82px !important;
	padding: 6px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail {
	background:
		linear-gradient(180deg, rgba(230, 236, 232, 0.16), rgba(255, 255, 255, 0.045)),
		#19211d !important;
	border-color: rgba(205, 218, 210, 0.32) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail > .chessora-panel-head {
	background: rgba(214, 224, 218, 0.12) !important;
	border-bottom-color: rgba(205, 218, 210, 0.26) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
		#202822 !important;
	border-color: rgba(205, 218, 210, 0.28) !important;
	grid-template-columns: 32px minmax(0, 1fr) 8px auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card.is-turn {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.14), rgba(255, 255, 255, 0.055)),
		#22291f !important;
	border-color: rgba(241, 207, 119, 0.42) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-rating-pill {
	background: rgba(205, 218, 210, 0.14) !important;
	border-color: rgba(205, 218, 210, 0.3) !important;
	color: #e6eee9 !important;
}

/* Scores sit beside the board; player rows end with the clock. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	position: relative !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail {
	display: flex !important;
	flex-direction: column !important;
	height: var(--room-board-size) !important;
	justify-content: space-between !important;
	position: absolute !important;
	right: -44px !important;
	top: 6px !important;
	width: 34px !important;
	z-index: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(248, 217, 133, 0.58) !important;
	border-radius: 999px !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26) !important;
	color: #151008 !important;
	height: 34px !important;
	right: -44px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 34px !important;
	z-index: 5 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score {
	align-items: center !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055)),
		#202822 !important;
	border: 1px solid rgba(205, 218, 210, 0.34) !important;
	border-radius: 999px !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24) !important;
	color: #eef5f1 !important;
	display: inline-flex !important;
	font-size: 0.82rem !important;
	font-weight: 950 !important;
	height: 34px !important;
	justify-content: center !important;
	width: 34px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score.has-score {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, 0.22), rgba(255, 255, 255, 0.06)),
		#22291f !important;
	border-color: rgba(241, 207, 119, 0.42) !important;
	color: #fff7d7 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-white {
	border-color: rgba(205, 218, 210, 0.42) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
	right: -44px !important;
	top: 50% !important;
	bottom: auto !important;
	transform: translateY(-50%) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card {
	grid-template-columns: 32px minmax(0, 1fr) 8px auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail .chessora-player-card > [data-player-clock] {
	order: 4 !important;
	background:
		linear-gradient(180deg, rgba(236, 242, 238, 0.22), rgba(255, 255, 255, 0.07)),
		#27302b !important;
	border: 1px solid rgba(205, 218, 210, 0.34) !important;
	border-radius: 8px !important;
	color: #f3f7f4 !important;
	font-size: 0.82rem !important;
	font-weight: 950 !important;
	min-height: 30px !important;
	min-width: 64px !important;
	padding: 5px 8px !important;
}

/* Board coordinates sit on the dark wood frame with matching contrast. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	gap: 0 !important;
	grid-template-columns: 22px var(--room-board-size) !important;
	grid-template-rows: var(--room-board-size) 22px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates {
	background: #102015 !important;
	color: #eef5f1 !important;
	font-size: 0.74rem !important;
	font-weight: 950 !important;
	letter-spacing: 0 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks {
	align-items: stretch !important;
	border-bottom-left-radius: 8px !important;
	border-top-left-radius: 8px !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	height: var(--room-board-size) !important;
	width: 22px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates {
	align-items: center !important;
	border-bottom-left-radius: 8px !important;
	border-bottom-right-radius: 8px !important;
	grid-column: 2 !important;
	grid-row: 2 !important;
	height: 22px !important;
	width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks span,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates span {
	align-items: center !important;
	display: flex !important;
	height: 100% !important;
	justify-content: center !important;
	line-height: 1 !important;
	width: 100% !important;
}

/* Unify active-game blocks with the silver-green player panel palette. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	--play-silver-panel: #2f3a33;
	--play-silver-panel-2: #26322b;
	--play-silver-head: #3a422c;
	--play-silver-line: rgba(205, 218, 210, 0.28);
	--play-silver-line-soft: rgba(205, 218, 210, 0.18);
	--play-silver-text: #eef5f1;
	--play-silver-muted: #cbd6d0;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
	background:
		linear-gradient(180deg, rgba(230, 236, 232, 0.1), rgba(255, 255, 255, 0.035)),
		var(--play-silver-panel-2) !important;
	border-color: var(--play-silver-line) !important;
	color: var(--play-silver-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-live-stats-overview,
	.chessora-sidebar-chat,
	.chessora-tool-content-stack,
	.chessora-sidebar-spectators,
	.chessora-move-panel,
	.chessora-engine-panel,
	.chessora-engine-lines,
	.chessora-spectator-list,
	.chessora-postgame-actions,
	.chessora-player-rail
) {
	background:
		linear-gradient(180deg, rgba(230, 236, 232, 0.16), rgba(255, 255, 255, 0.045)),
		var(--play-silver-panel) !important;
	border-color: var(--play-silver-line) !important;
	color: var(--play-silver-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-panel-head,
	.chessora-player-rail > .chessora-panel-head,
	.chessora-sidebar-spectators > .chessora-panel-head
) {
	background: var(--play-silver-head) !important;
	border-color: var(--play-silver-line-soft) !important;
	color: var(--play-silver-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-stat-tile,
	.chessora-chat-rating-preview,
	.chessora-chat-lines,
	.chessora-chat-warning,
	.chessora-moves,
	.chessora-moves li,
	.chessora-player-card,
	.chessora-spectator-list
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
		var(--play-silver-panel-2) !important;
	border-color: var(--play-silver-line-soft) !important;
	color: var(--play-silver-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	background:
		linear-gradient(180deg, rgba(230, 236, 232, 0.16), rgba(255, 255, 255, 0.045)),
		var(--play-silver-panel) !important;
	border-color: var(--play-silver-line) !important;
	color: var(--play-silver-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap {
	background:
		conic-gradient(
			var(--chessora-board-light) 0 25%,
			var(--chessora-board-dark) 0 50%,
			var(--chessora-board-light) 0 75%,
			var(--chessora-board-dark) 0 100%
		) 0 0 / 25% 25%,
		#3a2414 !important;
	border-color: #2b1a0e !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates {
	background: #1f2a24 !important;
	color: var(--play-silver-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(h1, h2, h3, strong, b, dt, dd) {
	color: var(--play-silver-text) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(p, span, small, li) {
	color: var(--play-silver-muted) !important;
}

/* Final active-game contrast pass: aluminium tool tabs and readable module titles. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	--play-aluminium: #d7ddd8;
	--play-aluminium-2: #9ea9a2;
	--play-aluminium-3: #707c74;
	--play-ink: #111711;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-head h2,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-head strong,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel .chessora-panel-tabs button {
	color: #f7fbf8 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.58) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-head span:not(.chessora-module-icon),
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-head small,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-stat-tile dt,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-rating-preview p,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-lines,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves li {
	color: #dfe8e2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-stat-tile dd,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-rating-preview strong,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves strong {
	color: #fff9df !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.62) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs {
	background:
		linear-gradient(180deg, rgba(236, 242, 238, 0.12), rgba(255, 255, 255, 0.035)),
		var(--play-silver-head) !important;
	border-color: var(--play-silver-line-soft) !important;
	padding: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel .chessora-panel-tabs button {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)),
		linear-gradient(180deg, var(--play-aluminium), var(--play-aluminium-2)) !important;
	border: 1px solid rgba(255, 255, 255, 0.36) !important;
	border-radius: 8px !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.54),
		inset 0 -1px 0 rgba(43, 51, 46, 0.36),
		0 8px 16px rgba(0, 0, 0, 0.22) !important;
	color: var(--play-ink) !important;
	font-weight: 950 !important;
	min-height: 34px !important;
	padding: 7px 12px !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.36) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button.is-active,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel .chessora-panel-tabs button.is-active {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.12)),
		linear-gradient(180deg, #eef2ef, var(--play-aluminium-2) 62%, var(--play-aluminium-3)) !important;
	border-color: rgba(255, 255, 255, 0.48) !important;
	color: #101511 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs .chessora-module-icon,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel .chessora-panel-tabs .chessora-module-icon {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.08)),
		#87928b !important;
	border: 1px solid rgba(255, 255, 255, 0.34) !important;
	color: #111711 !important;
	text-shadow: none !important;
}

/* Keep the Moves tab readable and make active-game controls aluminium. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel .chessora-panel-tabs {
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel .chessora-panel-tabs {
	align-items: center !important;
	display: flex !important;
	gap: 8px !important;
	justify-content: flex-start !important;
	padding: 10px 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-panel .chessora-panel-tabs button {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	gap: 6px !important;
	max-width: none !important;
	min-width: 76px !important;
	overflow: visible !important;
	white-space: nowrap !important;
	width: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	button,
	.chessora-button,
	.chessora-button-primary,
	.chessora-button-accent,
	.chessora-move-controls button,
	.chessora-board-actions .chessora-button,
	.chessora-postgame-actions .chessora-button
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.14)),
		linear-gradient(180deg, #eef2ef, #a8b2ab 62%, #737f77) !important;
	border: 1px solid rgba(255, 255, 255, 0.42) !important;
	border-radius: 8px !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.62),
		inset 0 -1px 0 rgba(27, 34, 30, 0.34),
		0 8px 16px rgba(0, 0, 0, 0.2) !important;
	color: #101511 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	button:hover,
	.chessora-button:hover,
	.chessora-button-primary:hover,
	.chessora-button-accent:hover,
	.chessora-move-controls button:hover,
	.chessora-board-actions .chessora-button:hover,
	.chessora-postgame-actions .chessora-button:hover
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.18)),
		linear-gradient(180deg, #f8faf8, #b8c1bb 62%, #818d85) !important;
	color: #0b110d !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	button span,
	.chessora-button span,
	.chessora-move-controls button span,
	.chessora-board-actions .chessora-button span,
	.chessora-postgame-actions .chessora-button span
) {
	color: #101511 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	button:disabled,
	button[disabled],
	.chessora-button:disabled,
	.chessora-button.is-disabled
) {
	opacity: 0.58 !important;
}

/* Move controls: silver at rest, gold on hover/press. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-move-controls button,
	.chessora-board-actions .chessora-button,
	.chessora-postgame-actions .chessora-button
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.14)),
		linear-gradient(180deg, #f0f3f1, #aab4ad 62%, #748078) !important;
	border-color: rgba(255, 255, 255, 0.44) !important;
	color: #111711 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-move-controls button:hover,
	.chessora-move-controls button:focus-visible,
	.chessora-move-controls button:active,
	.chessora-board-actions .chessora-button:hover,
	.chessora-board-actions .chessora-button:focus-visible,
	.chessora-board-actions .chessora-button:active,
	.chessora-postgame-actions .chessora-button:hover,
	.chessora-postgame-actions .chessora-button:focus-visible,
	.chessora-postgame-actions .chessora-button:active
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.1)),
		linear-gradient(180deg, #f1c65d, #d7a12b 62%, #9d681a) !important;
	border-color: rgba(255, 223, 139, 0.64) !important;
	color: #130f08 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-move-controls button:hover span,
	.chessora-move-controls button:focus-visible span,
	.chessora-board-actions .chessora-button:hover span,
	.chessora-board-actions .chessora-button:focus-visible span,
	.chessora-postgame-actions .chessora-button:hover span,
	.chessora-postgame-actions .chessora-button:focus-visible span
) {
	color: #130f08 !important;
}

/* Keep move controls steady silver and tuck the evaluation rail beside the board. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-move-controls button,
	.chessora-move-controls button:hover,
	.chessora-move-controls button:focus-visible,
	.chessora-move-controls button:active,
	.chessora-board-actions .chessora-button,
	.chessora-board-actions .chessora-button:hover,
	.chessora-board-actions .chessora-button:focus-visible,
	.chessora-board-actions .chessora-button:active,
	.chessora-postgame-actions .chessora-button,
	.chessora-postgame-actions .chessora-button:hover,
	.chessora-postgame-actions .chessora-button:focus-visible,
	.chessora-postgame-actions .chessora-button:active
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.14)),
		linear-gradient(180deg, #f0f3f1, #aab4ad 62%, #748078) !important;
	border-color: rgba(255, 255, 255, 0.44) !important;
	color: #111711 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-move-controls button span,
	.chessora-move-controls button:hover span,
	.chessora-move-controls button:focus-visible span,
	.chessora-board-actions .chessora-button span,
	.chessora-board-actions .chessora-button:hover span,
	.chessora-board-actions .chessora-button:focus-visible span,
	.chessora-postgame-actions .chessora-button span,
	.chessora-postgame-actions .chessora-button:hover span,
	.chessora-postgame-actions .chessora-button:focus-visible span
) {
	color: #111711 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-rail {
	left: -16px !important;
	top: 6px !important;
	bottom: 28px !important;
	z-index: 3 !important;
}

/* Board analysis: rail closer to the board and line-only engine output. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-rail {
	left: -3px !important;
	top: 6px !important;
	bottom: 28px !important;
	width: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-content-stack,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-panel,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-lines,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-card {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-content-stack {
	margin-top: 12px !important;
	padding: 0 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-panel {
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-lines {
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-card {
	gap: 8px !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-card strong {
	color: #fff4bd !important;
	font-size: 0.96rem !important;
	font-weight: 950 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-card span {
	color: #dfe8e2 !important;
	font-size: 0.84rem !important;
	font-weight: 750 !important;
	line-height: 1.35 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.58) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval {
	gap: 6px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-bar {
	background: rgba(12, 20, 14, 0.88) !important;
	border: 1px solid rgba(240, 198, 94, 0.72) !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.48) !important;
	height: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-bar i {
	background: linear-gradient(90deg, #b8781f, #e1ab2d) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval small,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval small b {
	color: #fff4bd !important;
	font-weight: 900 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.62) !important;
}

/* Remove nested game scrollbars and restore module header contrast. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	max-height: none !important;
	overflow: visible !important;
	scrollbar-width: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar::-webkit-scrollbar,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side::-webkit-scrollbar,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-lines::-webkit-scrollbar {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-lines {
	max-height: none !important;
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-sidebar-spectators,
	.chessora-spectator-list,
	.chessora-sidebar-chat,
	.chessora-live-stats-overview
) {
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-live-stats-overview,
	.chessora-sidebar-chat,
	.chessora-sidebar-spectators,
	.chessora-player-rail
) > .chessora-panel-head h2 {
	color: #f7fbf8 !important;
	font-weight: 950 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(
	.chessora-live-stats-overview,
	.chessora-sidebar-chat,
	.chessora-sidebar-spectators,
	.chessora-player-rail
) > .chessora-panel-head > span:not(.chessora-module-icon) {
	color: #eef5f1 !important;
	font-weight: 950 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.64) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-warning,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-sidebar-chat .chessora-chat-warning span {
	color: #eef5f1 !important;
}

/* Correspondence page: align cream dashboard elements with the board module theme. */
body.chessora-shell.view-correspondence .chessora-correspondence-page,
body.chessora-shell .chessora-correspondence-page {
	--daily-bg: #07100e;
	--daily-panel: #2f3a33;
	--daily-panel-2: #26322b;
	--daily-head: #3a422c;
	--daily-line: rgba(205, 218, 210, 0.28);
	--daily-line-strong: rgba(241, 207, 119, 0.38);
	--daily-text: #eef5f1;
	--daily-muted: #cbd6d0;
	--daily-gold: #f1cf77;
	background:
		radial-gradient(circle at 16% 0%, rgba(241, 207, 119, 0.12), transparent 30%),
		linear-gradient(180deg, #101923 0%, #0b1512 48%, #07100e 100%) !important;
	border-color: rgba(241, 207, 119, 0.18) !important;
	color: var(--daily-text) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-page :where(h1, h2, h3, strong, b, label, dt, dd, th),
body.chessora-shell .chessora-correspondence-page :where(h1, h2, h3, strong, b, label, dt, dd, th) {
	color: #fff7dd !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-page :where(p, span, small, li),
body.chessora-shell .chessora-correspondence-page :where(p, span, small, li) {
	color: var(--daily-muted) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-page .chessora-tabs,
body.chessora-shell .chessora-correspondence-page .chessora-tabs {
	background: rgba(13, 23, 20, 0.88) !important;
	border-color: rgba(241, 207, 119, 0.26) !important;
	box-shadow: none !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-page .chessora-tabs a,
body.chessora-shell .chessora-correspondence-page .chessora-tabs a {
	background: rgba(255, 255, 255, 0.055) !important;
	border-color: rgba(205, 218, 210, 0.18) !important;
	color: var(--daily-text) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-page .chessora-tabs a.is-active,
body.chessora-shell.view-correspondence .chessora-correspondence-page .chessora-tabs a:hover,
body.chessora-shell .chessora-correspondence-page .chessora-tabs a.is-active,
body.chessora-shell .chessora-correspondence-page .chessora-tabs a:hover {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, 0.68) !important;
	color: #151008 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero,
body.chessora-shell .chessora-correspondence-hero,
body.chessora-shell.view-correspondence :where(
	.chessora-correspondence-profile-card,
	.chessora-correspondence-goal-card,
	.chessora-correspondence-card,
	.chessora-correspondence-board-card,
	.chessora-correspondence-active
),
body.chessora-shell .chessora-correspondence-page :where(
	.chessora-correspondence-profile-card,
	.chessora-correspondence-goal-card,
	.chessora-correspondence-card,
	.chessora-correspondence-board-card,
	.chessora-correspondence-active
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
		var(--daily-panel) !important;
	border-color: var(--daily-line) !important;
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28) !important;
	color: var(--daily-text) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero::before,
body.chessora-shell .chessora-correspondence-hero::before {
	background:
		linear-gradient(rgba(205, 218, 210, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(205, 218, 210, 0.09) 1px, transparent 1px),
		radial-gradient(circle at 50% 42%, rgba(241, 207, 119, 0.16), transparent 56%),
		#08130f !important;
	background-size: 58px 58px, 58px 58px, auto, auto !important;
	opacity: 0.72 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero::after,
body.chessora-shell .chessora-correspondence-hero::after {
	color: rgba(255, 247, 221, 0.9) !important;
	opacity: 0.9 !important;
	text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats article,
body.chessora-shell.view-correspondence .chessora-correspondence-rules article,
body.chessora-shell.view-correspondence .chessora-correspondence-lobby article,
body.chessora-shell.view-correspondence .chessora-turn-list article,
body.chessora-shell .chessora-correspondence-page :where(
	.chessora-correspondence-stats article,
	.chessora-correspondence-rules article,
	.chessora-correspondence-lobby article,
	.chessora-turn-list article
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		var(--daily-panel-2) !important;
	border-color: rgba(205, 218, 210, 0.18) !important;
	color: var(--daily-text) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-goal-card header,
body.chessora-shell.view-correspondence .chessora-correspondence-board-head,
body.chessora-shell.view-correspondence .chessora-correspondence-active header,
body.chessora-shell .chessora-correspondence-page :where(
	.chessora-correspondence-goal-card header,
	.chessora-correspondence-board-head,
	.chessora-correspondence-active header
) {
	background:
		linear-gradient(90deg, rgba(241, 207, 119, 0.18), rgba(255, 255, 255, 0.035)),
		var(--daily-head) !important;
	border-color: var(--daily-line-strong) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero,
body.chessora-shell .chessora-correspondence-hero {
	align-items: end !important;
	background:
		linear-gradient(90deg, rgba(47, 58, 51, 0.98) 0%, rgba(47, 58, 51, 0.92) 34%, rgba(15, 25, 20, 0.56) 58%, rgba(7, 16, 14, 0.3) 100%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
		var(--daily-panel) !important;
	display: grid !important;
	gap: 24px !important;
	grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr) !important;
	min-height: 420px !important;
	overflow: hidden !important;
	padding: 58px 46px 34px !important;
	position: relative !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero::before,
body.chessora-shell .chessora-correspondence-hero::before {
	background:
		linear-gradient(90deg, rgba(47, 58, 51, 0.82), rgba(7, 16, 14, 0.08) 34%, rgba(7, 16, 14, 0.26) 100%),
		url("../../../media/com_chess/images/correspondence-hero-wooden-knight.png") center right / cover no-repeat !important;
	border-left: 1px solid rgba(241, 207, 119, 0.18) !important;
	border-radius: 0 18px 18px 0 !important;
	bottom: 0 !important;
	content: "" !important;
	left: 31% !important;
	opacity: 1 !important;
	position: absolute !important;
	right: 0 !important;
	top: 0 !important;
	z-index: 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero::after,
body.chessora-shell .chessora-correspondence-hero::after {
	display: none !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero > div,
body.chessora-shell .chessora-correspondence-hero > div {
	position: relative !important;
	z-index: 1 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero > div:first-child,
body.chessora-shell .chessora-correspondence-hero > div:first-child {
	align-self: center !important;
	max-width: 440px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero .chessora-kicker,
body.chessora-shell .chessora-correspondence-hero .chessora-kicker {
	background: rgba(241, 207, 119, 0.14) !important;
	border: 1px solid rgba(241, 207, 119, 0.34) !important;
	border-radius: 999px !important;
	color: #f8d985 !important;
	display: inline-flex !important;
	padding: 6px 10px !important;
	width: auto !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero p:not(.chessora-kicker),
body.chessora-shell .chessora-correspondence-hero p:not(.chessora-kicker) {
	color: #eef5f1 !important;
	font-weight: 700 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats,
body.chessora-shell .chessora-correspondence-stats {
	align-self: end !important;
	background: rgba(8, 19, 15, 0.72) !important;
	border: 1px solid rgba(241, 207, 119, 0.22) !important;
	border-radius: 10px !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32) !important;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(92px, 1fr)) !important;
	justify-self: end !important;
	max-width: 420px !important;
	overflow: hidden !important;
	width: min(100%, 420px) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats strong,
body.chessora-shell.view-correspondence .chessora-correspondence-stats span,
body.chessora-shell .chessora-correspondence-stats strong,
body.chessora-shell .chessora-correspondence-stats span {
	background: rgba(255, 255, 255, 0.045) !important;
	border-right: 1px solid rgba(205, 218, 210, 0.14) !important;
	color: #fff7dd !important;
	display: grid !important;
	justify-items: center !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.64) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats strong,
body.chessora-shell .chessora-correspondence-stats strong {
	font-size: 2.15rem !important;
	padding: 16px 12px 2px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats span,
body.chessora-shell .chessora-correspondence-stats span {
	color: #cbd6d0 !important;
	font-size: 0.72rem !important;
	font-weight: 950 !important;
	padding: 0 12px 14px !important;
	text-transform: uppercase !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-hero,
	body.chessora-shell .chessora-correspondence-hero {
		grid-template-columns: 1fr !important;
		min-height: 520px !important;
		padding: 34px 22px 24px !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-hero::before,
	body.chessora-shell .chessora-correspondence-hero::before {
		left: 0 !important;
		opacity: 0.38 !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-stats,
	body.chessora-shell .chessora-correspondence-stats {
		justify-self: stretch !important;
	}
}

/* Correspondence rebuild: full-width visual lead. */
body.chessora-shell.view-correspondence .shell-page {
	max-width: none !important;
	padding-inline: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-correspondence .shell-component-card {
	border-left: 0 !important;
	border-radius: 0 !important;
	border-right: 0 !important;
	overflow: visible !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-page {
	display: block !important;
	max-width: none !important;
	padding: 18px 0 48px !important;
	position: relative !important;
	width: 100% !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-page > :where(
	.chessora-correspondence-shell,
	.chessora-correspondence-active
) {
	margin-inline: auto !important;
	width: min(1180px, calc(100% - 64px)) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-page > .chessora-tabs {
	display: none !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero,
body.chessora-shell .chessora-correspondence-hero {
	border-left: 0 !important;
	border-radius: 0 !important;
	border-right: 0 !important;
	grid-column: auto !important;
	grid-template-columns: minmax(280px, 0.52fr) minmax(320px, 1fr) !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 0 !important;
	min-height: 560px !important;
	padding: 74px max(32px, calc((100vw - 1180px) / 2 + 32px)) 44px !important;
	width: 100% !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero::before,
body.chessora-shell .chessora-correspondence-hero::before {
	background:
		linear-gradient(90deg, rgba(7, 16, 14, 0.9) 0%, rgba(47, 58, 51, 0.76) 30%, rgba(7, 16, 14, 0.24) 60%, rgba(7, 16, 14, 0.1) 100%),
		url("../../../media/com_chess/images/correspondence-hero-wooden-knight.png") center right / cover no-repeat !important;
	border: 0 !important;
	border-radius: 0 !important;
	left: 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero > div:first-child,
body.chessora-shell .chessora-correspondence-hero > div:first-child {
	max-width: 500px !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-page > :where(
		.chessora-correspondence-shell,
		.chessora-correspondence-active
	) {
		width: min(100% - 28px, 680px) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-hero,
	body.chessora-shell .chessora-correspondence-hero {
		min-height: 560px !important;
		padding: 44px 18px 28px !important;
	}

}

/* Correspondence desk interface. */
body.chessora-shell.view-correspondence .chessora-correspondence-desk {
	align-items: start !important;
	display: grid !important;
	gap: 28px !important;
	grid-template-columns: minmax(250px, 320px) minmax(520px, 1fr) minmax(250px, 320px) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-desk .chessora-correspondence-left,
body.chessora-shell.view-correspondence .chessora-correspondence-desk .chessora-correspondence-right {
	display: grid !important;
	gap: 12px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create {
	background:
		linear-gradient(135deg, rgba(244, 207, 116, 0.1), rgba(91, 124, 89, 0.08)),
		#101d18 !important;
	border-color: rgba(244, 207, 116, 0.58) !important;
	box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 247, 215, 0.05) !important;
	min-height: 520px !important;
	padding: 24px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mode-row {
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin: 18px 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mode-row span {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.055) !important;
	border: 1px solid rgba(244, 207, 116, 0.18) !important;
	border-radius: 8px !important;
	color: #dfe8e2 !important;
	display: flex !important;
	font-weight: 950 !important;
	justify-content: center !important;
	min-height: 44px !important;
	padding: 8px 10px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mode-row span.is-active {
	background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
	color: #12100a !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-presets {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	margin: 0 0 20px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-presets a {
	align-content: center !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(244, 207, 116, 0.22) !important;
	border-radius: 9px !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 6px !important;
	min-height: 118px !important;
	padding: 14px !important;
	text-align: center !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-presets a:hover {
	background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
	color: #12100a !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-presets strong {
	font-size: 1.35rem !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-presets small {
	color: inherit !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-etiquette p {
	align-items: start !important;
	border-top: 1px solid rgba(244, 207, 116, 0.18) !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: 28px 1fr !important;
	margin: 0 !important;
	padding: 12px 0 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-etiquette p + p {
	margin-top: 10px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-etiquette .fas {
	align-items: center !important;
	background: rgba(244, 207, 116, 0.18) !important;
	border: 1px solid rgba(244, 207, 116, 0.36) !important;
	border-radius: 50% !important;
	color: #f4cf74 !important;
	display: inline-flex !important;
	height: 28px !important;
	justify-content: center !important;
	width: 28px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-engine-eval-rail,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-tool-content-stack,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-engine-panel,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-sidebar-spectators,
body.chessora-shell.view-game .chessora-game-room.is-correspondence [data-hide-correspondence] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-board-tools {
	background:
		linear-gradient(180deg, rgba(244, 207, 116, 0.1), rgba(255, 255, 255, 0.035)),
		#17241e !important;
	border-color: rgba(244, 207, 116, 0.34) !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-slot b {
	align-items: center;
	background: rgba(18, 24, 20, 0.68);
	border: 1px solid rgba(201, 155, 75, 0.28);
	border-radius: 999px;
	color: #fff7dd;
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 950;
	justify-content: center;
	min-height: 24px;
	min-width: 28px;
	padding: 2px 7px;
}

@media (max-width: 1180px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-desk {
		grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-desk .chessora-correspondence-right {
		grid-column: 1 / -1 !important;
	}
}

@media (max-width: 820px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-desk,
	body.chessora-shell.view-correspondence .chessora-correspondence-mode-row,
	body.chessora-shell.view-correspondence .chessora-correspondence-presets {
		grid-template-columns: 1fr !important;
	}
}

/* Correspondence final pass: grouped stat tiles and full-width hero polish. */
body.chessora-shell.view-correspondence .chessora-correspondence-page {
	box-shadow: none !important;
	overflow-x: clip !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-hero {
	margin-bottom: 28px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats article {
	background: rgba(8, 19, 15, 0.58) !important;
	border: 1px solid rgba(241, 207, 119, 0.2) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid !important;
	gap: 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats article:first-child {
	border-radius: 9px 0 0 9px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats article:last-child {
	border-radius: 0 9px 9px 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats article strong,
body.chessora-shell.view-correspondence .chessora-correspondence-stats article span {
	background: transparent !important;
	border: 0 !important;
	line-height: 1.1 !important;
	min-width: 0 !important;
	overflow-wrap: anywhere !important;
	text-align: center !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-stats article span {
	padding-top: 2px !important;
}

/* Game board player bars: compact identity rows attached to the board. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	grid-template-columns: 20px var(--room-board-size) !important;
	grid-template-rows: auto var(--room-board-size) 22px auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row] {
	grid-column: 1 / -1 !important;
	width: calc(var(--room-board-size) + 20px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 4 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card {
	background: rgba(9, 14, 12, 0.94) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 38px minmax(0, 1fr) 10px minmax(74px, auto) !important;
	min-height: 46px !important;
	padding: 6px 8px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card.is-turn {
	box-shadow: inset 4px 0 0 var(--play-gold) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-avatar {
	background: rgba(255, 247, 221, 0.12) !important;
	border-radius: 4px !important;
	height: 34px !important;
	width: 34px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > div {
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card strong {
	align-items: baseline !important;
	color: #fff7dd !important;
	display: flex !important;
	gap: 4px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-name] {
	color: #fff7dd !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-rating-pill {
	background: transparent !important;
	border: 0 !important;
	color: #b9c4bd !important;
	display: inline !important;
	font-weight: 700 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-captured-pieces {
	min-height: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock] {
	background: #f8f6ef !important;
	border: 0 !important;
	border-radius: 3px !important;
	color: #101815 !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	min-height: 34px !important;
	min-width: 74px !important;
	padding: 6px 10px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-board-list {
	overflow-x: auto !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-board-list-head,
body.chessora-shell.view-correspondence .chessora-correspondence-active article {
	align-items: center !important;
	min-width: 920px !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-hero {
		background:
			linear-gradient(180deg, rgba(7, 16, 14, 0.76), rgba(7, 16, 14, 0.52)),
			var(--daily-panel) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-stats {
		max-width: none !important;
		width: 100% !important;
	}
}

@media (max-width: 620px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-stats {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-stats article,
	body.chessora-shell.view-correspondence .chessora-correspondence-stats article:first-child,
	body.chessora-shell.view-correspondence .chessora-correspondence-stats article:last-child {
		border-radius: 9px !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-board-list-head,
	body.chessora-shell.view-correspondence .chessora-correspondence-active article {
		min-width: 0 !important;
	}
}

/* Correspondence live-selector and tournament dark-theme hardening. */
body.chessora-shell.view-correspondence .chessora-correspondence-shell {
	align-items: start !important;
	display: grid !important;
	gap: 28px !important;
	grid-template-columns: minmax(270px, 320px) minmax(620px, 1fr) minmax(270px, 320px) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-selector.chessora-create-panel {
	background:
		linear-gradient(135deg, rgba(244, 207, 116, 0.12), rgba(111, 145, 102, 0.08)),
		#0d1713 !important;
	border: 1px solid rgba(244, 207, 116, 0.66) !important;
	border-radius: 14px !important;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 247, 215, 0.05) !important;
	color: #fff7dd !important;
	min-height: 540px !important;
	padding: 24px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-selector .chessora-create-section-head {
	align-items: end !important;
	background:
		linear-gradient(90deg, rgba(244, 207, 116, 0.24), rgba(255, 255, 255, 0.04)),
		rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(244, 207, 116, 0.3) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	margin-bottom: 18px !important;
	padding: 18px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-selector .chessora-kicker {
	color: #cfd9d3 !important;
	font-size: 0.74rem !important;
	font-weight: 950 !important;
	letter-spacing: 0 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-selector h2 {
	color: #fff7dd !important;
	font-size: clamp(1.65rem, 2.3vw, 2.2rem) !important;
	line-height: 1.02 !important;
	margin: 6px 0 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-selector p,
body.chessora-shell.view-correspondence .chessora-correspondence-selector small,
body.chessora-shell.view-correspondence .chessora-correspondence-selector span {
	color: #dce6df !important;
}

body.chessora-shell.view-correspondence .chessora-rated-toggle {
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	margin-bottom: 18px !important;
}

body.chessora-shell.view-correspondence .chessora-rated-toggle span {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(244, 207, 116, 0.24) !important;
	border-radius: 8px !important;
	color: #dce6df !important;
	display: flex !important;
	font-weight: 950 !important;
	justify-content: center !important;
	min-height: 48px !important;
	padding: 10px 12px !important;
	text-align: center !important;
}

body.chessora-shell.view-correspondence .chessora-rated-toggle span.is-active,
body.chessora-shell.view-correspondence .chessora-correspondence-time-button.is-recommended {
	background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
	border-color: rgba(255, 229, 156, 0.82) !important;
	color: #14100a !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-pairing-note {
	align-items: center !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(244, 207, 116, 0.22) !important;
	border-radius: 8px !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: 38px 1fr !important;
	margin-bottom: 18px !important;
	padding: 14px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-pairing-note .fas {
	align-items: center !important;
	background: rgba(244, 207, 116, 0.18) !important;
	border: 1px solid rgba(244, 207, 116, 0.36) !important;
	border-radius: 8px !important;
	color: #f4cf74 !important;
	display: inline-flex !important;
	height: 38px !important;
	justify-content: center !important;
	width: 38px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create-group {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: 120px minmax(0, 1fr) !important;
	margin-bottom: 18px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	min-width: 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create-group > strong {
	align-self: start !important;
	color: #fff7dd !important;
	padding-top: 8px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-time-button {
	align-content: center !important;
	background: rgba(255, 255, 255, 0.055) !important;
	border: 1px solid rgba(244, 207, 116, 0.24) !important;
	border-radius: 9px !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 6px !important;
	min-height: 126px !important;
	padding: 14px 10px !important;
	text-align: center !important;
	text-decoration: none !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-time-button:hover,
body.chessora-shell.view-correspondence .chessora-correspondence-time-button:focus-visible {
	background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
	color: #14100a !important;
	outline: none !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-time-button strong {
	color: inherit !important;
	font-size: 1.35rem !important;
	line-height: 1.05 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-time-button small {
	color: inherit !important;
	font-size: 0.78rem !important;
	font-weight: 850 !important;
	line-height: 1.15 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-board-preview {
	align-items: center !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
		#15231d !important;
	border: 1px solid rgba(205, 218, 210, 0.18) !important;
	border-radius: 10px !important;
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
	padding: 16px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board {
	aspect-ratio: 1 !important;
	border: 1px solid rgba(244, 207, 116, 0.28) !important;
	border-radius: 8px !important;
	display: grid !important;
	grid-template-columns: repeat(8, 1fr) !important;
	overflow: hidden !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board span:nth-child(odd) {
	background: #f5e1ad !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board span:nth-child(even) {
	background: #8a5c25 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-note-card {
	background:
		linear-gradient(180deg, rgba(244, 207, 116, 0.12), rgba(255, 255, 255, 0.03)),
		#17241e !important;
	border-color: rgba(244, 207, 116, 0.34) !important;
}

body.chessora-shell.view-tournaments,
body.chessora-shell.view-tournaments .shell-main {
	background:
		linear-gradient(180deg, #0f1714 0%, #111b17 42%, #151f1b 100%) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .shell-component-card,
body.chessora-shell.view-tournaments .chessora-tournaments,
body.chessora-shell.view-tournaments .chessora-panel,
body.chessora-shell.view-tournaments .chessora-tournament-detail,
body.chessora-shell.view-tournaments .chessora-tournament-guide,
body.chessora-shell.view-tournaments .chessora-tournament-hero,
body.chessora-shell.view-tournaments .chessora-tournament-section {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
		#14211b !important;
	border-color: rgba(244, 207, 116, 0.28) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments h1,
body.chessora-shell.view-tournaments .chessora-tournaments h2,
body.chessora-shell.view-tournaments .chessora-tournaments h3,
body.chessora-shell.view-tournaments .chessora-tournaments strong,
body.chessora-shell.view-tournaments .chessora-tournaments b {
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments p,
body.chessora-shell.view-tournaments .chessora-tournaments li,
body.chessora-shell.view-tournaments .chessora-tournaments span,
body.chessora-shell.view-tournaments .chessora-tournaments dd {
	color: #dce6df !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-card,
body.chessora-shell.view-tournaments .chessora-tournament-player,
body.chessora-shell.view-tournaments .chessora-tournament-stat,
body.chessora-shell.view-tournaments .chessora-bracket-match,
body.chessora-shell.view-tournaments .chessora-guide-step {
	background: rgba(255, 255, 255, 0.045) !important;
	border-color: rgba(244, 207, 116, 0.24) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-tabs {
	background: rgba(8, 19, 15, 0.72) !important;
	border-color: rgba(244, 207, 116, 0.24) !important;
}

body.chessora-shell.view-tournaments .chessora-tabs a {
	background: rgba(255, 255, 255, 0.035) !important;
	border-color: rgba(244, 207, 116, 0.18) !important;
	color: #dce6df !important;
}

body.chessora-shell.view-tournaments .chessora-tabs a.is-active {
	background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
	color: #14100a !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-hero.chessora-page-head {
	background:
		linear-gradient(90deg, rgba(15, 23, 20, 0.92), rgba(20, 33, 27, 0.94)),
		#14211b !important;
	border-color: rgba(244, 207, 116, 0.28) !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 18px 34px !important;
	grid-template-columns: minmax(0, 1fr) 180px !important;
	min-height: 300px !important;
	overflow: hidden !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-hero.chessora-page-head h1,
body.chessora-shell.view-tournaments .chessora-tournament-hero.chessora-page-head p,
body.chessora-shell.view-tournaments .chessora-tournament-hero.chessora-page-head .chessora-kicker {
	color: #fff7dd !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55) !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-hero.chessora-page-head h1 {
	font-size: clamp(2.6rem, 4.4vw, 4.6rem) !important;
	grid-column: 1 !important;
	line-height: 1.04 !important;
	max-width: 760px !important;
	overflow-wrap: normal !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-hero.chessora-page-head .chessora-kicker,
body.chessora-shell.view-tournaments .chessora-tournament-hero.chessora-page-head p {
	grid-column: 1 !important;
	max-width: 850px !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-hero.chessora-page-head .chessora-kicker {
	background: rgba(244, 207, 116, 0.14) !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	border-radius: 999px !important;
	display: inline-flex !important;
	padding: 6px 10px !important;
	width: max-content !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-hero-art {
	align-self: center !important;
	display: grid !important;
	gap: 10px !important;
	grid-column: 2 !important;
	grid-row: 1 / span 3 !important;
	grid-template-columns: repeat(2, 72px) !important;
	justify-self: end !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-hero-art span {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(244, 207, 116, 0.3) !important;
	color: #f4cf74 !important;
}

body.chessora-shell.view-tournaments .chessora-guide-panel.chessora-tournament-guide {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
		#14211b !important;
	border-color: rgba(244, 207, 116, 0.28) !important;
}

body.chessora-shell.view-tournaments .chessora-guide-panel.chessora-tournament-guide header span,
body.chessora-shell.view-tournaments .chessora-guide-panel.chessora-tournament-guide header h2,
body.chessora-shell.view-tournaments .chessora-guide-panel.chessora-tournament-guide header p {
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-guide-panel.chessora-tournament-guide article,
body.chessora-shell.view-tournaments .chessora-tournament-agenda,
body.chessora-shell.view-tournaments .chessora-agenda-row,
body.chessora-shell.view-tournaments .chessora-tournament-list-tabs,
body.chessora-shell.view-tournaments .chessora-tournament-detail-grid > *,
body.chessora-shell.view-tournaments .chessora-tournament-meta-card,
body.chessora-shell.view-tournaments .chessora-standings-panel,
body.chessora-shell.view-tournaments .chessora-bracket-panel {
	background: rgba(255, 255, 255, 0.055) !important;
	border-color: rgba(244, 207, 116, 0.24) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-guide-panel.chessora-tournament-guide article strong,
body.chessora-shell.view-tournaments .chessora-guide-panel.chessora-tournament-guide article p,
body.chessora-shell.view-tournaments .chessora-agenda-row strong,
body.chessora-shell.view-tournaments .chessora-agenda-row small,
body.chessora-shell.view-tournaments .chessora-agenda-row span,
body.chessora-shell.view-tournaments .chessora-tournament-detail-grid strong,
body.chessora-shell.view-tournaments .chessora-tournament-detail-grid span,
body.chessora-shell.view-tournaments .chessora-tournament-detail-grid p {
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-agenda-time,
body.chessora-shell.view-tournaments .chessora-agenda-main,
body.chessora-shell.view-tournaments .chessora-tournament-list-tabs a,
body.chessora-shell.view-tournaments .chessora-agenda-pill {
	color: #fff7dd !important;
}

@media (max-width: 1180px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-shell {
		grid-template-columns: minmax(250px, 320px) minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-right {
		grid-column: 1 / -1 !important;
	}
}

@media (max-width: 840px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-shell,
	body.chessora-shell.view-correspondence .chessora-correspondence-create-group,
	body.chessora-shell.view-correspondence .chessora-correspondence-board-preview {
	grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-selector .chessora-create-section-head {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 520px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div {
		grid-template-columns: 1fr !important;
	}
}

/* Correspondence width pass: give the selector the full remaining desk width. */
body.chessora-shell.view-correspondence .chessora-correspondence-page > .chessora-correspondence-shell {
	width: min(1540px, calc(100% - 48px)) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-shell.chessora-correspondence-desk,
body.chessora-shell.view-correspondence .chessora-correspondence-desk {
	grid-template-columns: minmax(270px, 320px) minmax(0, 1fr) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-selector.chessora-create-panel {
	width: 100% !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-right {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create-group {
	grid-template-columns: 130px minmax(0, 1fr) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div {
	grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-board-preview {
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) !important;
}

@media (max-width: 980px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-page > .chessora-correspondence-shell {
		width: min(100% - 28px, 760px) !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-shell.chessora-correspondence-desk,
	body.chessora-shell.view-correspondence .chessora-correspondence-desk,
	body.chessora-shell.view-correspondence .chessora-correspondence-create-group,
	body.chessora-shell.view-correspondence .chessora-correspondence-board-preview {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Correspondence/profile ownership pass. */
body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div {
	grid-template-columns: repeat(5, minmax(132px, 1fr)) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board .is-light {
	background: #f0d9a6 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board .is-dark {
	background: #94642c !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board img {
	display: block !important;
	height: 82% !important;
	margin: auto !important;
	object-fit: contain !important;
	width: 82% !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
		#14211b !important;
	border: 1px solid rgba(244, 207, 116, 0.28) !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 18px !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence-grid {
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence :where(.chessora-correspondence-card, .chessora-correspondence-active) {
	background: rgba(255, 255, 255, 0.055) !important;
	border: 1px solid rgba(244, 207, 116, 0.24) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence :where(h2, strong, b) {
	color: #fff7dd !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence :where(p, span, small) {
	color: #dce6df !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence :where(.chessora-turn-list article, .chessora-correspondence-lobby article, .chessora-correspondence-active article, .chessora-correspondence-board-list-head) {
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(244, 207, 116, 0.2) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence :where(a, button, .chessora-button) {
	background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
	border: 1px solid rgba(255, 229, 156, 0.72) !important;
	border-radius: 8px !important;
	color: #14100a !important;
	font-weight: 950 !important;
	text-decoration: none !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence .chessora-correspondence-board-list {
	overflow-x: auto !important;
}

body.chessora-shell.view-profile .chessora-profile-correspondence .chessora-correspondence-board-list-head,
body.chessora-shell.view-profile .chessora-profile-correspondence .chessora-correspondence-active article {
	align-items: center !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: 1.2fr 1.1fr 0.7fr 1fr 1fr 0.8fr 0.9fr 110px !important;
	min-width: 920px !important;
}

@media (max-width: 980px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div,
	body.chessora-shell.view-profile .chessora-profile-correspondence-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Tournament width and contrast repair. */
body.chessora-shell.view-tournaments .shell-page {
	max-width: none !important;
	padding-inline: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .shell-component-card {
	border-left: 0 !important;
	border-radius: 0 !important;
	border-right: 0 !important;
	overflow: visible !important;
}

body.chessora-shell.view-tournaments .chessora.chessora-tournaments-page {
	max-width: none !important;
	padding-inline: max(24px, calc((100vw - 1720px) / 2 + 24px)) !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments-page :where(
	.chessora-event-hero,
	.chessora-room-panel,
	.chessora-room-format,
	.chessora-room-chat,
	.chessora-scoreboard,
	.chessora-swiss-grid-panel,
	.chessora-observer-panel,
	.chessora-bracket-panel,
	.chessora-pairings-panel,
	.chessora-format-overview,
	.chessora-event-info-card,
	.chessora-player-rating-list > div,
	.chessora-room-conditions div,
	.chessora-format-rules article,
	.chessora-stat-charts article,
	.chessora-table,
	.chessora-table-row,
	.chessora-bracket-board,
	.chessora-bracket-match,
	.chessora-bracket-slot,
	.chessora-observer-player,
	.chessora-observer-strip > a
) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		#14211b !important;
	border-color: rgba(244, 207, 116, 0.26) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments-page :where(
	.chessora-event-hero,
	.chessora-event-hero *,
	.chessora-room-grid,
	.chessora-room-grid *,
	.chessora-guide-panel,
	.chessora-guide-panel *,
	.chessora-table-row,
	.chessora-table-row *,
	.chessora-bracket-board,
	.chessora-bracket-board *,
	.chessora-agenda-row,
	.chessora-agenda-row *
) {
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments-page :where(.chessora-table-head, .chessora-agenda-head) {
	background: #25352e !important;
	border-color: rgba(244, 207, 116, 0.28) !important;
	color: #f4cf74 !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments-page :where(.chessora-agenda-pill, .chessora-status-pill, .chessora-board-pill, .chessora-pairing-result, .chessora-match-score-pill, .chessora-watch-link) {
	background: rgba(244, 207, 116, 0.16) !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	color: #f4cf74 !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-board {
	max-height: none !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-rounds,
body.chessora-shell.view-tournaments .chessora-bracket-side {
	grid-auto-columns: minmax(220px, 260px) !important;
}

body.chessora-shell.view-tournaments .chessora-room-grid {
	grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1.55fr) !important;
}

@media (max-width: 1100px) {
	body.chessora-shell.view-tournaments .chessora.chessora-tournaments-page {
		padding-inline: 14px !important;
	}

	body.chessora-shell.view-tournaments .chessora-room-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Tournament room, correspondence selector, and game-board action refinements. */
body.chessora-shell.view-correspondence .chessora-correspondence-create-group {
	grid-template-columns: 1fr !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div {
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	width: 100% !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-board-preview {
	grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board {
	background: #16231e !important;
	box-shadow: inset 0 0 0 6px #16231e, 0 16px 36px rgba(0, 0, 0, 0.22) !important;
	padding: 6px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board span {
	align-items: center !important;
	display: flex !important;
	justify-content: center !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board img {
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.36)) !important;
	height: 68% !important;
	width: 68% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-move-controls button[data-copy-forum-embed] {
	background: #fbfcfd !important;
	border: 1px solid #dce3e8 !important;
	color: #344054 !important;
	min-width: 78px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-move-controls button[data-copy-forum-embed]:disabled {
	background: #fbfcfd !important;
	border-color: #dce3e8 !important;
	color: #344054 !important;
	cursor: not-allowed !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-note-underboard {
	background:
		linear-gradient(180deg, rgba(244, 207, 116, 0.1), rgba(255, 255, 255, 0.025)),
		#17241e !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	border-radius: 8px !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 12px !important;
	margin: 14px auto 0 !important;
	max-width: min(100%, 720px) !important;
	padding: 16px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-note-underboard .chessora-daily-note textarea {
	background: #0d1713 !important;
	border: 1px solid rgba(244, 207, 116, 0.24) !important;
	color: #fff7dd !important;
	min-height: 130px !important;
}

body.chessora-shell.view-tournaments .chessora.chessora-tournaments-page {
	padding-inline: max(18px, calc((100vw - 1840px) / 2 + 18px)) !important;
}

body.chessora-shell.view-tournaments .chessora-room-grid {
	grid-template-columns: minmax(280px, 370px) minmax(0, 1fr) !important;
}

body.chessora-shell.view-tournaments .chessora-room-players {
	grid-column: 1 !important;
	grid-row: span 3 !important;
	position: sticky !important;
	top: 92px !important;
}

body.chessora-shell.view-tournaments .chessora-room-format,
body.chessora-shell.view-tournaments .chessora-room-chat,
body.chessora-shell.view-tournaments .chessora-scoreboard,
body.chessora-shell.view-tournaments .chessora-swiss-grid-panel,
body.chessora-shell.view-tournaments .chessora-observer-panel,
body.chessora-shell.view-tournaments .chessora-bracket-panel,
body.chessora-shell.view-tournaments .chessora-pairings-panel {
	grid-column: 2 !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-panel {
	margin-inline: calc(-1 * max(18px, calc((100vw - 1840px) / 2 + 18px))) !important;
	padding-inline: max(18px, calc((100vw - 1840px) / 2 + 18px)) !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-board {
	background: #101c17 !important;
	max-height: none !important;
	overflow: auto !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-rounds,
body.chessora-shell.view-tournaments .chessora-bracket-side {
	grid-auto-columns: minmax(260px, 310px) !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-agenda,
body.chessora-shell.view-tournaments .chessora-agenda-head,
body.chessora-shell.view-tournaments .chessora-agenda-row,
body.chessora-shell.view-tournaments .chessora-podium,
body.chessora-shell.view-tournaments .chessora-podium article,
body.chessora-shell.view-tournaments .chessora-swiss-grid,
body.chessora-shell.view-tournaments .chessora-swiss-grid th,
body.chessora-shell.view-tournaments .chessora-swiss-grid td,
body.chessora-shell.view-tournaments .chessora-observer-player,
body.chessora-shell.view-tournaments .chessora-observer-strip > a {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		#14211b !important;
	border-color: rgba(244, 207, 116, 0.26) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments-page :where(.chessora-agenda-head *, .chessora-agenda-row *, .chessora-podium *, .chessora-swiss-grid *, .chessora-observer-player *, .chessora-observer-strip > a *) {
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-podium > div {
	align-items: end !important;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 0.9fr) !important;
}

body.chessora-shell.view-tournaments .chessora-podium article {
	justify-items: center !important;
	min-height: 150px !important;
	text-align: center !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-1 {
	min-height: 190px !important;
	order: 2 !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-2 {
	order: 1 !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-3 {
	order: 3 !important;
}

body.chessora-shell.view-tournaments .chessora-podium article > span {
	align-items: center !important;
	background: linear-gradient(180deg, #f4cf74, #c88d29) !important;
	border-radius: 999px !important;
	color: #14100a !important;
	display: inline-flex !important;
	font-weight: 950 !important;
	height: 42px !important;
	justify-content: center !important;
	width: 42px !important;
}

@media (max-width: 1100px) {
	body.chessora-shell.view-tournaments .chessora-room-grid,
	body.chessora-shell.view-tournaments .chessora-room-format,
	body.chessora-shell.view-tournaments .chessora-room-chat,
	body.chessora-shell.view-tournaments .chessora-scoreboard,
	body.chessora-shell.view-tournaments .chessora-swiss-grid-panel,
	body.chessora-shell.view-tournaments .chessora-observer-panel,
	body.chessora-shell.view-tournaments .chessora-bracket-panel,
	body.chessora-shell.view-tournaments .chessora-pairings-panel,
	body.chessora-shell.view-tournaments .chessora-room-players {
		grid-column: 1 !important;
		position: static !important;
	}

	body.chessora-shell.view-tournaments .chessora-room-grid {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-tournaments .chessora-bracket-panel {
		margin-inline: 0 !important;
		padding-inline: 18px !important;
	}
}

@media (max-width: 760px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div,
	body.chessora-shell.view-tournaments .chessora-podium > div {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-tournaments .chessora-podium article {
		order: initial !important;
	}
}

/* Final correspondence board and selector pass. */
body.chessora-shell.view-correspondence .chessora-correspondence-create-group {
	display: block !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create-group > strong {
	display: none !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	width: 100% !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-board-preview {
	grid-template-columns: clamp(220px, 24vw, 300px) minmax(0, 1fr) !important;
	min-height: 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board {
	aspect-ratio: 1 / 1 !important;
	inline-size: clamp(220px, 24vw, 300px) !important;
	max-inline-size: 100% !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board .is-light {
	background-image: url("../../../media/com_chess/images/board/wood/square-light.gif") !important;
	background-size: cover !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board .is-dark {
	background-image: url("../../../media/com_chess/images/board/wood/square-dark.gif") !important;
	background-size: cover !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board span:nth-child(odd),
body.chessora-shell.view-correspondence .chessora-correspondence-mini-board span:nth-child(even) {
	background-image: none !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board .is-light {
	background: #f0d7a4 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board .is-dark {
	background: #744820 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board span {
	align-items: center !important;
	display: flex !important;
	justify-content: center !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board img {
	filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.48)) !important;
	height: 76% !important;
	width: 76% !important;
}

body.chessora-shell.view-game .chessora-room-sidebar > .chessora-correspondence-board-tools [data-correspondence-note-save] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-note-underboard,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-board-note {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
		#14211b !important;
	border: 1px solid rgba(244, 207, 116, 0.28) !important;
	margin: 14px auto 0 !important;
	max-width: var(--room-board-size, 640px) !important;
	width: min(100%, var(--room-board-size, 640px)) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-note-underboard textarea,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-board-note textarea {
	background: rgba(5, 14, 11, 0.8) !important;
	border: 1px solid rgba(244, 207, 116, 0.28) !important;
	color: #fff7dd !important;
	min-height: 118px !important;
}

body.chessora-shell.view-game .chessora-move-controls [data-copy-forum-embed] {
	background: #fbfcfd !important;
	border: 1px solid #dce3e8 !important;
	color: #344054 !important;
	grid-column: 3 / 5 !important;
	margin-top: 16px !important;
	min-height: 46px !important;
	opacity: 1 !important;
}

body.chessora-shell.view-game .chessora-move-controls [data-copy-forum-embed]:disabled {
	background: #fbfcfd !important;
	border-color: #dce3e8 !important;
	color: #344054 !important;
	cursor: not-allowed !important;
	filter: saturate(0.76) !important;
	opacity: 1 !important;
}

/* Final tournament player-room, bracket width, and contrast pass. */
body.chessora-shell.view-tournaments .chessora-tournament-player-room::before {
	background: rgba(244, 207, 116, 0.12) !important;
	border: 1px solid rgba(244, 207, 116, 0.28) !important;
	border-radius: 8px !important;
	color: #fff7dd !important;
	content: "Tournament player room";
	display: block !important;
	font-weight: 900 !important;
	margin: 0 0 14px !important;
	padding: 10px 14px !important;
}

body.chessora-shell.view-tournaments .chessora-room-grid {
	align-items: start !important;
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-tournaments .chessora-room-format,
body.chessora-shell.view-tournaments .chessora-room-chat,
body.chessora-shell.view-tournaments .chessora-room-players {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-tournaments .chessora-room-players {
	grid-row: auto !important;
	position: static !important;
	top: auto !important;
}

body.chessora-shell.view-tournaments .chessora-room-players .chessora-player-rating-list {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
}

body.chessora-shell.view-tournaments .chessora-room-players .chessora-player-rating-list > [data-page-row] {
	align-content: start !important;
	background: rgba(255, 255, 255, 0.035) !important;
	border: 1px solid rgba(244, 207, 116, 0.24) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 4px !important;
	min-height: 82px !important;
	padding: 12px 14px !important;
}

body.chessora-shell.view-tournaments .chessora-room-players .chessora-player-rating-list > [data-page-row] strong,
body.chessora-shell.view-tournaments .chessora-room-players .chessora-player-rating-list > [data-page-row] span {
	overflow-wrap: anywhere !important;
}

body.chessora-shell.view-tournaments .chessora-scoreboard,
body.chessora-shell.view-tournaments .chessora-swiss-grid-panel,
body.chessora-shell.view-tournaments .chessora-observer-panel,
body.chessora-shell.view-tournaments .chessora-bracket-panel,
body.chessora-shell.view-tournaments .chessora-pairings-panel {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-panel,
body.chessora-shell.view-tournaments .chessora-observer-panel {
	margin-inline: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-board,
body.chessora-shell.view-tournaments .chessora-observer-strip {
	background: #0f1c17 !important;
	overflow: auto !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board span,
body.chessora-shell.view-tournaments .chessora-bracket-board .chessora-observer-board span {
	background-size: cover !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board span.is-light {
	background-image: url("../../../media/com_chess/images/board/wood/square-light.gif") !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board span.is-dark {
	background-image: url("../../../media/com_chess/images/board/wood/square-dark.gif") !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments-page :where(button, .chessora-button, .chessora-tabs a, .chessora-pairing-tabs button, .chessora-observer-round-tabs button, .chessora-replay-controls button, .chessora-pagination button) {
	color: #fff7dd !important;
	opacity: 1 !important;
}

body.chessora-shell.view-tournaments .chessora-tournaments-page :where(button:disabled, .chessora-button:disabled, .chessora-pagination button:disabled, .chessora-replay-controls button:disabled) {
	background: #fff3d4 !important;
	border-color: rgba(244, 207, 116, 0.52) !important;
	color: #8a610f !important;
	opacity: 1 !important;
}

body.chessora-shell.view-tournaments .chessora-agenda-head,
body.chessora-shell.view-tournaments .chessora-agenda-head *,
body.chessora-shell.view-tournaments .chessora-table-head,
body.chessora-shell.view-tournaments .chessora-table-head * {
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-podium {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		#14211b !important;
	border: 1px solid rgba(244, 207, 116, 0.3) !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-podium > div {
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-tournaments .chessora-podium article {
	background: #1b2a23 !important;
	border: 1px solid rgba(244, 207, 116, 0.32) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #fff7dd !important;
}

body.chessora-shell.view-tournaments .chessora-podium article span {
	background: linear-gradient(180deg, #f4c95f, #c88d29) !important;
	color: #14100a !important;
}

body.chessora-shell.view-tournaments .chessora-podium article :where(strong, small, i) {
	color: #fff7dd !important;
}

@media (max-width: 980px) {
	body.chessora-shell.view-correspondence .chessora-correspondence-create-group > div,
	body.chessora-shell.view-tournaments .chessora-room-grid,
	body.chessora-shell.view-tournaments .chessora-podium > div {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-tournaments .chessora-room-format,
	body.chessora-shell.view-tournaments .chessora-room-chat,
	body.chessora-shell.view-tournaments .chessora-room-players {
		grid-column: 1 / -1 !important;
	}
}

/* Hard overrides for the correspondence board polish. */
body.chessora-shell.view-correspondence .chessora-correspondence-mini-board {
	background: #16231e !important;
	display: grid !important;
	gap: 0 !important;
	grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
	grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
	padding: 6px !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board > span {
	align-items: center !important;
	aspect-ratio: 1 / 1 !important;
	background-image: none !important;
	display: flex !important;
	justify-content: center !important;
	min-height: 0 !important;
	min-width: 0 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board > span.is-light {
	background: #f0d7a4 !important;
}

body.chessora-shell.view-correspondence .chessora-correspondence-mini-board > span.is-dark {
	background: #744820 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board.cg-wrap cg-board,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-analysis-board.cg-wrap cg-board {
	background-color: #f0d7a4 !important;
	background-image:
		conic-gradient(
			#f0d7a4 0 25%,
			#744820 0 50%,
			#f0d7a4 0 75%,
			#744820 0 100%
		) !important;
	background-position: 0 0 !important;
	background-size: 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-download-pgn],
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-copy-forum-embed],
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-analysis-board-toggle] {
	align-items: center !important;
	background: #fbfcfd !important;
	border: 1px solid #dce3e8 !important;
	color: #344054 !important;
	display: inline-flex !important;
	font-weight: 950 !important;
	gap: 6px !important;
	justify-content: center !important;
	min-height: 46px !important;
	opacity: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-score-rail {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence {
	--room-board-size: clamp(500px, min(55vw, calc(100vh - 260px)), 680px) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
	display: grid !important;
	gap: 18px !important;
	grid-column: 1 / -1 !important;
	grid-template-columns: 1fr !important;
	margin: 0 auto !important;
	max-width: calc(var(--room-board-size) + 64px) !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
	align-items: center !important;
	display: grid !important;
	justify-items: center !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side {
	display: grid !important;
	gap: 12px !important;
	grid-column: 1 !important;
	margin: 0 auto !important;
	min-width: 0 !important;
	position: static !important;
	transform: none !important;
	width: min(100%, calc(var(--room-board-size) + 44px)) !important;
	z-index: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-area {
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-panel,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-rail,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-actions,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-postgame-actions {
	grid-column: 1 !important;
	margin: 0 !important;
	max-width: none !important;
	position: static !important;
	transform: none !important;
	width: 100% !important;
	z-index: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-note-underboard {
	max-width: calc(var(--room-board-size) + 44px) !important;
	width: min(100%, calc(var(--room-board-size) + 44px)) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-rail .chessora-player-card > [data-player-clock],
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-rail [data-player-clock] {
	min-width: 88px !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-analysis-board-panel {
	position: fixed !important;
	width: min(calc(100vw - 24px), 430px) !important;
	z-index: 10000 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-analysis-board-card header {
	cursor: grab !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-analysis-board-panel.is-dragging .chessora-analysis-board-card header {
	cursor: grabbing !important;
}

body.chessora-shell.view-tournaments .chessora-tournament-list-tabs a {
	background: linear-gradient(180deg, #f4cf74, #d59728) !important;
	border: 1px solid #b87916 !important;
	color: #1f1708 !important;
	font-weight: 950 !important;
}

/* Correspondence game emergency layout: tools are now in the board column. */
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage > .chessora-move-panel {
	clear: both !important;
	float: none !important;
	inset: auto !important;
	margin: 12px auto 0 !important;
	max-width: calc(var(--room-board-size) + 44px) !important;
	order: 20 !important;
	position: static !important;
	transform: none !important;
	width: min(100%, calc(var(--room-board-size) + 44px)) !important;
	z-index: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
	display: none !important;
}

/* Final rollback: keep correspondence game in the pre-calculation-board three-column room. */
body.chessora-shell.view-game .chessora-game-room.is-correspondence {
	--room-board-size: clamp(560px, min(52vw, calc(100vh - 170px)), 740px) !important;
	align-items: start !important;
	display: grid !important;
	gap: 26px !important;
	grid-template-columns: 290px minmax(0, 1fr) 300px !important;
	justify-items: stretch !important;
	max-width: 1530px !important;
	padding: 34px 38px 54px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
	display: grid !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	max-width: 290px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
	display: contents !important;
	max-width: none !important;
	width: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
	grid-column: 2 !important;
	grid-row: 1 !important;
	justify-self: center !important;
	max-width: min(100%, calc(var(--room-board-size, 700px) + 80px)) !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side {
	display: grid !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	max-width: 300px !important;
	order: initial !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
	display: block !important;
}

/* Pawn Realm account login. */
body.chessora-shell.view-login .shell-page {
	display: grid;
	min-height: calc(100vh - 186px);
	padding: 34px 32px 42px;
	place-items: center;
}

body.chessora-shell.view-login .shell-component-card {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	min-height: 0;
	overflow: visible;
	width: min(100%, 1100px);
}

.chessora-login-page {
	color: #f7f0dc;
	width: 100%;
}

.chessora-login-card {
	background:
		linear-gradient(135deg, rgba(244, 207, 116, 0.12), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
		#14201b;
	border: 1px solid rgba(244, 207, 116, 0.26);
	border-radius: 10px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, 440px);
	padding: 34px;
}

.chessora-login-copy {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) minmax(190px, 245px);
	align-items: end;
	min-height: 420px;
	padding: 10px 18px 10px 4px;
}

.chessora-login-copy-text {
	min-width: 0;
}

.chessora-login-mark {
	align-items: center;
	background: linear-gradient(180deg, #f4cf74, #d59728);
	border-radius: 8px;
	color: #151008;
	display: inline-flex;
	font-size: 1.35rem;
	height: 46px;
	justify-content: center;
	margin-bottom: 24px;
	width: 46px;
}

.chessora-login-kicker {
	color: #f4cf74;
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.chessora-login-copy h1 {
	color: #fff7dd;
	font-size: clamp(2.1rem, 4vw, 4.2rem);
	line-height: 1;
	margin: 0 0 18px;
	max-width: 9ch;
}

.chessora-login-copy p:not(.chessora-login-kicker) {
	color: #cbd6d0;
	font-size: 1.04rem;
	margin: 0;
	max-width: 34rem;
}

.chessora-login-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.chessora-login-benefits span {
	background: rgba(244, 207, 116, 0.1);
	border: 1px solid rgba(244, 207, 116, 0.24);
	border-radius: 999px;
	color: #f9df95;
	font-size: 0.78rem;
	font-weight: 900;
	padding: 7px 11px;
	text-transform: uppercase;
}

.chessora-login-figure {
	align-self: stretch;
	background: #0a1512;
	border: 1px solid rgba(244, 207, 116, 0.28);
	border-radius: 10px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
	margin: 0;
	min-height: 360px;
	overflow: hidden;
	position: relative;
}

.chessora-login-figure::after {
	background: linear-gradient(180deg, transparent 58%, rgba(8, 14, 12, 0.32));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.chessora-login-figure img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: 50% 16%;
	width: 100%;
}

.chessora-login-form {
	align-self: center;
	background: rgba(8, 14, 12, 0.72);
	border: 1px solid rgba(244, 207, 116, 0.22);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	display: grid;
	gap: 18px;
	padding: 24px;
}

.chessora-login-fields {
	display: grid;
	gap: 14px;
}

.chessora-login-field {
	display: grid;
	gap: 8px;
}

.chessora-login-field > span,
.chessora-login-remember span {
	color: #fff7dd;
	font-size: 0.92rem;
	font-weight: 850;
}

.chessora-login-field :where(input, select) {
	background: #f9fbf8 !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #111827 !important;
	min-height: 48px;
	padding: 0 14px;
	width: 100%;
}

.chessora-login-field .password-group,
.chessora-login-field .input-group {
	display: block !important;
	position: relative;
	width: 100%;
}

.chessora-login-field .input-password-toggle {
	display: none !important;
}

.chessora-login-field :where(input, select):focus {
	border-color: #f4cf74 !important;
	outline: 3px solid rgba(244, 207, 116, 0.24);
}

.chessora-login-remember {
	align-items: center;
	display: flex;
	gap: 10px;
}

.chessora-login-remember input {
	accent-color: #d59728;
	height: 17px;
	width: 17px;
}

.chessora-login-submit,
.chessora-login-secondary {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-weight: 950;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	width: 100%;
}

.chessora-login-submit {
	background: linear-gradient(180deg, #f4cf74, #d59728);
	border: 1px solid rgba(255, 235, 166, 0.7);
	color: #151008;
}

.chessora-login-secondary {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(244, 207, 116, 0.24);
	color: #fff7dd;
}

.chessora-login-social {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(244, 207, 116, 0.22);
	border-radius: 8px;
	display: grid;
	gap: 10px;
	padding: 12px;
}

.chessora-login-social > span {
	color: #f4cf74;
	font-size: .78rem;
	font-weight: 950;
	text-transform: uppercase;
}

.chessora-login-social .chessora-login-secondary {
	gap: 10px;
	text-decoration: none;
}

.chessora-login-secondary.is-facebook {
	background: linear-gradient(180deg, #f4cf74, #d59728);
	border-color: rgba(255, 235, 166, 0.7);
	color: #151008;
}

.chessora-login-secondary.is-google {
	background: #ffffff;
	border-color: rgba(17, 24, 39, 0.18);
	color: #1f2937;
}

.chessora-login-secondary.is-facebook span,
.chessora-login-secondary.is-google span {
	align-items: center;
	display: inline-flex;
	font-weight: 950;
	justify-content: center;
	min-width: 18px;
}

.chessora-login-links {
	border-top: 1px solid rgba(244, 207, 116, 0.18);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	padding-top: 16px;
}

.chessora-login-links a {
	color: #f4cf74;
	font-size: 0.92rem;
	font-weight: 850;
}

.chessora-login-links a:hover,
.chessora-login-links a:focus {
	color: #fff7dd;
}

.chessora-logout-card {
	align-items: stretch;
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, 430px);
}

.chessora-logout-figure {
	background: #0a1512;
	border: 1px solid rgba(244, 207, 116, 0.28);
	border-radius: 10px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
	margin: 0;
	min-height: 440px;
	overflow: hidden;
	position: relative;
}

.chessora-logout-figure::after {
	background:
		linear-gradient(90deg, transparent 48%, rgba(8, 14, 12, 0.26)),
		linear-gradient(180deg, transparent 62%, rgba(8, 14, 12, 0.34));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.chessora-logout-figure img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: 52% 18%;
	width: 100%;
}

.chessora-logout-panel {
	align-self: center;
	background: rgba(8, 14, 12, 0.72);
	border: 1px solid rgba(244, 207, 116, 0.22);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	color: #f7f0dc;
	display: grid;
	gap: 18px;
	padding: 28px;
}

.chessora-logout-panel h1 {
	color: #fff7dd;
	font-size: 2.25rem;
	line-height: 1.04;
	margin: 0;
}

.chessora-logout-panel p:not(.chessora-login-kicker) {
	color: #cbd6d0;
	font-size: 1rem;
	line-height: 1.55;
	margin: 0;
}

.chessora-logout-identity {
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(244, 207, 116, 0.18);
	border-radius: 10px;
	display: flex;
	gap: 14px;
	padding: 14px;
}

.chessora-logout-identity > span {
	align-items: center;
	background: linear-gradient(180deg, #f4cf74, #d59728);
	border: 3px solid rgba(255, 247, 221, 0.96);
	border-radius: 999px;
	color: #151008;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 1.6rem;
	font-weight: 950;
	height: 58px;
	justify-content: center;
	width: 58px;
}

.chessora-logout-identity div {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.chessora-logout-identity strong {
	color: #fff7dd;
	font-size: 1.05rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chessora-logout-identity small {
	color: #f4cf74;
	font-size: 0.82rem;
	font-weight: 850;
	text-transform: uppercase;
}

.chessora-logout-actions {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
}

.chessora-logout-actions a {
	text-decoration: none;
}

.chessora-logout-shortcuts {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chessora-logout-shortcuts a {
	align-items: center;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(244, 207, 116, 0.18);
	border-radius: 9px;
	color: #fff7dd;
	display: grid;
	gap: 7px;
	min-height: 82px;
	padding: 12px;
	text-align: center;
	text-decoration: none;
}

.chessora-logout-shortcuts span {
	align-items: center;
	background: rgba(244, 207, 116, 0.16);
	border-radius: 999px;
	color: #f4cf74;
	display: inline-flex;
	height: 30px;
	justify-content: center;
	justify-self: center;
	width: 30px;
}

.chessora-logout-shortcuts strong {
	color: #fff7dd;
	font-size: 0.82rem;
}

.chessora-logout-form {
	align-items: center;
	border-top: 1px solid rgba(244, 207, 116, 0.18);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding-top: 16px;
}

.chessora-logout-form span {
	color: #aebdb5;
	font-size: 0.86rem;
	font-weight: 750;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chessora-logout-form button {
	background: transparent;
	border: 0;
	color: #f4cf74;
	cursor: pointer;
	flex: 0 0 auto;
	font-size: 0.94rem;
	font-weight: 850;
	padding: 0;
}

.chessora-logout-form button:hover,
.chessora-logout-form button:focus {
	color: #fff7dd;
	text-decoration: underline;
}

@media (max-width: 860px) {
	body.chessora-shell.view-login .shell-page {
		padding: 20px 14px 34px;
	}

	.chessora-login-card {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.chessora-login-copy {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 0;
	}

	.chessora-login-figure {
		aspect-ratio: 4 / 3;
		min-height: 0;
		width: min(100%, 360px);
	}

	.chessora-login-copy h1 {
		max-width: none;
	}

	.chessora-login-form {
		padding: 18px;
	}

	.chessora-logout-card,
	.chessora-logout-actions,
	.chessora-logout-shortcuts {
		grid-template-columns: 1fr;
	}

	.chessora-logout-figure {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.chessora-logout-panel {
		padding: 20px;
	}

	.chessora-logout-panel h1 {
		font-size: 1.85rem;
	}
}

/* Community Builder login fallback. */
body.chessora-shell.option-com_comprofiler.view-login .shell-page {
	background:
		linear-gradient(135deg, rgba(244, 207, 116, 0.1), transparent 34%),
		#07110e;
	display: grid;
	min-height: calc(100vh - 186px);
	padding: 34px 32px 42px;
	place-items: center;
}

body.chessora-shell.option-com_comprofiler.view-login .shell-component-card {
	align-items: stretch;
	background:
		linear-gradient(135deg, rgba(244, 207, 116, 0.12), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
		#14201b !important;
	border: 0 !important;
	border-radius: 10px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36) !important;
	display: grid;
	gap: 34px;
	grid-template-areas:
		"message message"
		"media form";
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 440px);
	min-height: 0;
	overflow: visible;
	padding: 34px;
	width: min(100%, 1100px);
}

body.chessora-shell.option-com_comprofiler.view-login .shell-component-card::before {
	background:
		linear-gradient(180deg, transparent 58%, rgba(8, 14, 12, 0.32)),
		url("../images/login-checkered-hostess.png") center 16% / cover no-repeat,
		#0a1512;
	border: 1px solid rgba(244, 207, 116, 0.28);
	border-radius: 10px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
	content: "";
	display: block;
	grid-area: media;
	min-height: 420px;
}

body.chessora-shell.option-com_comprofiler.view-login .shell-component-card > #system-message-container {
	grid-area: message;
	width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-login .shell-component-card > #system-message-container:empty {
	display: none;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm {
	align-self: center;
	background: rgba(8, 14, 12, 0.72);
	border: 1px solid rgba(244, 207, 116, 0.26);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	box-sizing: border-box;
	color: #fff7dd;
	display: grid;
	gap: 18px;
	grid-area: form;
	margin: 0;
	padding: 32px;
	width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm::before {
	color: #fff7dd;
	content: "Sign in to Pawn Realm";
	display: block;
	font-size: 2rem;
	font-weight: 950;
	line-height: 1.05;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm::after {
	color: #cbd6d0;
	content: "Return to your games, correspondence boards, tournaments, and player profile.";
	display: block;
	font-size: 0.98rem;
	grid-row: 2;
	line-height: 1.5;
	margin-top: -10px;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .mod-login__userdata {
	display: grid;
	gap: 14px;
	margin-top: 10px;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .form-group {
	margin: 0;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .input-group {
	align-items: stretch;
	display: block !important;
	overflow: visible;
	position: relative;
	width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm :where(input.form-control, input[type="text"], input[type="password"]) {
	background: #f9fbf8 !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	box-sizing: border-box;
	color: #111827 !important;
	font-size: 1rem;
	height: 48px !important;
	min-height: 48px;
	min-width: 0;
	padding: 0 54px 0 14px;
	width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm :where(input.form-control, input[type="text"], input[type="password"]):focus {
	border-color: #f4cf74 !important;
	outline: 3px solid rgba(244, 207, 116, 0.24);
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm :where(.input-group-text, .input-password-toggle) {
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #6b7280 !important;
	display: inline-flex;
	inset-block: 0;
	justify-content: center;
	min-height: 48px;
	min-width: 48px;
	padding: 0 12px;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm :where(.invalid-feedback, .valid-feedback):empty {
	display: none !important;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .form-check {
	align-items: center;
	display: flex;
	gap: 10px;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .form-check-label {
	align-items: center;
	color: #fff7dd;
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 850;
	gap: 10px;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .form-check-input {
	accent-color: #d59728;
	height: 17px;
	margin: 0;
	width: 17px;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .btn-primary {
	background: linear-gradient(180deg, #f4cf74, #d59728) !important;
	border: 1px solid rgba(255, 235, 166, 0.7) !important;
	border-radius: 8px !important;
	color: #151008 !important;
	font-weight: 950;
	min-height: 48px;
	padding: 0 18px;
	width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .mod-login__options {
	border-top: 1px solid rgba(244, 207, 116, 0.18);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	list-style: none;
	margin: 0;
	padding: 16px 0 0;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .mod-login__options li {
	margin: 0;
	padding: 0;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .mod-login__options a {
	color: #f4cf74;
	font-size: 0.92rem;
	font-weight: 850;
	text-decoration: none;
}

body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .mod-login__options a:hover,
body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm .mod-login__options a:focus {
	color: #fff7dd;
	text-decoration: underline;
}

body.chessora-shell.option-com_comprofiler.view-login .shell-component-card > :where(.cbLogoutForm, .mod-login-logout, #login-form:not(.cbLoginForm)) {
	align-self: center;
	background: rgba(8, 14, 12, 0.72);
	border: 1px solid rgba(244, 207, 116, 0.26);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	color: #fff7dd;
	display: grid;
	gap: 16px;
	grid-area: form;
	padding: 30px;
}

body.chessora-shell.option-com_comprofiler.view-login .shell-component-card > :where(.cbLogoutForm, .mod-login-logout, #login-form:not(.cbLoginForm))::before {
	color: #fff7dd;
	content: "Welcome back";
	font-size: 2rem;
	font-weight: 950;
	line-height: 1.05;
}

body.chessora-shell.option-com_comprofiler.view-login .shell-component-card > .pawnrealm-login-promo-logout::before {
	content: none;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-copy {
	display: grid;
	gap: 10px;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-kicker {
	color: #f4cf74;
	font-size: 0.8rem;
	font-weight: 950;
	letter-spacing: 0;
	text-transform: uppercase;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-copy h1 {
	color: #fff7dd;
	font-size: 2rem;
	font-weight: 950;
	line-height: 1.05;
	margin: 0;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-copy p {
	color: #cbd6d0;
	font-size: 0.98rem;
	line-height: 1.5;
	margin: 0;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-actions {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-actions a {
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(244, 207, 116, 0.24);
	border-radius: 8px;
	color: #fff7dd;
	display: inline-flex;
	font-weight: 950;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	text-align: center;
	text-decoration: none;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-actions a:hover,
body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-actions a:focus-visible {
	background: rgba(244, 207, 116, 0.14);
	color: #fff7dd;
	outline: 2px solid rgba(244, 207, 116, 0.35);
	outline-offset: 2px;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-actions .pawnrealm-login-promo-primary {
	background: linear-gradient(180deg, #f4cf74, #d59728);
	border-color: rgba(255, 235, 166, 0.7);
	color: #151008;
	grid-column: 1 / -1;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-signout {
	align-items: center;
	border-top: 1px solid rgba(244, 207, 116, 0.18);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: 2px;
	padding-top: 14px;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-signout span {
	color: #aebdb5;
	font-size: 0.86rem;
	font-weight: 800;
}

body.chessora-shell.option-com_comprofiler.view-login .pawnrealm-login-promo-signout button {
	background: transparent !important;
	border: 0 !important;
	color: #f4cf74 !important;
	min-height: 0 !important;
	padding: 0 !important;
	width: auto !important;
}

body.chessora-shell.option-com_comprofiler.view-login :where(.login-greeting, .logout-greeting, .mod-login-logout__login-greeting) {
	color: #f7f0dc;
	font-size: 1.05rem;
	margin: 0;
}

body.chessora-shell.option-com_comprofiler.view-login :where(.mod-login-logout button, .cbLogoutForm button, #login-form:not(.cbLoginForm) button, .logout-button, input[type="submit"]) {
	background: linear-gradient(180deg, #f4cf74, #d59728) !important;
	border: 1px solid rgba(255, 235, 166, 0.7) !important;
	border-radius: 8px !important;
	color: #151008 !important;
	cursor: pointer;
	font-weight: 950;
	min-height: 44px;
	padding: 0 18px;
}

body.chessora-shell.option-com_comprofiler.view-login :where(.cb_template .avatar, .cbImgPict, .mod-login-logout img, #login-form:not(.cbLoginForm) img) {
	border: 4px solid #fff7dd;
	border-radius: 999px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	max-height: 86px;
	max-width: 86px;
}

body.chessora-shell.option-com_comprofiler.view-login :where(
	.mod-login-logout a[href*="comprofiler"],
	#login-form:not(.cbLoginForm) a[href*="comprofiler"],
	.mod-login-logout__login-greeting,
	.mod-login-logout__profile,
	.logout-greeting,
	.login-greeting,
	.cbUserAvatar,
	.cbImgPict
) {
	display: none !important;
}

@media (max-width: 640px) {
	body.chessora-shell.option-com_comprofiler.view-login .shell-page {
		padding: 20px 14px 34px;
	}

	body.chessora-shell.option-com_comprofiler.view-login .shell-component-card {
		gap: 22px;
		grid-template-areas:
			"message"
			"form"
			"media";
		grid-template-columns: 1fr;
		padding: 22px;
	}

	body.chessora-shell.option-com_comprofiler.view-login .shell-component-card::before {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm {
		padding: 22px;
	}

	body.chessora-shell.option-com_comprofiler.view-login .cbLoginForm::before {
		font-size: 1.65rem;
	}
}

/* Community Builder registration fallback. */
body.chessora-shell.option-com_comprofiler.view-registers .shell-page {
	background:
		linear-gradient(135deg, rgba(244, 207, 116, 0.1), transparent 34%),
		#07110e;
	display: grid;
	min-height: calc(100vh - 186px);
	padding: 34px 32px 42px;
	place-items: center;
}

body.chessora-shell.option-com_comprofiler.view-registers .shell-component-card {
	align-items: stretch;
	background:
		linear-gradient(135deg, rgba(244, 207, 116, 0.12), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
		#14201b !important;
	border: 0 !important;
	border-radius: 10px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36) !important;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) minmax(380px, 500px);
	min-height: 0;
	overflow: visible;
	padding: 34px;
	width: min(100%, 1120px);
}

body.chessora-shell.option-com_comprofiler.view-registers .shell-component-card::before {
	background:
		linear-gradient(180deg, transparent 55%, rgba(8, 14, 12, 0.36)),
		url("../images/register-family-chess.png") center 18% / cover no-repeat,
		#0a1512;
	border: 1px solid rgba(244, 207, 116, 0.28);
	border-radius: 10px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
	content: "";
	display: block;
	grid-column: 1;
	min-height: 540px;
}

body.chessora-shell.option-com_comprofiler.view-registers .shell-component-card > #system-message-container {
	grid-column: 1 / -1;
	width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-registers .shell-component-card > #system-message-container:empty {
	display: none;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbRegistration {
	align-self: center;
	background: rgba(8, 14, 12, 0.72);
	border: 1px solid rgba(244, 207, 116, 0.26);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	box-sizing: border-box;
	color: #fff7dd;
	grid-column: 2;
	margin: 0;
	padding: 24px;
	width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationHeader {
	border: 0 !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationHeader::before {
	color: #f4cf74;
	content: "Pawn Realm community";
	display: block;
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0;
	margin: 0 0 10px;
	text-transform: uppercase;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationTitle {
	color: #fff7dd;
	font-size: 1.85rem;
	font-weight: 950;
	line-height: 1.05;
	margin: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationTitle::after {
	color: #cbd6d0;
	content: "Create your profile, play your first game, and start earning activity badges.";
	display: block;
	font-size: 0.94rem;
	font-weight: 500;
	line-height: 1.5;
	margin-top: 10px;
	max-width: 35rem;
}

body.chessora-shell.option-com_comprofiler.view-registers .cb_form,
body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationDiv,
body.chessora-shell.option-com_comprofiler.view-registers .cbFieldsContentsTab {
	display: grid;
	gap: 10px;
	margin: 0 !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cb_form_line {
	display: grid !important;
	gap: 6px;
	grid-template-columns: 1fr !important;
	margin: 0 !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cb_form_line.hidden,
body.chessora-shell.option-com_comprofiler.view-registers .cb_form_line.d-none {
	display: none !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cb_form_line > label {
	color: #fff7dd;
	display: block;
	font-size: 0.88rem;
	font-weight: 850;
	max-width: none !important;
	padding: 0 !important;
	width: auto !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cb_form_line .cb_field {
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cb_form_line :where(input.form-control, input[type="text"], input[type="email"], input[type="password"]) {
	background: #f9fbf8 !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	box-sizing: border-box;
	color: #111827 !important;
	font-size: 1rem;
	min-height: 44px;
	padding: 0 14px;
	width: 100% !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cb_form_line :where(input.form-control, input[type="text"], input[type="email"], input[type="password"]):focus {
	border-color: #f4cf74 !important;
	outline: 3px solid rgba(244, 207, 116, 0.24);
}

body.chessora-shell.option-com_comprofiler.view-registers .cbPasswordUnmask {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	width: 100% !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbPasswordUnmask input {
	border-radius: 8px 0 0 8px !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbPasswordUnmask .input-group-append {
	display: contents;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbPasswordUnmask :where(button, .btn) {
	background: rgba(244, 207, 116, 0.16) !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	border-left: 0 !important;
	border-radius: 0 8px 8px 0 !important;
	color: #fff7dd !important;
	font-weight: 850;
	min-height: 44px;
	padding: 0 14px;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbFieldIcons {
	display: none;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbantispamCaptcha {
	gap: 10px !important;
	width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbantispamCaptchaContainer {
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(244, 207, 116, 0.2);
	border-radius: 8px;
	padding: 8px;
	width: fit-content;
	max-width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbantispamCaptchaImage {
	border-radius: 6px;
	height: 44px !important;
	max-width: 100%;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbantispamCaptcha > input.cbantispamCaptchaInput {
	max-width: 230px;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbantispamCaptchaInput input[name="full_address"] {
	display: none !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationButtons {
	margin: 4px 0 0 !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationButtons > div {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationSubmit {
	background: linear-gradient(180deg, #f4cf74, #d59728) !important;
	border: 1px solid rgba(255, 235, 166, 0.7) !important;
	border-radius: 8px !important;
	color: #151008 !important;
	font-size: 1rem;
	font-weight: 950;
	min-height: 44px;
	padding: 0 18px;
	width: 100%;
}

@media (max-width: 900px) {
	body.chessora-shell.option-com_comprofiler.view-registers .shell-page {
		padding: 20px 14px 34px;
	}

	body.chessora-shell.option-com_comprofiler.view-registers .shell-component-card {
		gap: 22px;
		grid-template-columns: 1fr;
		padding: 22px;
	}

	body.chessora-shell.option-com_comprofiler.view-registers .shell-component-card::before {
		aspect-ratio: 4 / 3;
		grid-column: 1;
		min-height: 0;
	}

	body.chessora-shell.option-com_comprofiler.view-registers .cbRegistration {
		grid-column: 1;
		padding: 22px;
	}

	body.chessora-shell.option-com_comprofiler.view-registers .cbRegistrationTitle {
		font-size: 1.65rem;
	}
}

/* Pawn Realm account registration. */
body.chessora-shell.view-registration .shell-page {
	display: grid;
	min-height: calc(100vh - 186px);
	padding: 34px 32px 42px;
	place-items: center;
}

body.chessora-shell.view-registration .shell-component-card {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	min-height: 0;
	overflow: visible;
	width: min(100%, 1120px);
}

.chessora-register-page {
	color: #f7f0dc;
	width: 100%;
}

.chessora-register-card {
	background:
		linear-gradient(135deg, rgba(244, 207, 116, 0.12), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
		#14201b;
	border: 1px solid rgba(244, 207, 116, 0.26);
	border-radius: 10px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
	padding: 34px;
}

.chessora-register-visual {
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(210px, 300px) minmax(0, 1fr);
	align-items: end;
}

.chessora-register-figure {
	align-self: stretch;
	background: #0a1512;
	border: 1px solid rgba(244, 207, 116, 0.28);
	border-radius: 10px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
	margin: 0;
	min-height: 470px;
	overflow: hidden;
	position: relative;
}

.chessora-register-figure::after {
	background: linear-gradient(180deg, transparent 60%, rgba(8, 14, 12, 0.3));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.chessora-register-figure img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
	width: 100%;
}

.chessora-register-copy {
	min-width: 0;
	padding-bottom: 8px;
}

.chessora-register-copy h1 {
	color: #fff7dd;
	font-size: clamp(2rem, 3.6vw, 3.8rem);
	line-height: 1;
	margin: 0 0 18px;
	max-width: 9ch;
}

.chessora-register-copy p:not(.chessora-login-kicker) {
	color: #cbd6d0;
	font-size: 1.04rem;
	margin: 0;
	max-width: 32rem;
}

.chessora-register-steps,
.chessora-register-form-intro {
	display: grid;
	gap: 10px;
}

.chessora-register-steps {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 18px;
}

.chessora-register-steps span,
.chessora-register-form-intro {
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(244, 207, 116, 0.2);
	border-radius: 8px;
	color: #cbd6d0;
	line-height: 1.35;
	padding: 12px;
}

.chessora-register-steps strong,
.chessora-register-form-intro strong {
	color: #fff7dd;
}

.chessora-register-form-intro span {
	color: #b9c5be;
}

.chessora-register-form {
	align-self: center;
	background: rgba(8, 14, 12, 0.72);
	border: 1px solid rgba(244, 207, 116, 0.22);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	display: grid;
	gap: 16px;
	padding: 24px;
}

.chessora-register-fields {
	display: grid;
	gap: 13px;
}

.chessora-register-field {
	display: grid;
	gap: 7px;
}

.chessora-register-field label,
.chessora-register-captcha label {
	color: #fff7dd;
	font-size: 0.9rem;
	font-weight: 850;
	margin: 0;
}

.chessora-register-field > strong {
	background: rgba(255, 247, 221, 0.08);
	border: 1px solid rgba(244, 207, 116, 0.22);
	border-radius: 8px;
	color: #fff7dd;
	display: block;
	font-size: 0.95rem;
	font-weight: 850;
	min-height: 42px;
	padding: 10px 14px;
}

.chessora-register-field :where(input, select) {
	background: #f9fbf8 !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #111827 !important;
	min-height: 46px;
	padding: 0 14px;
	width: 100%;
}

.chessora-register-field .password-group,
.chessora-register-field .input-group {
	display: block !important;
	position: relative;
	width: 100%;
}

.chessora-register-field .input-password-toggle {
	display: none !important;
}

.chessora-register-field :where(input, select):focus {
	border-color: #f4cf74 !important;
	outline: 3px solid rgba(244, 207, 116, 0.24);
}

.chessora-register-form .form-text,
.chessora-register-form .form-control-feedback,
.chessora-register-form .small,
.chessora-register-field small {
	color: #b9c5be !important;
	font-size: 0.78rem;
	line-height: 1.35;
	margin: 2px 0 0;
}

.chessora-register-captcha {
	color: #f7f0dc;
}

@media (max-width: 980px) {
	body.chessora-shell.view-registration .shell-page {
		padding: 20px 14px 34px;
	}

	.chessora-register-card {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.chessora-register-visual {
		grid-template-columns: 1fr;
	}

	.chessora-register-figure {
		aspect-ratio: 4 / 3;
		min-height: 0;
		width: min(100%, 420px);
	}

	.chessora-register-copy h1 {
		max-width: none;
	}

	.chessora-register-steps {
		grid-template-columns: 1fr;
	}

	.chessora-register-form {
		padding: 18px;
	}
}

/* Profile onboarding: dark chess-site setup flow. */
body.chessora-shell.view-profile .shell-page {
	padding: 34px 32px 54px;
}

body.chessora-shell.view-profile .shell-component-card {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible;
}

body.chessora-shell.view-profile .chessora-profile-page {
	background:
		radial-gradient(circle at 20% 8%, rgba(214, 162, 59, 0.12), transparent 28rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
		#101a16 !important;
	border: 1px solid rgba(214, 162, 59, 0.24) !important;
	border-radius: 10px !important;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36) !important;
	color: #f7f0dc !important;
	margin: 0 auto !important;
	max-width: 1240px !important;
	padding: 28px !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(h1, h2, h3, strong, b, label, legend) {
	color: #fff7dd !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(p, span, small) {
	color: #cbd6d0 !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-kicker {
	color: #f4cf74 !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(.chessora-tabs, .chessora-profile-hero, .chessora-profile-edit, .chessora-panel, .chessora-card) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
		#17241f !important;
	border: 1px solid rgba(244, 207, 116, 0.24) !important;
	border-radius: 10px !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24) !important;
	color: #f7f0dc !important;
}

body.chessora-shell.view-profile .chessora-profile-edit {
	display: grid !important;
	gap: 22px !important;
	margin-top: 24px !important;
	padding: 24px !important;
}

body.chessora-shell.view-profile .chessora-profile-onboarding {
	align-items: center;
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) 150px;
}

body.chessora-shell.view-profile .chessora-profile-onboarding h2 {
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1;
	margin: 0 0 10px;
}

body.chessora-shell.view-profile .chessora-profile-progress {
	align-items: center;
	background: #0b1512;
	border: 1px solid rgba(244, 207, 116, 0.26);
	border-radius: 10px;
	display: grid;
	gap: 4px;
	min-height: 112px;
	padding: 16px;
	position: relative;
}

body.chessora-shell.view-profile .chessora-profile-progress strong {
	font-size: 2rem;
	line-height: 1;
}

body.chessora-shell.view-profile .chessora-profile-progress i {
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	bottom: 14px;
	height: 8px;
	left: 16px;
	overflow: hidden;
	position: absolute;
	right: 16px;
}

body.chessora-shell.view-profile .chessora-profile-progress i::before {
	background: linear-gradient(90deg, #d59728, #f4cf74);
	border-radius: inherit;
	content: "";
	display: block;
	height: 100%;
	width: var(--profile-progress, 0%);
}

body.chessora-shell.view-profile .chessora-profile-steps {
	display: grid;
	gap: 10px;
	grid-column: 1 / -1;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

body.chessora-shell.view-profile .chessora-profile-steps li {
	align-items: center;
	background: rgba(8, 14, 12, 0.6);
	border: 1px solid rgba(244, 207, 116, 0.18);
	border-radius: 8px;
	color: #f7f0dc;
	display: flex;
	font-weight: 850;
	gap: 10px;
	min-height: 46px;
	padding: 9px 12px;
}

body.chessora-shell.view-profile .chessora-profile-steps span {
	align-items: center;
	background: rgba(244, 207, 116, 0.12);
	border: 1px solid rgba(244, 207, 116, 0.3);
	border-radius: 7px;
	color: #f4cf74 !important;
	display: inline-flex;
	font-size: 0.78rem;
	height: 24px;
	justify-content: center;
	width: 24px;
}

body.chessora-shell.view-profile .chessora-profile-steps .is-complete {
	border-color: rgba(105, 190, 122, 0.4);
}

body.chessora-shell.view-profile .chessora-profile-steps .is-complete span {
	background: rgba(105, 190, 122, 0.18);
	border-color: rgba(105, 190, 122, 0.42);
	color: #8ee6a1 !important;
}

body.chessora-shell.view-profile .chessora-profile-edit-grid {
	display: grid !important;
	gap: 15px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-profile .chessora-profile-edit label,
body.chessora-shell.view-profile .chessora-avatar-picker {
	display: grid !important;
	gap: 8px !important;
}

body.chessora-shell.view-profile .chessora-avatar-picker {
	gap: 12px !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.chessora-shell.view-profile .chessora-profile-edit :where(input, select, textarea) {
	background: #f9fbf8 !important;
	border: 1px solid rgba(244, 207, 116, 0.34) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #111827 !important;
	min-height: 46px;
	padding: 0 14px;
	width: 100%;
}

body.chessora-shell.view-profile .chessora-profile-edit textarea {
	min-height: 118px;
	padding-top: 12px;
}

body.chessora-shell.view-profile .chessora-profile-edit-wide {
	grid-column: 1 / -1;
}

body.chessora-shell.view-profile .chessora-avatar-picker legend {
	grid-column: 1 / -1;
}

body.chessora-shell.view-profile .chessora-avatar-picker label {
	cursor: pointer;
	display: grid !important;
	gap: 0 !important;
}

body.chessora-shell.view-profile .chessora-avatar-picker input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

body.chessora-shell.view-profile .chessora-avatar-picker label > span {
	background: #0b1512;
	border: 2px solid rgba(244, 207, 116, 0.18);
	border-radius: 10px;
	display: grid;
	gap: 8px;
	overflow: hidden;
	padding: 8px;
}

body.chessora-shell.view-profile .chessora-avatar-picker label > span img {
	aspect-ratio: 1;
	border-radius: 7px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

body.chessora-shell.view-profile .chessora-avatar-picker label > span small {
	color: #f7f0dc !important;
	font-size: 0.76rem;
	font-weight: 850;
	text-align: center;
}

body.chessora-shell.view-profile .chessora-avatar-picker input:checked + span {
	border-color: #f4cf74;
	box-shadow: 0 0 0 3px rgba(244, 207, 116, 0.16);
}

body.chessora-shell.view-profile .chessora-fair-play-agreement {
	align-items: start !important;
	background: rgba(74, 38, 32, 0.44);
	border: 1px solid rgba(236, 105, 86, 0.42);
	border-radius: 10px;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: 22px minmax(0, 1fr);
	padding: 16px;
}

body.chessora-shell.view-profile .chessora-fair-play-agreement input {
	accent-color: #d59728;
	height: 18px;
	margin-top: 3px;
	min-height: 18px !important;
	padding: 0 !important;
	width: 18px;
}

body.chessora-shell.view-profile .chessora-fair-play-agreement span {
	color: #f2d7d2 !important;
	line-height: 1.45;
}

body.chessora-shell.view-profile .chessora-fair-play-agreement strong {
	display: block;
	margin-bottom: 4px;
}

body.chessora-shell.view-profile .chessora-profile-edit > .chessora-button {
	background: linear-gradient(180deg, #f4cf74, #d59728) !important;
	border-color: rgba(255, 235, 166, 0.7) !important;
	color: #151008 !important;
	justify-self: start;
	min-height: 48px;
	padding: 0 22px;
}

body.chessora-shell.view-profile .chessora-profile-command {
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	margin-top: 24px;
}

body.chessora-shell.view-profile .chessora-profile-main,
body.chessora-shell.view-profile .chessora-profile-rail {
	display: grid;
	gap: 18px;
}

body.chessora-shell.view-profile .chessora-panel-head {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 14px;
}

body.chessora-shell.view-profile .chessora-panel-head h2 {
	margin: 0;
}

body.chessora-shell.view-profile .chessora-panel-head > span {
	background: rgba(244, 207, 116, 0.12);
	border: 1px solid rgba(244, 207, 116, 0.24);
	border-radius: 999px;
	color: #f4cf74 !important;
	font-size: 0.78rem;
	font-weight: 900;
	padding: 6px 10px;
}

body.chessora-shell.view-profile .chessora-profile-rating-panel {
	overflow: hidden;
	position: relative;
}

body.chessora-shell.view-profile .chessora-rating-hero {
	display: grid;
	gap: 4px;
	margin-bottom: 20px;
}

body.chessora-shell.view-profile .chessora-rating-hero strong {
	font-size: clamp(3rem, 7vw, 5.5rem);
	line-height: 0.95;
}

body.chessora-shell.view-profile .chessora-rating-spark {
	align-items: end;
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(7, 1fr);
	height: 110px;
}

body.chessora-shell.view-profile .chessora-rating-spark i {
	background: linear-gradient(180deg, rgba(142, 230, 161, 0.78), rgba(214, 162, 59, 0.18));
	border-radius: 999px 999px 0 0;
	display: block;
	height: 44%;
}

body.chessora-shell.view-profile .chessora-rating-spark i:nth-child(2) { height: 58%; }
body.chessora-shell.view-profile .chessora-rating-spark i:nth-child(3) { height: 52%; }
body.chessora-shell.view-profile .chessora-rating-spark i:nth-child(4) { height: 68%; }
body.chessora-shell.view-profile .chessora-rating-spark i:nth-child(5) { height: 82%; }
body.chessora-shell.view-profile .chessora-rating-spark i:nth-child(6) { height: 76%; }
body.chessora-shell.view-profile .chessora-rating-spark i:nth-child(7) { height: 88%; }

body.chessora-shell.view-profile .chessora-profile-feed {
	display: grid;
	gap: 10px;
}

body.chessora-shell.view-profile .chessora-profile-feed :where(a, div) {
	background: rgba(8, 14, 12, 0.55);
	border: 1px solid rgba(244, 207, 116, 0.14);
	border-radius: 8px;
	display: grid;
	gap: 4px;
	padding: 12px;
	text-decoration: none;
}

body.chessora-shell.view-profile .chessora-profile-feed .is-unread {
	border-color: rgba(244, 207, 116, 0.45);
	box-shadow: inset 3px 0 0 #f4cf74;
}

body.chessora-shell.view-profile .chessora-badge-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.chessora-shell.view-profile .chessora-badge-grid figure {
	background: rgba(8, 14, 12, 0.62);
	border: 1px solid rgba(244, 207, 116, 0.14);
	border-radius: 8px;
	margin: 0;
	overflow: hidden;
	padding: 8px;
}

body.chessora-shell.view-profile .chessora-badge-grid img {
	aspect-ratio: 1;
	border-radius: 6px;
	display: block;
	object-fit: cover;
	width: 100%;
}

body.chessora-shell.view-profile .chessora-badge-grid figcaption {
	display: grid;
	gap: 2px;
	margin-top: 7px;
}

body.chessora-shell.view-profile .chessora-badge-grid strong {
	font-size: 0.76rem;
	line-height: 1.15;
}

body.chessora-shell.view-profile .chessora-badge-grid span {
	font-size: 0.68rem;
	line-height: 1.2;
}

body.chessora-shell.view-profile .chessora-badge-grid .is-locked {
	opacity: 0.58;
}

body.chessora-shell.view-profile .chessora-badge-drawer {
	margin-top: 12px;
}

body.chessora-shell.view-profile .chessora-badge-drawer summary {
	align-items: center;
	border: 1px solid rgba(63, 110, 82, 0.35);
	border-radius: 8px;
	color: #0d6b42;
	cursor: pointer;
	display: flex;
	font-size: 0.84rem;
	font-weight: 800;
	justify-content: center;
	list-style: none;
	min-height: 38px;
	padding: 8px 12px;
}

body.chessora-shell.view-profile .chessora-badge-drawer summary::-webkit-details-marker {
	display: none;
}

body.chessora-shell.view-profile .chessora-badge-drawer summary::after {
	content: "›";
	font-size: 1.2rem;
	line-height: 1;
	margin-left: 8px;
	transition: transform 0.18s ease;
}

body.chessora-shell.view-profile .chessora-badge-drawer[open] summary::after {
	transform: rotate(90deg);
}

body.chessora-shell.view-profile .chessora-badge-drawer[open] summary {
	margin-bottom: 12px;
}

body.chessora-shell.view-profile .chessora-badge-drawer .is-less,
body.chessora-shell.view-profile .chessora-badge-drawer[open] .is-more {
	display: none;
}

body.chessora-shell.view-profile .chessora-badge-drawer[open] .is-less {
	display: inline;
}

body.chessora-shell.view-profile .chessora-profile-points > strong {
	display: block;
	font-size: 2.4rem;
	line-height: 1;
	margin-bottom: 4px;
}

@media (max-width: 860px) {
	body.chessora-shell.view-profile .shell-page {
		padding: 20px 14px 36px;
	}

	body.chessora-shell.view-profile .chessora-profile-page {
		padding: 18px !important;
	}

	body.chessora-shell.view-profile .chessora-profile-onboarding,
	body.chessora-shell.view-profile .chessora-profile-command,
	body.chessora-shell.view-profile .chessora-profile-edit-grid {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-profile .chessora-profile-steps {
		grid-template-columns: 1fr;
	}

	body.chessora-shell.view-profile .chessora-avatar-picker {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Profile page light refresh overrides. */
body.chessora-shell.view-profile .shell-page,
body.chessora-shell.view-profile .shell-component-card {
	background: #f5f7f2 !important;
}

body.chessora-shell.view-profile .chessora-profile-page {
	background:
		radial-gradient(circle at 18% 0%, rgba(221, 172, 61, 0.16), transparent 30%),
		linear-gradient(180deg, #fbfcf7 0%, #f5f7f2 100%) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #17231d !important;
	max-width: none !important;
	padding: 28px clamp(14px, 3vw, 34px) 48px !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(.chessora-profile-hero, .chessora-panel, .chessora-card, .chessora-profile-edit) {
	background: #fffdf7 !important;
	border: 1px solid rgba(37, 74, 54, 0.14) !important;
	box-shadow: 0 12px 28px rgba(50, 70, 56, 0.1) !important;
	color: #17231d !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(h1, h2, h3, strong, b, label, legend) {
	color: #17231d !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(p, span, small) {
	color: #5f6b63 !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-kicker {
	color: #27704e !important;
}

body.chessora-shell.view-profile .chessora-profile-page > .chessora-tabs {
	display: none !important;
}

/* Compact profile composition: no empty cover banner. */
html:has(body.chessora-shell.view-profile),
body.chessora-shell.view-profile {
	background: #f5f7f2 !important;
}

body.chessora-shell.view-profile .chessora-profile-page {
	display: grid !important;
	gap: 18px !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-hero {
	background:
		linear-gradient(135deg, rgba(240, 249, 244, 0.96), rgba(255, 249, 232, 0.94)),
		#fffdf7 !important;
	display: grid !important;
	grid-template-columns: 1fr !important;
	margin: 0 auto !important;
	max-width: 1120px !important;
	overflow: hidden !important;
	padding: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-cover {
	display: none !important;
	min-height: 0 !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-bar {
	align-items: center !important;
	background:
		radial-gradient(circle at 8% 15%, rgba(221, 172, 61, 0.18), transparent 34%),
		linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18)) !important;
	display: grid !important;
	gap: 22px !important;
	grid-template-columns: 126px minmax(0, 1fr) minmax(220px, 280px) !important;
	margin: 0 !important;
	padding: 26px 30px 22px !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-avatar {
	border: 6px solid #fffdf7 !important;
	border-radius: 20px !important;
	box-shadow: 0 18px 34px rgba(27, 39, 31, 0.16) !important;
	height: 126px !important;
	width: 126px !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-avatar img {
	border-radius: 15px !important;
	object-fit: cover !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-title {
	display: grid !important;
	gap: 6px !important;
	padding: 0 !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-title .chessora-kicker {
	background: rgba(39, 112, 78, 0.09) !important;
	border: 1px solid rgba(39, 112, 78, 0.12) !important;
	border-radius: 999px !important;
	display: inline-flex !important;
	justify-self: start !important;
	padding: 5px 10px !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-title h1 {
	font-size: clamp(2.7rem, 6vw, 5rem) !important;
	letter-spacing: 0 !important;
	line-height: 0.9 !important;
	margin: 0 !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-actions {
	align-content: center !important;
	display: grid !important;
	gap: 10px !important;
	justify-content: stretch !important;
	padding: 0 !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-actions :where(a, button) {
	border-radius: 8px !important;
	justify-content: center !important;
	min-height: 44px !important;
	width: 100% !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-stats {
	background: #ffffff !important;
	border-top: 1px solid #e2e8df !important;
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-stats span {
	display: grid !important;
	gap: 3px !important;
	padding: 15px 18px !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-stats span + span {
	border-left: 1px solid #e2e8df !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-stats strong {
	color: #1a2a20 !important;
	font-size: 1.18rem !important;
	line-height: 1 !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-command,
body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-summary,
body.chessora-shell.view-profile .chessora-profile-page .chessora-grid-5,
body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-panels,
body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-edit {
	margin-inline: auto !important;
	max-width: 1120px !important;
	width: 100% !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-command {
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr) !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-rating-hero {
	align-items: baseline !important;
	display: flex !important;
	gap: 12px !important;
	margin: 4px 0 2px !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-rating-graph {
	min-height: 0 !important;
}

@media (max-width: 820px) {
	body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-bar,
	body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-command {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-profile .chessora-profile-page .chessora-profile-avatar {
		height: 108px !important;
		width: 108px !important;
	}

	body.chessora-shell.view-profile .chessora-profile-page .chessora-cb-profile-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage > .chessora-move-panel {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-live-active-game .chessora-engine-eval-rail,
body.chessora-shell.view-game .chessora-game-room.is-live-active-game .chessora-tool-content-stack,
body.chessora-shell.view-game .chessora-game-room.is-live-active-game .chessora-engine-panel {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-engine-eval-rail,
body.chessora-shell.view-game .chessora-game-room .chessora-tool-content-stack,
body.chessora-shell.view-game .chessora-game-room .chessora-engine-panel {
	display: none !important;
}

/* Final rollback: keep correspondence game in the pre-calculation-board three-column room. */
body.chessora-shell.view-game .chessora-game-room.is-correspondence {
	--room-board-size: clamp(560px, min(52vw, calc(100vh - 170px)), 740px) !important;
	align-items: start !important;
	display: grid !important;
	gap: 26px !important;
	grid-template-columns: 290px minmax(0, 1fr) 300px !important;
	justify-items: stretch !important;
	max-width: 1530px !important;
	padding: 34px 38px 54px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
	display: grid !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	max-width: 290px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
	display: contents !important;
	max-width: none !important;
	width: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
	grid-column: 2 !important;
	grid-row: 1 !important;
	justify-self: center !important;
	max-width: min(100%, calc(var(--room-board-size, 700px) + 80px)) !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side {
	display: grid !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	max-width: 300px !important;
	order: initial !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
	display: block !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage > .chessora-move-panel {
	display: none !important;
}

/* Final rollback: keep correspondence game in the pre-calculation-board three-column room. */
body.chessora-shell.view-game .chessora-game-room.is-correspondence {
	--room-board-size: clamp(560px, min(52vw, calc(100vh - 170px)), 740px) !important;
	align-items: start !important;
	display: grid !important;
	gap: 26px !important;
	grid-template-columns: 290px minmax(0, 1fr) 300px !important;
	justify-items: stretch !important;
	max-width: 1530px !important;
	padding: 34px 38px 54px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
	display: grid !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	max-width: 290px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
	display: contents !important;
	max-width: none !important;
	width: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
	grid-column: 2 !important;
	grid-row: 1 !important;
	justify-self: center !important;
	max-width: min(100%, calc(var(--room-board-size, 700px) + 80px)) !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side {
	display: grid !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	max-width: 300px !important;
	order: initial !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
	display: block !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage > .chessora-move-panel {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence {
	align-content: start !important;
	padding-top: 34px !important;
	scroll-margin-top: 96px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
	align-content: start !important;
	padding-top: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-area,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-frame {
	align-self: start !important;
	margin-top: 0 !important;
	transform: none !important;
}

/* Roll back the calculation-board side-panel layout experiment. */
body.chessora-shell.view-game .chessora-game-room.is-correspondence {
	--room-board-size: clamp(560px, min(52vw, calc(100vh - 170px)), 740px) !important;
	align-content: start !important;
	display: grid !important;
	gap: 26px !important;
	grid-template-columns: 290px minmax(0, 1fr) 300px !important;
	justify-items: stretch !important;
	max-width: 1530px !important;
	padding: 34px 38px 54px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
	display: grid !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
	display: contents !important;
	max-width: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
	grid-column: 2 !important;
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side {
	display: grid !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	max-width: 300px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
	display: block !important;
}

/* Emergency correspondence active game layout guard. */
body.chessora-shell.view-game .chessora-game-room.is-correspondence {
	display: grid !important;
	grid-template-columns: minmax(240px, 290px) minmax(390px, 1fr) minmax(260px, 300px) !important;
	justify-items: stretch !important;
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-board-layout {
	display: contents !important;
	max-width: none !important;
	width: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
	display: grid !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	min-width: 0 !important;
	max-width: 290px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
	grid-column: 2 !important;
	grid-row: 1 !important;
	justify-self: center !important;
	min-width: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side {
	align-self: stretch !important;
	display: grid !important;
	float: none !important;
	gap: 12px !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	justify-self: stretch !important;
	margin: 0 !important;
	max-width: 300px !important;
	min-width: 0 !important;
	order: initial !important;
	overflow: hidden !important;
	position: static !important;
	transform: none !important;
	width: 100% !important;
	z-index: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-panel,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-controls,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-actions,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-postgame-actions,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-rail,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-board-tools,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-note-underboard,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-correspondence-board-note {
	bottom: auto !important;
	float: none !important;
	left: auto !important;
	margin: 0 !important;
	max-width: none !important;
	position: static !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	width: 100% !important;
	z-index: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage > .chessora-move-panel {
	clear: both !important;
	float: none !important;
	inset: auto !important;
	margin: 12px auto 0 !important;
	max-width: calc(var(--room-board-size, 680px) + 44px) !important;
	order: 20 !important;
	position: static !important;
	transform: none !important;
	width: min(100%, calc(var(--room-board-size, 680px) + 44px)) !important;
	z-index: auto !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
	display: block !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-flip-corner {
	bottom: auto !important;
	left: auto !important;
	right: 12px !important;
	top: 12px !important;
	transform: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-actions {
	grid-template-columns: 1fr !important;
	overflow: hidden !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-postgame-actions .chessora-button {
	box-sizing: border-box !important;
	gap: 18px !important;
	justify-content: flex-start !important;
	line-height: 1.15 !important;
	min-width: 0 !important;
	overflow: hidden !important;
	padding-left: 22px !important;
	padding-right: 12px !important;
	text-overflow: ellipsis !important;
	white-space: normal !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-actions .chessora-button span {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-rail,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-panel {
	box-sizing: border-box !important;
	min-width: 0 !important;
	overflow: hidden !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-card {
	box-sizing: border-box !important;
	grid-template-columns: 32px minmax(0, 1fr) 10px minmax(62px, auto) !important;
	min-width: 0 !important;
	overflow: hidden !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-card > div,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-card strong,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-card [data-player-name] {
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-player-rail [data-player-clock] {
	min-width: 62px !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side > .chessora-move-panel {
	min-width: 0 !important;
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-controls {
	grid-template-columns: repeat(auto-fit, minmax(42px, 1fr)) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-download-pgn],
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-copy-forum-embed],
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-move-controls button[data-analysis-board-toggle] {
	grid-column: auto !important;
	margin-top: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-actions {
	overflow: visible !important;
}

body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-flip-corner {
	z-index: 3 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-score-rail {
	align-self: stretch !important;
	bottom: auto !important;
	display: flex !important;
	flex-direction: column !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	height: calc(var(--room-board-size) - 44px) !important;
	justify-content: space-between !important;
	justify-self: center !important;
	left: auto !important;
	margin-top: 22px !important;
	pointer-events: none !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
	width: 34px !important;
	z-index: 5 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-score {
	align-items: center !important;
	background: rgba(38, 43, 25, 0.86) !important;
	border: 1px solid rgba(255, 223, 139, 0.45) !important;
	border-radius: 999px !important;
	color: #fff7d7 !important;
	display: inline-flex !important;
	font-size: 0.84rem !important;
	font-weight: 950 !important;
	height: 34px !important;
	justify-content: center !important;
	min-width: 34px !important;
	padding: 0 8px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board-flip-corner {
	align-items: center !important;
	background: linear-gradient(180deg, #f4cf74, #d59728) !important;
	border: 1px solid rgba(255, 247, 215, 0.48) !important;
	border-radius: 999px !important;
	bottom: auto !important;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24) !important;
	color: #151008 !important;
	display: flex !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	height: 34px !important;
	justify-content: center !important;
	justify-self: center !important;
	left: auto !important;
	margin-top: calc((var(--room-board-size) - 34px) / 2) !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	width: 34px !important;
	z-index: 7 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-score-rail {
	bottom: auto !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	height: calc(var(--room-board-size) - 44px) !important;
	left: auto !important;
	margin-top: 22px !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner,
body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-flip-corner {
	bottom: auto !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	left: auto !important;
	margin-top: calc((var(--room-board-size) - 34px) / 2) !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
}

body.chessora-shell.view-game .chessora-board-resize-handle {
	align-self: end !important;
	background: rgba(245, 249, 247, 0.82) !important;
	border: 1px solid rgba(8, 16, 14, 0.16) !important;
	border-radius: 8px !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24) !important;
	cursor: nwse-resize !important;
	grid-column: 2 !important;
	grid-row: 1 !important;
	height: 30px !important;
	justify-self: end !important;
	margin: 0 9px 9px 0 !important;
	opacity: 0 !important;
	padding: 0 !important;
	pointer-events: auto !important;
	position: relative !important;
	transition: opacity 150ms ease, transform 150ms ease !important;
	width: 30px !important;
	z-index: 6 !important;
}

body.chessora-shell.view-game .chessora-board-resize-handle::before {
	color: #101815 !important;
	content: "\2194" !important;
	display: block !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	line-height: 28px !important;
	transform: rotate(-45deg) !important;
}

body.chessora-shell.view-game .chessora-board-frame:hover .chessora-board-resize-handle,
body.chessora-shell.view-game .chessora-board-resize-handle:hover,
body.chessora-shell.view-game .chessora-board-resize-handle:focus-visible,
body.chessora-shell.view-game .chessora-game-room.is-resizing-board .chessora-board-resize-handle {
	opacity: 1 !important;
	outline: none !important;
	transform: translateY(-1px) !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-board-resize-handle {
	display: none !important;
}

@media (max-width: 1279px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		--room-board-size: min(calc(100vw - 112px), calc(100vh - 140px), 680px) !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		justify-items: center !important;
		overflow-x: hidden !important;
		padding: 20px 14px 36px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar,
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
		grid-column: 1 !important;
		grid-row: auto !important;
		max-width: min(100%, calc(var(--room-board-size, 680px) + 62px)) !important;
		width: 100% !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-board-layout {
		display: contents !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area,
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
		max-width: calc(var(--room-board-size, 680px) + 62px) !important;
		width: calc(var(--room-board-size, 680px) + 62px) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
		display: grid !important;
		grid-template-columns: 20px var(--room-board-size) 42px !important;
		grid-template-rows: var(--room-board-size) 22px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
		aspect-ratio: 1 / 1 !important;
		grid-column: 2 !important;
		grid-row: 1 !important;
		height: var(--room-board-size) !important;
		width: var(--room-board-size) !important;
	}
}

@media (max-width: 980px) {
	body.chessora-shell.view-game .chessora-game-room.is-correspondence {
		--room-board-size: min(calc(100vw - 112px), 620px) !important;
		grid-template-columns: 1fr !important;
		padding: 20px 14px 36px !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar,
	body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage,
	body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side {
		grid-column: 1 !important;
		grid-row: auto !important;
		max-width: none !important;
	}
}

@media (min-width: 1280px) {
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
		--room-board-size: clamp(540px, min(37vw, calc(100vh - 230px)), 600px) !important;
		gap: 20px !important;
		grid-template-columns: minmax(210px, 250px) calc(var(--room-board-size) + 62px) minmax(210px, 240px) !important;
		justify-content: center !important;
		max-width: 1600px !important;
		padding: 24px 24px 44px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) > .chessora-room-sidebar {
		max-width: 250px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
		max-width: 240px !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage,
	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area {
		max-width: min(100%, calc(var(--room-board-size, 820px) + 96px)) !important;
		width: min(100%, calc(var(--room-board-size, 820px) + 96px)) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
		grid-template-columns: 20px var(--room-board-size) 42px !important;
		grid-template-rows: var(--room-board-size) 22px !important;
		max-width: calc(var(--room-board-size) + 62px) !important;
		width: calc(var(--room-board-size) + 62px) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
		aspect-ratio: 1 / 1 !important;
		height: var(--room-board-size) !important;
		width: var(--room-board-size) !important;
	}

	body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap {
		aspect-ratio: 1 / 1 !important;
		height: calc(var(--room-board-size) - 20px) !important;
		width: calc(var(--room-board-size) - 20px) !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-correspondence {
		--room-board-size: clamp(540px, min(37vw, calc(100vh - 230px)), 600px) !important;
		gap: 20px !important;
		grid-template-columns: minmax(210px, 250px) calc(var(--room-board-size) + 62px) minmax(210px, 240px) !important;
		justify-content: center !important;
		max-width: 1600px !important;
		padding: 24px 24px 44px !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-correspondence > .chessora-room-sidebar {
		max-width: 250px !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-game-side {
		max-width: 240px !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-play-stage {
		max-width: min(100%, calc(var(--room-board-size, 820px) + 96px)) !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-frame {
		grid-template-columns: 20px var(--room-board-size) 42px !important;
		grid-template-rows: var(--room-board-size) 22px !important;
		max-width: calc(var(--room-board-size) + 62px) !important;
		width: calc(var(--room-board-size) + 62px) !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board-wrap {
		aspect-ratio: 1 / 1 !important;
		height: var(--room-board-size) !important;
		width: var(--room-board-size) !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-correspondence .chessora-board.cg-wrap {
		aspect-ratio: 1 / 1 !important;
		height: calc(var(--room-board-size) - 20px) !important;
		width: calc(var(--room-board-size) - 20px) !important;
	}
}

/* Single-elimination brackets should fit the tournament center before scrolling. */
body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive {
	min-width: 0 !important;
	position: relative !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive > header {
	display: none !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-rounds {
	align-items: start !important;
	display: grid !important;
	gap: clamp(28px, 3.2vw, 46px) !important;
	grid-auto-columns: clamp(180px, 22vw, 260px) !important;
	grid-auto-flow: column !important;
	justify-content: start !important;
	min-width: max-content !important;
	overflow: visible !important;
	position: relative !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-round {
	display: grid !important;
	gap: clamp(18px, 2.8vw, 42px) !important;
	min-width: 0 !important;
	position: relative !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-game {
	display: grid !important;
	gap: 4px !important;
	position: relative !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-game > strong {
	color: #86a2ff !important;
	font-size: 0.68rem !important;
	font-weight: 900 !important;
	letter-spacing: 0 !important;
	line-height: 1.1 !important;
	text-transform: none !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-match {
	border-radius: 4px !important;
	gap: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 2 !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-champion-card {
	align-content: center !important;
	background:
		linear-gradient(180deg, rgba(244, 207, 116, 0.18), rgba(255, 255, 255, 0.035)),
		#16251f !important;
	border: 1px solid rgba(244, 207, 116, 0.42) !important;
	border-radius: 4px !important;
	display: grid !important;
	gap: 4px !important;
	min-height: 64px !important;
	min-width: 0 !important;
	padding: 10px 12px !important;
	position: relative !important;
	z-index: 2 !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-champion-card span {
	color: #fff7dd !important;
	font-size: clamp(0.78rem, 0.9vw, 0.98rem) !important;
	font-weight: 950 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-champion-card b {
	color: #f4cf74 !important;
	font-size: 0.72rem !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-match::after {
	display: none !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-svg {
	height: auto !important;
	left: 0 !important;
	overflow: visible !important;
	pointer-events: none !important;
	position: absolute !important;
	top: 0 !important;
	width: 100% !important;
	z-index: 1 !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-svg path {
	fill: none !important;
	stroke: rgba(244, 207, 116, 0.82) !important;
	stroke-linecap: square !important;
	stroke-linejoin: miter !important;
	stroke-width: 2 !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-watch-link {
	border-radius: 0 0 4px 4px !important;
	font-size: 0.68rem !important;
	justify-content: center !important;
	min-height: 24px !important;
	padding: 4px 8px !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-slot {
	border-left-width: 3px !important;
	border-radius: 0 !important;
	gap: 6px !important;
	min-height: 30px !important;
	padding: 5px 6px !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-slot:first-child {
	border-radius: 4px 4px 0 0 !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-slot:nth-child(2) {
	border-top: 1px solid rgba(244, 207, 116, 0.12) !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-slot span {
	font-size: clamp(0.72rem, 0.84vw, 0.94rem) !important;
	line-height: 1.1 !important;
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-slot b {
	font-size: 0.68rem !important;
	min-height: 20px !important;
	min-width: 22px !important;
	padding: 1px 5px !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-tournaments .chessora-bracket-lane-responsive .chessora-bracket-rounds {
		grid-auto-columns: minmax(150px, 180px) !important;
		min-width: max-content !important;
	}
}

/* Tournament broadcast miniatures use the same board treatment as the main display board. */
body.chessora-shell.view-tournaments .chessora-observer-board {
	aspect-ratio: 1 / 1 !important;
	display: grid !important;
	grid-auto-columns: minmax(0, 1fr) !important;
	grid-auto-rows: minmax(0, 1fr) !important;
	grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
	grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
	height: auto !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board > span {
	align-items: center !important;
	aspect-ratio: 1 / 1 !important;
	display: flex !important;
	justify-content: center !important;
	min-height: 0 !important;
	min-width: 0 !important;
	overflow: hidden !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board-large {
	flex: 0 0 auto !important;
	max-width: min(100%, 520px) !important;
	width: min(100%, 520px) !important;
}

body.chessora-shell.view-tournaments .chessora-observer-main {
	grid-template-columns: minmax(0, 520px) !important;
	justify-content: center !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board-stage {
	align-items: center !important;
	display: grid !important;
	gap: 12px !important;
	justify-items: center !important;
	min-width: 0 !important;
}

body.chessora-shell.view-tournaments .chessora-observer-players-row {
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
	width: min(100%, 1040px) !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board-stage .chessora-replay-controls {
	justify-content: center !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-observer-strip {
	gap: 14px !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
	max-height: none !important;
	padding: 4px !important;
}

body.chessora-shell.view-tournaments .chessora-observer-strip > a {
	align-content: start !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		#14211b !important;
	border: 1px solid rgba(244, 207, 116, 0.26) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 10px !important;
	justify-items: stretch !important;
	padding: 12px !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board-mini {
	border: 8px solid #26352f !important;
	border-radius: 8px !important;
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
	justify-self: center !important;
	max-width: 220px !important;
	width: min(100%, 220px) !important;
}

body.chessora-shell.view-tournaments .chessora-observer-board-mini img {
	height: 82% !important;
	object-fit: contain !important;
	width: 82% !important;
}

body.chessora-shell.view-tournaments .chessora-mini-match-line {
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid rgba(244, 207, 116, 0.18) !important;
	border-radius: 6px !important;
	padding: 7px 9px !important;
}

/* Broadcast contrast pass: keep the mini boards readable on the dark tournament surface. */
body.chessora-shell.view-tournaments .chessora-observer-panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
		#102019 !important;
}

body.chessora-shell.view-tournaments .chessora-replay-controls {
	color: #fff7dc !important;
	font-weight: 700 !important;
}

body.chessora-shell.view-tournaments .chessora-replay-controls [data-replay-status] {
	color: #fff9e8 !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45) !important;
}

body.chessora-shell.view-tournaments .chessora-observer-round-tabs button,
body.chessora-shell.view-tournaments .chessora-replay-controls button {
	background: #fff1c8 !important;
	border: 1px solid #f0c15c !important;
	color: #654300 !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.34) inset !important;
}

body.chessora-shell.view-tournaments .chessora-observer-round-tabs button.is-active,
body.chessora-shell.view-tournaments .chessora-replay-controls button:not(:disabled):hover {
	background: linear-gradient(180deg, #f4bd45, #d99624) !important;
	border-color: #f4cf74 !important;
	color: #102019 !important;
}

body.chessora-shell.view-tournaments .chessora-observer-round-tabs button:disabled,
body.chessora-shell.view-tournaments .chessora-replay-controls button:disabled {
	background: #3f3722 !important;
	border-color: rgba(244, 207, 116, 0.42) !important;
	color: #d8c792 !important;
	opacity: 1 !important;
}

body.chessora-shell.view-tournaments .chessora-observer-strip {
	background: #0b1712 !important;
	border-top: 1px solid rgba(244, 207, 116, 0.24) !important;
}

body.chessora-shell.view-tournaments .chessora-observer-strip > a {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
		#17271f !important;
	border-color: rgba(244, 207, 116, 0.46) !important;
	color: #fff7dc !important;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24) !important;
}

body.chessora-shell.view-tournaments .chessora-observer-strip > a.is-active {
	border-color: #f4bd45 !important;
	box-shadow:
		0 0 0 2px rgba(244, 189, 69, 0.28),
		0 14px 28px rgba(0, 0, 0, 0.28) !important;
}

body.chessora-shell.view-tournaments .chessora-mini-match-line {
	background: rgba(8, 18, 14, 0.64) !important;
	border-color: rgba(244, 207, 116, 0.36) !important;
	color: #fff9e8 !important;
}

body.chessora-shell.view-tournaments .chessora-mini-match-line strong {
	color: #fff9e8 !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55) !important;
}

body.chessora-shell.view-tournaments .chessora-mini-match-line span {
	color: #ffe39a !important;
	font-weight: 800 !important;
}

/* Archive podium: champion-centered result cards with compact stat chips. */
body.chessora-shell.view-tournaments .chessora-podium {
	background:
		linear-gradient(180deg, rgba(244, 207, 116, 0.08), rgba(255, 255, 255, 0.018)),
		#112019 !important;
	border: 1px solid rgba(244, 207, 116, 0.42) !important;
	border-radius: 8px !important;
	color: #fff7dd !important;
	display: grid !important;
	gap: 18px !important;
	padding: 22px !important;
}

body.chessora-shell.view-tournaments .chessora-podium > h2 {
	color: #fff7dd !important;
	font-size: 1.25rem !important;
	margin: 0 !important;
}

body.chessora-shell.view-tournaments .chessora-podium > div {
	align-items: end !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.16fr) minmax(0, 0.92fr) !important;
}

body.chessora-shell.view-tournaments .chessora-podium article {
	align-content: center !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016)),
		#172820 !important;
	border: 1px solid rgba(244, 207, 116, 0.36) !important;
	border-radius: 8px !important;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2) !important;
	display: grid !important;
	gap: 14px !important;
	justify-items: start !important;
	min-height: 178px !important;
	padding: 64px 18px 18px !important;
	position: relative !important;
	text-align: left !important;
}

body.chessora-shell.view-tournaments .chessora-podium article::before {
	background: rgba(8, 18, 14, 0.5) !important;
	border: 1px solid rgba(244, 207, 116, 0.28) !important;
	border-radius: 999px !important;
	color: #d8c792 !important;
	content: "Finalist";
	font-size: 0.68rem !important;
	font-weight: 900 !important;
	left: 16px !important;
	line-height: 1 !important;
	padding: 7px 10px !important;
	position: absolute !important;
	text-transform: uppercase !important;
	top: 14px !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-1 {
	background:
		linear-gradient(180deg, rgba(244, 207, 116, 0.18), rgba(255, 255, 255, 0.026)),
		#1b2b22 !important;
	border-color: rgba(244, 207, 116, 0.68) !important;
	box-shadow:
		inset 0 4px 0 #f4cf74,
		0 16px 32px rgba(0, 0, 0, 0.2) !important;
	min-height: 210px !important;
	order: 2 !important;
	padding-top: 68px !important;
	transform: translateY(-10px) !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-2 {
	border-color: rgba(218, 226, 220, 0.58) !important;
	box-shadow:
		inset 0 4px 0 #dfe5df,
		0 16px 32px rgba(0, 0, 0, 0.2) !important;
	order: 1 !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-3 {
	border-color: rgba(212, 143, 72, 0.62) !important;
	box-shadow:
		inset 0 4px 0 #c98745,
		0 16px 32px rgba(0, 0, 0, 0.2) !important;
	order: 3 !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-1::before {
	background: rgba(244, 207, 116, 0.14) !important;
	border-color: rgba(244, 207, 116, 0.55) !important;
	color: #ffe39a !important;
	content: "Champion";
}

body.chessora-shell.view-tournaments .chessora-podium article.place-2::before {
	content: "Runner up";
}

body.chessora-shell.view-tournaments .chessora-podium article.place-3::before {
	content: "Third";
}

body.chessora-shell.view-tournaments .chessora-podium-medal {
	display: none !important;
}

body.chessora-shell.view-tournaments .chessora-podium-avatar {
	align-items: center !important;
	background: #0b1712 !important;
	border: 3px solid rgba(255, 249, 232, 0.82) !important;
	border-radius: 999px !important;
	box-shadow:
		0 0 0 1px rgba(244, 207, 116, 0.38),
		0 12px 26px rgba(0, 0, 0, 0.26) !important;
	color: #ffe39a !important;
	display: inline-flex !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	height: 64px !important;
	justify-content: center !important;
	overflow: hidden !important;
	position: absolute !important;
	right: 18px !important;
	text-decoration: none !important;
	top: 18px !important;
	width: 64px !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-1 .chessora-podium-avatar {
	border-color: #ffe7a2 !important;
	box-shadow:
		0 0 0 1px rgba(244, 207, 116, 0.72),
		0 12px 26px rgba(0, 0, 0, 0.26) !important;
	height: 78px !important;
	width: 78px !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-2 .chessora-podium-avatar {
	border-color: #eef3ed !important;
	box-shadow:
		0 0 0 1px rgba(223, 229, 223, 0.72),
		0 12px 26px rgba(0, 0, 0, 0.26) !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-3 .chessora-podium-avatar {
	border-color: #e7b06a !important;
	box-shadow:
		0 0 0 1px rgba(201, 135, 69, 0.72),
		0 12px 26px rgba(0, 0, 0, 0.26) !important;
}

body.chessora-shell.view-tournaments .chessora-podium-avatar img {
	display: block !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-podium article strong {
	color: #fff9e8 !important;
	font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
	line-height: 1.18 !important;
	max-width: 100% !important;
	overflow-wrap: anywhere !important;
	padding-right: 74px !important;
}

body.chessora-shell.view-tournaments .chessora-podium article strong a {
	color: inherit !important;
	text-decoration: none !important;
}

body.chessora-shell.view-tournaments .chessora-podium article strong a:hover,
body.chessora-shell.view-tournaments .chessora-podium article strong a:focus-visible {
	color: #ffe39a !important;
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
}

body.chessora-shell.view-tournaments .chessora-podium-stats {
	display: grid !important;
	gap: 7px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-podium-stats small {
	background: rgba(8, 18, 14, 0.64) !important;
	border: 1px solid rgba(244, 207, 116, 0.24) !important;
	border-radius: 6px !important;
	color: #fff9e8 !important;
	display: grid !important;
	font-size: 0.88rem !important;
	font-weight: 850 !important;
	gap: 3px 8px !important;
	grid-template-columns: 26px minmax(0, 1fr) !important;
	min-height: 64px !important;
	padding: 9px 10px !important;
}

body.chessora-shell.view-tournaments .chessora-podium article.place-1 .chessora-podium-stats small {
	border-color: rgba(244, 207, 116, 0.34) !important;
}

body.chessora-shell.view-tournaments .chessora-podium-stat-icon {
	align-items: center !important;
	align-self: center !important;
	background: rgba(244, 207, 116, 0.12) !important;
	border: 1px solid rgba(244, 207, 116, 0.28) !important;
	border-radius: 6px !important;
	color: #ffe39a !important;
	display: inline-flex !important;
	grid-row: 1 / 3 !important;
	height: 26px !important;
	justify-content: center !important;
	width: 26px !important;
}

body.chessora-shell.view-tournaments .chessora-podium-stat-icon svg {
	fill: none !important;
	height: 15px !important;
	stroke: currentColor !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	stroke-width: 2.2 !important;
	width: 15px !important;
}

body.chessora-shell.view-tournaments .chessora-podium-stats small b {
	color: #fff9e8 !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	min-width: 0 !important;
}

body.chessora-shell.view-tournaments .chessora-podium-stats small span {
	background: transparent !important;
	border: 0 !important;
	color: #d8c792 !important;
	font-size: 0.66rem !important;
	font-weight: 800 !important;
	height: auto !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
	width: auto !important;
}

body.chessora-shell.view-tournaments .chessora-podium-score .chessora-podium-stat-icon {
	color: #ffe39a !important;
}

body.chessora-shell.view-tournaments .chessora-podium-rating .chessora-podium-stat-icon {
	color: #dfe5df !important;
}

body.chessora-shell.view-tournaments .chessora-podium-performance .chessora-podium-stat-icon {
	color: #e7b06a !important;
}

@media (max-width: 760px) {
	body.chessora-shell.view-tournaments .chessora-podium > div,
	body.chessora-shell.view-tournaments .chessora-observer-players-row {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-tournaments .chessora-podium article,
	body.chessora-shell.view-tournaments .chessora-podium article.place-1 {
		min-height: 0 !important;
		order: initial !important;
		transform: none !important;
	}

	body.chessora-shell.view-tournaments .chessora-podium article.place-1 {
		order: 1 !important;
	}

	body.chessora-shell.view-tournaments .chessora-podium article.place-2 {
		order: 2 !important;
	}

	body.chessora-shell.view-tournaments .chessora-podium article.place-3 {
		order: 3 !important;
	}
}

/* Final crosstable model: keep this at the end so broad tournament theme rules cannot flatten it. */
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model {
	background: #100905 !important;
	border: 2px solid #050302 !important;
	border-collapse: separate !important;
	border-radius: 0 !important;
	border-spacing: 0 !important;
	color: #fff5dd !important;
	min-width: 1120px !important;
	overflow: hidden !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model thead th {
	background: #f3b640 !important;
	border-color: #160e08 !important;
	color: #120b04 !important;
	font-size: 0.86rem !important;
	font-weight: 950 !important;
	height: 42px !important;
	text-align: center !important;
	text-shadow: none !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-player-head {
	text-align: left !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model th,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td {
	border-color: #332417 !important;
	color: #fff5dd !important;
	height: 58px !important;
	min-width: 56px !important;
	padding: 0 !important;
	position: relative !important;
	text-align: center !important;
	vertical-align: middle !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-player {
	background: #130b06 !important;
	min-width: 300px !important;
	padding: 10px 16px !important;
	text-align: left !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-player-link {
	align-items: center !important;
	color: #fff5dd !important;
	display: inline-flex !important;
	gap: 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-player-link:hover,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-player-link:focus-visible {
	color: #f4c457 !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-avatar {
	background: #07150f !important;
	border: 2px solid #fff0d1 !important;
	border-radius: 999px !important;
	color: #f2b83e !important;
	flex: 0 0 38px !important;
	font-size: 0.72rem !important;
	height: 38px !important;
	margin-right: 0 !important;
	width: 38px !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-avatar img {
	border-radius: inherit !important;
	display: block !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td {
	background:
		linear-gradient(135deg, #5a5a57 0 49.7%, #0f0905 49.7% 100%) !important;
	font-weight: 950 !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.65) !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-self::before {
	content: "" !important;
	background:
		radial-gradient(circle at 52% 48%, #191008 0 8%, transparent 9%),
		radial-gradient(circle at 50% 50%, #f8a326 0 34%, #d45e19 36% 53%, transparent 55%) !important;
	height: 38px !important;
	left: 50% !important;
	opacity: 0.98 !important;
	position: absolute !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 38px !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-self::after {
	content: "♛" !important;
	color: #fff8dc !important;
	font-size: 1.15rem !important;
	left: 50% !important;
	position: absolute !important;
	top: 50% !important;
	transform: translate(-50%, -45%) !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-win,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-loss,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-draw,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-empty {
	background:
		linear-gradient(135deg, #5a5a57 0 49.7%, #0f0905 49.7% 100%) !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-win::before,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td.is-draw::before {
	content: none !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td span {
	color: #fff5dd !important;
	position: relative !important;
	z-index: 2 !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td:last-child,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model td:nth-last-child(2) {
	background: #130b06 !important;
}

body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-points,
body.chessora-shell.view-tournaments .chessora-swiss-grid.chessora-cross-model .chessora-cross-place {
	color: #fff5dd !important;
	font-weight: 950 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-tournaments .chessora-pairing-tabs button,
body.chessora-shell.view-tournaments .chessora-observer-round-tabs button {
	background: #fff4d3 !important;
	border-color: #d79d2b !important;
	color: #2a1b05 !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-tournaments .chessora-pairing-tabs button.is-active,
body.chessora-shell.view-tournaments .chessora-observer-round-tabs button.is-active {
	background: linear-gradient(180deg, #f2bd3d, #d69222) !important;
	border-color: #b97a18 !important;
	color: #120d04 !important;
}

body.chessora-shell.view-tournaments .chessora-pairing-tabs button:disabled,
body.chessora-shell.view-tournaments .chessora-observer-round-tabs button:disabled {
	background: #3b3425 !important;
	border-color: #7b612d !important;
	color: #ead8ad !important;
	opacity: 1 !important;
}

/* Final game setup column alignment. */
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr) !important;
	column-gap: 18px !important;
	row-gap: 18px !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel > :not(.chessora-opponent-toggle):not(.chessora-bot-level-toggle):not(.chessora-rated-toggle):not(.chessora-color-toggle):not(.chessora-rating-range):not(.chessora-rating-range-warning) {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range {
	grid-column: 1 !important;
	max-width: none !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
	grid-column: 2 !important;
	max-width: none !important;
	width: 100% !important;
}

@media (max-width: 900px) {
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-create-panel {
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-opponent-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-bot-level-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rated-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-color-toggle,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range,
	body.chessora-shell.view-game .chessora-game-room.is-creating-game .chessora-rating-range-warning {
		grid-column: 1 / -1 !important;
	}
}

/* EOF live-board override: keep this after every legacy game-room rule. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game){display:grid!important;grid-template-columns:minmax(560px,820px) minmax(330px,430px)!important;gap:22px!important;justify-content:center!important;align-items:start!important;max-width:1360px!important;margin-inline:auto!important;padding:18px clamp(12px,2vw,28px)!important;background:#24241f!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game)>.chessora-room-sidebar{display:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game)>.chessora-board-layout{display:contents!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage{grid-column:1!important;display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side{grid-column:2!important;align-self:start!important;width:100%!important;min-width:320px!important;max-width:430px!important;max-height:calc(100vh - 112px)!important;position:sticky!important;top:96px!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#24231f!important;border:0!important;border-radius:3px!important;box-shadow:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-area{width:max-content!important;max-width:none!important;margin:0 auto!important;padding:0!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame{--room-board-size:min(720px,calc(100vh - 184px),calc(100vw - 560px))!important;display:grid!important;grid-template-columns:24px var(--room-board-size) 42px!important;grid-template-rows:48px var(--room-board-size) 22px 48px!important;width:calc(var(--room-board-size) + 66px)!important;max-width:calc(var(--room-board-size) + 66px)!important;margin:0 auto!important;padding:0!important;gap:0!important;background:#2d2a21!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row]{display:block!important;grid-column:2/3!important;width:var(--room-board-size)!important;max-width:none!important;margin:0!important;z-index:3!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="b"]{grid-row:1!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="w"]{grid-row:4!important}
body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="w"]{grid-row:1!important}
body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="b"]{grid-row:4!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-ranks{grid-column:1!important;grid-row:2!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap{grid-column:2!important;grid-row:2!important;width:var(--room-board-size)!important;height:var(--room-board-size)!important;max-width:var(--room-board-size)!important;max-height:var(--room-board-size)!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;aspect-ratio:1/1!important;background:#b58863!important;border:0!important;border-radius:0!important;box-shadow:0 0 0 4px #2d2a21!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap,body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board{width:100%!important;height:100%!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board{background-color:#b58863!important;background-image:conic-gradient(from 90deg,#f0d9b5 25%,#b58863 0 50%,#f0d9b5 0 75%,#b58863 0)!important;background-size:25% 25%!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-coordinates{grid-column:2!important;grid-row:3!important;height:22px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner{grid-column:3!important;grid-row:2!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;width:100%!important;max-width:none!important;height:48px!important;min-height:48px!important;margin:0!important;padding:5px 8px!important;background:#2d2a21!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#f9f2df!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-avatar{width:32px!important;height:32px!important;border-radius:3px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock]{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:102px!important;min-height:38px!important;padding:0 12px!important;background:#f7f5eb!important;color:#1a1914!important;border:0!important;border-radius:3px!important;font-size:1.12rem!important;font-weight:950!important;line-height:1!important;text-shadow:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-rail{display:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto auto!important;min-height:min(720px,calc(100vh - 112px))!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:0!important;padding:0!important;background:#1d1c19!important;border-bottom:1px solid rgba(255,255,255,.08)!important;border-radius:0!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button{display:grid!important;align-items:center!important;justify-items:center!important;gap:4px!important;min-height:62px!important;padding:8px 4px!important;background:transparent!important;border:0!important;border-radius:0!important;color:#f2ead8!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button.is-active{background:#24231f!important;box-shadow:inset 0 -3px 0 #f1cf77!important;color:#fff8dd!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-panel,body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves{min-height:0!important;overflow:auto!important;padding:14px!important;background:#24231f!important;color:#f4ecd8!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-panel[hidden],body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls[hidden]{display:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-chat{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:12px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-lines{min-height:260px!important;padding:12px!important;background:#1b221c!important;border:1px solid rgba(241,207,119,.18)!important;border-radius:4px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions,body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:8px!important;margin:0!important;padding:12px!important;background:#1d1c19!important;border-top:1px solid rgba(255,255,255,.08)!important}
@media (max-width:1180px){body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game){grid-template-columns:1fr!important;max-width:860px!important}body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame{--room-board-size:min(720px,calc(100vw - 96px))!important}body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side{grid-column:1!important;max-width:calc(var(--room-board-size) + 66px)!important;max-height:none!important;position:static!important}}
@media (max-width:720px){body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game){padding-inline:8px!important}body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame{--room-board-size:min(96vw,calc(100vh - 190px))!important;grid-template-columns:18px var(--room-board-size) 0!important;width:calc(var(--room-board-size) + 18px)!important}body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner{display:none!important}body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock]{min-width:74px!important}}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-player-clock]{grid-column:3!important;justify-self:end!important;position:static!important;inset:auto!important;transform:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-meta{grid-column:2!important;min-width:0!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card>div:not(.chessora-player-avatar){grid-column:2!important;min-width:0!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card>time[data-player-clock]{grid-column:3!important;grid-row:1!important;position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:1!important;margin:0!important;align-self:center!important;justify-self:end!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-online{display:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-moves[hidden],body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-tool-panel][hidden]{display:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#201f1b!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button{min-height:76px!important;background:#191814!important;border:0!important;border-right:1px solid rgba(255,255,255,.06)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;color:#e9e0ca!important;text-transform:uppercase!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button.is-active{background:#25231e!important;box-shadow:inset 0 -4px 0 #e4b13f,inset 0 1px 0 rgba(255,255,255,.12)!important;color:#fff8e6!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs .chessora-module-icon{align-items:center!important;background:#aeb8af!important;border-radius:999px!important;color:#111!important;display:inline-flex!important;font-size:.72rem!important;height:22px!important;justify-content:center!important;width:22px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tab-summary{align-items:center!important;background:#171f18!important;border:1px solid rgba(228,177,63,.25)!important;border-radius:6px!important;display:flex!important;justify-content:space-between!important;margin:0 0 12px!important;padding:12px 14px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tab-summary strong{color:#fff4d8!important;font-size:.9rem!important;text-transform:uppercase!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tab-summary span{align-items:center!important;background:#e4b13f!important;border-radius:999px!important;color:#111!important;display:inline-flex!important;font-weight:950!important;justify-content:center!important;min-width:28px!important;padding:3px 8px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-chat{align-content:start!important;display:grid!important;gap:12px!important;grid-template-rows:auto auto minmax(240px,1fr) auto!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-spectator-list{align-items:center!important;background:#151d17!important;border:1px solid rgba(228,177,63,.18)!important;border-radius:6px!important;color:#d8d0ba!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-height:46px!important;padding:10px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-chat-lines{background:#151d17!important;border-color:rgba(228,177,63,.2)!important;border-radius:6px!important;color:#f4ecd8!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rating-impact-card{background:#151d17!important;border:1px solid rgba(228,177,63,.22)!important;border-radius:6px!important;color:#f4ecd8!important;display:grid!important;gap:8px!important;margin:0 0 12px!important;padding:12px 14px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rating-impact-card[hidden]{display:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rating-impact-card strong{color:#e4b13f!important;text-transform:uppercase!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rating-impact-card span{color:#d8d0ba!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-info-list{gap:12px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-info-list div{background:#151d17!important;border-color:rgba(228,177,63,.22)!important;border-radius:6px!important;padding:14px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-info-list dt{color:#d4c9ad!important;letter-spacing:0!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-info-list dd{color:#fff4d8!important;font-size:1.02rem!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls{display:grid!important;grid-template-columns:repeat(5,52px) 68px 52px!important;justify-content:center!important;align-items:center!important;padding:16px!important;background:#1b1a17!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button{align-items:center!important;background:linear-gradient(180deg,#3a3935,#282723)!important;border:0!important;border-radius:8px!important;box-shadow:0 2px 0 rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.08)!important;color:#e8e3d6!important;display:inline-flex!important;font-size:1.2rem!important;font-weight:950!important;height:52px!important;justify-content:center!important;min-width:0!important;padding:0!important;text-shadow:none!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button[data-download-pgn]{font-size:.82rem!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button[data-copy-forum-embed]{font-size:1.35rem!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button:not(:disabled):hover{background:linear-gradient(180deg,#4a4944,#33322d)!important;color:#fff!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button:disabled{opacity:.45!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame{grid-template-rows:58px var(--room-board-size) 22px 58px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card{height:58px!important;min-height:58px!important;padding:8px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card>time[data-player-clock]{height:42px!important;min-height:42px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button[data-download-pgn],body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button[data-copy-forum-embed]{grid-column:auto!important;margin-top:0!important;width:52px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button[data-download-pgn]{width:68px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button{font-size:.72rem!important;overflow:hidden!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button[data-tool-tab="openings"]{font-size:.66rem!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls{grid-template-columns:repeat(5,44px) 58px 44px!important;gap:7px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button{height:44px!important;width:44px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button[data-download-pgn]{width:58px!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button[data-tool-tab="openings"]{font-size:.62rem!important}
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls{grid-template-columns:repeat(5,44px)!important}

/* EOF live control rail override: keep after legacy game-room rules. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-flip-corner {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-panel {
	grid-template-rows: auto minmax(360px, 1fr) auto auto auto auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves {
	align-content: start !important;
	background: #24231f !important;
	border: 0 !important;
	border-radius: 0 !important;
	display: block !important;
	min-height: 360px !important;
	overflow: auto !important;
	padding: 10px 0 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li {
	align-items: center !important;
	background: #24231f !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .045) !important;
	border-radius: 0 !important;
	color: #d8d0ba !important;
	display: grid !important;
	grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr) !important;
	min-height: 36px !important;
	padding: 0 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li:nth-child(even) {
	background: #211f1b !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li.is-empty {
	display: flex !important;
	justify-content: center !important;
	min-height: 86px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li > span:first-child {
	color: #8f8a7d !important;
	font-weight: 850 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li strong {
	align-items: center !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #f4ecd8 !important;
	display: grid !important;
	font-size: .92rem !important;
	font-weight: 900 !important;
	gap: 8px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	min-height: 30px !important;
	padding: 0 6px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li strong small {
	color: #a9a394 !important;
	font-size: .66rem !important;
	font-weight: 800 !important;
	justify-self: end !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li strong.is-replay-current span:first-child {
	background: rgba(255, 255, 255, .14) !important;
	border-radius: 3px !important;
	padding: 1px 4px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls {
	align-items: center !important;
	background: #1b1a17 !important;
	border-top: 1px solid rgba(255, 255, 255, .08) !important;
	display: grid !important;
	gap: 9px !important;
	grid-template-columns: repeat(5, minmax(44px, 58px)) !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 16px 16px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button {
	align-items: center !important;
	background: linear-gradient(180deg, #34332f, #252420) !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 0 rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
	color: #e8e3d6 !important;
	display: inline-flex !important;
	font-size: 1.2rem !important;
	font-weight: 950 !important;
	height: 48px !important;
	justify-content: center !important;
	min-width: 0 !important;
	padding: 0 !important;
	text-shadow: none !important;
	width: 58px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button:not(:disabled):hover,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-utility-controls button:not(:disabled):hover {
	background: linear-gradient(180deg, #44433f, #302f2a) !important;
	color: #fff !important;
	opacity: 1 !important;
	transform: translateY(-1px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-utility-controls {
	align-items: center !important;
	background: #1b1a17 !important;
	border-top: 1px solid rgba(255, 255, 255, .06) !important;
	display: flex !important;
	justify-content: space-between !important;
	margin: 0 !important;
	padding: 0 17px 13px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-utility-controls[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-utility-controls > div {
	align-items: center !important;
	display: flex !important;
	gap: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-utility-controls button {
	align-items: center !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 6px !important;
	color: #c8a86b !important;
	display: inline-flex !important;
	height: 32px !important;
	justify-content: center !important;
	opacity: .82 !important;
	padding: 0 !important;
	transition: opacity .2s ease, transform .2s ease !important;
	width: 32px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-utility-controls button:disabled {
	opacity: .36 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-utility-controls img {
	display: block !important;
	height: 24px !important;
	width: 24px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
	background: #1b1a17 !important;
	border-top: 1px solid rgba(255, 255, 255, .08) !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	justify-content: stretch !important;
	margin: 0 !important;
	padding: 0 16px 16px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button {
	align-items: center !important;
	background: #3a2924 !important;
	border: 1px solid rgba(255, 190, 160, .4) !important;
	border-radius: 8px !important;
	color: #ffd8cd !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	justify-content: center !important;
	min-height: 42px !important;
	padding: 0 12px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button:not(.chessora-button-danger) {
	background: #262b20 !important;
	border-color: rgba(200, 168, 107, .38) !important;
	color: #f3dfae !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button[hidden] {
	display: none !important;
}

/* EOF board action rail polish. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) :where(.chessora-engine-eval-rail, .chessora-board-score-rail, .chessora-board-ranks, .chessora-board-coordinates, .chessora-board-resize-handle) {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	grid-template-columns: 0 var(--room-board-size) 0 !important;
	grid-template-rows: 66px var(--room-board-size) 66px !important;
	width: var(--room-board-size) !important;
	max-width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	grid-column: 2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	grid-row: 2 !important;
	position: relative !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="b"] {
	grid-column: 2 !important;
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-board-player-row="w"] {
	grid-column: 2 !important;
	grid-row: 3 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="w"] {
	grid-row: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-board-flipped:not(.is-creating-game) [data-board-player-row="b"] {
	grid-row: 3 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates {
	display: grid !important;
	grid-template-columns: repeat(8, 1fr) !important;
	grid-template-rows: repeat(8, 1fr) !important;
	inset: 0 !important;
	pointer-events: none !important;
	position: absolute !important;
	z-index: 5 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates span {
	align-self: end !important;
	color: rgba(58, 41, 25, .76) !important;
	font-size: .82rem !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	padding: 5px 6px !important;
	text-shadow: 0 1px 0 rgba(255, 244, 216, .25) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates .is-rank {
	align-self: start !important;
	grid-column: 1 !important;
	justify-self: start !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates .is-file {
	grid-row: 8 !important;
	justify-self: end !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card {
	grid-template-columns: 42px minmax(0, 1fr) auto !important;
	gap: 11px !important;
	height: 66px !important;
	min-height: 66px !important;
	padding: 9px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-avatar {
	height: 42px !important;
	width: 42px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card strong {
	font-size: .98rem !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-rating-pill {
	font-size: .82rem !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > time[data-player-clock] {
	align-items: center !important;
	background: #f7f5eb !important;
	border: 0 !important;
	border-radius: 4px !important;
	color: #181713 !important;
	display: inline-grid !important;
	font-size: 1.18rem !important;
	font-weight: 950 !important;
	gap: 8px !important;
	grid-template-columns: auto auto !important;
	height: 44px !important;
	min-height: 44px !important;
	min-width: 116px !important;
	padding: 0 13px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > time[data-player-clock]::before {
	border: 3px solid currentColor !important;
	border-radius: 999px !important;
	box-sizing: border-box !important;
	content: "" !important;
	height: 18px !important;
	opacity: .82 !important;
	width: 18px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-panel {
	background: #201f1b !important;
	grid-template-rows: auto minmax(0, 1fr) auto auto auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves {
	min-height: 0 !important;
	scrollbar-width: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves::-webkit-scrollbar {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li {
	grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr) 52px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li strong {
	display: block !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times {
	align-items: end !important;
	border-left: 1px solid rgba(255, 255, 255, .16) !important;
	display: grid !important;
	gap: 2px !important;
	justify-items: start !important;
	min-height: 30px !important;
	padding-left: 7px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times small {
	color: #beb8aa !important;
	font-size: .64rem !important;
	font-weight: 750 !important;
	line-height: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times small[hidden] {
	display: block !important;
	visibility: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls {
	background: #1b1a17 !important;
	gap: 9px !important;
	grid-template-columns: repeat(5, 58px) !important;
	padding: 16px 16px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button {
	height: 48px !important;
	width: 58px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
	align-items: center !important;
	background: #1b1a17 !important;
	border-top: 0 !important;
	display: flex !important;
	justify-content: space-between !important;
	min-height: 46px !important;
	padding: 0 18px 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions > div {
	align-items: center !important;
	display: flex !important;
	gap: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-board-utility-button {
	background: transparent !important;
	border: 0 !important;
	border-radius: 5px !important;
	box-shadow: none !important;
	color: #d9d2c2 !important;
	display: inline-flex !important;
	font-size: .82rem !important;
	font-weight: 850 !important;
	gap: 5px !important;
	height: 28px !important;
	min-height: 28px !important;
	min-width: 0 !important;
	padding: 0 !important;
	text-shadow: none !important;
	width: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-board-utility-button {
	justify-content: center !important;
	opacity: .76 !important;
	width: 28px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions img {
	display: block !important;
	height: 20px !important;
	width: 20px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button:not(:disabled):hover,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-board-utility-button:not(:disabled):hover {
	background: rgba(255, 255, 255, .06) !important;
	color: #fff4d8 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button[hidden],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-board-utility-button[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-utility-controls {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-engine-eval-rail,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-board-score-rail,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-board-ranks,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-board-coordinates,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-board-resize-handle {
	display: none !important;
	height: 0 !important;
	overflow: hidden !important;
	width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates .is-rank {
	padding-left: 42px !important;
}

/* EOF live board control polish. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	background: transparent !important;
	grid-template-columns: var(--room-board-size) !important;
	grid-template-rows: 66px var(--room-board-size) 66px !important;
	max-width: var(--room-board-size) !important;
	width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame::before,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame::after {
	content: none !important;
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	grid-column: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap {
	box-shadow: 0 0 0 4px #2d2a21 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-engine-eval-rail,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-board-score-rail,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-board-ranks,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-board-coordinates,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame > .chessora-board-resize-handle,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-score-rail,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-engine-eval-rail {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates span {
	color: rgba(48, 34, 20, .82) !important;
	font-size: .78rem !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	padding: 4px 5px !important;
	text-shadow: 0 1px 0 rgba(255, 238, 199, .22) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates .is-rank {
	align-self: start !important;
	grid-column: 1 !important;
	justify-self: start !important;
	padding-left: 5px !important;
	padding-top: 5px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates .is-file {
	align-self: end !important;
	grid-row: 8 !important;
	justify-self: end !important;
	padding-bottom: 5px !important;
	padding-right: 6px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card {
	grid-template-columns: 46px minmax(0, 1fr) auto !important;
	height: 66px !important;
	min-height: 66px !important;
	padding: 8px 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > div:not(.chessora-player-avatar) {
	align-content: center !important;
	display: grid !important;
	gap: 3px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-captured-pieces,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row [data-captured-pieces] {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 2px !important;
	grid-row: 2 !important;
	line-height: 1 !important;
	margin-top: 0 !important;
	min-height: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > time[data-player-clock] {
	align-items: center !important;
	display: inline-flex !important;
	font-variant-numeric: tabular-nums !important;
	gap: 8px !important;
	justify-content: center !important;
	min-width: 118px !important;
	padding: 0 14px 0 38px !important;
	position: relative !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > time[data-player-clock]::before {
	border: 3px solid currentColor !important;
	border-radius: 999px !important;
	box-sizing: border-box !important;
	content: "" !important;
	height: 18px !important;
	left: 14px !important;
	opacity: .86 !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 18px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-player-row .chessora-player-card > time[data-player-clock]::after {
	animation: chessora-clock-hand 12s linear infinite !important;
	background: currentColor !important;
	border-radius: 999px !important;
	content: "" !important;
	height: 2px !important;
	left: 23px !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) rotate(0deg) !important;
	transform-origin: left center !important;
	width: 7px !important;
}

@keyframes chessora-clock-hand {
	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-panel {
	grid-template-rows: auto minmax(0, 1fr) auto auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves {
	overflow-y: auto !important;
	scrollbar-width: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li {
	column-gap: 7px !important;
	grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr) 48px !important;
	padding-left: 14px !important;
	padding-right: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li strong {
	padding-inline: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times {
	align-items: center !important;
	border-left: 1px solid rgba(255, 255, 255, .18) !important;
	display: grid !important;
	gap: 2px !important;
	justify-items: start !important;
	padding-left: 5px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times small {
	align-items: center !important;
	display: grid !important;
	font-size: .61rem !important;
	grid-template-columns: 20px 1fr !important;
	line-height: 1 !important;
	min-width: 40px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times small::before {
	background: currentColor !important;
	border-radius: 999px !important;
	content: "" !important;
	height: 7px !important;
	opacity: .88 !important;
	width: var(--move-time-width, 6px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times .is-white-time::before {
	background: #f1eee3 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times .is-black-time::before {
	background: #8d8778 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls {
	display: grid !important;
	gap: 9px !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	padding: 12px 16px 10px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button {
	height: 48px !important;
	min-width: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
	background: #1b1a17 !important;
	border: 0 !important;
	justify-content: space-between !important;
	margin: 0 !important;
	min-height: 34px !important;
	padding: 0 16px 12px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-board-utility-button {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #ded7c6 !important;
	font-size: .86rem !important;
	gap: 6px !important;
	height: 28px !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions img {
	height: 24px !important;
	width: 24px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions [data-board-flip] img {
	height: 28px !important;
	width: 28px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button:not(:disabled):hover,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-board-utility-button:not(:disabled):hover {
	background: transparent !important;
	color: #fff1cb !important;
	opacity: .9 !important;
}

/* EOF live board final spacing pass. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls {
	align-self: end !important;
	box-sizing: border-box !important;
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	justify-content: stretch !important;
	justify-items: stretch !important;
	justify-self: stretch !important;
	max-width: none !important;
	padding: 12px 16px 10px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-move-controls button {
	box-sizing: border-box !important;
	height: 48px !important;
	min-width: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
	box-sizing: border-box !important;
	padding: 0 16px 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions > div {
	gap: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right {
	align-items: center !important;
	display: flex !important;
	justify-content: flex-start !important;
	margin-left: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right .chessora-board-utility-button[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button {
	font-size: .9rem !important;
	font-weight: 900 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button img {
	height: 26px !important;
	width: 26px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-board-utility-button img,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions [data-board-flip] img {
	height: 30px !important;
	width: 30px !important;
}

/* Chess.com parity pass: coordinates inside the board, no outer board gutter. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) {
	align-items: start !important;
	grid-template-columns: calc(var(--room-board-size) + 112px) minmax(300px, 430px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-room-sidebar {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-play-stage {
	grid-column: 1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	grid-column: 2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-frame {
	background: #201f1b !important;
	grid-template-columns: var(--room-board-size) !important;
	grid-template-rows: 58px var(--room-board-size) 58px !important;
	max-width: var(--room-board-size) !important;
	width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-wrap,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	contain: paint !important;
	display: block !important;
	height: var(--room-board-size) !important;
	max-height: var(--room-board-size) !important;
	max-width: var(--room-board-size) !important;
	min-height: var(--room-board-size) !important;
	min-width: var(--room-board-size) !important;
	outline: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	width: var(--room-board-size) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-container,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-board,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap .cg-shapes,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap .cg-custom-svgs,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board.cg-wrap cg-auto-pieces {
	border: 0 !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	height: 100% !important;
	inset: 0 !important;
	max-height: 100% !important;
	max-width: 100% !important;
	outline: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-inside-coordinates {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side {
	align-self: stretch !important;
	height: calc(var(--room-board-size) + 116px) !important;
	max-width: 430px !important;
	min-height: calc(var(--room-board-size) + 116px) !important;
	overflow: hidden !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-panel {
	display: grid !important;
	grid-template-rows: auto minmax(0, 1fr) auto auto auto !important;
	height: calc(var(--room-board-size) + 116px) !important;
	min-height: calc(var(--room-board-size) + 116px) !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-panel-tabs button {
	min-height: 44px !important;
	padding: 4px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs .chessora-module-icon,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs small {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-left {
	justify-content: flex-start !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions .chessora-button::before {
	content: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions [data-abort-game],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions [data-draw-offer],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions [data-resign-game] {
	display: inline-flex !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board coords {
	color: #5f7f3f !important;
	font-size: clamp(14px, calc(var(--room-board-size) / 42), 18px) !important;
	font-weight: 700 !important;
	text-shadow: none !important;
	z-index: 8 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board coord {
	color: #5f7f3f !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board coords.files {
	bottom: 3px !important;
	left: 0 !important;
	right: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board coords.ranks {
	bottom: 0 !important;
	left: 3px !important;
	top: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times small {
	grid-template-columns: 42px 1fr !important;
	min-width: 62px !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times small::before {
	justify-self: end !important;
}

/* Final sidebar tab isolation and move-time column fix. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-tool-panel][hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves {
	box-sizing: border-box !important;
	max-width: 100% !important;
	overflow-x: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves li {
	box-sizing: border-box !important;
	column-gap: 8px !important;
	grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr) 74px !important;
	padding-left: 12px !important;
	padding-right: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times {
	box-sizing: border-box !important;
	justify-items: stretch !important;
	min-width: 74px !important;
	overflow: hidden !important;
	padding-left: 8px !important;
	width: 74px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times small {
	box-sizing: border-box !important;
	display: grid !important;
	grid-template-columns: 42px 24px !important;
	justify-items: end !important;
	min-width: 66px !important;
	overflow: hidden !important;
	white-space: nowrap !important;
	width: 66px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-moves .chessora-move-times small[hidden] {
	display: grid !important;
	visibility: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-info {
	background: #111b14 !important;
	border: 1px solid rgba(228, 177, 63, .34) !important;
	border-radius: 6px !important;
	color: #f4ecd8 !important;
	margin: 16px !important;
	min-height: 320px !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-event-room {
	display: grid !important;
	gap: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-event-room .is-empty {
	color: #cfc6b4 !important;
	font-weight: 800 !important;
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-event {
	background: #172319 !important;
	border: 1px solid rgba(228, 177, 63, .28) !important;
	border-radius: 6px !important;
	display: grid !important;
	gap: 4px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-event strong {
	color: #fff2cf !important;
	font-size: .9rem !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-event span {
	color: #d8d0ba !important;
	font-size: .82rem !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
	justify-content: flex-start !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right {
	order: -1 !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board:not(.cg-wrap) {
	background: #201f1b !important;
	background-image: none !important;
}

/* Final game rail tabs: top-level tabs contain the game-tool menu. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-tabs {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-tabs button {
	background: #191814 !important;
	border: 0 !important;
	border-right: 1px solid rgba(255, 255, 255, .06) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #f4ecd8 !important;
	font-size: .76rem !important;
	font-weight: 900 !important;
	min-height: 42px !important;
	padding: 4px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-tabs button.is-active {
	background: #25231e !important;
	box-shadow: inset 0 -4px 0 #e4b13f !important;
}

/* Final action rail polish: flat game tabs, bottom alignment, split utility icons. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-side .chessora-move-panel {
	height: calc(var(--room-board-size) + 116px) !important;
	min-height: calc(var(--room-board-size) + 116px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-tabs {
	background: #1b1a17 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-tabs button {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #d8d0ba !important;
	min-height: 42px !important;
	padding: 4px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-tabs button.is-active {
	background: #201f1b !important;
	box-shadow: inset 0 -3px 0 #e4b13f !important;
	color: #fff2cf !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-tabs button:disabled,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-tabs button[aria-disabled="true"] {
	color: rgba(216, 208, 186, .38) !important;
	cursor: not-allowed !important;
	opacity: 1 !important;
	pointer-events: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-panel[data-primary-panel="games"] {
	display: grid !important;
	grid-template-rows: auto minmax(0, 1fr) auto !important;
	min-height: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
	align-self: end !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 1fr !important;
	justify-content: stretch !important;
	margin-top: auto !important;
	min-height: 76px !important;
	padding: 10px 16px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-left {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: flex-start !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right {
	display: flex !important;
	flex: 1 1 auto !important;
	gap: 10px !important;
	justify-content: flex-start !important;
	margin-left: 0 !important;
	order: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right [data-copy-forum-embed] {
	margin-right: auto !important;
	order: -1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right [data-board-flip] {
	margin-left: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right .chessora-board-utility-button[hidden],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions[hidden],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-panel[hidden] {
	display: none !important;
}

/* Tournament board info and side-rail containment. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-panel[data-primary-panel="games"] {
	min-width: 0 !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-panel {
	box-sizing: border-box !important;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-chat,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-info,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-openings {
	height: 100% !important;
	max-height: calc(var(--room-board-size) - 24px) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-chat {
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-tool-chat .chessora-chat-lines {
	min-height: 0 !important;
	overflow: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-tournament-info {
	background: linear-gradient(135deg, rgba(20, 31, 23, .98), rgba(10, 20, 15, .98)) !important;
	border: 1px solid rgba(228, 177, 63, .38) !important;
	border-radius: 8px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
	display: grid !important;
	gap: 12px !important;
	margin-bottom: 14px !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-tournament-info > span {
	color: #e4b13f !important;
	font-size: .72rem !important;
	font-weight: 900 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-tournament-info h3 {
	color: #fff2cf !important;
	font-size: 1.08rem !important;
	font-weight: 900 !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-tournament-info dl {
	display: grid !important;
	gap: 8px !important;
	margin: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-tournament-info dl > div {
	align-items: baseline !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: 72px minmax(0, 1fr) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-tournament-info dt {
	color: #aeb8ab !important;
	font-size: .74rem !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-tournament-info dd {
	color: #f7ecd4 !important;
	font-size: .88rem !important;
	font-weight: 800 !important;
	margin: 0 !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-game-tournament-info a {
	align-items: center !important;
	background: linear-gradient(180deg, #f2c65b, #d99a1f) !important;
	border: 1px solid rgba(255, 224, 149, .4) !important;
	border-radius: 6px !important;
	color: #11130f !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 8px 12px !important;
	text-decoration: none !important;
}

/* Club room: final light form pass after shell dark form defaults. */
body.chessora-shell.view-clubs .chessora-clubs-page :where(input, select, textarea) {
	appearance: auto !important;
	background: #fffdf7 !important;
	border: 1px solid #b9943e !important;
	border-radius: 8px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65) !important;
	color: #172016 !important;
	font: inherit !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	min-height: 42px !important;
	opacity: 1 !important;
	padding: 9px 12px !important;
	text-shadow: none !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page textarea {
	min-height: 112px !important;
	resize: vertical !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page :where(input, textarea)::placeholder {
	color: #76694f !important;
	opacity: 1 !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page select,
body.chessora-shell.view-clubs .chessora-clubs-page select option {
	background-color: #fffdf7 !important;
	color: #172016 !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page :where(input, select, textarea):focus {
	border-color: #d69a27 !important;
	box-shadow: 0 0 0 3px rgba(214, 154, 39, .22) !important;
	outline: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-create-panel {
	display: grid !important;
	gap: 10px !important;
	margin-top: 8px !important;
	max-width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-mini-create-toggle] {
	align-items: center !important;
	background: #e0ad35 !important;
	background-image: none !important;
	border: 1px solid rgba(255, 236, 178, .56) !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	color: #151008 !important;
	display: inline-flex !important;
	font-size: .82rem !important;
	font-weight: 950 !important;
	justify-content: center !important;
	min-height: 34px !important;
	padding: 6px 10px !important;
	text-shadow: none !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-mini-create-toggle]:hover,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) [data-mini-create-toggle]:focus-visible {
	background: #f0c85c !important;
	color: #120e07 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-action-feedback {
	background: rgba(224, 173, 53, .14) !important;
	border: 1px solid rgba(224, 173, 53, .42) !important;
	border-radius: 6px !important;
	color: #fff2cf !important;
	font-size: .8rem !important;
	font-weight: 850 !important;
	margin: 10px 0 0 !important;
	padding: 8px !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-action-feedback[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-action-feedback a {
	color: #f0c85c !important;
	font-weight: 950 !important;
	text-decoration: underline !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rail-list,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-player-list {
	display: grid !important;
	gap: 0 !important;
	margin-top: 8px !important;
	max-height: 500px !important;
	overflow-y: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rail-empty {
	color: #cfc6b4 !important;
	font-size: .82rem !important;
	font-weight: 800 !important;
	margin: 8px 0 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-browser {
	display: grid !important;
	gap: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-browser-tools {
	align-items: center !important;
	border-bottom: 1px solid rgba(255, 255, 255, .18) !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	padding-bottom: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-browser-tools label {
	align-items: center !important;
	background: transparent !important;
	color: #bdb7aa !important;
	display: flex !important;
	gap: 8px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-browser-tools input,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-browser-tools select {
	background: transparent !important;
	border: 0 !important;
	color: #d8d0ba !important;
	font-size: .82rem !important;
	height: 30px !important;
	outline: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-player-browser-tools input {
	min-width: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-player-row,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rail-live-row {
	align-items: center !important;
	background: #24231f !important;
	border-bottom: 1px solid rgba(255, 255, 255, .075) !important;
	color: #d8d0ba !important;
	display: grid !important;
	gap: 8px !important;
	min-height: 40px !important;
	padding: 6px 10px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-player-row {
	grid-template-columns: 28px minmax(0, 1fr) auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rail-live-row {
	background: #1f211d !important;
	border: 1px solid rgba(255, 255, 255, .06) !important;
	border-radius: 6px !important;
	grid-template-columns: 28px minmax(0, 1fr) auto !important;
	margin-bottom: 6px !important;
	min-height: 52px !important;
	padding: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-player-row:hover,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rail-live-row:hover {
	background: #2d2b25 !important;
	color: #fff2cf !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-avatar {
	align-items: center !important;
	background: #d8d0ba !important;
	border-radius: 3px !important;
	color: #24231f !important;
	display: inline-flex !important;
	font-size: .78rem !important;
	font-weight: 950 !important;
	height: 26px !important;
	justify-content: center !important;
	width: 26px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-name,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-names {
	align-items: baseline !important;
	display: flex !important;
	gap: 4px !important;
	min-width: 0 !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-board-icon {
	align-items: center !important;
	background: rgba(240, 200, 92, .14) !important;
	border: 1px solid rgba(240, 200, 92, .28) !important;
	border-radius: 5px !important;
	color: #f0c85c !important;
	display: inline-flex !important;
	font-size: .94rem !important;
	height: 28px !important;
	justify-content: center !important;
	width: 28px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-main {
	display: grid !important;
	gap: 5px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-name b,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-names b {
	color: #d8d0ba !important;
	font-size: .82rem !important;
	font-weight: 900 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-name small,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-online-status,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-meta small {
	color: #aaa49a !important;
	font-size: .78rem !important;
	font-weight: 700 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-meta {
	display: flex !important;
	gap: 6px !important;
	justify-items: start !important;
	line-height: 1.2 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-meta strong {
	color: #f0c85c !important;
	font-size: .72rem !important;
	font-weight: 900 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rail-live-row > strong {
	background: rgba(240, 200, 92, .12) !important;
	border: 1px solid rgba(240, 200, 92, .24) !important;
	border-radius: 999px !important;
	color: #f0c85c !important;
	font-size: .68rem !important;
	font-weight: 900 !important;
	padding: 3px 7px !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-create-panel[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-game-list {
	gap: 8px !important;
	padding-right: 4px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rail-live-row {
	align-items: stretch !important;
	background: #20231f !important;
	border: 1px solid rgba(240, 200, 92, .16) !important;
	border-radius: 6px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035) !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: 1fr !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 10px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-rail-live-row:hover {
	background: #292a24 !important;
	border-color: rgba(240, 200, 92, .34) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-match {
	align-items: center !important;
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-player {
	display: grid !important;
	gap: 2px !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-player b {
	color: #fff2cf !important;
	font-size: .82rem !important;
	font-weight: 900 !important;
	line-height: 1.15 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-player small {
	color: #938d82 !important;
	font-size: .63rem !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-match em {
	color: #e0ad35 !important;
	font-size: .7rem !important;
	font-style: normal !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-row-foot {
	align-items: center !important;
	color: #aaa49a !important;
	display: flex !important;
	font-size: .72rem !important;
	font-weight: 800 !important;
	gap: 8px !important;
	justify-content: space-between !important;
	line-height: 1.1 !important;
	min-width: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-row-foot > span {
	align-items: center !important;
	display: inline-flex !important;
	gap: 6px !important;
	min-width: 0 !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-chip {
	border: 1px solid rgba(224, 173, 53, .45) !important;
	border-radius: 999px !important;
	color: #f0c85c !important;
	display: inline-flex !important;
	font-size: .7rem !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	padding: 3px 7px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-live-row-foot strong {
	background: transparent !important;
	border: 0 !important;
	color: #d8d0ba !important;
	font-size: .7rem !important;
	font-weight: 900 !important;
	padding: 0 !important;
	text-align: right !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-choice {
	background: #17211c !important;
	border: 1px solid rgba(228, 177, 63, .28) !important;
	border-radius: 7px !important;
	display: grid !important;
	gap: 4px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	padding: 4px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-colors {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-create-panel button {
	background: #1d2a24 !important;
	border: 1px solid rgba(228, 177, 63, .24) !important;
	border-radius: 6px !important;
	color: #fff5d8 !important;
	font-size: .76rem !important;
	font-weight: 900 !important;
	min-height: 30px !important;
	padding: 4px 6px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-create-panel button.is-active,
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-create-panel button:hover {
	background: #e0ad35 !important;
	color: #171007 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-times {
	display: grid !important;
	gap: 6px !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-mini-times span {
	align-self: center !important;
	color: #fff2cf !important;
	font-size: .72rem !important;
	font-weight: 900 !important;
	grid-column: 1 / -1 !important;
	line-height: 1 !important;
	margin-top: 2px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-panel[data-primary-panel="games"] {
	display: grid !important;
	grid-template-rows: auto minmax(0, 1fr) auto !important;
	min-height: 0 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs {
	background: #1b1a17 !important;
	border-top: 1px solid rgba(255, 255, 255, .08) !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-panel-tabs button {
	font-size: .68rem !important;
	min-height: 36px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-placeholder {
	align-content: start !important;
	background: #111b14 !important;
	color: #f4ecd8 !important;
	display: grid !important;
	gap: 12px !important;
	margin: 16px !important;
	min-height: 320px !important;
	padding: 16px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
	align-self: end !important;
	display: grid !important;
	gap: 8px !important;
	justify-content: space-between !important;
	margin-top: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right {
	flex: 1 1 auto !important;
	gap: 10px !important;
	order: 2 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right [data-copy-forum-embed] {
	margin-right: auto !important;
	order: -1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right [data-board-flip] {
	margin-left: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-forum-share-box {
	background: #111b14 !important;
	border: 1px solid rgba(228, 177, 63, .34) !important;
	border-radius: 6px !important;
	color: #f4ecd8 !important;
	margin: 12px 16px !important;
	padding: 12px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-forum-share-box textarea {
	background: #0d1510 !important;
	border: 1px solid rgba(228, 177, 63, .28) !important;
	border-radius: 5px !important;
	color: #fff8e6 !important;
	resize: vertical !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-forum-share-actions {
	display: flex !important;
	gap: 8px !important;
	justify-content: flex-start !important;
	margin-top: 8px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-panel[hidden] {
	display: none !important;
}

/* Definitive final utility alignment override. */
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions {
	grid-template-columns: 1fr !important;
	justify-content: stretch !important;
	min-height: 76px !important;
	padding: 10px 16px !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right {
	display: flex !important;
	justify-content: flex-start !important;
	margin-left: 0 !important;
	order: 0 !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right [data-copy-forum-embed] {
	margin-right: auto !important;
	order: -1 !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right [data-board-flip] {
	margin-left: auto !important;
}

body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-action-right .chessora-board-utility-button[hidden],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-board-actions[hidden],
body.chessora-shell.view-game .chessora-game-room:not(.is-creating-game) .chessora-primary-panel[hidden] {
	display: none !important;
}
body.chessora-shell.view-clubs .chessora-club-command-hero :where(h1, strong, b) {
	color: #fff8e4 !important;
}

body.chessora-shell.view-clubs .chessora-club-command-hero :where(p, span) {
	color: #dce4d6 !important;
}

body.chessora-shell.view-clubs .chessora-club-command-hero .chessora-kicker {
	color: #f4c44e !important;
}

body.chessora-shell.view-clubs .chessora-club-command-hero .chessora-button {
	color: #172016 !important;
}

body.chessora-shell.view-clubs .chessora-club-command-actions .chessora-button,
body.chessora-shell.view-clubs .chessora-club-list-card .chessora-button {
	background: linear-gradient(180deg, #f1c85d, #d79d2c) !important;
	border: 1px solid #bd8323 !important;
	border-radius: 7px !important;
	box-shadow: 0 8px 18px rgba(103, 73, 18, .14) !important;
	color: #161107 !important;
	font-weight: 950 !important;
	min-height: 42px !important;
	opacity: 1 !important;
	padding: 10px 15px !important;
	text-shadow: none !important;
}

body.chessora-shell.view-clubs .chessora-club-command-actions .chessora-button:hover,
body.chessora-shell.view-clubs .chessora-club-list-card .chessora-button:hover {
	background: linear-gradient(180deg, #f8d978, #e2a83a) !important;
	color: #120d04 !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card {
	background: linear-gradient(90deg, rgba(244, 196, 78, .11), transparent 42%), #fffdf6 !important;
	border-color: rgba(218, 197, 138, .9) !important;
	box-shadow: 0 12px 30px rgba(25, 35, 24, .09) !important;
	padding: 16px !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card > header {
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: 58px minmax(0, 1fr) auto auto !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card .chessora-club-mark {
	align-items: center !important;
	background: linear-gradient(135deg, #192820, #315744 58%, #d5a334) !important;
	border: 1px solid rgba(244, 196, 78, .46) !important;
	border-radius: 8px !important;
	color: #fff8e4 !important;
	display: inline-flex !important;
	font-size: 1.35rem !important;
	font-weight: 950 !important;
	height: 58px !important;
	justify-content: center !important;
	line-height: 1 !important;
	width: 58px !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card header > strong {
	background: #f7edcc !important;
	border: 1px solid #e3cd8e !important;
	border-radius: 999px !important;
	color: #3b2a0e !important;
	font-size: .8rem !important;
	padding: 7px 10px !important;
}

body.chessora-shell.view-clubs .chessora-clubs-hero,
body.chessora-shell.view-clubs .chessora-club-list-card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border-color: rgba(229, 180, 77, .26) !important;
	color: #f8f5ee !important;
}

body.chessora-shell.view-clubs .chessora-clubs-hero h1,
body.chessora-shell.view-clubs .chessora-club-list-card h2 {
	color: #fff7df !important;
	text-shadow: none !important;
}

body.chessora-shell.view-clubs .chessora-clubs-hero span,
body.chessora-shell.view-clubs .chessora-club-list-card p {
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs .chessora-clubs-hero small,
body.chessora-shell.view-clubs .chessora-clubs-hero > strong {
	color: #0f140f !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card .chessora-club-mark {
	background: #050907 !important;
	overflow: hidden !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card .chessora-club-mark img {
	display: block !important;
	height: 100% !important;
	object-fit: contain !important;
	padding: 3px !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-club-list-card .chessora-club-card-actions {
	margin-top: 0 !important;
}

@media (max-width: 720px) {
	body.chessora-shell.view-clubs .chessora-club-list-card > header {
		grid-template-columns: 58px minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-clubs .chessora-club-list-card header > strong,
	body.chessora-shell.view-clubs .chessora-club-list-card .chessora-club-card-actions {
		grid-column: 1 / -1 !important;
		justify-self: start !important;
		margin-top: 0 !important;
	}
}

/* Homepage final shell overrides. */
body.chessora-shell.view-dashboard .shell-component-card {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.chessora-shell.view-dashboard .chessora-home3 {
	color: #f7f0de !important;
}

body.chessora-shell.view-dashboard .chessora-home3 :where(h1, h2, h3, strong, b) {
	color: #fff7df !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-dashboard .chessora-home3 :where(p, span, small, li) {
	color: #cfd7cc !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-dashboard .chessora-home3 :where(.chessora-home3-kicker, .chessora-home3-play header p, .chessora-home3-bottom header p, .chessora-home3-feature span, .chessora-home3-presets span, .chessora-home3-leaders strong, .chessora-home3-clock-row span) {
	color: #f1cf77 !important;
}

body.chessora-shell.view-dashboard .chessora-home3-actions a,
body.chessora-shell.view-dashboard .chessora-home3-club-card a {
	color: #fff7df !important;
}

body.chessora-shell.view-dashboard .chessora-home3-actions .chessora-home3-primary,
body.chessora-shell.view-dashboard .chessora-home3-club-card a {
	color: #11140f !important;
}

body.chessora-shell.view-dashboard .chessora-home3-stats span {
	color: #bfc9bd !important;
}

body.chessora-shell.view-dashboard .chessora-home3-stats strong {
	color: #fff7df !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .12), rgba(255, 255, 255, .045)),
		#111c18 !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 12px !important;
	box-shadow: 0 20px 48px rgba(0, 0, 0, .22) !important;
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: minmax(0, 1.7fr) auto auto !important;
	margin: 18px 0 !important;
	padding: 16px 18px !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily p {
	color: #f1cf77 !important;
	font-size: .76rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	margin: 0 0 5px !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily h2 {
	font-size: 1.22rem !important;
	line-height: 1.16 !important;
	margin: 0 !important;
	overflow-wrap: anywhere !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily > .chessora-home3-daily-copy > span {
	color: #cfd7cc !important;
	display: block !important;
	font-size: .92rem !important;
	margin-top: 5px !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily-stats {
	display: grid !important;
	gap: 8px !important;
	grid-template-columns: repeat(2, 78px) !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily > .chessora-home3-daily-stats > span {
	align-items: center !important;
	background: rgba(7, 15, 13, .64) !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 9px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
	justify-content: center !important;
	margin-top: 0 !important;
	min-height: 58px !important;
	min-width: 78px !important;
	padding: 8px 6px !important;
	text-align: center !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily-stats strong {
	color: #fff7df !important;
	display: block !important;
	font-size: 1.18rem !important;
	line-height: 1 !important;
	margin: 0 !important;
	text-align: center !important;
	width: 100% !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily-stats small {
	color: #bfc9bd !important;
	display: block !important;
	font-size: .72rem !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	margin: 0 !important;
	text-align: center !important;
	width: 100% !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: flex-end !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily-actions a {
	align-items: center !important;
	background: rgba(255, 255, 255, .06) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	border-radius: 9px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 950 !important;
	min-height: 40px !important;
	padding: 0 14px !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-dashboard .chessora-home3-daily-actions .chessora-home3-daily-primary {
	background: linear-gradient(180deg, #f0c35e, #c58b23) !important;
	border-color: rgba(255, 223, 133, .74) !important;
	color: #11140f !important;
}

@media (max-width: 980px) {
	body.chessora-shell.view-dashboard .chessora-home3-daily {
		align-items: stretch !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-daily-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		width: 100% !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-daily > .chessora-home3-daily-stats > span {
		min-width: 0 !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-daily-actions {
		justify-content: stretch !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-daily-actions a {
		flex: 1 1 180px !important;
		justify-content: center !important;
		min-width: 0 !important;
		white-space: normal !important;
	}
}

/* Profile page: match the homepage dark Pawn Realm theme. */
body.chessora-shell.view-profile,
body.chessora-shell.view-profile .shell-page {
	background:
		radial-gradient(circle at 16% 8%, rgba(226, 170, 57, .14), transparent 30rem),
		linear-gradient(180deg, #07110f 0%, #0d1715 42%, #111b18 100%) !important;
	color: #f7f0de !important;
}

body.chessora-shell.view-profile .shell-component-card {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.chessora-shell.view-profile .chessora-profile-page {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 255, 255, .03) 1px, transparent 1px) !important;
	background-size: 64px 64px !important;
	color: #f7f0de !important;
	padding: 24px !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(h1, h2, h3, h4, strong, b, label, th, dt, dd) {
	color: #fff7df !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-panel-head h2,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-panel h2,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-games-panel h2,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-badges h2,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-notifications h2,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-messages h2,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-memberships h2 {
	color: #fff7df !important;
	font-weight: 950 !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-panel-head > span {
	background: rgba(241, 207, 119, .16) !important;
	border: 1px solid rgba(241, 207, 119, .35) !important;
	border-radius: 999px !important;
	color: #f1cf77 !important;
	font-weight: 950 !important;
	opacity: 1 !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(p, span, small, li, td, figcaption, .chessora-muted) {
	color: #cfd7cc !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(.chessora-kicker, .chessora-cb-profile-title .chessora-kicker, .chessora-panel-head span, .chessora-profile-feed time, .chessora-profile-tags strong, .chessora-rating-hero span, .chessora-profile-game-tabs button.is-active, .chessora-history-type) {
	color: #f1cf77 !important;
}

body.chessora-shell.view-profile .chessora-profile-hero,
body.chessora-shell.view-profile .chessora-cb-profile-hero {
	background:
		linear-gradient(135deg, rgba(17, 28, 23, .96), rgba(11, 20, 18, .98)),
		#0d1715 !important;
	border: 1px solid rgba(229, 180, 77, .26) !important;
	border-radius: 14px !important;
	box-shadow: 0 28px 70px rgba(0, 0, 0, .34) !important;
	color: #f7f0de !important;
	overflow: hidden !important;
}

body.chessora-shell.view-profile .chessora-cb-profile-cover {
	background:
		linear-gradient(45deg, rgba(255, 255, 255, .045) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .045) 75%),
		linear-gradient(45deg, rgba(226, 170, 57, .08) 25%, transparent 25%, transparent 75%, rgba(226, 170, 57, .08) 75%),
		linear-gradient(135deg, #102019, #09120f) !important;
	background-position: 0 0, 28px 28px, center !important;
	background-size: 56px 56px, 56px 56px, cover !important;
	opacity: 1 !important;
}

body.chessora-shell.view-profile .chessora-cb-profile-bar,
body.chessora-shell.view-profile .chessora-cb-profile-stats,
body.chessora-shell.view-profile .chessora-profile-command,
body.chessora-shell.view-profile .chessora-profile-summary,
body.chessora-shell.view-profile .chessora-profile-panels,
body.chessora-shell.view-profile .chessora-profile-edit,
body.chessora-shell.view-profile .chessora-profile-main,
body.chessora-shell.view-profile .chessora-profile-rail {
	background: transparent !important;
	border-color: rgba(229, 180, 77, .18) !important;
	box-shadow: none !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(.chessora-panel, .chessora-card, .chessora-profile-edit, .chessora-cb-profile-card, .chessora-profile-games-panel, .chessora-profile-rating-panel) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .035)),
		#111c18 !important;
	border: 1px solid rgba(229, 180, 77, .18) !important;
	border-radius: 12px !important;
	box-shadow: 0 20px 48px rgba(0, 0, 0, .18) !important;
	color: #f7f0de !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(.chessora-stat, .chessora-cb-profile-stats span, .chessora-profile-tags span, .chessora-profile-feed a, .chessora-profile-feed .is-empty, .chessora-activity-feed > div, .chessora-profile-community a, .chessora-history-row, .chessora-profile-game-tabs button, .chessora-badge-grid figure, .chessora-profile-steps li) {
	background: rgba(7, 15, 13, .66) !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 10px !important;
	color: #d7ded4 !important;
}

body.chessora-shell.view-profile .chessora-profile-avatar,
body.chessora-shell.view-profile .chessora-cb-profile-mini .chessora-avatar {
	background: linear-gradient(135deg, #192820, #315744 58%, #d5a334) !important;
	border: 1px solid rgba(244, 196, 78, .46) !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .28) !important;
	color: #fff8e4 !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(.chessora-button, button, .chessora-profile-actions a, .chessora-profile-actions button, .chessora-profile-see-more, .chessora-history-share) {
	background: rgba(255, 255, 255, .06) !important;
	border: 1px solid rgba(229, 180, 77, .22) !important;
	border-radius: 9px !important;
	box-shadow: none !important;
	color: #fff7df !important;
	font-weight: 950 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(.chessora-button:hover, button:hover, .chessora-profile-actions a:hover, .chessora-profile-actions button:hover, .chessora-profile-see-more:hover, .chessora-history-share:hover) {
	border-color: rgba(239, 193, 91, .64) !important;
	color: #fffaf0 !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(.chessora-button[type="submit"], .chessora-profile-actions .chessora-button-primary, .chessora-profile-actions button:first-child) {
	background: linear-gradient(180deg, #f0c35e, #c58b23) !important;
	border-color: rgba(255, 223, 133, .74) !important;
	box-shadow: 0 14px 34px rgba(197, 139, 35, .22) !important;
	color: #11140f !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(input, select, textarea) {
	background: #0b1411 !important;
	border: 1px solid rgba(229, 180, 77, .28) !important;
	border-radius: 9px !important;
	color: #fff7df !important;
}

body.chessora-shell.view-profile .chessora-profile-page :where(input, textarea)::placeholder {
	color: #8f9d91 !important;
	opacity: 1 !important;
}

body.chessora-shell.view-profile .chessora-rating-graph {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#0b1411 !important;
	border-color: rgba(229, 180, 77, .18) !important;
}

body.chessora-shell.view-profile .chessora-rating-graph text {
	fill: #cfd7cc !important;
}

body.chessora-shell.view-profile .chessora-rating-graph polyline {
	stroke: #f1cf77 !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-tabs a {
	background: rgba(255, 255, 255, .045) !important;
	border-color: rgba(214, 162, 59, .18) !important;
	color: #f7f0de !important;
}

body.chessora-shell.view-profile .chessora-profile-page .chessora-tabs a.is-active,
body.chessora-shell.view-profile .chessora-profile-page .chessora-tabs a:hover {
	background: linear-gradient(180deg, #f0c35e, #c58b23) !important;
	color: #11140f !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-cb-profile-hero,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-hero.chessora-cb-profile-hero {
	background:
		linear-gradient(135deg, rgba(17, 28, 23, .96), rgba(11, 20, 18, .98)),
		#0d1715 !important;
	border: 1px solid rgba(229, 180, 77, .26) !important;
	border-radius: 14px !important;
	box-shadow: 0 28px 70px rgba(0, 0, 0, .34) !important;
	color: #f7f0de !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-cb-profile-bar {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title h1 {
	color: #fff7df !important;
	font-size: clamp(3rem, 6vw, 5.5rem) !important;
	line-height: .9 !important;
	text-shadow: none !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-cb-profile-title span {
	color: #cfd7cc !important;
	font-weight: 850 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-rating-strip,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats {
	background: transparent !important;
	border-top: 1px solid rgba(229, 180, 77, .18) !important;
	box-shadow: none !important;
	gap: 10px !important;
	padding: 16px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-rating-strip span,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats span {
	background: rgba(7, 15, 13, .76) !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 10px !important;
	color: #cfd7cc !important;
	min-height: 72px !important;
	padding: 12px 14px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-rating-strip strong,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats strong {
	color: #f1cf77 !important;
	font-size: 1.35rem !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-rating-strip small,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-cb-profile-stats small {
	color: #8f9d91 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-actions a,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-actions button {
	background: rgba(255, 255, 255, .06) !important;
	border: 1px solid rgba(229, 180, 77, .22) !important;
	color: #fff7df !important;
	opacity: 1 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-rating-graph,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-game-table,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-feed,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-badge-grid,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-about,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-community {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .018)),
		#0b1411 !important;
	border-color: rgba(229, 180, 77, .16) !important;
	color: #f7f0de !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-feed a,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-feed > div,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-feed .is-empty,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-badge-grid figure,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-game-tabs button,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-head,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-game-rows > div,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-type,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-control,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-result,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-moves {
	background: rgba(7, 15, 13, .76) !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #d7ded4 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row {
	border-bottom: 0 !important;
	grid-template-columns: 48px minmax(92px, .75fr) minmax(190px, 1.5fr) minmax(110px, .75fr) minmax(70px, .85fr) !important;
	margin-bottom: 8px !important;
	padding: 12px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-game-rows > div,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-head {
	border-radius: 0 !important;
	border-width: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-head {
	background: transparent !important;
	color: #8f9d91 !important;
	margin-bottom: 8px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-feed a.is-unread,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-feed .is-unread,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-game-tabs button.is-active,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row:hover,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row:focus-visible {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, .12), rgba(255, 255, 255, .035)),
		#13221c !important;
	border-color: rgba(239, 193, 91, .5) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row :where(strong, b, span, small, div),
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-feed :where(strong, b, span, small, div, p),
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-badge-grid :where(strong, b, span, small, figcaption) {
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row strong,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-feed strong,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-badge-grid strong {
	color: #fff7df !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-result strong,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-type,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-game-tabs button.is-active span {
	color: #f1cf77 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row.is-won .chessora-history-result strong,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row.is-lost .chessora-history-result strong,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row.is-draw .chessora-history-result strong,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-row.is-ongoing .chessora-history-result strong {
	color: #f1cf77 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-type img,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-badge-grid img {
	background: rgba(255, 255, 255, .04) !important;
	border: 1px solid rgba(229, 180, 77, .18) !important;
	border-radius: 8px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-history-share {
	background: rgba(255, 255, 255, .045) !important;
	border-color: rgba(229, 180, 77, .22) !important;
	color: #f1cf77 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-rating-graph svg {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015)),
		#0b1411 !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 10px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-rating-graph line {
	stroke: rgba(241, 207, 119, .16) !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-rating-graph circle {
	fill: #173324 !important;
	stroke: #f1cf77 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-activity-feed > div,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-activity-feed > a {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#0b1411 !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #d7ded4 !important;
	padding: 14px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-activity-feed > div::before,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-activity-feed > a::before {
	display: none !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-activity-feed :where(strong, b) {
	color: #fff7df !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-activity-feed :where(span, p, small) {
	color: #cfd7cc !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-memberships .chessora-profile-community {
	display: grid !important;
	gap: 10px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-membership-row {
	align-items: center !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#0b1411 !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 10px !important;
	color: #d7ded4 !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: 48px minmax(0, 1fr) !important;
	padding: 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-membership-row:hover,
body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-membership-row:focus {
	background:
		linear-gradient(180deg, rgba(241, 207, 119, .12), rgba(255, 255, 255, .035)),
		#13221c !important;
	border-color: rgba(239, 193, 91, .5) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-membership-logo {
	align-items: center !important;
	background: linear-gradient(135deg, #192820, #315744 58%, #d5a334) !important;
	border: 1px solid rgba(244, 196, 78, .46) !important;
	border-radius: 9px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-size: 1rem !important;
	font-weight: 950 !important;
	height: 48px !important;
	justify-content: center !important;
	line-height: 1 !important;
	overflow: hidden !important;
	width: 48px !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-membership-logo img {
	border: 0 !important;
	border-radius: 0 !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-membership-row > span:last-child {
	background: transparent !important;
	border: 0 !important;
	display: grid !important;
	gap: 4px !important;
	min-width: 0 !important;
	padding: 0 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-membership-row strong {
	color: #fff7df !important;
	font-size: .98rem !important;
	font-weight: 950 !important;
	line-height: 1.2 !important;
}

body.chessora-shell.view-profile .chessora.chessora-profile-page .chessora-profile-membership-row small {
	color: #cfd7cc !important;
	font-size: .82rem !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
}

@media (max-width: 760px) {
	body.chessora-shell.view-dashboard .shell-page {
		overflow: hidden !important;
		padding: 16px 0 36px !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3 {
		overflow: hidden !important;
		width: 100% !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-shell,
	body.chessora-shell.view-dashboard .chessora-home3-hero,
	body.chessora-shell.view-dashboard .chessora-home3-daily,
	body.chessora-shell.view-dashboard .chessora-home3-play,
	body.chessora-shell.view-dashboard .chessora-home3-grid,
	body.chessora-shell.view-dashboard .chessora-home3-bottom {
		max-width: min(300px, calc(100vw - 80px)) !important;
		width: min(300px, calc(100vw - 80px)) !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3 :where(h1, p, span, small, strong, a) {
		overflow-wrap: anywhere !important;
		white-space: normal !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-actions {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-daily {
		grid-template-columns: minmax(0, 1fr) !important;
		padding: 14px !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-daily-stats,
	body.chessora-shell.view-dashboard .chessora-home3-daily-actions {
		grid-template-columns: minmax(0, 1fr) !important;
		justify-content: stretch !important;
		width: 100% !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-daily-actions a {
		justify-content: center !important;
		width: 100% !important;
	}

	body.chessora-shell.view-dashboard .chessora-home3-hero,
	body.chessora-shell.view-dashboard .chessora-home3-stats,
	body.chessora-shell.view-dashboard .chessora-home3-stats span {
		min-width: 0 !important;
	}
}

/* Final club dark override after legacy component skins. */
body.chessora-shell.view-clubs .shell-page {
	background:
		linear-gradient(rgba(241, 207, 119, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(241, 207, 119, .035) 1px, transparent 1px),
		#07110f !important;
	background-size: 64px 64px !important;
}

body.chessora-shell.view-clubs .shell-component-card,
body.chessora-shell.view-clubs .chessora-clubs-page {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs .chessora-club-command-hero,
body.chessora-shell.view-clubs .chessora-clubs-hero,
body.chessora-shell.view-clubs .chessora-club-overview-strip article,
body.chessora-shell.view-clubs .chessora-club-room-panel,
body.chessora-shell.view-clubs .chessora-club-list-card,
body.chessora-shell.view-clubs .chessora-club-welcome-card,
body.chessora-shell.view-clubs .chessora-club-member-panel,
body.chessora-shell.view-clubs .chessora-club-instructions,
body.chessora-shell.view-clubs .chessora-club-rules,
body.chessora-shell.view-clubs .chessora-club-post-list article,
body.chessora-shell.view-clubs .chessora-club-forum-list article,
body.chessora-shell.view-clubs .chessora-club-activity-stream button,
body.chessora-shell.view-clubs .chessora-club-wall-replies article {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border-color: rgba(229, 180, 77, .22) !important;
	box-shadow: none !important;
	color: #d9e0d6 !important;
}

body.chessora-shell.view-clubs :where(h1, h2, h3, strong, b, label span, dt, dd) {
	color: #fff7df !important;
}

body.chessora-shell.view-clubs :where(p, small, li, span, time) {
	color: #cbd4c8 !important;
}

body.chessora-shell.view-clubs .chessora-kicker,
body.chessora-shell.view-clubs .chessora-club-member-panel > header span,
body.chessora-shell.view-clubs .chessora-club-activity-stream > button > span,
body.chessora-shell.view-clubs .chessora-club-wall-replies > header button {
	color: #f1cf77 !important;
}

body.chessora-shell.view-clubs .chessora-button,
body.chessora-shell.view-clubs .chessora-club-tools-grid button,
body.chessora-shell.view-clubs .chessora-club-member-tools button,
body.chessora-shell.view-clubs button[data-club-tool-target] {
	background: rgba(255, 255, 255, .045) !important;
	border: 1px solid rgba(229, 180, 77, .24) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-button-primary,
body.chessora-shell.view-clubs .chessora-club-tools-grid button.is-active,
body.chessora-shell.view-clubs button[data-club-tool-target].is-active {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, .62) !important;
	color: #151008 !important;
}

body.chessora-shell.view-clubs .chessora-club-post-form :where(input, select, textarea),
body.chessora-shell.view-clubs .chessora-club-forum-list form :where(input, select, textarea),
body.chessora-shell.view-clubs .chessora-club-reply-form :where(input, select, textarea) {
	background: #07110f !important;
	border-color: rgba(229, 180, 77, .42) !important;
	color: #fff7df !important;
}

body.chessora-shell.view-clubs .chessora-club-post-form :where(input, textarea)::placeholder,
body.chessora-shell.view-clubs .chessora-club-reply-form textarea::placeholder {
	color: #97a59a !important;
	opacity: 1 !important;
}
/* EOF game board and bot opening polish. This repeats near the final overrides so older board skins cannot flash green. */
body.chessora-shell.view-game .chessora-game-room .chessora-board-wrap,
body.chessora-shell.view-game .chessora-game-room .chessora-board {
	background:
		conic-gradient(from 90deg, #efd99f 25%, #ad712b 0 50%, #efd99f 0 75%, #ad712b 0) !important;
	background-color: #ad712b !important;
	background-size: 25% 25% !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board {
	border-radius: 4px !important;
	box-shadow: 0 0 0 8px rgba(255, 247, 223, .06), 0 18px 44px rgba(0, 0, 0, .34) !important;
	min-height: var(--room-board-size, 536px) !important;
	overflow: hidden !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap cg-board {
	background-color: transparent !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.light {
	background-color: #efd99f !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.dark {
	background-color: #ad712b !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.premove-dest,
body.chessora-shell.view-game .chessora-game-room .chessora-board.cg-wrap square.current-premove {
	background:
		radial-gradient(circle, rgba(255, 239, 162, .78) 0 17%, transparent 19%),
		radial-gradient(circle, rgba(241, 207, 119, .18) 0 42%, transparent 44%) !important;
	box-shadow: inset 0 0 0 3px rgba(241, 207, 119, .72) !important;
}

body.chessora-shell.view-game .chessora-opening-book-status {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .13), rgba(255, 255, 255, .035)),
		#07110f !important;
	border: 1px solid rgba(241, 207, 119, .3) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 5px !important;
	margin-top: 18px !important;
	max-width: 380px !important;
	padding: 14px 16px !important;
}

body.chessora-shell.view-game .chessora-opening-book-status span {
	color: #f1cf77 !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-opening-book-status b {
	color: #fff7df !important;
	font-size: 1.05rem !important;
}

body.chessora-shell.view-game .chessora-opening-book-status small {
	color: #cbd4c8 !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .12), rgba(255, 255, 255, .035)),
		#101a15 !important;
	border: 1px solid rgba(241, 207, 119, .26) !important;
	border-radius: 8px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	margin: 16px 0 !important;
	padding: 14px 16px !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation strong {
	color: #fff7df !important;
	display: block !important;
	font-size: .98rem !important;
	line-height: 1.15 !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation span {
	color: #cbd4c8 !important;
	display: block !important;
	font-size: .92rem !important;
	line-height: 1.35 !important;
	margin-top: 3px !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation a {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border: 1px solid rgba(248, 217, 133, .62) !important;
	border-radius: 7px !important;
	color: #151008 !important;
	font-weight: 950 !important;
	padding: 10px 14px !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

body.chessora-shell.view-game .chessora-join-challenge-panel .chessora-challenge-confirmation {
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-game .chessora-join-challenge-panel .chessora-challenge-confirmation a {
	justify-self: start !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation .chessora-challenge-confirmation-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	grid-column: 1 / -1 !important;
	margin-top: 4px !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation .chessora-challenge-confirmation-actions[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation .chessora-challenge-confirmation-actions .chessora-button {
	align-items: center !important;
	border-radius: 8px !important;
	display: inline-flex !important;
	font-weight: 950 !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 0 12px !important;
	text-decoration: none !important;
}

body.chessora-shell.view-game .chessora-challenge-confirmation .chessora-challenge-confirmation-actions .chessora-button-ghost {
	background: rgba(255, 255, 255, .06) !important;
	border-color: rgba(229, 180, 77, .22) !important;
	color: #fff7df !important;
}

/* Last-pass private club tournament template fix. This intentionally sits at EOF. */
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-grid {
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side {
	align-items: start !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: minmax(0, 1fr) !important;
	max-width: 100% !important;
	min-width: 0 !important;
	order: -1 !important;
	padding: 16px 18px !important;
}

body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-room-side dl,
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools,
body.chessora-shell.view-clubs .chessora-clubs-page.is-club-tournaments-active .chessora-club-tools-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-tournament-box,
body.chessora-shell.view-clubs .chessora-club-tournament-list,
body.chessora-shell.view-clubs .chessora-club-private-tournament,
body.chessora-shell.view-clubs .chessora-club-tournament-broadcast,
body.chessora-shell.view-clubs .chessora-club-crosstable-panel,
body.chessora-shell.view-clubs .chessora-club-pairings-panel,
body.chessora-shell.view-clubs .chessora-club-selection-panel,
body.chessora-shell.view-clubs .chessora-club-standings-panel {
	box-sizing: border-box !important;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: hidden !important;
	overflow-wrap: anywhere !important;
	width: 100% !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)),
		#111d18 !important;
	border: 1px solid rgba(229, 180, 77, .26) !important;
	box-shadow: none !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr) !important;
	margin-top: 16px !important;
	padding: 22px !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament h1 {
	color: #fff7df !important;
	font-size: clamp(1.65rem, 3vw, 2.45rem) !important;
	line-height: 1.08 !important;
	margin: 0 !important;
	overflow-wrap: anywhere !important;
}

body.chessora-shell.view-clubs .chessora-event-hero.chessora-club-private-tournament .chessora-event-open-note {
	grid-column: 1 / -1 !important;
}

body.chessora-shell.view-clubs .chessora-club-board-stage {
	margin-inline: auto !important;
	max-width: min(100%, 600px) !important;
}
/* Final result/rematch UI pass. */
body.chessora-shell.view-game .chessora-game-room .chessora-result-player .chessora-player-avatar {
	height: 58px !important;
	width: 58px !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions {
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button,
body.chessora-shell.view-game .chessora-game-room .chessora-result-actions .chessora-button:first-child {
	grid-column: 1 !important;
	justify-content: center !important;
	width: 100% !important;
}

body.chessora-shell.view-game .chessora-game-room.is-game-finished .chessora-panel-tabs button[data-tool-tab="info"] {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	border-color: rgba(248, 217, 133, .7) !important;
	color: #151008 !important;
}

body.chessora-shell.view-game .chessora-game-room.is-game-finished .chessora-panel-tabs button[data-tool-tab="info"].is-active {
	box-shadow: inset 0 -3px 0 rgba(255, 247, 223, .72), 0 0 0 1px rgba(241, 207, 119, .28) !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card {
	align-items: center !important;
	background:
		linear-gradient(135deg, rgba(241, 207, 119, .16), rgba(255, 255, 255, .035)),
		#07110f !important;
	border: 1px solid rgba(241, 207, 119, .34) !important;
	border-radius: 10px !important;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	margin-bottom: 14px !important;
	padding: 14px !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card[hidden] {
	display: none !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card span {
	color: #f1cf77 !important;
	display: block !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card strong {
	color: #fff7df !important;
	display: block !important;
	font-size: 1rem !important;
	margin-top: 2px !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card p {
	color: #cfd7cc !important;
	font-size: .9rem !important;
	margin: 4px 0 0 !important;
}

body.chessora-shell.view-game .chessora-rematch-info-card .chessora-button {
	white-space: nowrap !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form {
	display: inline-flex !important;
	margin: 0 !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form .chessora-button-danger {
	background: rgba(145, 49, 42, .16) !important;
	border: 1px solid rgba(255, 139, 126, .38) !important;
	color: #ffd4cf !important;
}

body.chessora-shell.view-clubs .chessora-club-leave-form .chessora-button-danger:hover {
	background: rgba(145, 49, 42, .28) !important;
	border-color: rgba(255, 139, 126, .62) !important;
	color: #fff2ef !important;
}

@media (max-width: 620px) {
	body.chessora-shell.view-game .chessora-rematch-info-card {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.chessora-shell.view-game .chessora-rematch-info-card .chessora-button {
		width: 100% !important;
	}
}
/* Final shell layout overrides. */
body.chessora-shell.view-clubs .chessora-club-player-actions a {
	align-items: center !important;
	background: rgba(255, 255, 255, .1) !important;
	border: 1px solid rgba(244, 204, 93, .24) !important;
	border-radius: 999px !important;
	color: #fff7df !important;
	display: inline-flex !important;
	font-weight: 900 !important;
	height: 28px !important;
	justify-content: center !important;
	text-decoration: none !important;
	width: 28px !important;
}

body.chessora-shell.view-clubs .chessora-club-player-actions a:hover,
body.chessora-shell.view-clubs .chessora-club-player-actions a:focus {
	background: linear-gradient(180deg, #f0c65e, #c78b25) !important;
	color: #130f08 !important;
}

@media (max-width: 1100px) {
	.shell-left-accordion {
		transform: translateX(-100%) !important;
		transition: transform .18s ease !important;
	}

	body.shell-menu-open .shell-left-accordion {
		transform: translateX(0) !important;
	}

	body.chessora-shell .shell-site-header,
	body.chessora-shell .shell-page,
	body.chessora-shell .shell-footer {
		margin-left: 0 !important;
	}
}
