/* ---------- Stats hub & HLStatsX proxy ---------- */
.page-stats {
	padding: calc(var(--nav-h) + 28px) 22px 72px;
	max-width: min(1200px, 100%);
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.stats-hub .section-head {
	margin-bottom: 28px;
}

.stats-hub-filters-wrap {
	margin-bottom: 22px;
}

.stats-hub-filters .chip-cs16:not(.active):hover { color: #f5c842; }
.stats-hub-filters .chip-css:not(.active):hover { color: #6eb5ff; }
.stats-hub-filters .chip-hl1:not(.active):hover { color: var(--lambda-bright); }
.stats-hub-filters .chip-hl2:not(.active):hover { color: #c084fc; }
.stats-hub-filters .chip-tf2:not(.active):hover { color: #fca5a5; }
.stats-hub-filters .chip-l4d2:not(.active):hover { color: #86efac; }

.stats-hub-groups {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.stats-hub-group.is-hidden {
	display: none;
}

.stats-hub-group-title {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.stats-hub-card.is-hidden {
	display: none;
}

.stats-hub-foot {
	margin-top: 14px;
	text-align: center;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.stats-hub-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 640px) {
	.stats-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
	.stats-hub-grid { grid-template-columns: repeat(3, 1fr); }
}

.stats-hub-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: rgba(12, 18, 24, 0.82);
	border: 1px solid rgba(46, 204, 113, 0.18);
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.stats-hub-card:hover {
	border-color: rgba(46, 204, 113, 0.45);
	background: rgba(46, 204, 113, 0.06);
	transform: translateY(-1px);
}

.stats-hub-icon {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
}

.stats-hub-icon img {
	max-width: 48px;
	max-height: 48px;
	object-fit: contain;
}

.stats-hub-body {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stats-hub-title {
	font-size: 14px;
	font-weight: 800;
	color: var(--accent-bright);
	line-height: 1.25;
}

.stats-hub-meta {
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	letter-spacing: 0.02em;
}

.stats-hub-arrow {
	flex-shrink: 0;
	font-size: 18px;
	color: var(--lambda-bright);
	opacity: 0.85;
}

.stats-panel {
	padding: 24px;
	background: rgba(12, 18, 24, 0.82);
	border: 1px solid rgba(232, 149, 46, 0.25);
	border-radius: 8px;
}

.stats-panel-error p {
	margin: 0 0 10px;
	color: var(--muted);
}

.stats-panel-error a {
	color: var(--accent-bright);
}

/* ---------- HLStatsX integrated content ---------- */
.stats-proxy {
	background: rgba(12, 18, 24, 0.82);
	border: 1px solid rgba(46, 204, 113, 0.18);
	border-radius: 8px;
	padding: 16px 18px 24px;
	overflow-x: hidden;
	color: #d8dee9;
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.5;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.stats-proxy * {
	box-sizing: border-box;
}

.stats-proxy .block {
	margin: 0 0 20px;
}

.stats-proxy .subblock {
	width: 100%;
	margin: 0;
	text-align: left !important;
}

.stats-proxy .stats-summary {
	margin: 0 0 12px;
	line-height: 1.45;
	color: #c8d0dc;
}

.stats-proxy .stats-summary strong {
	display: inline;
	margin: 0;
	padding: 0;
	letter-spacing: 0;
	word-spacing: normal;
	font-weight: 700;
	color: #eef2f7;
}

.stats-proxy .stats-detail-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid rgba(46, 204, 113, 0.18);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.28);
	line-height: 1.45;
	color: #c8d0dc;
}

.stats-proxy .stats-detail-summary img {
	max-height: 48px;
	width: auto;
	flex: 0 0 auto;
}

.stats-proxy .stats-detail-summary b,
.stats-proxy .stats-detail-summary strong {
	color: #eef2f7;
	font-weight: 800;
}

.stats-proxy a {
	color: var(--accent-bright);
	text-decoration: none;
}

.stats-proxy a:hover {
	color: #9fffd0;
	text-decoration: underline;
}

/* Sub-nav */
.stats-proxy nav {
	margin-bottom: 16px;
}

.stats-proxy nav .fancyNav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.stats-proxy nav .fancyNav li {
	margin: 0;
	background: none !important;
	box-shadow: none !important;
}

.stats-proxy nav .fancyNav li::before,
.stats-proxy nav .fancyNav li::after {
	display: none !important;
	content: none !important;
}

.stats-proxy nav .fancyNav a {
	display: block;
	padding: 10px 12px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-weight: 700;
	font-size: 12px;
	text-align: center;
	text-decoration: none;
	color: var(--text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stats-proxy nav .fancyNav a:hover,
.stats-proxy nav .fancyNav a:focus {
	border-color: rgba(46, 204, 113, 0.35);
	color: var(--accent-bright);
	text-decoration: none;
}

@media (min-width: 540px) {
	.stats-proxy nav .fancyNav {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.stats-proxy nav .fancyNav {
		display: flex;
		flex-wrap: wrap;
	}

	.stats-proxy nav .fancyNav a {
		display: inline-block;
	}
}

/* Scrollable tables */
.stats-table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 12px;
	border-radius: 6px;
}

.stats-table-scroll-live {
	overflow-x: visible;
}

/* Ranking tables — cards on mobile via data-label */
.stats-rank-wrap {
	width: 100%;
	max-width: 100%;
	margin-bottom: 12px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.stats-proxy table.stats-rank-table {
	min-width: 0;
}

@media (min-width: 721px) {
	.stats-proxy table.stats-rank-table {
		min-width: 640px;
	}
}

/* Player profile / summary / rank panels — never force ranking card grid */
.stats-kv-wrap {
	width: 100%;
	max-width: 100%;
	margin-bottom: 12px;
	overflow: visible;
}

.stats-proxy table.stats-kv-table {
	min-width: 0 !important;
	width: 100% !important;
	border-collapse: separate;
	border-spacing: 0;
}

.stats-proxy table.stats-kv-table .data-table-head td {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-proxy table.stats-kv-table td {
	border-color: rgba(255, 255, 255, 0.06) !important;
}

.stats-proxy table.data-table,
.stats-proxy table.livestats-table,
.stats-proxy table {
	width: 100%;
	min-width: 0;
	border-collapse: collapse;
	background: transparent;
	margin: 0;
	table-layout: auto;
	text-align: left !important;
}

.stats-proxy .data-table-head td,
.stats-proxy .data-table-head th,
.stats-proxy tr.data-table-head td {
	background: rgba(46, 204, 113, 0.12) !important;
	color: var(--accent-bright) !important;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.02em;
	border: 1px solid rgba(46, 204, 113, 0.2) !important;
	padding: 9px 10px;
	white-space: nowrap;
	vertical-align: bottom;
	text-align: left !important;
}

/* Summary / profile heads must wrap — nowrap blows the page width on mobile */
.stats-proxy table.stats-kv-table .data-table-head td,
.stats-proxy table.stats-kv-table tr.data-table-head td {
	white-space: normal !important;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.stats-proxy tr.data-table-row1 td,
.stats-proxy tr.data-table-row2 td,
.stats-proxy tr.data-table-row td,
.stats-proxy tr.toggler td,
.stats-proxy tr.game-table-row td,
.stats-proxy td.game-table-cell,
.stats-proxy td.bg1,
.stats-proxy td.bg2,
.stats-proxy td {
	padding: 8px 10px;
	border: 1px solid rgba(255, 255, 255, 0.06) !important;
	color: #c8d0dc !important;
	background: rgba(255, 255, 255, 0.02) !important;
	vertical-align: middle;
	font-size: 12px;
	text-align: left !important;
}

.stats-proxy tr.data-table-row2 td,
.stats-proxy tr.game-table-row td,
.stats-proxy td.bg2 {
	background: rgba(255, 255, 255, 0.04) !important;
}

.stats-proxy tr.game-table-row:hover td,
.stats-proxy tr.data-table-row:hover td,
.stats-proxy tr:hover td {
	background: rgba(46, 204, 113, 0.06) !important;
}

/* HLStats inline align — viskas iš kairės */
.stats-proxy table th,
.stats-proxy table td,
.stats-proxy td[style*="text-align:right"],
.stats-proxy td[style*="text-align: right"],
.stats-proxy td[style*="text-align:center"],
.stats-proxy td[style*="text-align: center"],
.stats-proxy th[style*="text-align:right"],
.stats-proxy th[style*="text-align: right"],
.stats-proxy th[style*="text-align:center"],
.stats-proxy th[style*="text-align: center"] {
	text-align: left !important;
}

.stats-proxy .game-table-cell a {
	color: var(--accent-bright) !important;
}

.stats-proxy .livestats-table td {
	border: 0 !important;
	padding: 8px 10px !important;
	text-align: left;
	font-size: 12px;
	vertical-align: middle;
}

/* Online players — team sections */
.stats-livestats-wrap {
	width: 100%;
	max-width: 100%;
	margin: 12px 0 0;
}

.stats-proxy .livestats-team-head td {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.stats-proxy .livestats-team-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 10px 14px;
	border-radius: 6px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 11px;
}

.stats-proxy .livestats-team-name {
	font-size: 12px;
}

.stats-proxy .livestats-team-meta {
	font-size: 11px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	opacity: 0.9;
}

.stats-proxy .livestats-team-t .livestats-team-banner {
	background: rgba(255, 120, 50, 0.18) !important;
	border: 1px solid rgba(255, 120, 50, 0.35);
	color: #ffb88a !important;
}

.stats-proxy tr.livestats-player.livestats-team-t td {
	background: rgba(255, 120, 50, 0.06) !important;
	border-color: rgba(255, 120, 50, 0.12) !important;
}

.stats-proxy .livestats-team-ct .livestats-team-banner {
	background: rgba(80, 150, 255, 0.18) !important;
	border: 1px solid rgba(80, 150, 255, 0.35);
	color: #9ec5ff !important;
}

.stats-proxy tr.livestats-player.livestats-team-ct td {
	background: rgba(80, 150, 255, 0.06) !important;
	border-color: rgba(80, 150, 255, 0.12) !important;
}

.stats-proxy .livestats-team-spec .livestats-team-banner {
	background: rgba(180, 180, 180, 0.12) !important;
	border: 1px solid rgba(180, 180, 180, 0.25);
	color: #d0d0d0 !important;
}

.stats-proxy tr.livestats-player.livestats-team-spec td {
	background: rgba(180, 180, 180, 0.05) !important;
}

.stats-proxy tr.livestats-player.livestats-team-t td:first-child,
.stats-proxy tr.livestats-player.livestats-team-ct td:first-child {
	color: #9aa3b2 !important;
	font-weight: 700;
	width: 2.5rem;
	text-align: left !important;
}

.stats-proxy .livestats-table tr.livestats-player td:nth-child(2) {
	text-align: left !important;
	min-width: 0;
}

.stats-proxy .livestats-table tr.livestats-player td:nth-child(2) a {
	font-weight: 700;
}

.stats-proxy .livestats-table tr.livestats-player td[aria-hidden="true"] {
	padding-left: 2px !important;
	padding-right: 2px !important;
	width: 0.5rem;
	text-align: left !important;
	color: #6b7280 !important;
}

.stats-proxy .livestats-table tr.data-table-head td {
	text-align: left !important;
}

.stats-proxy .fHeading,
.stats-proxy span.fHeading {
	color: var(--accent-bright);
	font-weight: 700;
	font-size: 13px;
	display: inline-block;
	margin-bottom: 8px;
}

.stats-proxy .stats-section-title {
	font-size: 16px;
	font-weight: 800;
	color: var(--accent-bright);
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(46, 204, 113, 0.22);
	line-height: 1.3;
}

/* Filter toolbars (player search, ranking view, min kills) */
.stats-proxy .stats-toolbar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px 20px;
	padding: 14px 16px;
	margin-bottom: 16px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(46, 204, 113, 0.14);
	border-radius: 8px;
	box-sizing: border-box;
}

@media (min-width: 720px) {
	.stats-proxy .stats-toolbar:not(.stats-toolbar-footer) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
		align-items: end;
	}
}

.stats-proxy .stats-toolbar-footer {
	margin-top: 8px;
	margin-bottom: 0;
}

@media (min-width: 720px) {
	.stats-proxy .stats-toolbar-footer {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
}

.stats-proxy .stats-filter {
	min-width: 0;
}

.stats-proxy .stats-filter-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #8fa3b8;
	margin-bottom: 8px;
}

.stats-proxy .stats-toolbar form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0;
	padding: 0;
}

.stats-proxy .stats-filter-search #playersearch {
	flex: 1 1 160px;
	min-width: 120px;
}

.stats-proxy .stats-filter-rank select {
	flex: 1 1 180px;
	min-width: 0;
	max-width: 100%;
}

.stats-proxy .stats-filter-links {
	font-size: 13px;
	color: #b8c4d0;
	white-space: nowrap;
}

.stats-proxy .stats-filter-minkills input[name="minkills"],
.stats-proxy .stats-filter-members input[name="minmembers"] {
	width: 56px;
	text-align: center;
}

.stats-proxy .stats-filter-minkills form,
.stats-proxy .stats-filter-members form {
	font-size: 13px;
	color: #b8c4d0;
}

.stats-proxy .stats-toolbar-single {
	grid-template-columns: 1fr;
}

.stats-proxy .stats-toolbar-single .stats-filter-search form {
	max-width: 100%;
}

.stats-proxy .stats-toolbar-single .stats-filter-search input[type="text"] {
	flex: 1 1 200px;
	min-width: 140px;
	max-width: 360px;
}

/* Pagination */
.stats-proxy .stats-pagination-wrap {
	margin: 16px 0 12px;
	padding: 0;
	text-align: left !important;
}

.stats-proxy .stats-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.stats-proxy .stats-pagination-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #8fa3b8;
	flex-shrink: 0;
}

.stats-proxy .stats-pagination-pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	max-width: 100%;
}

.stats-proxy .stats-pagination-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--text) !important;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none !important;
	line-height: 1;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.stats-proxy .stats-pagination-link:hover,
.stats-proxy .stats-pagination-link:focus {
	border-color: rgba(46, 204, 113, 0.45);
	color: var(--accent-bright) !important;
	background: rgba(46, 204, 113, 0.1);
	text-decoration: none !important;
}

.stats-proxy .stats-pagination-link-text {
	padding: 0 12px;
	min-width: auto;
	font-size: 12px;
}

.stats-proxy .stats-pagination-current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	border-radius: 6px;
	background: linear-gradient(180deg, var(--accent), #27ae60);
	color: #04140a;
	font-weight: 800;
	font-size: 13px;
	line-height: 1;
	box-sizing: border-box;
}

.stats-proxy .stats-pagination-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 32px;
	padding: 0 2px;
	color: #6b7280;
	font-weight: 600;
	font-size: 13px;
	user-select: none;
}

.stats-proxy .fSmall {
	font-weight: 600;
	color: #b8c4d0;
	font-size: 11px;
}

/* Weapon / game icons */
.stats-proxy img.tableicon,
.stats-proxy img[src*="/weapons/"],
.stats-proxy img[src*="/games/"] {
	width: auto !important;
	max-width: 100px;
	height: auto !important;
	max-height: 36px;
	display: inline-block;
	vertical-align: middle;
}

.stats-proxy img[src*="flags/"] {
	width: 16px !important;
	height: 11px !important;
	max-width: 16px;
	max-height: 11px;
}

/* Server graphs */
.stats-graph-wrap {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	margin: 8px 0 12px;
	border-radius: 8px;
	background: #0c1218;
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 0;
}

.stats-graph-wrap img,
.stats-proxy img[src*="show_graph"],
.stats-proxy img[src*="trend_graph"],
.stats-proxy img[alt*="Graph"] {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	border: 0;
	background: #0c1218;
}

/* Bar graphs (HTML5 meter) */
.stats-proxy meter {
	display: block;
	width: 100%;
	min-width: 60px;
	height: 10px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
}

.stats-proxy meter::-webkit-meter-bar {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 4px;
}

.stats-proxy meter::-webkit-meter-optimum-value {
	background: linear-gradient(90deg, #2ecc71, #f5c842);
	border-radius: 4px;
}

.stats-proxy meter::-webkit-meter-suboptimum-value {
	background: linear-gradient(90deg, #f5c842, #e67e22);
	border-radius: 4px;
}

.stats-proxy meter::-webkit-meter-even-less-good-value {
	background: linear-gradient(90deg, #e67e22, #e74c3c);
	border-radius: 4px;
}

/* Forms — only real form wrappers, not empty clear/float leftovers */
.stats-proxy .subblock > div:not(.stats-filter):not(:empty) {
	margin-bottom: 12px;
	width: 100%;
}

.stats-proxy .subblock > div:empty {
	display: none;
}

.stats-proxy input[type="text"],
.stats-proxy input[type="search"],
.stats-proxy select {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--text);
	padding: 8px 10px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 13px;
	max-width: 100%;
}

.stats-proxy input[type="submit"],
.stats-proxy button,
.stats-proxy input.smallsubmit {
	background: linear-gradient(180deg, var(--accent), #27ae60);
	border: 0;
	color: #04140a;
	font-weight: 800;
	padding: 8px 14px;
	border-radius: 4px;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
}

.stats-proxy img {
	border: 0;
	vertical-align: middle;
}

.stats-proxy .location,
.stats-proxy .headerblock,
.stats-proxy .headertabs,
.stats-proxy .title,
.stats-proxy link[rel="stylesheet"] {
	display: none !important;
}

.stats-proxy .warning,
.stats-proxy .errorhead {
	background: rgba(204, 70, 0, 0.2) !important;
	color: #ffb4a0 !important;
	border: 1px solid rgba(204, 70, 0, 0.35);
	border-radius: 6px;
	padding: 10px 12px;
}

.stats-proxy #main ul.subsection_tabs {
	border-bottom-color: rgba(255, 255, 255, 0.12);
	padding: 0;
	margin: 0 0 12px;
}

.stats-proxy #main ul.subsection_tabs li a {
	background: rgba(255, 255, 255, 0.05) !important;
	color: var(--text) !important;
	border-radius: 4px 4px 0 0;
}

.stats-proxy #main ul.subsection_tabs li a.active {
	background: rgba(46, 204, 113, 0.15) !important;
	color: var(--accent-bright) !important;
}

/* Awards subsection tabs (Daily / Global / Ranks / Ribbons) */
.stats-proxy .stats-award-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	border: 0 !important;
}

@media (min-width: 640px) {
	.stats-proxy .stats-award-tabs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.stats-proxy .stats-award-tabs li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none !important;
}

.stats-proxy .stats-award-tabs li::before,
.stats-proxy .stats-award-tabs li::after {
	display: none !important;
	content: none !important;
}

.stats-proxy .stats-award-tabs a {
	display: block;
	padding: 10px 12px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-weight: 700;
	font-size: 12px;
	text-align: center;
	text-decoration: none !important;
	color: var(--text) !important;
	white-space: nowrap;
}

.stats-proxy .stats-award-tabs a:hover,
.stats-proxy .stats-award-tabs a:focus {
	border-color: rgba(46, 204, 113, 0.35);
	color: var(--accent-bright) !important;
	background: rgba(46, 204, 113, 0.08) !important;
}

.stats-proxy .stats-award-tabs a.active {
	background: rgba(46, 204, 113, 0.15) !important;
	border-color: rgba(46, 204, 113, 0.4) !important;
	color: var(--accent-bright) !important;
}

.stats-proxy #main_content {
	min-height: 100px;
}

.stats-proxy #main_content span.fHeading {
	display: block;
	font-size: 16px;
	font-weight: 800;
	color: var(--accent-bright);
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(46, 204, 113, 0.22);
	line-height: 1.3;
}

.stats-proxy #main_content span.fHeading img {
	display: none;
}

.stats-proxy #main_content .block > br {
	display: none;
}

.stats-proxy #main_content center {
	padding: 28px 16px;
	color: #8fa3b8;
	font-size: 13px;
}

/* Award / rank / ribbon card grids */
.stats-proxy .stats-awards-table,
.stats-proxy #main_content .subblock > table.data-table {
	display: block;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.stats-proxy .stats-awards-table tbody,
.stats-proxy #main_content .subblock > table.data-table tbody {
	display: block;
}

.stats-proxy .stats-awards-table tr,
.stats-proxy #main_content .subblock > table.data-table tr {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 10px;
	margin-bottom: 10px;
	width: 100%;
	box-sizing: border-box;
}

.stats-proxy .stats-awards-table tr:last-child,
.stats-proxy #main_content .subblock > table.data-table tr:last-child {
	margin-bottom: 0;
}

.stats-proxy .stats-awards-table td,
.stats-proxy #main_content .subblock > table.data-table td {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center !important;
	vertical-align: middle !important;
	padding: 14px 10px !important;
	background: rgba(0, 0, 0, 0.28) !important;
	border: 1px solid rgba(46, 204, 113, 0.12) !important;
	border-radius: 8px;
	min-width: 0;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	gap: 6px;
}

.stats-proxy .stats-awards-table td br,
.stats-proxy #main_content .subblock > table.data-table td br {
	display: block;
	line-height: 0;
	margin: 0;
}

.stats-proxy .stats-awards-table td strong,
.stats-proxy #main_content .subblock > table.data-table td strong {
	color: var(--accent-bright);
	font-size: 13px;
	line-height: 1.3;
}

.stats-proxy .stats-awards-table td img[src*="dawards"],
.stats-proxy .stats-awards-table td img[src*="gawards"],
.stats-proxy .stats-awards-table td img[src*="ranks"],
.stats-proxy .stats-awards-table td img[src*="ribbons"],
.stats-proxy #main_content .subblock > table.data-table td img[src*="dawards"],
.stats-proxy #main_content .subblock > table.data-table td img[src*="gawards"],
.stats-proxy #main_content .subblock > table.data-table td img[src*="ranks"],
.stats-proxy #main_content .subblock > table.data-table td img[src*="ribbons"] {
	max-width: 88px;
	max-height: 72px;
	width: auto;
	height: auto;
	margin: 4px 0;
}

.stats-proxy .stats-awards-table td .fSmall,
.stats-proxy #main_content .subblock > table.data-table td .fSmall {
	margin-top: 6px;
	line-height: 1.45;
	display: block;
}

.stats-proxy .stats-awards-table td em,
.stats-proxy #main_content .subblock > table.data-table td em {
	color: #8fa3b8;
	font-style: normal;
	font-size: 12px;
}

.stats-proxy .stats-awards-table td.bg1:not(:has(a, img, strong)),
.stats-proxy #main_content .subblock > table.data-table td.bg1:not(:has(a, img, strong)) {
	display: none;
}

/* Autocomplete — list is injected on document.body (outside .stats-proxy) */
ul.autocompleter-choices {
	position: absolute !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	list-style: none !important;
	background: rgba(12, 18, 24, 0.98) !important;
	border: 1px solid rgba(46, 204, 113, 0.35) !important;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	max-height: 280px;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 10000 !important;
	text-align: left;
}

ul.autocompleter-choices li,
ul.autocompleter-choices li.playersearch {
	position: relative;
	display: block !important;
	float: none !important;
	margin: 0 !important;
	padding: 7px 12px !important;
	color: #e8eef5 !important;
	cursor: pointer;
	white-space: nowrap;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 600;
	background: transparent !important;
}

ul.autocompleter-choices li.autocompleter-selected,
ul.autocompleter-choices li.playersearch.autocompleter-selected {
	background: rgba(46, 204, 113, 0.22) !important;
	color: #7dffa0 !important;
}

ul.autocompleter-choices span.autocompleter-queried {
	font-weight: 800;
	color: #7dffa0;
}

input.autocompleter-loading {
	background-image: url("/hlstats-core/css/spinner.gif");
	background-repeat: no-repeat;
	background-position: right 8px center;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
	.page-stats {
		padding: calc(var(--nav-h) + 14px) 10px 40px;
	}

	.stats-proxy {
		padding: 12px 10px 14px;
		font-size: 12px;
		border-radius: 8px;
		overflow-x: hidden; /* contain nowrap/min-width leftovers */
	}

	.stats-proxy .block {
		margin-bottom: 16px;
	}

	.stats-proxy .stats-section-title {
		font-size: 14px;
		margin-bottom: 10px;
		padding-bottom: 8px;
	}

	/* Only leftover wide tables scroll; awards/livestats/rank cards stay fluid */
	.stats-proxy table.data-table {
		min-width: 0;
	}

	.stats-proxy .stats-table-scroll > table.data-table:not(.stats-awards-table):not(.stats-rank-table):not(.stats-kv-table):not(.livestats-table) {
		min-width: 0;
		width: 100%;
	}

	.stats-proxy table.stats-awards-table,
	.stats-proxy table.livestats-table,
	.stats-proxy table.stats-rank-table,
	.stats-proxy table.stats-kv-table,
	.stats-proxy #main_content .subblock > table.data-table {
		min-width: 0 !important;
		width: 100% !important;
	}

	.stats-rank-wrap,
	.stats-kv-wrap {
		overflow: visible;
	}

	.stats-table-scroll {
		margin-bottom: 8px;
		-webkit-overflow-scrolling: touch;
	}

	.stats-table-scroll:has(table.stats-awards-table),
	.stats-table-scroll:has(table.livestats-table),
	.stats-table-scroll:has(table.stats-rank-table),
	.stats-table-scroll:has(table.stats-kv-table) {
		overflow: visible;
	}

	/* —— Key-value / panel tables (player summary, ranks, ribbons) —— */
	.stats-proxy table.stats-kv-table {
		display: block;
		width: 100% !important;
		min-width: 0 !important;
		border: 0 !important;
		background: transparent;
	}

	.stats-proxy table.stats-kv-table tbody {
		display: block;
		width: 100%;
	}

	.stats-proxy table.stats-kv-table tr {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
		box-sizing: border-box;
		margin: 0 0 6px;
		padding: 10px 12px;
		border: 1px solid rgba(255, 255, 255, 0.1) !important;
		border-radius: 8px;
		background: rgba(0, 0, 0, 0.22);
		gap: 6px 10px;
	}

	.stats-proxy table.stats-kv-table tr.data-table-head {
		margin-bottom: 8px;
		padding: 10px 12px;
		border-color: rgba(46, 204, 113, 0.22) !important;
		background: rgba(46, 204, 113, 0.08);
	}

	.stats-proxy table.stats-kv-table tr.data-table-head + tr.data-table-head {
		border-color: rgba(255, 255, 255, 0.1) !important;
		background: rgba(0, 0, 0, 0.22);
	}

	.stats-proxy table.stats-kv-table td {
		display: block;
		flex: 1 1 auto;
		min-width: 0;
		width: auto !important;
		max-width: none !important;
		padding: 0 !important;
		margin: 0 !important;
		border: 0 !important;
		background: transparent !important;
		text-align: left !important;
		vertical-align: middle !important;
		font-size: 13px;
		line-height: 1.35;
		box-sizing: border-box;
	}

	.stats-proxy table.stats-kv-table tr.data-table-head td {
		flex: 1 1 100%;
		font-size: 12px;
		font-weight: 800;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--accent-bright);
	}

	.stats-proxy table.stats-kv-table tr.data-table-head td br {
		display: none;
	}

	/* Game "Tracking N players…" banner — wrap, no card chrome */
	.stats-proxy table.stats-kv-summary,
	.stats-proxy table.stats-kv-summary tbody,
	.stats-proxy table.stats-kv-summary tr,
	.stats-proxy table.stats-kv-summary td {
		display: block;
		width: 100% !important;
		border: 0 !important;
		background: transparent !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.stats-proxy table.stats-kv-summary tr.data-table-head {
		margin: 0 0 12px;
		padding: 10px 12px;
		border: 1px solid rgba(46, 204, 113, 0.2) !important;
		border-radius: 8px;
		background: rgba(46, 204, 113, 0.08) !important;
	}

	.stats-proxy table.stats-kv-summary tr.data-table-head td {
		white-space: normal !important;
		overflow-wrap: anywhere;
		word-break: break-word;
		text-transform: none;
		letter-spacing: 0;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.45;
		color: #c8f5d4 !important;
	}

	.stats-proxy table.stats-kv-summary tr.data-table-head td b,
	.stats-proxy table.stats-kv-summary tr.data-table-head td strong {
		color: #eef2f7;
		font-weight: 800;
	}

	.stats-proxy table.stats-kv-list tr:not(.data-table-head) td:first-child {
		flex: 1 1 42%;
		color: #9eb0c2;
		font-weight: 600;
		font-size: 12px;
	}

	.stats-proxy table.stats-kv-list tr:not(.data-table-head) td:not(:first-child) {
		flex: 1 1 48%;
		text-align: right !important;
		font-weight: 700;
		color: #eef2f7;
	}

	.stats-proxy table.stats-kv-list tr:not(.data-table-head) td:only-child {
		flex: 1 1 100%;
		color: #eef2f7;
		font-weight: 600;
		font-size: 13px;
		text-align: left !important;
	}

	.stats-proxy table.stats-kv-list tr:not(.data-table-head) td:not(:first-child) meter {
		width: min(100%, 140px);
		margin-left: auto;
		display: block;
	}

	/* Activity row: Activity | meter | 100% */
	.stats-proxy table.stats-kv-list tr:not(.data-table-head):has(td:nth-child(3)) {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) auto auto;
		align-items: center;
		gap: 8px;
	}

	.stats-proxy table.stats-kv-list tr:not(.data-table-head):has(td:nth-child(3)) td {
		flex: unset;
		width: auto !important;
	}

	.stats-proxy table.stats-kv-list tr:not(.data-table-head):has(td:nth-child(3)) td:first-child {
		color: #9eb0c2;
	}

	.stats-proxy table.stats-kv-list tr:not(.data-table-head):has(td:nth-child(3)) td:nth-child(2),
	.stats-proxy table.stats-kv-list tr:not(.data-table-head):has(td:nth-child(3)) td:nth-child(3) {
		text-align: right !important;
		font-weight: 700;
		color: #eef2f7;
	}

	.stats-proxy table.stats-kv-list tr.data-table-head td#player_avatar,
	.stats-proxy table.stats-kv-list tr.data-table-head td:has(img[alt*="Avatar"]) {
		flex: 1 1 100%;
		text-align: center !important;
		padding-top: 8px !important;
		text-transform: none;
		letter-spacing: 0;
	}

	.stats-proxy table.stats-kv-list tr.data-table-head td#player_avatar img,
	.stats-proxy table.stats-kv-list #player_avatar img {
		width: 120px !important;
		height: 120px !important;
		max-width: 40vw;
		border-radius: 8px;
		object-fit: cover;
	}

	.stats-proxy table.stats-kv-panel tr:not(.data-table-head) {
		justify-content: center;
		text-align: center;
	}

	.stats-proxy table.stats-kv-panel tr:not(.data-table-head) td {
		flex: 1 1 100%;
		width: 100% !important;
		text-align: center !important;
	}

	.stats-proxy table.stats-kv-panel td img {
		display: inline-block;
		margin: 3px;
		max-width: 56px;
		height: auto;
		vertical-align: middle;
	}

	.stats-proxy table.stats-kv-panel tr.data-table-head + tr.data-table-head td {
		text-transform: none;
		letter-spacing: 0;
		font-weight: 600;
		color: #eef2f7;
		font-size: 12px;
	}

	.stats-proxy table.stats-kv-panel tr.data-table-head + tr.data-table-head td:first-child {
		flex: 1 1 55%;
		text-align: left !important;
	}

	.stats-proxy table.stats-kv-panel tr.data-table-head + tr.data-table-head td:last-child {
		flex: 1 1 40%;
		text-align: right !important;
	}

	.stats-proxy table.stats-kv-panel meter {
		width: 100%;
		max-width: 100%;
	}

	/* —— Ranking tables: solid mobile cards —— */
	.stats-proxy table.stats-rank-table {
		display: block;
		width: 100% !important;
		min-width: 0 !important;
		border: 0 !important;
	}

	.stats-proxy table.stats-rank-table tbody {
		display: block;
		width: 100%;
	}

	.stats-proxy table.stats-rank-table tr.data-table-head {
		display: none !important;
	}

	.stats-proxy table.stats-rank-table tr.stats-rank-row,
	.stats-proxy table.stats-rank-table tr:not(.data-table-head) {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		margin-bottom: 8px;
		border: 1px solid rgba(255, 255, 255, 0.1) !important;
		border-radius: 8px;
		overflow: hidden;
		background: rgba(0, 0, 0, 0.22);
	}

	.stats-proxy table.stats-rank-table tr.stats-rank-row td,
	.stats-proxy table.stats-rank-table tr:not(.data-table-head) td {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2px;
		padding: 8px 10px !important;
		border: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
		background: transparent !important;
		text-align: left !important;
		min-width: 0;
		font-size: 13px;
		font-weight: 600;
		color: #eef2f7;
	}

	.stats-proxy table.stats-rank-table tr:hover td {
		background: transparent !important;
	}

	.stats-proxy table.stats-rank-table td::before {
		content: attr(data-label);
		font-weight: 700;
		font-size: 9px;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: #8fa3b8;
		line-height: 1.2;
	}

	.stats-proxy table.stats-rank-table td[data-label="Rank"],
	.stats-proxy table.stats-rank-table td[data-label="#"] {
		display: none !important;
	}

	.stats-proxy table.stats-rank-table td[data-label="Server"],
	.stats-proxy table.stats-rank-table td[data-label="Address"],
	.stats-proxy table.stats-rank-table td[data-label="Player"],
	.stats-proxy table.stats-rank-table td[data-label="Name"],
	.stats-proxy table.stats-rank-table td[data-label="Clan"],
	.stats-proxy table.stats-rank-table td[data-label="Weapon"],
	.stats-proxy table.stats-rank-table td[data-label="Action"],
	.stats-proxy table.stats-rank-table td[data-label="Country"] {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		padding: 10px 12px !important;
		font-size: 14px;
		font-weight: 800;
		border-right: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
		background: rgba(255, 255, 255, 0.03) !important;
	}

	/* Map is a title on map rankings, but a metric on server overview */
	.stats-proxy table.stats-rank-table tr:not(:has(td[data-label="Server"])) td[data-label="Map"] {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		padding: 10px 12px !important;
		font-size: 14px;
		font-weight: 800;
		border-right: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
		background: rgba(255, 255, 255, 0.03) !important;
	}

	.stats-proxy table.stats-rank-table td[data-label="Server"]::before,
	.stats-proxy table.stats-rank-table td[data-label="Address"]::before,
	.stats-proxy table.stats-rank-table td[data-label="Player"]::before,
	.stats-proxy table.stats-rank-table td[data-label="Name"]::before,
	.stats-proxy table.stats-rank-table td[data-label="Clan"]::before,
	.stats-proxy table.stats-rank-table td[data-label="Weapon"]::before,
	.stats-proxy table.stats-rank-table td[data-label="Action"]::before,
	.stats-proxy table.stats-rank-table td[data-label="Country"]::before {
		display: none;
	}

	.stats-proxy table.stats-rank-table tr:not(:has(td[data-label="Server"])) td[data-label="Map"]::before {
		display: none;
	}

	.stats-proxy table.stats-rank-table td[data-label="Server"] a,
	.stats-proxy table.stats-rank-table td[data-label="Address"] a,
	.stats-proxy table.stats-rank-table td[data-label="Player"] a,
	.stats-proxy table.stats-rank-table td[data-label="Name"] a,
	.stats-proxy table.stats-rank-table td[data-label="Clan"] a,
	.stats-proxy table.stats-rank-table td[data-label="Weapon"] a,
	.stats-proxy table.stats-rank-table td[data-label="Map"] a,
	.stats-proxy table.stats-rank-table td[data-label="Country"] a {
		font-weight: 800;
		color: var(--accent-bright) !important;
	}

	/* Stretch lonely last metric when body cell count is odd */
	.stats-proxy table.stats-rank-table tr.stats-rank-row > td:last-child:nth-child(odd),
	.stats-proxy table.stats-rank-table tr:not(.data-table-head) > td:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.stats-proxy table.stats-rank-table td img.tableicon,
	.stats-proxy table.stats-rank-table td img[src*="/flags/"] {
		width: 16px;
		height: 11px;
		vertical-align: middle;
	}

	.stats-proxy table.stats-rank-table td img[src*="/weapons/"],
	.stats-proxy table.stats-rank-table td img[src*="hlstatsimg"] {
		max-width: 72px;
		max-height: 28px;
	}

	/* Bar graphs in cards: keep short */
	.stats-proxy table.stats-rank-table td img[src*="bar"],
	.stats-proxy table.stats-rank-table td .bargraph,
	.stats-proxy table.stats-rank-table td div[style*="width"] {
		max-width: 100%;
	}

	.stats-proxy table.stats-rank-table td[data-label="Activity"],
	.stats-proxy table.stats-rank-table td[data-label="Connection Time"] {
		grid-column: 1 / -1;
		border-right: 0 !important;
	}

	.stats-proxy table.stats-rank-table td:not([data-label])::before,
	.stats-proxy table.stats-rank-table td[data-label=""]::before {
		display: none;
	}

	/* —— Award cards: solid 2-col grid, no clip —— */
	.stats-proxy .stats-awards-table tr,
	.stats-proxy #main_content .subblock > table.data-table tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 8px;
	}

	.stats-proxy .stats-awards-table td,
	.stats-proxy #main_content .subblock > table.data-table td {
		padding: 10px 8px !important;
		gap: 4px;
		justify-content: flex-start;
		min-height: 0;
	}

	.stats-proxy .stats-awards-table td br,
	.stats-proxy #main_content .subblock > table.data-table td br {
		display: none;
	}

	.stats-proxy .stats-awards-table td strong,
	.stats-proxy #main_content .subblock > table.data-table td strong {
		font-size: 12px;
		margin: 0;
	}

	.stats-proxy .stats-awards-table td img[src*="dawards"],
	.stats-proxy .stats-awards-table td img[src*="gawards"],
	.stats-proxy .stats-awards-table td img[src*="ranks"],
	.stats-proxy .stats-awards-table td img[src*="ribbons"],
	.stats-proxy #main_content .subblock > table.data-table td img[src*="dawards"],
	.stats-proxy #main_content .subblock > table.data-table td img[src*="gawards"],
	.stats-proxy #main_content .subblock > table.data-table td img[src*="ranks"],
	.stats-proxy #main_content .subblock > table.data-table td img[src*="ribbons"] {
		max-width: 56px;
		max-height: 44px;
		margin: 2px 0;
	}

	.stats-proxy .stats-awards-table td .fSmall,
	.stats-proxy #main_content .subblock > table.data-table td .fSmall {
		margin-top: 2px;
		font-size: 10px;
		line-height: 1.35;
	}

	/* —— Live players: compact card grid —— */
	.stats-livestats-wrap {
		overflow: visible;
		width: 100%;
	}

	.stats-proxy .livestats-table {
		min-width: 0 !important;
		display: block;
		width: 100%;
	}

	.stats-proxy .livestats-table tbody {
		display: block;
		width: 100%;
	}

	.stats-proxy .livestats-table tr.data-table-head {
		display: none;
	}

	.stats-proxy .livestats-team-head {
		display: block;
		margin: 10px 0 6px;
	}

	.stats-proxy .livestats-team-head td {
		display: block;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	.stats-proxy .livestats-team-banner {
		padding: 8px 10px;
		border-radius: 6px;
	}

	.stats-proxy .livestats-table tr.livestats-player {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		margin-bottom: 8px;
		border: 1px solid rgba(255, 255, 255, 0.1) !important;
		border-radius: 8px;
		overflow: hidden;
		background: rgba(0, 0, 0, 0.22);
	}

	.stats-proxy .livestats-table tr.livestats-player td {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2px;
		padding: 8px 10px !important;
		border: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
		text-align: left !important;
		min-width: 0;
		background: transparent !important;
	}

	.stats-proxy .livestats-table tr.livestats-player td:nth-child(odd) {
		border-right: 0 !important;
	}

	.stats-proxy .livestats-table tr.livestats-player td[aria-hidden="true"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="#"] {
		display: none !important;
	}

	.stats-proxy .livestats-table tr.livestats-player td::before {
		content: attr(data-label);
		font-weight: 700;
		font-size: 9px;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: #8fa3b8;
		line-height: 1.2;
	}

	.stats-proxy .livestats-table tr.livestats-player td[data-label="Player"] {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		gap: 8px;
		padding: 10px 12px !important;
		font-size: 14px;
		font-weight: 800;
		border-right: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
		background: rgba(255, 255, 255, 0.03) !important;
	}

	.stats-proxy .livestats-table tr.livestats-player td[data-label="Player"]::before {
		display: none;
	}

	.stats-proxy .livestats-table tr.livestats-player td[data-label="Player"] a {
		font-weight: 800;
		color: var(--accent-bright) !important;
	}

	.stats-proxy .livestats-table tr.livestats-player td[data-label="K"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="D"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="Hs"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="HS:K"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="Acc"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="Lat"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="Time"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="+/-"],
	.stats-proxy .livestats-table tr.livestats-player td[data-label="Skill"] {
		font-size: 13px;
		font-weight: 700;
		color: #eef2f7;
	}

	.stats-proxy .livestats-table tr.livestats-player:hover td,
	.stats-proxy tr.livestats-player:hover td {
		background: transparent !important;
	}

	.stats-proxy .livestats-table tr.livestats-player td[data-label="Player"]:hover {
		background: rgba(255, 255, 255, 0.03) !important;
	}

	.stats-proxy .data-table-head td,
	.stats-proxy tr.data-table-head td {
		font-size: 10px;
		padding: 7px 8px;
	}

	.stats-proxy td {
		padding: 7px 8px;
		font-size: 11px;
	}

	.stats-proxy img[src*="/weapons/"] {
		max-width: 64px;
		max-height: 24px;
	}

	.stats-proxy nav .fancyNav {
		gap: 5px;
	}

	.stats-proxy nav .fancyNav a {
		padding: 9px 8px;
		font-size: 11px;
	}

	.stats-proxy .stats-graph-wrap,
	.stats-proxy .stats-graph-wrap img {
		max-width: 100%;
		height: auto;
	}

	.stats-proxy .stats-summary {
		margin-bottom: 10px;
		font-size: 12px;
	}

	.stats-proxy .stats-detail-summary {
		padding: 10px 12px;
		gap: 8px 12px;
		font-size: 12px;
	}

	.stats-proxy .stats-detail-summary img {
		max-height: 40px;
	}

	/* Detail pages: stack float columns, tame heatmaps / raw images */
	.stats-proxy .subblock > div[style*="float"] {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 12px !important;
	}

	.stats-proxy a[rel="boxed"] img,
	.stats-proxy img[src*="heatmaps"],
	.stats-proxy img[src*="/maps/"] {
		max-width: 100% !important;
		height: auto !important;
		border-radius: 6px;
	}

	.stats-proxy .stats-graph-wrap {
		margin: 6px 0 10px;
	}
}

@media (max-width: 400px) {
	.stats-proxy nav .fancyNav {
		grid-template-columns: 1fr 1fr;
	}

	.stats-proxy .stats-awards-table tr,
	.stats-proxy #main_content .subblock > table.data-table tr {
		grid-template-columns: 1fr;
	}
}
