:root {
	--ld-bg: #0f0c0a;
	--ld-bg-soft: #1a1410;
	--ld-panel: rgba(43, 34, 27, 0.92);
	--ld-panel-border: rgba(201, 162, 39, 0.28);
	--ld-accent: #c9a227;
	--ld-accent-bright: #e8c547;
	--ld-accent-dim: #8a6f1e;
	--ld-text: #f3ead6;
	--ld-muted: #b8aa92;
	--ld-danger: #e07070;
	--ld-danger-bg: rgba(212, 90, 90, 0.12);
	--ld-success: #7ec87e;
	--ld-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
	--ld-radius: 16px;
	--ld-radius-sm: 10px;
	--ld-font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
	--ld-font-display: Georgia, "Times New Roman", serif;
	--ld-header-h: 72px;
}

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

html {
	scroll-behavior: smooth;
}

html,
body {
	margin: 0;
	padding: 0;
}

body.ld-body {
	min-height: 100vh;
	min-height: 100dvh;
	font-family: var(--ld-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ld-text);
	background: var(--ld-bg);
	overflow-x: hidden;
}

.ld-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 80% 60% at 15% 20%, rgba(201, 162, 39, 0.14), transparent 55%),
		radial-gradient(ellipse 70% 50% at 85% 75%, rgba(120, 60, 20, 0.22), transparent 50%),
		linear-gradient(165deg, #120e0b 0%, #0f0c0a 40%, #1a120d 100%);
}

.ld-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 20%, transparent 75%);
	opacity: 0.35;
}

.ld-ember {
	position: absolute;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--ld-accent-bright);
	box-shadow: 0 0 12px 2px rgba(232, 197, 71, 0.55);
	opacity: 0;
	animation: ld-float 12s ease-in-out infinite;
}

.ld-ember:nth-child(1) { left: 8%; top: 72%; animation-delay: 0s; }
.ld-ember:nth-child(2) { left: 22%; top: 58%; animation-delay: 2.4s; }
.ld-ember:nth-child(3) { left: 78%; top: 64%; animation-delay: 4.8s; }
.ld-ember:nth-child(4) { left: 62%; top: 28%; animation-delay: 1.2s; }
.ld-ember:nth-child(5) { left: 88%; top: 42%; animation-delay: 6s; }
.ld-ember:nth-child(6) { left: 42%; top: 82%; animation-delay: 3.6s; }

@keyframes ld-float {
	0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
	15% { opacity: 0.85; }
	50% { opacity: 0.4; transform: translateY(-120px) scale(1); }
	85% { opacity: 0; }
}

.ld-page {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.ld-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: var(--ld-header-h);
	padding: 0 clamp(16px, 4vw, 48px);
	background: rgba(15, 12, 10, 0.82);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(74, 59, 47, 0.65);
}

.ld-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.ld-brand__mark {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: linear-gradient(145deg, #3d3024, #221b15);
	border: 1px solid var(--ld-panel-border);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	font-family: var(--ld-font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--ld-accent-bright);
	line-height: 1;
}

.ld-brand__text {
	min-width: 0;
}

.ld-brand__title {
	display: block;
	font-family: var(--ld-font-display);
	font-size: clamp(17px, 2.2vw, 22px);
	font-weight: 700;
	color: var(--ld-accent-bright);
	letter-spacing: 0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ld-brand__sub {
	display: block;
	font-size: 12px;
	color: var(--ld-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ld-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.ld-nav__link {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ld-muted);
	border: 1px solid transparent;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.ld-nav__link:hover {
	color: var(--ld-text);
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(74, 59, 47, 0.8);
}

.ld-nav__link--cta {
	color: #1a1410;
	background: linear-gradient(180deg, var(--ld-accent-bright) 0%, var(--ld-accent) 100%);
	border-color: var(--ld-accent-dim);
}

.ld-nav__link--cta:hover {
	color: #1a1410;
	filter: brightness(1.06);
}

.ld-main {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr minmax(320px, 420px);
	gap: clamp(24px, 5vw, 64px);
	align-items: center;
	width: min(1200px, 100%);
	margin: 0 auto;
	padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 48px);
}

.ld-hero {
	max-width: 640px;
}

.ld-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ld-accent-bright);
	background: rgba(201, 162, 39, 0.1);
	border: 1px solid rgba(201, 162, 39, 0.25);
}

.ld-hero__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ld-success);
	box-shadow: 0 0 8px var(--ld-success);
	animation: ld-pulse 2s ease-in-out infinite;
}

@keyframes ld-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.45; }
}

.ld-hero__title {
	margin: 0 0 16px;
	font-family: var(--ld-font-display);
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--ld-text);
}

.ld-hero__title span {
	color: var(--ld-accent-bright);
}

.ld-hero__lead {
	margin: 0 0 28px;
	max-width: 52ch;
	font-size: clamp(16px, 2vw, 18px);
	color: var(--ld-muted);
}

.ld-features {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.ld-features__item {
	padding: 8px 14px;
	border-radius: var(--ld-radius-sm);
	font-size: 14px;
	font-weight: 600;
	color: var(--ld-text);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(74, 59, 47, 0.75);
}

.ld-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 480px;
}

.ld-stat {
	padding: 16px;
	border-radius: var(--ld-radius-sm);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(74, 59, 47, 0.65);
}

.ld-stat__value {
	display: block;
	font-family: var(--ld-font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--ld-accent-bright);
	line-height: 1.2;
}

.ld-stat__label {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--ld-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ld-card {
	padding: clamp(24px, 4vw, 32px);
	border-radius: var(--ld-radius);
	background: var(--ld-panel);
	border: 1px solid var(--ld-panel-border);
	box-shadow: var(--ld-shadow);
	backdrop-filter: blur(8px);
}

.ld-card__title {
	margin: 0 0 6px;
	font-family: var(--ld-font-display);
	font-size: 26px;
	font-weight: 700;
	color: var(--ld-accent-bright);
}

.ld-card__subtitle {
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--ld-muted);
}

.ld-alert {
	margin-bottom: 20px;
	padding: 12px 14px;
	border-radius: var(--ld-radius-sm);
	font-size: 14px;
	line-height: 1.45;
	color: #ffd4d4;
	background: var(--ld-danger-bg);
	border: 1px solid rgba(212, 90, 90, 0.45);
}

.ld-field {
	margin-bottom: 18px;
}

.ld-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ld-muted);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.ld-input-wrap {
	position: relative;
}

.ld-input {
	width: 100%;
	padding: 14px 16px;
	border-radius: var(--ld-radius-sm);
	border: 1px solid rgba(74, 59, 47, 0.95);
	background: rgba(15, 12, 10, 0.75);
	color: var(--ld-text);
	font: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ld-input::placeholder {
	color: rgba(184, 170, 146, 0.55);
}

.ld-input:focus {
	outline: none;
	border-color: var(--ld-accent);
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.ld-input-wrap--password .ld-input {
	padding-right: 48px;
}

.ld-toggle-pass {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ld-muted);
	cursor: pointer;
	transition: color 0.2s, background 0.2s;
}

.ld-toggle-pass:hover {
	color: var(--ld-text);
	background: rgba(255, 255, 255, 0.06);
}

.ld-check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	font-size: 14px;
	color: var(--ld-muted);
	cursor: pointer;
	user-select: none;
}

.ld-check input {
	width: 18px;
	height: 18px;
	accent-color: var(--ld-accent);
}

.ld-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px 20px;
	border: 0;
	border-radius: var(--ld-radius-sm);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #1a1410;
	cursor: pointer;
	background: linear-gradient(180deg, var(--ld-accent-bright) 0%, var(--ld-accent) 55%, var(--ld-accent-dim) 100%);
	box-shadow: 0 8px 24px rgba(201, 162, 39, 0.28);
	transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}

.ld-btn:hover:not(:disabled) {
	filter: brightness(1.05);
	box-shadow: 0 10px 28px rgba(201, 162, 39, 0.38);
}

.ld-btn:active:not(:disabled) {
	transform: translateY(1px);
}

.ld-btn:disabled {
	opacity: 0.72;
	cursor: wait;
}

.ld-btn__spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(26, 20, 16, 0.25);
	border-top-color: #1a1410;
	border-radius: 50%;
	animation: ld-spin 0.7s linear infinite;
}

.ld-btn__spinner[hidden] {
	display: none;
}

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

.ld-links {
	display: grid;
	gap: 10px;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid rgba(74, 59, 47, 0.65);
}

.ld-links a {
	font-size: 14px;
	font-weight: 600;
	color: var(--ld-accent-bright);
	text-decoration: none;
	transition: color 0.2s;
}

.ld-links a:hover {
	color: var(--ld-text);
	text-decoration: underline;
}

.ld-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px clamp(16px, 4vw, 48px) 28px;
	border-top: 1px solid rgba(74, 59, 47, 0.5);
	font-size: 13px;
	color: var(--ld-muted);
}

.ld-footer a {
	color: var(--ld-muted);
	text-decoration: none;
}

.ld-footer a:hover {
	color: var(--ld-accent-bright);
}

@media (max-width: 960px) {
	.ld-main {
		grid-template-columns: 1fr;
	}

	.ld-hero {
		text-align: center;
		max-width: none;
	}

	.ld-hero__lead {
		margin-left: auto;
		margin-right: auto;
	}

	.ld-features,
	.ld-stats {
		justify-content: center;
	}

	.ld-stats {
		margin: 0 auto;
	}

	.ld-nav__link:not(.ld-nav__link--cta) {
		display: none;
	}
}

@media (max-width: 520px) {
	.ld-stats {
		grid-template-columns: 1fr;
	}

	.ld-header {
		height: auto;
		min-height: var(--ld-header-h);
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

.ld-nav__link--live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ld-nav__link--live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e05555;
	box-shadow: 0 0 8px rgba(224, 85, 85, 0.65);
	animation: ld-pulse 1.8s ease-in-out infinite;
}

.ld-btn--outline {
	background: transparent;
	color: var(--ld-accent-bright);
	border: 1px solid rgba(201, 162, 39, 0.45);
	box-shadow: none;
}

.ld-btn--outline:hover:not(:disabled) {
	background: rgba(201, 162, 39, 0.08);
	filter: none;
}

.ld-btn--inline {
	display: inline-flex;
	width: auto;
	padding: 12px 22px;
}

.ld-hero__cta {
	margin: 20px 0 0;
}

.ld-fights {
	position: relative;
	z-index: 1;
	padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 48px) 48px;
	max-width: 1240px;
	margin: 0 auto;
	width: 100%;
}

.ld-body--fights {
	--ld-font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
	--ld-font-display: "Cinzel", Georgia, "Times New Roman", serif;
}

.ld-fights__hero {
	margin-bottom: clamp(24px, 4vw, 36px);
	padding-bottom: clamp(20px, 3vw, 28px);
	border-bottom: 1px solid rgba(201, 162, 39, 0.14);
	background:
		linear-gradient(180deg, rgba(201, 162, 39, 0.06) 0%, transparent 72%);
}

.ld-fights__live-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(224, 85, 85, 0.12);
	border: 1px solid rgba(224, 85, 85, 0.35);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #f0a0a0;
	margin-bottom: 14px;
}

.ld-fights__live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e05555;
	box-shadow: 0 0 8px rgba(224, 85, 85, 0.65);
	animation: ld-pulse 1.8s ease-in-out infinite;
}

.ld-fights__title {
	font-family: var(--ld-font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 12px;
	color: var(--ld-text);
	letter-spacing: 0.02em;
}

.ld-fights__title::after {
	content: "";
	display: block;
	width: min(120px, 28vw);
	height: 3px;
	margin-top: 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ld-accent-bright), rgba(201, 162, 39, 0.15));
}

.ld-fights__lead {
	margin: 0 0 18px;
	color: var(--ld-muted);
	max-width: 58ch;
	font-size: clamp(15px, 2vw, 17px);
	line-height: 1.55;
}

.ld-fights__status-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-bottom: 18px;
}

.ld-fights__status-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	color: var(--ld-muted);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(74, 59, 47, 0.75);
}

.ld-fights__status-pill b {
	color: var(--ld-accent-bright);
	font-weight: 700;
}

.ld-fights__filter {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 18px;
	padding: 5px;
	border-radius: var(--ld-radius-sm);
	background: linear-gradient(145deg, rgba(43, 34, 27, 0.96), rgba(22, 17, 13, 0.94));
	border: 1px solid var(--ld-panel-border);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 10px 28px rgba(0, 0, 0, 0.28);
}

.ld-fights__filter-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: transparent;
	color: var(--ld-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s, filter 0.15s, transform 0.15s;
	white-space: nowrap;
}

.ld-fights__filter-link::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
	opacity: 0.9;
}

.ld-fights__filter-link--all::before {
	background: var(--ld-accent-bright);
	box-shadow: 0 0 7px rgba(232, 197, 71, 0.55);
}

.ld-fights__filter-link--pvp::before {
	background: #e05555;
	box-shadow: 0 0 7px rgba(224, 85, 85, 0.6);
}

.ld-fights__filter-link--pve::before {
	background: #5aa0dc;
	box-shadow: 0 0 7px rgba(90, 160, 220, 0.55);
}

.ld-fights__filter-link:hover:not(.ld-fights__filter-link--active) {
	color: var(--ld-text);
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(74, 59, 47, 0.85);
}

.ld-fights__filter-link--active {
	color: #1a1410;
	font-weight: 700;
	background: linear-gradient(180deg, var(--ld-accent-bright) 0%, var(--ld-accent) 55%, var(--ld-accent-dim) 100%);
	border-color: rgba(232, 197, 71, 0.4);
	box-shadow:
		0 4px 16px rgba(201, 162, 39, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ld-fights__filter-link--active:hover {
	color: #1a1410;
	filter: brightness(1.05);
}

.ld-fights__filter-link--active:active {
	transform: translateY(1px);
}

.ld-fights__filter-label {
	font-family: var(--ld-font);
	letter-spacing: 0.01em;
}

.ld-fights__filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	background: rgba(0, 0, 0, 0.22);
	color: inherit;
}

.ld-fights__filter-link--active .ld-fights__filter-count {
	background: rgba(26, 20, 16, 0.16);
	color: #1a1410;
}

.ld-fights__refresh-note {
	font-size: 13px;
	color: var(--ld-muted);
	opacity: 0.9;
}

.ld-fights__empty {
	text-align: center;
	padding: clamp(40px, 8vw, 64px) 24px;
	border-radius: var(--ld-radius);
	background:
		linear-gradient(165deg, rgba(43, 34, 27, 0.96), rgba(22, 17, 13, 0.94));
	border: 1px solid var(--ld-panel-border);
	box-shadow: var(--ld-shadow);
}

.ld-fights__empty-icon {
	font-family: var(--ld-font-display);
	font-size: clamp(2rem, 6vw, 3rem);
	line-height: 1;
	color: var(--ld-accent-dim);
	margin-bottom: 12px;
	opacity: 0.75;
}

.ld-fights__empty-title {
	margin: 0 0 8px;
	font-family: var(--ld-font-display);
	font-size: clamp(1.25rem, 3vw, 1.5rem);
	color: var(--ld-text);
}

.ld-fights__empty-sub {
	margin: 0;
	color: var(--ld-muted);
	font-size: 14px;
}

.ld-fights__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: clamp(16px, 2.5vw, 22px);
}

.ld-fights__room {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background:
		linear-gradient(165deg, rgba(43, 34, 27, 0.96), rgba(22, 17, 13, 0.94));
	border: 1px solid var(--ld-panel-border);
	border-radius: var(--ld-radius);
	padding: 18px 18px 16px;
	box-shadow: var(--ld-shadow);
	transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
	animation: ld-fights-room-in 0.55s ease both;
	animation-delay: calc(var(--room-i, 0) * 60ms);
}

.ld-fights__room:hover {
	border-color: rgba(201, 162, 39, 0.55);
	transform: translateY(-3px);
	box-shadow:
		0 28px 64px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(201, 162, 39, 0.08);
}

.ld-fights__room-accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, rgba(201, 162, 39, 0.85), rgba(201, 162, 39, 0.15));
}

.ld-fights__room--pvp .ld-fights__room-accent {
	background: linear-gradient(90deg, rgba(224, 85, 85, 0.9), rgba(224, 85, 85, 0.12));
}

.ld-fights__room--pve .ld-fights__room-accent {
	background: linear-gradient(90deg, rgba(90, 160, 220, 0.9), rgba(90, 160, 220, 0.12));
}

.ld-fights__room-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-bottom: 10px;
}

.ld-fights__room-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #f0a0a0;
	background: rgba(224, 85, 85, 0.12);
	border: 1px solid rgba(224, 85, 85, 0.28);
}

.ld-fights__room-live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e05555;
	box-shadow: 0 0 8px rgba(224, 85, 85, 0.65);
	animation: ld-pulse 1.8s ease-in-out infinite;
}

.ld-fights__room-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 1 1 auto;
}

.ld-fights__room-time {
	margin-left: auto;
	font-size: 12px;
	color: var(--ld-muted);
	white-space: nowrap;
}

.ld-fights__room-title {
	margin: 0 0 12px;
	font-family: var(--ld-font-display);
	font-size: clamp(1.05rem, 2.2vw, 1.2rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--ld-accent-bright);
}

.ld-fights__room-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.ld-fights__chip {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 7px 10px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(74, 59, 47, 0.65);
}

.ld-fights__chip-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ld-muted);
}

.ld-fights__chip-value {
	font-size: 13px;
	font-weight: 700;
	color: var(--ld-text);
}

.ld-fights__tag {
	display: inline-block;
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: rgba(201, 162, 39, 0.18);
	color: var(--ld-accent-bright);
	vertical-align: middle;
}

.ld-fights__tag--great {
	background: rgba(224, 85, 85, 0.18);
	color: #f0a0a0;
}

.ld-fights__tag--pvp {
	background: rgba(224, 85, 85, 0.18);
	color: #f0a0a0;
}

.ld-fights__tag--pve {
	background: rgba(90, 160, 220, 0.18);
	color: #9ec8f0;
}

.ld-fights__tag--nr {
	background: rgba(201, 162, 39, 0.14);
	color: var(--ld-accent-bright);
}

.ld-fights__teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 10px;
	align-items: stretch;
	margin-bottom: 16px;
	flex: 1;
}

.ld-fights__team {
	padding: 10px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.16);
	border: 1px solid rgba(74, 59, 47, 0.55);
	min-width: 0;
}

.ld-fights__team-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.ld-fights__team--1 .ld-fights__team-label {
	color: #e08080;
}

.ld-fights__team--2 .ld-fights__team-label {
	color: #80a8e0;
}

.ld-fights__team-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.5;
}

.ld-fights__team-list li {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 2px 0;
}

.ld-fights__lvl {
	color: var(--ld-muted);
	font-size: 12px;
}

.ld-fights__more {
	color: var(--ld-muted);
	font-style: italic;
}

.ld-fights__watch-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s;
}

.ld-fights__watch-link:hover {
	color: var(--ld-accent-bright);
	text-decoration: underline;
}

.ld-fights__vs {
	align-self: center;
	font-family: var(--ld-font-display);
	font-size: 13px;
	font-weight: 700;
	color: var(--ld-accent-dim);
	padding-top: 18px;
}

.ld-fights__room-foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ld-fights__room-share {
	display: flex;
	justify-content: center;
}

@keyframes ld-fights-room-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ld-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.ld-fights__hero .ld-share {
	margin-top: 0;
}

.ld-share__label {
	font-size: 13px;
	color: var(--ld-muted);
}

.ld-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: var(--ld-radius-sm);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ld-share__btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.ld-share__btn--vk {
	color: #fff;
	background: #4c75a3;
	border-color: rgba(255, 255, 255, 0.12);
}

.ld-share__btn--vk:hover {
	background: #5a86b8;
	color: #fff;
}

.ld-share__btn--tg {
	color: #fff;
	background: #2aabee;
	border-color: rgba(255, 255, 255, 0.12);
}

.ld-share__btn--tg:hover {
	background: #3db8f5;
	color: #fff;
}

.ld-share--compact {
	margin-top: 0;
	gap: 6px;
}

.ld-share--compact .ld-share__btn {
	min-height: 34px;
	padding: 0 10px;
	font-size: 12px;
}

.ld-btn--room {
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 700;
}

.ld-btn--watch {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
}

.ld-fights__pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(24px, 4vw, 32px);
	padding: 10px 14px;
	border-radius: var(--ld-radius-sm);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(74, 59, 47, 0.65);
}

.ld-fights__pager-link {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 8px;
	color: var(--ld-accent-bright);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	border: 1px solid rgba(201, 162, 39, 0.25);
	background: rgba(201, 162, 39, 0.08);
	transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.ld-fights__pager-link:hover {
	text-decoration: none;
	background: rgba(201, 162, 39, 0.14);
	border-color: rgba(201, 162, 39, 0.45);
	transform: translateY(-1px);
}

.ld-fights__pager-info {
	color: var(--ld-muted);
	font-size: 14px;
	font-weight: 600;
	min-width: 4.5rem;
	text-align: center;
}

.ld-page--watch {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.ld-header--watch {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(15, 12, 10, 0.92);
	backdrop-filter: blur(8px);
}

.ld-watch {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 12px clamp(12px, 3vw, 32px) 20px;
	min-height: 0;
}

.ld-watch__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	padding: 8px 0 12px;
	font-size: 14px;
	color: var(--ld-muted);
}

.ld-watch__bar b {
	color: var(--ld-text);
}

.ld-watch__refresh {
	font-size: 13px;
	opacity: 0.85;
}

.ld-watch__popup {
	margin-left: auto;
	color: var(--ld-accent-bright);
	text-decoration: none;
	font-size: 13px;
}

.ld-watch__popup:hover {
	text-decoration: underline;
}

.ld-watch__frame-wrap {
	flex: 1;
	min-height: 420px;
	border-radius: var(--ld-radius-sm);
	overflow: hidden;
	border: 1px solid var(--ld-panel-border);
	background: #1a1410;
}

.ld-watch__frame {
	display: block;
	width: 100%;
	height: min(78vh, 900px);
	min-height: 420px;
	border: 0;
	background: #fff;
}

.ld-watch__hint {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--ld-muted);
	text-align: center;
}

.ld-watch__status {
	font-size: 13px;
	font-weight: 700;
	color: var(--ld-muted);
}

.ld-watch__status--live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #f0a0a0;
}

@keyframes ld-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.55; transform: scale(0.92); }
}

@media (max-width: 960px) {
	.ld-nav__link--live {
		display: inline-flex;
	}

	.ld-fights__filter {
		display: flex;
		width: 100%;
	}

	.ld-fights__filter-link {
		flex: 1 1 0;
		justify-content: center;
		padding: 11px 10px;
	}

	.ld-fights__status-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.ld-fights__teams {
		grid-template-columns: 1fr;
	}

	.ld-fights__vs {
		padding: 0;
		text-align: center;
	}

	.ld-fights__room-time {
		margin-left: 0;
		width: 100%;
	}

	.ld-watch__popup {
		margin-left: 0;
		width: 100%;
	}
}

@media (max-width: 520px) {
	.ld-fights__filter-link {
		flex-direction: column;
		gap: 4px;
		padding: 10px 8px;
		font-size: 13px;
	}

	.ld-fights__filter-link::before {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ld-ember,
	.ld-hero__badge-dot,
	.ld-fights__live-dot,
	.ld-nav__link--live::before,
	.ld-fights__room-live-dot,
	.ld-fights__room {
		animation: none;
	}

	html {
		scroll-behavior: auto;
	}
}
