.module-statistics {
	--bm-full-bg: #080a0f;
	--bm-full-panel: #0d0f14;
	--bm-full-panel-soft: rgba(13, 15, 20, 0.82);
	--bm-full-red: #cc1a1a;
	--bm-full-red-dark: #8b0000;
	--bm-full-blue: #1d5fbe;
	--bm-full-blue-hot: #4fb3ff;
	--bm-full-gold: #d2aa68;
	--bm-full-text: #b0a898;
	--bm-full-text-bright: #eee4d3;
	--bm-full-text-dim: rgba(176, 168, 152, 0.48);
	--bm-full-line: rgba(160, 20, 20, 0.22);
	background: var(--bm-full-bg);
	overflow-x: hidden;
}

.module-statistics .bm-statistics-page {
	position: relative;
	min-height: 100vh;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	background: var(--bm-full-bg);
}

.module-statistics .bm-statistics-content {
	width: 100%;
	padding: 0;
}

.module-statistics .bm-statistics-content > .container,
.module-statistics .bm-statistics-content .row,
.module-statistics .bm-statistics-content [data-mainbar] {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.module-statistics .bm-statistics-module {
	position: relative;
	color: var(--bm-full-text);
	font-family: var(--font-ui), Inter, Arial, sans-serif;
	background: var(--bm-full-bg);
}

.module-statistics .bm-stat-empty {
	width: min(920px, calc(100vw - 32px));
	margin: 96px auto;
	padding: 28px;
	border: 1px solid var(--bm-full-line);
	border-radius: 6px;
	background: var(--bm-full-panel);
}

.module-statistics .bm-stat-empty__title {
	color: var(--bm-full-text-bright);
	font-family: var(--font-cinzel), Georgia, serif;
	font-size: 28px;
}

.module-statistics .bm-stat-panel--chart .bm-stat-empty {
	width: 100%;
	margin: 0;
	border: 0;
	background: transparent;
}

.module-statistics .bm-stat-empty__desc {
	margin-top: 8px;
	color: var(--bm-full-text-dim);
}

.module-statistics .bm-stat-full {
	position: relative;
	min-height: 100vh;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 11%, rgba(120, 0, 0, 0.22), transparent 30rem),
		radial-gradient(circle at 16% 42%, rgba(204, 26, 26, 0.1), transparent 26rem),
		radial-gradient(circle at 84% 40%, rgba(29, 95, 190, 0.12), transparent 28rem),
		linear-gradient(180deg, #080a0f 0%, #0c0609 48%, #050607 100%);
}

.module-statistics .bm-stat-full::before,
.module-statistics .bm-stat-full::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.module-statistics .bm-stat-full::before {
	inset: 0 0 auto 0;
	height: 24.8vw;
	background: url('../images/statistics-hero-map.webp') no-repeat center top / 100% auto;
}

.module-statistics .bm-stat-full::after {
	inset: 0 0 auto 0;
	height: 24.8vw;
	background:
		linear-gradient(90deg, rgba(7, 11, 16, 0.55) 0%, rgba(7, 11, 16, 0.25) 28%, rgba(7, 11, 16, 0) 50%),
		linear-gradient(180deg, rgba(7, 11, 16, 0.35) 0%, rgba(7, 11, 16, 0) 30%, rgba(7, 11, 16, 0) 80%, rgba(8, 10, 15, 1) 100%);
}

.module-statistics .bm-stat-full__inner {
	position: relative;
	z-index: 1;
	width: min(1500px, calc(100vw - 40px));
	position: relative;
	margin: 0 auto;
	padding: 26px 0 64px;
}

.module-statistics .bm-stat-full__brand {
	display: block;
	min-height: calc(24.8vw - 30px); /* логотип в левом верхнем углу полосы-карты */
	margin-bottom: 0;
	padding-bottom: 0;
}

.module-statistics .bm-stat-full__brand-main {
	min-width: 0;
	margin: 0;
	font: inherit;
	animation: none;
	background-size: auto;
	filter: none;
	text-align: left;
	max-width: 34vw;
}

.module-statistics .bm-stat-full__brand-name {
	display: block;
	color: var(--bm-full-red);
	font-family: var(--font-cinzel), Georgia, serif;
	font-size: clamp(28px, 3.2vw, 46px);
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1;
	text-transform: uppercase;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8), 0 0 22px rgba(204, 26, 26, 0.34);
}

.module-statistics .bm-stat-full__brand-sub {
	display: block;
	margin-top: 9px;
	color: var(--bm-full-text-dim);
	font-family: var(--font-mono), monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.module-statistics .bm-stat-status {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: 78px;
	margin: 14px 0 22px;
	color: var(--bm-full-text-dim);
	font-family: var(--font-mono), monospace;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.module-statistics .bm-stat-status i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bm-full-red-dark);
	box-shadow: 0 0 0 0 rgba(204, 26, 26, 0.65);
	animation: bm-full-pulse 1.35s ease-in-out infinite;
}

.module-statistics .bm-stat-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.module-statistics .bm-stat-panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(180, 20, 20, 0.44);
}

.module-statistics .bm-stat-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.48fr) minmax(360px, 0.72fr);
	gap: 20px;
	align-items: stretch;
}

.module-statistics .bm-stat-panel {
	position: relative;
	min-width: 0;
	padding: 20px;
	overflow: hidden;
	border: 1px solid rgba(120, 10, 10, 0.24);
	border-radius: 4px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
		rgba(13, 15, 20, 0.92);
	box-shadow:
		0 26px 80px rgba(0, 0, 0, 0.36),
		inset 0 0 34px rgba(204, 26, 26, 0.035);
}

.module-statistics .bm-online-chart {
	display: block;
	width: 100%;
	height: 320px;
	border: 1px solid rgba(255, 255, 255, 0.055);
	border-radius: 4px;
	background: #080a0f;
}

.module-statistics .bm-stat-history-data {
	display: none;
}

@keyframes bm-full-pulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(204, 26, 26, 0.55);
	}
	50% {
		transform: scale(1.28);
		box-shadow: 0 0 0 9px rgba(204, 26, 26, 0);
	}
}

@media (max-width: 1180px) {
	.module-statistics .bm-stat-full__brand,
	.module-statistics .bm-stat-grid {
		grid-template-columns: 1fr;
	}

	.module-statistics .bm-stat-full__brand-main {
		text-align: left;
	}
}

@media (max-width: 860px) {
	.module-statistics .bm-stat-full__inner {
		width: min(100% - 24px, 760px);
		padding-top: 24px;
		padding-bottom: 42px;
	}

	.module-statistics .bm-stat-full__brand {
		gap: 16px;
		margin-bottom: 18px;
	}

	.module-statistics .bm-stat-full__brand-name {
		font-size: 24px;
		letter-spacing: 0.1em;
	}

	.module-statistics .bm-stat-full__brand-sub {
		font-size: 10px;
		letter-spacing: 0.13em;
	}

	.module-statistics .bm-stat-metrics {
		grid-template-columns: 1fr;
		display: grid;
	}

	.module-statistics .bm-stat-status {
		flex-wrap: wrap;
		margin-bottom: 18px;
		text-align: center;
	}

	.module-statistics .bm-stat-panel {
		padding: 16px;
	}

	.module-statistics .bm-online-chart {
		height: 240px;
	}
}

@media (max-width: 520px) {
	.module-statistics .bm-stat-full__inner {
		width: min(100% - 18px, 460px);
		padding-top: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.module-statistics .bm-stat-status i {
		animation: none !important;
	}
}

/* hall-stats-strip (2026-10-01): телефон — карта сверху 40vw (правые 62% полосы: вся карта с Калимдором), логотип и карточки под ней */
@media (max-width: 860px) {
	.module-statistics .bm-stat-full::before,
	.module-statistics .bm-stat-full::after {
		height: 40vw;
	}

	.module-statistics .bm-stat-full::before {
		background-size: auto 100%;
		background-position: right top;
	}

	.module-statistics .bm-stat-full__brand {
		min-height: 0;
		padding-top: calc(40vw - 12px);
	}

	.module-statistics .bm-stat-full__brand-main {
		max-width: none;
	}

	.module-statistics .bm-stat-status {
		min-height: 0;
		margin: 14px 0 18px;
	}
}

/* ===== hall-stats-scene (2026-10-02): сцена «весы фракций» под полосой-картой =====
   Слои картинки 1536x1024 (images/scales/): plate — зал с колонной, pan-* — чаши со знамёнами, beam — коромысло.
   Наклон по долям фракций, качание и искры — initScales в statistics-fullpage.js.
   Счётчики стоят «книгой учёта» в тёмной левой трети, проценты фракций висят над своими чашами. */
.module-statistics .bm-stat-scene {
	position: relative;
	width: 100vw;
	height: 55.1vw; /* видимая часть картинки: y 54..900 из 1024 */
	margin: 0 0 0 calc(50% - 50vw);
	overflow: hidden;
}

.module-statistics .bm-stat-scene::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: none; /* края сцены растворяет маска на .bm-scales — тёмная кайма дала бы жёсткую линию на стыке */
	pointer-events: none;
}

.module-statistics .bm-scales {
	position: absolute;
	left: 0;
	top: -3.5vw; /* пустой верх картинки срезан */
	width: 100vw;
	height: 66.667vw;
}

.module-statistics .bm-scales > img,
.module-statistics .bm-scales__pan,
.module-statistics .bm-scales__pan > img,
.module-statistics .bm-scales__fx {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.module-statistics .bm-scales__beam,
.module-statistics .bm-scales__pan {
	will-change: transform;
}

/* Свет огня. Скрипт ведёт две величины --horde-light / --alliance-light (0.8..1, медленное «дыхание»);
   на них завязано всё, что освещено огнём чаши: ореол в воздухе, свет на самой чаше и цепях,
   на конце коромысла и блик на мокром полу. Без этого пламя выглядит наклейкой поверх сцены. */
.module-statistics .bm-scales {
	--horde-light: 0.9;
	--alliance-light: 0.9;
}

/* ореол: светящийся воздух вокруг пламени, за чашей */
.module-statistics .bm-scales__glow {
	position: absolute;
	width: 44%;
	aspect-ratio: 1;
	margin: -22% 0 0 -22%;
	border-radius: 50%;
	mix-blend-mode: screen;
}

.module-statistics .bm-scales__pan--horde .bm-scales__glow {
	left: 40.1%;
	top: 50%;
	background: radial-gradient(closest-side, rgba(255, 130, 40, 0.5), rgba(230, 60, 16, 0.2) 42%, transparent 72%);
	opacity: var(--horde-light);
}

.module-statistics .bm-scales__pan--alliance .bm-scales__glow {
	left: 88.15%;
	top: 41%;
	background: radial-gradient(closest-side, rgba(80, 160, 255, 0.5), rgba(30, 90, 230, 0.2) 42%, transparent 72%);
	opacity: var(--alliance-light);
}

/* свет на детали: слой с маской из картинки самой детали (чаша с цепями и знаменем / коромысло),
   поэтому светятся только её пиксели — ближе к огню сильнее */
.module-statistics .bm-scales__lit {
	position: absolute;
	inset: 0;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	mix-blend-mode: screen;
	pointer-events: none;
}

.module-statistics .bm-scales__pan--horde .bm-scales__lit {
	background: radial-gradient(ellipse 15% 25% at 40.1% 50%, rgba(255, 160, 70, 0.62), rgba(255, 90, 24, 0.26) 55%, transparent 100%);
	opacity: var(--horde-light);
}

.module-statistics .bm-scales__pan--alliance .bm-scales__lit {
	background: radial-gradient(ellipse 14% 24% at 88.15% 41%, rgba(120, 190, 255, 0.62), rgba(40, 110, 255, 0.26) 55%, transparent 100%);
	opacity: var(--alliance-light);
}

/* коромысло освещено с обоих концов — каждый своим огнём; слой поворачивается вместе с коромыслом (скрипт) */
.module-statistics .bm-scales__lit--beam {
	background:
		radial-gradient(ellipse 11% 13% at 40.7% 36%, rgba(255, 150, 60, calc(var(--horde-light) * 0.55)), transparent 100%),
		radial-gradient(ellipse 10% 12% at 87.9% 25.5%, rgba(110, 180, 255, calc(var(--alliance-light) * 0.55)), transparent 100%);
	will-change: transform;
}

/* блик огня на мокром полу под чашей */
.module-statistics .bm-scales__reflect {
	position: absolute;
	top: 74%;
	width: 12%;
	height: 17%;
	margin-left: -6%;
	border-radius: 50%;
	mix-blend-mode: screen;
	pointer-events: none;
}

.module-statistics .bm-scales__reflect--horde {
	left: 40.1%;
	background: radial-gradient(ellipse 34% 50% at 50% 50%, rgba(255, 130, 50, 0.4), rgba(255, 70, 20, 0.14) 60%, transparent 100%);
	opacity: var(--horde-light);
}

.module-statistics .bm-scales__reflect--alliance {
	left: 88.15%;
	top: 70%;
	background: radial-gradient(ellipse 34% 50% at 50% 50%, rgba(90, 170, 255, 0.4), rgba(40, 100, 255, 0.14) 60%, transparent 100%);
	opacity: var(--alliance-light);
}

/* пламя (съёмка огня fire-loop.mp4 в WebGL) — под картинкой чаши: поднимается из-за кромки и едет вместе
   с чашей. Кадр ролика 384x500; низ кадра (основание огня, угли) спрятан за кромкой */
.module-statistics .bm-scales__fire {
	position: absolute;
	pointer-events: none;
}

.module-statistics .bm-scales__pan--horde .bm-scales__fire {
	left: 30.99%;  /* x 476..756, y 246..610 исходника: кромка чаши на y 584 */
	top: 24.02%;
	width: 18.23%;
	height: 35.55%;
}

.module-statistics .bm-scales__pan--alliance .bm-scales__fire {
	left: 80.01%;  /* x 1229..1479, y 185..510: кромка на y 490 */
	top: 18.07%;
	width: 16.28%;
	height: 31.74%;
}

/* вариант без пламени: содержимое чаш — раскалённые угли у Орды, ледяные кристаллы у Альянса.
   Лежат под картинкой чаши (низ спрятан за кромкой и знаменем), едут вместе с ней; яркость дышит
   по тем же --horde-light / --alliance-light, что и весь свет от чаши */
.module-statistics .bm-scales__core {
	position: absolute;
	background: no-repeat center bottom / 100% auto;
	pointer-events: none;
}

.module-statistics .bm-scales__pan--horde .bm-scales__core {
	left: 31.64%;   /* x 486..746 исходника, низ на y 612: кромка чаши на y 584 */
	width: 16.93%;
	top: 40.23%;
	bottom: 40.23%;
	filter: brightness(calc(var(--horde-light) * 2.2 - 1.05)) drop-shadow(0 0 0.9vw rgba(255, 90, 20, 0.55));
}

.module-statistics .bm-scales__pan--alliance .bm-scales__core {
	left: 79.69%;   /* x 1224..1484, низ на y 516: кромка на y 490 */
	width: 16.93%;
	top: 28.32%;
	bottom: 49.61%;
	filter: brightness(calc(var(--alliance-light) * 2.2 - 1.05)) drop-shadow(0 0 0.9vw rgba(80, 160, 255, 0.6));
}

.module-statistics .bm-scales__torch {
	position: absolute;
	width: 9%;
	aspect-ratio: 1;
	margin: -4.5% 0 0 -4.5%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 170, 80, 0.34), rgba(255, 130, 50, 0.1) 50%, transparent 74%);
	mix-blend-mode: screen;
	animation: bm-scales-flicker 2.3s steps(1, end) infinite;
}

.module-statistics .bm-scales__torch--a {
	left: 53.71%;
	top: 26.86%;
}

.module-statistics .bm-scales__torch--b {
	left: 93.75%;
	top: 28.81%;
	animation-duration: 3.1s;
	animation-delay: -0.9s;
}

.module-statistics .bm-scales__haze {
	position: absolute;
	left: -10%;
	right: -10%;
	top: 62%;
	height: 30%;
	background:
		radial-gradient(ellipse 38% 60% at 26% 60%, rgba(170, 160, 165, 0.16), transparent 70%),
		radial-gradient(ellipse 34% 52% at 62% 46%, rgba(150, 150, 165, 0.14), transparent 70%),
		radial-gradient(ellipse 30% 56% at 88% 64%, rgba(160, 165, 185, 0.13), transparent 70%);
	mix-blend-mode: screen;
	animation: bm-scales-haze 34s ease-in-out infinite alternate;
}


@keyframes bm-scales-flicker {
	0% { opacity: 0.55; }
	12% { opacity: 0.9; }
	27% { opacity: 0.6; }
	41% { opacity: 1; }
	58% { opacity: 0.7; }
	73% { opacity: 0.95; }
	88% { opacity: 0.5; }
}

@keyframes bm-scales-haze {
	from { transform: translateX(-5%); }
	to { transform: translateX(5%); }
}

/* счётчики: книга учёта в тёмной левой трети, без рамок */
.module-statistics .bm-stat-ledger {
	position: absolute;
	left: max(20px, calc(50vw - 750px));
	top: 15%;
	z-index: 2;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-auto-flow: dense; /* в разметке подпись (dt) идёт раньше числа (dd), число встаёт в первую колонку той же строки */
	column-gap: 1.2vw;
	row-gap: 1.7vw;
	align-items: baseline;
	margin: 0;
}

.module-statistics .bm-stat-ledger__row {
	display: contents;
}

.module-statistics .bm-stat-ledger dd {
	grid-column: 1;
	justify-self: end;
	margin: 0;
	color: var(--bm-full-text-bright);
	font-family: var(--font-cinzel), Georgia, serif;
	font-size: 4vw;
	font-weight: 800;
	line-height: 1;
	text-shadow: 0 0.3vw 1.2vw rgba(0, 0, 0, 0.7);
}

.module-statistics .bm-stat-ledger dt {
	grid-column: 2;
	justify-self: start;
	margin: 0;
	color: var(--bm-full-text);
	font-size: max(12px, 1.05vw);
	font-weight: 400;
}

.module-statistics .bm-stat-ledger__row--red dd {
	color: var(--bm-full-red);
	text-shadow: 0 0 18px rgba(204, 26, 26, 0.28);
}

.module-statistics .bm-stat-ledger__row--blue dd {
	color: var(--bm-full-blue-hot);
}

.module-statistics .bm-stat-ledger__row--gold dd {
	color: var(--bm-full-gold);
}

/* фракции: число висит над своей чашей и едет вместе с ней (--*-dy = сдвиг крюка в долях ширины сцены) */
.module-statistics .bm-scales-label {
	--tone: var(--bm-full-red);
	position: absolute;
	z-index: 2;
	text-align: center;
	transform: translateX(-50%);
	white-space: nowrap;
}

.module-statistics .bm-scales-label--horde {
	left: 40.2%;
	top: 14%;
	margin-top: calc(var(--horde-dy, 0) * 100vw);
}

.module-statistics .bm-scales-label--alliance {
	--tone: var(--bm-full-blue-hot);
	left: 87.9%;
	top: 3%;
	margin-top: calc(var(--alliance-dy, 0) * 100vw);
}

.module-statistics .bm-scales-label span,
.module-statistics .bm-scales-label strong,
.module-statistics .bm-scales-label em {
	display: block;
}

.module-statistics .bm-scales-label span {
	color: var(--tone);
	font-family: var(--font-cinzel), Georgia, serif;
	font-size: max(13px, 1.25vw);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-shadow: 0 0 12px color-mix(in srgb, var(--tone) 42%, transparent);
}

.module-statistics .bm-scales-label strong {
	margin-top: 0.2vw;
	color: var(--bm-full-text-bright);
	font-family: var(--font-cinzel), Georgia, serif;
	font-size: 4vw;
	line-height: 1;
	text-shadow: 0 0.3vw 1.2vw rgba(0, 0, 0, 0.8), 0 0 2vw color-mix(in srgb, var(--tone) 45%, transparent);
}

.module-statistics .bm-scales-label em {
	margin-top: 0.4vw;
	color: var(--bm-full-text);
	font-size: max(11px, 0.9vw);
	font-style: normal;
}

/* строка под картой: реалм слева, время обновления справа — обычным текстом, без карточек */
.module-statistics .bm-stat-status--line {
	min-height: 0;
	margin: 18px 0 6px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.module-statistics .bm-stat-status__realm {
	color: var(--bm-full-text-bright);
	font-family: var(--font-cinzel), Georgia, serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.module-statistics select.bm-stat-status__realm {
	padding: 2px 4px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.module-statistics select.bm-stat-status__realm option {
	color: #111;
}

.module-statistics .bm-stat-status__updated {
	margin-left: auto;
}

/* расы и классы под сценой: без панелей, крупные медальоны прямо на полу зала.
   Расы — двумя крыльями по фракциям (слева Орда, справа Альянс, как чаши), классы — рядом во всю ширину */
.module-statistics .bm-stat-roster {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px 40px;
	margin-top: 6px;
}

.module-statistics .bm-stat-classes {
	grid-column: 1 / -1;
}

.module-statistics .bm-stat-roster__title {
	margin: 0 0 22px;
	color: var(--bm-full-text-bright);
	font-family: var(--font-cinzel), Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.module-statistics .bm-stat-wing--horde .bm-stat-roster__title {
	color: #e0564a;
}

.module-statistics .bm-stat-wing--alliance .bm-stat-roster__title {
	color: var(--bm-full-blue-hot);
}

.module-statistics .bm-stat-medals {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); /* шесть портретов в ряд в крыле уже с 1440px */
	gap: 26px 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.module-statistics .bm-stat-medal {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	text-align: center;
}

.module-statistics .bm-stat-medal__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 108px;   /* портреты рас; owner: «сделать их тоже чуть крупнее» (было 96) */
	height: 108px;
	margin-bottom: 12px;
	border-radius: 50%;
}

.module-statistics .bm-stat-medal__icon img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55));
}

.module-statistics .bm-stat-medal__icon > span {
	color: var(--bm-full-text-bright);
	font-family: var(--font-cinzel), Georgia, serif;
	font-size: 34px;
}

.module-statistics .bm-stat-medal strong {
	color: var(--bm-full-text-bright);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.module-statistics .bm-stat-medal__count {
	margin-top: 4px;
	color: var(--bm-full-text);
	font-size: 13px;
}

/* класс: иконка 112px и дуга его доли цветом класса вокруг неё */
.module-statistics .bm-stat-medal--class .bm-stat-medal__icon {
	width: 124px;
	height: 124px;
	padding: 6px;
}

.module-statistics .bm-stat-medal--class .bm-stat-medal__icon::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(var(--row-color) calc(var(--row-fill) * 1%), rgba(255, 255, 255, 0.07) 0);
	-webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
	mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

.module-statistics .bm-stat-medal--class .bm-stat-medal__icon img {
	filter: none;
}

/* класс, которым пока никто не играет: иконка приглушена */
.module-statistics .bm-stat-medal--empty .bm-stat-medal__icon img {
	filter: grayscale(0.8) brightness(0.62);
}

.module-statistics .bm-stat-medal--empty strong {
	color: var(--bm-full-text);
}

/* классы расходятся на всю ширину ряда */
.module-statistics .bm-stat-classes .bm-stat-medals {
	grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
}

.module-statistics .bm-stat-grid--history {
	grid-template-columns: 1fr;
	margin-top: 44px;
}

@media (max-width: 860px) {
	.module-statistics .bm-stat-roster {
		grid-template-columns: 1fr;
		gap: 34px;
		margin-top: 20px;
	}

	.module-statistics .bm-stat-medals,
	.module-statistics .bm-stat-classes .bm-stat-medals {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px 8px;
	}

	.module-statistics .bm-stat-medal__icon {
		width: 88px;
		height: 88px;
	}

	.module-statistics .bm-stat-medal--class .bm-stat-medal__icon {
		width: 92px;
		height: 92px;
		padding: 5px;
	}

	.module-statistics .bm-stat-medal strong {
		font-size: 13px;
	}

	.module-statistics .bm-stat-status--line {
		margin: 14px 0 4px;
	}
}

@media (max-width: 860px) {
	.module-statistics .bm-stat-scene {
		height: auto;
	}

	.module-statistics .bm-stat-scene::before {
		bottom: auto;
		height: 96vw;
	}

	.module-statistics .bm-scales {
		position: relative;
		top: 0;
		left: -42.4vw; /* окно на весы: x 452..1519 исходника */
		width: 144vw;
		height: 96vw;
	}

	.module-statistics .bm-scales-label {
		transform: none;
	}

	.module-statistics .bm-scales-label--horde {
		left: 5%;
		top: 5.5vw;
		margin-top: calc(var(--horde-dy, 0) * 144vw);
		text-align: left;
	}

	.module-statistics .bm-scales-label--alliance {
		left: auto;
		right: 5%;
		top: 2.9vw;
		margin-top: calc(var(--alliance-dy, 0) * 144vw);
		text-align: right;
	}

	.module-statistics .bm-scales-label span { font-size: 4vw; }
	.module-statistics .bm-scales-label strong { font-size: 9.5vw; }
	.module-statistics .bm-scales-label em { font-size: 3vw; }

	.module-statistics .bm-stat-ledger {
		position: static;
		column-gap: 4vw;
		row-gap: 3vw;
		padding: 5vw 20px 3vw;
	}

	.module-statistics .bm-stat-ledger dd { font-size: 10vw; }
	.module-statistics .bm-stat-ledger dt { font-size: 4vw; }
}

@media (prefers-reduced-motion: reduce) {
	.module-statistics .bm-scales__torch,
	.module-statistics .bm-scales__haze {
		animation: none;
	}
}

/* ===== стыки блоков: мягкий размытый переход карта → весы → расы (owner 02.10: «между блоками лёгкий блюр
   переход, между 1 и 2 и 3»). Вместо жёсткой тёмной полосы: низ карты продолжается размытым эхом под строкой
   реалма и в верх сцены, сама сцена у верха и у низа уходит в нарастающее размытие, а цвет бликов под чашами
   мягко затекает в блок рас. */
.module-statistics .bm-stat-status--line {
	position: relative;
}

.module-statistics .bm-stat-status--line::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: calc(50% - 50vw);
	width: 100vw;
	top: -6vw;
	bottom: -5vw;
	background: url('../images/statistics-hero-map.webp') no-repeat center bottom / 100% auto;
	filter: blur(18px) saturate(1.1);
	opacity: 0.38;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 44%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 44%, transparent 100%);
	pointer-events: none;
}

/* картинка сцены растворяется у верха и у низа (маска на слое весов, цифры поверх не затрагиваются):
   видимая часть слоя — от 5.25% до 87.9% его высоты */
.module-statistics .bm-scales {
	-webkit-mask-image: linear-gradient(180deg, transparent 5.25%, #000 14%, #000 74%, transparent 87.9%);
	mask-image: linear-gradient(180deg, transparent 5.25%, #000 14%, #000 74%, transparent 87.9%);
}

.module-statistics .bm-stat-seam {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1; /* над сценой, под цифрами */
	overflow: hidden;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	pointer-events: none;
}

/* верх сцены: размытие нарастает от края и к низу полосы сходит на нет. У самого края полосы размытия быть
   не должно: фильтр не видит пикселей за своей границей и даёт там ступеньку яркости (жёсткую линию) */
.module-statistics .bm-stat-seam--top {
	top: 0;
	height: 6.5vw;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 45%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 45%, transparent 100%);
}

/* низ сцены: пол постепенно уходит в размытие */
.module-statistics .bm-stat-seam--bottom {
	top: 46.5vw; /* нижние 8.6vw сцены высотой 55.1vw — ниже кистей знамён */
	height: 8.6vw;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 55%, #000 70%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 55%, #000 70%, transparent 100%);
}

/* свет бликов под чашами мягко затекает в блок рас: красный — к Орде, синий — к Альянсу */
.module-statistics .bm-stat-roster {
	position: relative;
}

.module-statistics .bm-stat-roster::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: calc(50% - 50vw);
	width: 100vw;
	top: -7vw;
	height: 20vw;
	background:
		radial-gradient(ellipse 24% 50% at 40% 12%, rgba(255, 80, 30, 0.13), transparent 100%),
		radial-gradient(ellipse 22% 50% at 88% 12%, rgba(60, 130, 255, 0.13), transparent 100%);
	pointer-events: none;
}

@media (max-width: 860px) {
	.module-statistics .bm-scales {
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%);
	}

	.module-statistics .bm-stat-seam--top {
		height: 16vw;
	}

	.module-statistics .bm-stat-seam--bottom {
		top: 80vw; /* нижние 16vw картинки сцены высотой 96vw */
		height: 16vw;
	}

	.module-statistics .bm-stat-roster::before {
		display: none;
	}
}

/* футер статистики — стол картографа под картой (2026-10-03, вариант B): сверху растворяется в фоне страницы,
   к низу притемнён под мелкий текст; линия-подложка темы снята */
.module-statistics .footer {
	margin-top: 0 !important;
	padding-top: 72px !important;
	overflow: visible;
	background:
		linear-gradient(180deg, #080b0f 0%, rgba(8, 11, 15, 0.74) 16%, rgba(8, 7, 8, 0.38) 38%, rgba(8, 7, 8, 0.58) 66%, rgba(6, 5, 6, 0.93) 100%),
		url('../../../themes/default/assets/images/graphics/map-floor.webp') center top / cover no-repeat !important;
}

.module-statistics .footer [data-line],
.module-statistics .footer::before,
.module-statistics .footer .container-fluid::before,
.module-statistics .footer .container-fluid::after {
	content: none;
	display: none;
}

.module-statistics .footer .footer-text {
	color: rgba(255, 233, 214, 0.58);
}

.module-statistics .footer .footer-copyright {
	color: rgba(255, 240, 226, 0.78);
}
