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

:root {
    --bg:         #1a1c1d;
    --bg-card:    #181a1b;
    --bg-deeper:  #141618;
    --bg-filter:  #111315;
    --border:     rgba(255,255,255,0.06);
    --border-md:  rgba(255,255,255,0.08);
    --text:       #ffffff;
    --text-muted: rgba(255,255,255,0.45);
    --text-dim:   rgba(255,255,255,0.28);
    --accent:     #c4461a;
    --accent-glow:#ff6030;
    --font-display:'Teko', 'Arial Narrow', sans-serif;
    --font-body:   'Rajdhani', 'Segoe UI', sans-serif;

    --scrollbar-track: #0a0a09;
    --scrollbar-thumb: #aa4735;
    --scrollbar-thumb-hover: #c45642;
    --scrollbar-size: 7px;
}

@supports not selector(::-webkit-scrollbar) {
    html,
    *,
    *::before,
    *::after {
        scrollbar-width: thin;
        scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    }
}

*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-track-piece {
    background: var(--scrollbar-track);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

*::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:active {
    background-color: var(--scrollbar-thumb-hover);
}

*::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-button,
*::-webkit-scrollbar-button:single-button,
*::-webkit-scrollbar-button:double-button,
*::-webkit-scrollbar-button:vertical:start:decrement,
*::-webkit-scrollbar-button:vertical:end:increment,
*::-webkit-scrollbar-button:horizontal:start:decrement,
*::-webkit-scrollbar-button:horizontal:end:increment {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border: none !important;
}
html {
    font-size: 16px;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 500;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body.site-has-bg-video {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background: #0a0a0c;
}

html:has(body.site-home),
body.site-home {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}
body.site-home {
    display: flex;
    flex-direction: column;
}
body.site-home .site-page {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
body.site-home .site-nav {
    flex-shrink: 0;
}

body.site-app-page {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    background: #1a1c1d;
}
body.site-app-page .site-page {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
body.site-app-page .site-nav {
    flex-shrink: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.site-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    display: block;
    border: 0;
}
.site-bg-video--deferred {
	opacity: 0;
	animation: site-bg-video-fade-in 0.8s ease forwards;
}

@keyframes site-bg-video-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-bg-video--deferred {
		animation: none;
		opacity: 1;
	}
}

.site-bg-dim {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.45);
}

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

.home-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    color: #fff;
}
.home-main__section {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    align-self: stretch;
    padding: 1.5rem 1.25rem 2rem;
    z-index: 1;
}
.home-main__top {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}
.home-main__bottom {
    display: flex;
    margin-top: auto;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 1.5rem;
}
body.site-home .home-feature-card {
    order: -1;
}
@media (max-width: 1024px) {
    .home-main__section { padding: 1.25rem 1rem 2rem; }
    .home-main__bottom { flex-direction: column; align-items: stretch; gap: 1rem; }
    body.site-home .home-feature-card {
        order: 0;
        width: 100%;
        max-width: none;
    }
    body.site-home .home-feature-card__video {
        display: none;
    }
    body.site-home .home-hero-wrap {
        flex: 0 0 auto;
        justify-content: flex-start;
    }
}

.play-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: #121416;
    color: #fff;
}
.play-main #server-browser {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.store-app {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: #121314;
    color: #fff;
}

.site-nav {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(32, 36, 42, 0.48);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}
.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 0.5rem;
    height: 64px;
    padding: 0 2rem;
    width: 100%;
}
.nav-start {
    display: flex;
    align-items: center;
    align-self: center;
    justify-self: start;
    min-width: 0;
}
.nav-end {
    display: flex;
    align-items: center;
    align-self: center;
    justify-self: end;
    min-width: 0;
}
.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-right: 0.35rem;
}
.nav-logo__glow {
    position: absolute;
    inset: -4px -8px -2px -8px;
    background: linear-gradient(
        0deg,
        rgba(220, 75, 45, 0.62) 0%,
        rgba(220, 75, 45, 0.28) 45%,
        rgba(220, 85, 50, 0.04) 100%
    );
    border-radius: 2px;
    pointer-events: none;
    z-index: 0;
}
.nav-logo img {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(220, 75, 45, 0.45));
}
.nav-menu {
    display: flex;
    align-items: stretch;
    justify-content: center;
    align-self: stretch;
    gap: 0;
    justify-self: center;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }

.nav-menu-toggle,
.nav-drawer-backdrop,
.nav-drawer {
	display: none;
}
.nav-menu-toggle {
	appearance: none;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	background: rgba(10, 11, 13, 0.72);
	color: #fff;
	cursor: pointer;
	flex-shrink: 0;
}
.nav-menu-toggle__bars {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 18px;
}
.nav-menu-toggle__bars span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.18s ease, opacity 0.18s ease;
}
.site-nav--menu-open .nav-menu-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.site-nav--menu-open .nav-menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}
.site-nav--menu-open .nav-menu-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}
.nav-menu-toggle__label,
.a-mobile-nav-toggle__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.nav-drawer-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 300;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.62);
	cursor: pointer;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	height: -webkit-fill-available;
}
.nav-drawer {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 301;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	height: -webkit-fill-available;
	max-height: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	background: #121418;
	border-bottom: none;
	box-shadow: none;
	padding: calc(var(--site-nav-height, 64px) + 0.35rem) 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
}
.nav-drawer .nav-item {
	display: flex;
	align-self: auto;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 0 1.15rem;
	justify-content: flex-start;
}
.nav-drawer .nav-item__label {
	display: inline;
	font-size: 0.78rem;
}
html.site-nav-lock,
html.site-nav-lock body,
body.site-nav-open {
	overflow: hidden;
	overscroll-behavior: none;
}
html.site-nav-lock,
html.site-nav-lock body {
	touch-action: none;
}
.nav-drawer {
	touch-action: pan-y;
}
body.site-nav-open .site-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	background: #121418;
	z-index: 302;
	border-bottom-color: rgba(255, 255, 255, 0.08);
	padding-top: env(safe-area-inset-top, 0px);
}
body.site-nav-open .nav-drawer {
	padding-top: calc(var(--site-nav-height, 64px) + env(safe-area-inset-top, 0px) + 0.35rem);
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    gap: 0.45rem;
    padding: 0 1.5rem;
    min-width: 6.25rem;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.12s ease;
    z-index: 0;
}
.nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: transparent;
    pointer-events: none;
    transition: background 0.12s ease;
}
.nav-item__icon {
    flex-shrink: 0;
    display: block;
    width: 17px;
    height: 17px;
    transform: translateY(-0.12em);
    opacity: 0.85;
    transition: opacity 0.12s ease;
}
.nav-item__icon--store {
    width: 18px;
    height: 18px;
}
.nav-item__play-cutout {
    fill: currentColor;
}
.nav-item__label {
    line-height: 1;
}
.nav-item:hover .nav-item__icon,
.nav-item--active .nav-item__icon {
    opacity: 1;
}
.nav-drawer .nav-item {
    gap: 0.7rem;
}
.nav-drawer .nav-item__icon {
    width: 18px;
    height: 18px;
}
.nav-drawer .nav-item__icon--store {
    width: 19px;
    height: 19px;
}
.nav-item:hover {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}
.nav-item:hover:not(.nav-item--active)::before {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.03) 50%,
        transparent 100%
    );
}
.nav-item--highlight {
    color: #2fde88;
}
.nav-item--highlight:hover {
    color: #4af0a0;
}
.nav-item--active {
    color: #fff;
}
.nav-item--active::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        0deg,
        rgba(220, 75, 45, 0.62) 0%,
        rgba(220, 75, 45, 0.28) 45%,
        rgba(220, 85, 50, 0.04) 100%
    );
    border-radius: 0;
    pointer-events: none;
}
.nav-item__badge,
.nav-chip__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e34d3e;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}
.nav-item .nav-item__badge {
    top: -2px;
    right: -4px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    margin-left: auto;
}
.nav-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 40px;
    padding: 0;
    border: none;
    background: rgba(10, 11, 13, 0.82);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
    flex-shrink: 0;
}
.nav-chip:hover {
    background: rgba(18, 20, 24, 0.95);
    color: #fff;
    text-decoration: none;
}
.nav-chip--icon {
    width: 40px;
}
.nav-chip--btn {
    padding: 0 0.95rem;
}
.nav-chip--btn .nav-item__icon {
    width: 18px;
    height: 18px;
}
.nav-profile-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 40px;
    padding: 0 1.15rem;
    background: #212121;
    border: none;
    border-radius: 0;
    color: #b5b5b5;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    transition: background 0.12s ease, color 0.12s ease;
}
.nav-signin__icon {
    flex-shrink: 0;
    display: block;
    width: 22px;
    height: 22px;
}
.nav-signin:hover {
    background: #2a2a2a;
    color: #c8c8c8;
    text-decoration: none;
}
button.nav-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 40px;
    padding: 0 1rem 0 0.55rem;
    border: none;
    border-radius: 0;
    background: #212121;
    color: #b5b5b5;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.12s ease, color 0.12s ease;
}
button.nav-profile:hover {
    background: #2a2a2a;
    color: #c8c8c8;
}
button.nav-profile:hover .nav-profile-caret {
    color: #c8c8c8;
}
.nav-profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
}
.nav-profile-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(220, 75, 45, 0.35);
    font-weight: 700;
    font-size: 0.75rem;
}
.nav-profile-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .nav-profile-name { display: none; }
    button.nav-profile {
        padding: 0 0.55rem;
        gap: 0.35rem;
    }
}
.nav-profile-caret {
    color: #8a8a8a;
    transition: transform 0.18s ease, color 0.18s;
    flex-shrink: 0;
}
.nav-profile-wrap[data-open="true"] .nav-profile-caret {
    transform: rotate(180deg);
    color: #c8c8c8;
}
.nav-profile-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: var(--bg-deeper);
    border: 1px solid var(--border-md);
    border-radius: 0;
    padding: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    z-index: 120;
    display: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.14s ease, transform 0.14s ease;
}
.nav-profile-wrap[data-open="true"] .nav-profile-menu {
    display: block;
}
.nav-profile-wrap[data-open="true"] .nav-profile-menu.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.nav-profile-menu-divider {
    height: 1px;
    margin: 4px 6px;
    background: var(--border-md);
}
.nav-profile-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    height: 38px;
    padding: 0 12px;
    border-radius: 0;
    color: #b5b5b5;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.12s ease, background 0.12s ease;
    z-index: 0;
}
.nav-profile-menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(
        0deg,
        rgba(220, 75, 45, 0.62) 0%,
        rgba(220, 75, 45, 0.28) 45%,
        rgba(220, 85, 50, 0.04) 100%
    );
    transition: opacity 0.12s ease;
    pointer-events: none;
}
.nav-profile-menu-item:hover {
    color: #fff;
    text-decoration: none;
}
.nav-profile-menu-item:hover::before {
    opacity: 1;
}
.nav-profile-menu-item > svg {
    flex-shrink: 0;
    color: var(--accent);
    opacity: 0.9;
}
.nav-profile-menu-label {
    line-height: 1;
}
.nav-profile-menu-item--admin {
    color: #f5c842;
}
.nav-profile-menu-item--admin > svg {
    color: #f5c842;
}
.nav-profile-menu-item--admin::before {
    background: linear-gradient(
        0deg,
        rgba(245, 200, 66, 0.55) 0%,
        rgba(245, 200, 66, 0.22) 45%,
        rgba(245, 200, 66, 0.04) 100%
    );
}
.nav-profile-menu-item--admin:hover {
    color: #ffe97a;
}
.nav-profile-menu-item--admin:hover > svg {
    color: #ffe97a;
}
.nav-profile-menu-item--signout:hover {
    color: #ffb09a;
}
.nav-profile-menu-item--signout > svg {
    color: rgba(255, 120, 90, 0.85);
}
@media (max-width: 1100px) {
    .nav-item__label { font-size: 0.72rem; letter-spacing: 0.08em; }
    .nav-item { padding: 0 1rem; min-width: 5rem; gap: 0.35rem; }
    .nav-chip--btn span:not(.nav-chip__badge) { display: none; }
    .nav-chip--btn { width: 40px; padding: 0; }
}

@media (max-width: 768px) {
    :root {
        --site-nav-height: 56px;
    }
    .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        height: 56px;
        padding: 0 1.25rem;
    }
    .nav-start {
        gap: 0.35rem;
        min-width: 0;
    }
    .nav-menu-toggle {
        display: inline-flex;
    }
    .nav-menu--desktop {
        display: none;
    }
    .nav-drawer-backdrop.is-open {
        display: block;
    }
    .nav-drawer.is-open {
        display: block;
    }
    .nav-logo {
        width: 50px;
        height: 50px;
        margin-right: 0;
    }
    .nav-logo img {
        width: 46px;
        height: 46px;
    }
    .nav-signin__label {
        display: none;
    }
    .nav-signin {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .nav-inner { padding: 0 1rem; height: 56px; }
}

.page-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.lb-app-shell > .page-body {
    flex: none;
    min-height: auto;
    overflow-x: clip;
    overflow-y: visible;
}
.lb-app-shell--heatmap > .page-body.lb-heatmap-page {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
.lb-app-shell .container--lb {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 24px clamp(16px, 2.5vw, 40px) 48px;
    box-sizing: border-box;
    min-width: 0;
}
.lb-app-shell .container--lb .lb-top-three {
    width: 100%;
    box-sizing: border-box;
}
.lb-app-shell .container--lb .lb-table-scroll {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--bg-filter);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 120;
    overflow: visible;
}
.filter-bar:has(.sb-sort--open) {
    z-index: 130;
}
.filter-bar__server,
.filter-bar__wipe {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 30;
    overflow: visible;
}
.filter-bar__server:has(.sb-sort--open),
.filter-bar__wipe:has(.sb-sort--open) {
    z-index: 40;
}
.filter-bar__wipe {
    margin-left: auto;
}
.filter-bar__server .sb-sort {
    width: fit-content;
    max-width: min(360px, 48vw);
}
.filter-bar__wipe .sb-sort {
    min-width: 168px;
}
.filter-bar__server .sb-sort__trigger,
.filter-bar__wipe .sb-sort__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    color: #fff;
    max-width: 100%;
}
.filter-bar__server .sb-sort__trigger {
    width: 100%;
    padding: 0 12px;
}
.filter-bar__server .sb-sort__trigger:hover:not(:disabled),
.filter-bar__server .sb-sort--open .sb-sort__trigger,
.filter-bar__wipe .sb-sort__trigger:hover:not(:disabled),
.filter-bar__wipe .sb-sort--open .sb-sort__trigger {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.09);
}
.filter-bar__server .sb-toolbar-label,
.filter-bar__wipe .sb-toolbar-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
}
.filter-bar__server .sb-toolbar-label {
    font-size: 10px;
}
.filter-bar__server .sb-sort__field,
.filter-bar__wipe .sb-sort__field {
    min-width: 0;
    padding-right: 14px;
}
.filter-bar__server .sb-sort__value,
.filter-bar__server .sb-sort__value--normal,
.filter-bar__wipe .sb-sort__value,
.filter-bar__wipe .sb-sort__value--normal {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #fff;
    white-space: nowrap;
}
.filter-bar__server .sb-sort__value,
.filter-bar__server .sb-sort__value--normal {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
    font-size: 14px;
}
.filter-bar__wipe .sb-sort__value--placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}
.filter-bar__wipe .sb-sort--disabled .sb-sort__trigger {
    cursor: not-allowed;
    opacity: 0.65;
}
.filter-bar__server .sb-sort__menu {
    left: 0;
    right: auto;
    min-width: max(100%, 280px);
    max-width: min(480px, 92vw);
    max-height: min(60vh, 420px);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 400;
}
.filter-bar__wipe .sb-sort__menu {
    min-width: 100%;
    z-index: 400;
}

.lb-app-shell .page-body:has(.filter-bar .sb-sort--open) {
    overflow: visible;
}
.filter-bar__server .sb-sort__option,
.filter-bar__wipe .sb-sort__option {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 11px;
    font-weight: 600;
}
.filter-bar__server .sb-sort__option {
    white-space: normal;
    line-height: 1.35;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
}
.filter-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.12);
    margin: 0;
    flex-shrink: 0;
}
.pill {
    padding: 3px 11px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 2px;
    flex-shrink: 0;
    transition: background 0.12s, color 0.12s;
}
.filter-bar .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 34px;
    padding: 0 14px;
}
.pill--inactive {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.55);
    border: 1px solid transparent;
}
.pill--inactive:hover { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.80); }
.pill--active {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent-glow);
}
.pill--test { color: rgba(255,255,255,0.25); }

.cat-bar {
    display: flex;
    align-items: stretch;
    background: var(--bg-deeper);
    border-bottom: 1px solid var(--border-md);
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cat-bar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.cat-tab {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    height: 46px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.34);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.12s, background 0.12s;
}
.cat-tab:hover { color: rgba(255,255,255,0.70); background: rgba(255,255,255,0.04); }
.cat-tab--active {
    color: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.35);
}
.cat-icon { width: 15px; height: 15px; flex-shrink: 0; }

.search-wrap { display: flex; align-items: center; margin-left: auto; padding: 0 12px; }
.search-form { position: relative; }
.search-input {
    height: 30px;
    width: 220px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 0 12px 0 32px;
    font-size: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    outline: none;
    border-radius: 2px;
}
.search-input::placeholder { color: rgba(255,255,255,0.30); }
.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: rgba(255,255,255,0.30);
}

.lb-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 6px;
}
.player-rank-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 5px 11px 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 3px solid rgba(255, 255, 255, 0.22);
    border-radius: 2px;
    flex-shrink: 0;
}
.player-rank-chip__label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.36);
    line-height: 1.2;
}
.player-rank-chip__num {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
}
.lb-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}
.lb-subtitle {
    margin: 0 0 36px;
    font-size: 13px;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.5;
}

.lb-top-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.lb-top-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 118px;
    padding: 18px 18px 18px 20px;
    background: linear-gradient(145deg, rgba(36, 40, 46, 0.95) 0%, rgba(24, 26, 30, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.lb-top-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.lb-top-card--rank-1 {
    border-color: rgba(212, 175, 55, 0.28);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08), 0 10px 32px rgba(0, 0, 0, 0.28);
}
.lb-top-card--rank-1:hover {
    border-color: rgba(212, 175, 55, 0.42);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12), 0 12px 36px rgba(0, 0, 0, 0.38);
}
.lb-top-card__rank-tag {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 5px 34px 5px 12px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #141414;
    line-height: 1;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.lb-top-card__identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 96px;
    flex-shrink: 0;
    padding-top: 6px;
}
.lb-top-card__badge {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
}
.lb-top-card--rank-1 .lb-top-card__badge {
    width: 64px;
    height: 64px;
    font-size: 17px;
}
.lb-top-card__name {
    width: 100%;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.lb-top-card__subtitle {
    width: 100%;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-top-card__stats {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    padding-top: 4px;
}
.lb-top-card__stat-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.36);
    margin-bottom: 3px;
}
.lb-top-card__stat-value {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-top-card--rank-1 .lb-top-card__stat-value {
    font-size: 24px;
}

.podium { display: flex; gap: 16px; margin-bottom: 40px; padding-top: 14px; }
.podium-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 22px 18px 20px;
    position: relative;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-align: center;
    display: block;
}
.podium-card--first { padding: 28px 20px 24px; transform: translateY(-10px); }
.podium-card:hover { border-color: rgba(255,255,255,0.15); }
.podium-rank {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.02em;
}
.podium-avatar { display: flex; justify-content: center; margin: 10px 0 14px; }
.podium-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.podium-server {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.30);
    margin-top: 4px;
}
.podium-stat-wrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.podium-stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.02em;
}
.podium-card--first .podium-stat-value { font-size: 36px; }
.podium-stat-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
}

.avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: var(--avatar-size, 40px);
    height: var(--avatar-size, 40px);
}
.avatar-wrap .avatar,
.avatar-wrap .avatar-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.avatar {
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.avatar-placeholder {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}

.lb-table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.lb-table-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.lb-stat-category-scroll {
    background: transparent;
    border: none;
    overflow: visible;
}
.lb-stat-category-sticky-head {
    position: sticky;
    top: 0;
    z-index: 90;
    width: 100%;
    background: transparent;
    border: none;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    box-sizing: border-box;
    box-shadow: none;
}
.lb-table-x-scroll--header {
    overflow-x: hidden;
    overflow-y: visible;
}
.lb-table-x-scroll--body {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.lb-stat-category-scroll .lb-table-x-scroll--body::-webkit-scrollbar {
    display: none;
}
.lb-metric-scrollbar-dock {
    position: fixed;
    bottom: 0;
    z-index: 88;
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.lb-metric-scrollbar-dock .lb-metric-scrollbar {
    overflow-x: auto;
    overflow-y: hidden;
    min-height: var(--scrollbar-size);
    -webkit-overflow-scrolling: touch;
    background: #1c1e20;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.lb-metric-scrollbar__inner {
    height: 1px;
}
.lb-stat-category-scroll .lb-stat-category-sticky-head .lb-table-header.lb-stat-category-header,
.lb-stat-category-scroll .lb-table-inner {
    width: var(--lb-table-min-width, 920px);
    min-width: max(100%, var(--lb-table-min-width, 920px));
    max-width: none;
    box-sizing: border-box;
}
.lb-stat-category-scroll .lb-table-body {
    width: 100%;
    box-sizing: border-box;
    background: #1c1e20;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}
.lb-stat-category-scroll .lb-table-header {
    background: #1a1b1c;
    border: none;
    padding: 10px 0 10px 18px;
    margin: 0;
}
.lb-stat-category-scroll .lb-stat-category-row {
    background: #1c1e20;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0 12px 18px;
}
.lb-stat-category-scroll .lb-stat-category-row:hover {
    background: #232527;
}
.lb-app-shell .lb-stat-category-scroll .lb-table-body .lb-stat-category-row:nth-child(even) {
    background: #1f2123;
}
.lb-app-shell .lb-stat-category-scroll .lb-table-body .lb-stat-category-row:nth-child(even):hover {
    background: #232527;
}
.lb-stat-category-scroll .lb-col-sticky {
    position: sticky;
    z-index: 2;
}
.lb-stat-category-scroll .lb-table-header .lb-col-sticky {
    z-index: 4;
    background: #1a1b1c;
    align-self: stretch;
    display: flex;
    align-items: center;
}
.lb-stat-category-scroll .lb-col-sticky--rank {
    left: 0;
}
.lb-stat-category-scroll .lb-col-sticky--player {
    left: var(--lb-sticky-player-left, 52px);
}
.lb-stat-category-scroll .lb-col-sticky--server {
    left: var(--lb-sticky-server-left, 272px);
}

.lb-stat-category-scroll .lb-stat-category-row .lb-col-sticky {
    align-self: stretch;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-block: -12px;
    padding-block: 12px;
    background-color: #1c1e20;
    transition: background-color 0.10s;
}
.lb-stat-category-scroll .lb-stat-category-row .lb-col-sticky--rank {
    margin-left: -18px;
    padding-left: 18px;
}
.lb-app-shell .lb-stat-category-scroll .lb-table-body .lb-stat-category-row:nth-child(even) .lb-col-sticky {
    background-color: #1f2123;
}
.lb-stat-category-scroll .lb-stat-category-row:hover .lb-col-sticky,
.lb-app-shell .lb-stat-category-scroll .lb-table-body .lb-stat-category-row:nth-child(even):hover .lb-col-sticky {
    background-color: #232527;
}

.lb-app-shell .container--lb > .lb-table-scroll:not(.lb-stat-category-scroll) {
    overflow-x: auto;
    overflow-y: visible;
}
.lb-app-shell .container--lb > .lb-table-scroll:not(.lb-stat-category-scroll) > .lb-table-header {
    position: sticky;
    top: 0;
    z-index: 8;
    box-shadow: 0 1px 0 var(--border);
}
.lb-app-shell .lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-col-sticky {
    z-index: 91;
}
.lb-app-shell .lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-metric-head {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    letter-spacing: 0.06em;
    padding: 0 5px;
    margin: 0;
    cursor: grab;
    touch-action: pan-x pan-y;
}
.lb-stat-category-scroll .lb-metric-cell {
    cursor: grab;
    touch-action: pan-x pan-y;
}
.lb-stat-category-scroll.is-metric-dragging .lb-metric-head,
.lb-stat-category-scroll.is-metric-dragging .lb-metric-cell {
    cursor: grabbing;
}
.lb-stat-category-scroll.is-metric-dragging {
    user-select: none;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header {
    align-items: center;
    letter-spacing: 0.05em;
    position: relative;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 10;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-header-sticky-group {
    position: sticky;
    left: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
    background: #1a1b1c;
    margin-left: -18px;
    padding-left: 18px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #bab1a8;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-header-sticky-group__rank {
    justify-self: center;
    text-align: center;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-header-sticky-group__entity {
    justify-self: start;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-header-sticky-group__server {
    justify-self: start;
    text-align: left;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-metric-head {
    color: #bab1a8;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-metric-head:hover,
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header .lb-metric-head.is-active {
    color: #e4dad1;
}
.lb-table-header {
    display: grid;
    padding: 10px 18px;
    background: var(--bg-deeper);
    border-bottom: 1px solid var(--border);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}
.lb-table-header.lb-stat-category-header {
    width: var(--lb-table-min-width, 920px);
    min-width: max(100%, var(--lb-table-min-width, 920px));
}
.lb-table-header > span:not(.lb-metric-head) {
    display: flex;
    align-items: center;
}
.lb-table-header.lb-table--all-servers,
.lb-row.lb-table--all-servers {
    grid-template-columns:
        52px minmax(160px, 1.4fr) var(--lb-server-col-width, minmax(100px, 130px))
        repeat(8, minmax(64px, 1fr));
}
.lb-table-header.lb-table--single-server,
.lb-row.lb-table--single-server {
    grid-template-columns:
        52px minmax(180px, 1.6fr)
        repeat(8, minmax(64px, 1fr));
}
.lb-table-header.lb-table--teams.lb-table--all-servers,
.lb-row.lb-table--teams.lb-table--all-servers {
    grid-template-columns:
        52px minmax(160px, 1.4fr) var(--lb-server-col-width, minmax(100px, 130px))
        repeat(8, minmax(64px, 1fr));
}
.lb-table-header.lb-table--teams.lb-table--single-server,
.lb-row.lb-table--teams.lb-table--single-server {
    grid-template-columns:
        52px minmax(180px, 1.6fr)
        repeat(8, minmax(64px, 1fr));
}
.lb-table-header.lb-table--member,
.lb-row.lb-table--member {
    grid-template-columns:
        minmax(180px, 1.6fr) 90px
        repeat(8, minmax(64px, 1fr));
    min-width: 880px;
}
.lb-table-header.lb-table--teams.lb-table--single-server.lb-table--member,
.lb-row.lb-table--teams.lb-table--single-server.lb-table--member,
.lb-table-header.lb-table--teams.lb-table--all-servers.lb-table--member,
.lb-row.lb-table--teams.lb-table--all-servers.lb-table--member {
    grid-template-columns:
        minmax(180px, 1.6fr) 90px
        repeat(8, minmax(64px, 1fr));
    min-width: 880px;
}
.lb-metric-head,
.lb-metric-cell {
    text-align: right;
}
.lb-metric-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    min-height: 100%;
    padding: 4px 6px;
    margin: -4px -6px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: color 0.12s;
}
.lb-metric-head:hover {
    color: rgba(255, 255, 255, 0.62);
}
.lb-metric-head.is-active {
    color: rgba(255, 255, 255, 0.78);
}
.lb-metric-head .lb-sort-arrow,
.lb-metric-head .lb-metric-head__sort.is-visible {
    font-size: 11px;
    opacity: 0.85;
}
.lb-metric-cell {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
}
.lb-stat-table-header {
    display: grid;
    padding: 10px 18px;
    background: var(--bg-deeper);
    border: 1px solid rgba(255,255,255,0.05);
    border-bottom: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    min-width: 720px;
}
.lb-stat-table-header > span:first-child {
    text-align: left;
}
.lb-stat-table-body {
    min-width: 720px;
}
.lb-stat-table-row {
    display: grid;
    padding: 11px 18px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.10s;
    text-decoration: none;
    color: inherit;
}
.lb-stat-table-row:hover {
    background: rgba(255,255,255,0.04);
}
.lb-stat-table-row:last-child {
    border-bottom: none;
}
.lb-stat-table-user {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lb-app-shell .lb-stat-category-scroll .lb-table-header.lb-stat-category-header > span:not(.lb-metric-head) {
    color: #bab1a8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.lb-table-header.lb-stat-category-header > span:not(.lb-metric-head) {
    display: flex;
    align-items: center;
}
.lb-stat-category-row {
    text-decoration: none;
    color: inherit;
}
.lb-clan-tag-badge {
    flex-shrink: 0;
    min-width: 40px;
    padding: 4px 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}
.lb-table-rank-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-table-rank {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
.lb-table-rank--1 { color: #e8c96a; }
.lb-table-rank--2 { color: #d4d4d4; }
.lb-table-rank--3 { color: #d4a574; }
.lb-table-rank--muted {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.22);
}

.lb-table-body {
    background: #1c1e20;
    border: 1px solid rgba(255,255,255,0.05);
    border-top: none;
    width: 100%;
    box-sizing: border-box;
}
.lb-row {
    display: grid;
    padding: 12px 18px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.10s;
    width: 100%;
    box-sizing: border-box;
}
.lb-row:hover:not(.lb-stat-category-row) { background: rgba(255,255,255,0.04); }
.lb-app-shell .lb-table-body .lb-row:nth-child(even):not(.lb-stat-category-row) {
    background: rgba(255, 255, 255, 0.018);
}
.lb-app-shell .lb-table-body .lb-row:nth-child(even):not(.lb-stat-category-row):hover {
    background: rgba(255, 255, 255, 0.05);
}
.lb-row:last-child { border-bottom: none; }
.lb-row--static {
    cursor: default;
    pointer-events: auto;
}
.lb-row--static:hover { background: transparent; }
.player-hero-wrap { margin-bottom: 32px; }
.player-hero.lb-row {
    grid-template-columns: minmax(0, 1fr) auto;
}
.player-hero { padding: 16px 18px; align-items: center; }
.player-hero .lb-player-cell { flex: 1 1 auto; }
.player-hero-kd { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.player-hero-kd .player-kd-value { font-size: 42px; }
.lb-rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: #000;
}
.lb-rank-num {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.38);
    padding-left: 4px;
}
.lb-player-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lb-player-name {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-player-sub {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.28);
    margin-top: 2px;
}
.lb-server-cell {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.50);
    text-align: left;
    justify-content: flex-start;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lb-stat-category-scroll .lb-stat-category-row .lb-col-sticky--server {
    justify-content: flex-start;
    text-align: left;
    min-width: 0;
    overflow: hidden;
}
.lb-stat-category-scroll .lb-table-header.lb-stat-category-header {
    padding: 8px 0 8px 18px;
}
.lb-stat-cell {
    text-align: right;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.player-hero .lb-stat-cell,
.player-hero-kd .player-kd-value {
    font-family: var(--font-display);
}
.lb-empty {
    padding: 60px 0;
    text-align: center;
    color: rgba(255,255,255,0.25);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.lb-footnote {
    margin-top: 20px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    font-size: 11px;
    color: rgba(255,255,255,0.40);
    line-height: 1.6;
}

.stat-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 12px;
}
.stat-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
.stat-grid-resources {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.stat-grid-weapons {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.expandable-stat-grid-wrap {
    position: relative;
}
.expandable-stat-grid-wrap.is-collapsed .stat-grid-resources,
.expandable-stat-grid-wrap.is-collapsed .stat-grid-weapons {
    overflow: hidden;
}
.expandable-stat-grid-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 92px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 12, 16, 0.75) 45%,
        rgba(10, 12, 16, 0.96) 100%
    );
}
.expandable-stat-grid-toggle {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.expandable-stat-grid-toggle.is-below {
    position: static;
    transform: none;
    display: flex;
    margin: 14px auto 0;
    box-shadow: none;
}
.expandable-stat-grid-wrap.is-collapsed {
    padding-bottom: 8px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.stat-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.stat-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.stat-card-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
}
.stat-card-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.02em;
    margin-top: 4px;
}
.stat-card-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
button.stat-card {
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
.stat-card--clickable {
    transition: border-color 0.15s, background 0.15s;
}
.stat-card--clickable:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
}

.icon-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.15s;
}
.icon-card--dim { opacity: 0.42; }
button.icon-card {
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
.icon-card--clickable:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
}
.icon-card-hint {
    color: rgba(255, 255, 255, 0.28);
}
.icon-card-img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.icon-card-img img { width: 100%; height: 100%; object-fit: contain; }
.icon-card-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.icon-card-value-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 3px;
}
.icon-card-value-row--solo .icon-card-value {
    margin-top: 0;
}
.icon-card-value-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.34);
    line-height: 1;
    flex-shrink: 0;
}
.icon-card-value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.02em;
}
.icon-card-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    line-height: 1.35;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    margin-top: 32px;
    justify-content: space-between;
}
.lb-app-shell .section-title {
    margin-bottom: 0;
}
.section-title-text {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}
.section-title-right {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.section-title-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.section-title-action {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
}
.crafted-section-empty {
    margin: 0;
    padding: 18px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    background: var(--bg-card);
    border: 1px solid var(--border);
    line-height: 1.55;
}
.crafted-section-empty-link {
    border: 0;
    padding: 0;
    background: none;
    color: rgba(255, 255, 255, 0.82);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.crafted-section-empty-link:hover {
    color: #fff;
}
.crafted-catalog-modal {
    width: min(920px, 100%);
    max-height: min(86vh, 820px);
}
.ammo-fired-card--dim {
    opacity: 0.42;
}
.ammo-fired-card--dim .ammo-fired-card-value {
    color: rgba(255, 255, 255, 0.35);
}

.player-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(208,80,40,0.08) 0%, var(--bg-card) 60%);
    border: 1px solid var(--border-md);
    margin-bottom: 30px;
}
.player-header-avatar {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.10);
    flex-shrink: 0;
}
.player-header-avatar-ph {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.10);
    flex-shrink: 0;
    background: #2a2c2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: rgba(255,255,255,0.6);
}
.player-name {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}
.player-steam-name { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 4px; }
.player-badges { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 5px 11px;
}
.badge--server  { background: rgba(208,80,40,0.20); color: #f08040; }
.badge--wipe    { background: rgba(80,200,120,0.15); color: #6ecc8a; }
.badge--overall { background: rgba(100,140,255,0.15); color: #88aaff; }
.badge--dim     { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55); }
.badge--mono    { background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.40); font-family: monospace; }
.player-kd-wrap { text-align: right; flex-shrink: 0; margin-left: auto; }
.player-kd-value {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.02em;
    text-shadow: 0 0 24px rgba(208,80,40,0.35);
}
.player-kd-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: rgba(255,255,255,0.40);
    margin-top: 4px;
}

.breakdown-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.breakdown-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) 100px 100px 100px 100px 100px;
    padding: 10px 18px;
    background: var(--bg-deeper);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.30);
}
.breakdown-header span:not(:first-child),
.breakdown-row span:not(:first-child) { text-align: right; }
.breakdown-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) 100px 100px 100px 100px 100px;
    padding: 10px 18px;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-size: 12px;
    color: rgba(255,255,255,0.80);
}
.breakdown-row span:first-child { font-weight: 700; }

.combat-table { background: var(--bg-card); border: 1px solid var(--border); }
.combat-row {
    display: grid;
    grid-template-columns: 80px 80px minmax(0,1fr) 120px 100px 80px;
    padding: 10px 18px;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.combat-row:first-child { border-top: none; }
.badge-kill   { font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.14em;padding:4px 8px;text-align:center;background:rgba(125,201,84,.16);color:#7dc954; }
.badge-death  { font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.14em;padding:4px 8px;text-align:center;background:rgba(224,90,64,.16);color:#e05a40; }
.combat-time  { color:rgba(255,255,255,.40);font-size:11px; }
.combat-weapon{ color:rgba(255,255,255,.60); }
.combat-hit   { color:rgba(255,255,255,.50); }
.combat-dist  { text-align:right;color:rgba(255,255,255,.50); }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
    transition: color 0.12s;
}
.back-link:hover { color: rgba(255,255,255,0.80); }

.combat-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.combat-section-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.combat-highlight-card {
    min-height: 111px;
}
.combat-hit-panel-wrap {
    min-width: 0;
}
.combat-hit-panel-wrap .hit-panel {
    height: 100%;
}

.hit-rate-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.hit-panel {
    background: transparent;
    border: none;
    overflow: visible;
}
.hit-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    padding: 10px 20px;
    background: rgba(255, 81, 54, 0.6);
    border: 1px solid #282d34;
}
.hit-panel-title {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #e4dad1;
    line-height: 1;
}
.hit-panel-total {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(228, 218, 209, 0.85);
    white-space: nowrap;
}
.hit-panel-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 12px;
    align-items: stretch;
    position: relative;
    overflow: visible;
}
.hit-silhouette-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 0;
    padding: 16px 12px;
    overflow: visible;
    background: rgba(27, 31, 36, 0.6);
    border: 1px solid #282d34;
}
.hit-silhouette-wrap {
    position: relative;
    width: min(100%, 260px);
    aspect-ratio: 528 / 999;
    overflow: visible;
}
.hit-silhouette-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
    pointer-events: none;
}
.hit-dot {
    position: absolute;
    z-index: 3;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.hit-dot::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--hit-dot-color, #707070);
    opacity: 0.35;
}
.hit-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--hit-dot-color, #707070);
    box-shadow: 0 0 10px var(--hit-dot-color, #707070), 0 0 3px rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%);
}
.hit-dot--active {
    transform: translate(-50%, -50%) scale(1.12);
}
.hit-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding-top: 4px;
}
.hit-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hit-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
}
.hit-legend-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(186, 177, 168, 0.7);
}
.hit-callout {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 180px;
    min-height: 64px;
    padding: 12px 14px;
    background: rgba(255, 81, 54, 0.6);
    border: 1px solid #ff5136;
    backdrop-filter: blur(11.5px);
    pointer-events: none;
    transform: translateY(-50%);
}
.hit-callout-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.hit-callout-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #bab1a8;
    line-height: 1;
}
.hit-callout-hits {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #e4dad1;
    line-height: 1;
}
.hit-callout-pct {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(228, 218, 209, 0.5);
    line-height: 1;
}
.combat-victims-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    background: transparent;
    border: none;
    overflow: hidden;
}
.combat-victims-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    padding: 10px 20px;
    background: rgba(33, 38, 44, 0.6);
    border: 1px solid #282d34;
}
.combat-victims-title {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #e4dad1;
    line-height: 1;
}
.combat-victims-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    margin-top: 12px;
    padding: 0;
}
.combat-most-killed-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}
.combat-most-killed-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 0 16px 0 0;
    background: rgba(27, 31, 36, 0.6);
    border: 1px solid #282d34;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.12s ease, background 0.12s ease;
}
.combat-most-killed-row:hover {
    background: rgba(255, 81, 54, 0.12);
    border-color: rgba(255, 81, 54, 0.55);
}
.combat-most-killed-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 62px;
    background: #15191d;
    border-right: 1px solid #282d34;
    overflow: hidden;
}
.combat-most-killed-avatar .avatar,
.combat-most-killed-avatar .avatar-placeholder,
.combat-most-killed-avatar .avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 0;
}
.combat-most-killed-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.combat-most-killed-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #bab1a8;
    line-height: 1;
}
.combat-most-killed-row:hover .combat-most-killed-name {
    color: #bab1a8;
}
.combat-most-killed-kills {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #e4dad1;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.combat-most-killed-empty {
    margin: 0;
    padding: 18px 16px;
    background: rgba(27, 31, 36, 0.6);
    border: 1px solid #282d34;
    font-size: 13px;
    color: rgba(186, 177, 168, 0.55);
}

body.gambling-modal-open { overflow: hidden; }
.gambling-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16.8px);
}
.gambling-modal {
    position: relative;
    width: min(1272px, calc(100vw - 32px));
    max-height: min(90vh, 480px);
    margin-top: 48px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: rgba(27, 31, 36, 0.6);
    border: 1px solid #282d34;
    backdrop-filter: blur(43px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    font-family: "Bebas Neue", var(--font-display);
}
.gambling-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    z-index: 2;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(228, 218, 209, 0.85);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.gambling-modal-close:hover {
    color: #e4dad1;
}
.gambling-modal-sidebar {
    position: relative;
    width: 310px;
    height: 379px;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(42, 49, 57, 0.6);
    border-right: 1px solid #282d34;
}
.gambling-modal-sidebar__bg {
    position: absolute;
    top: 1px;
    left: 0;
    z-index: 0;
    width: 309px;
    height: 378px;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
.gambling-modal-sidebar__prop {
    position: absolute;
    left: 50%;
    z-index: 1;
    pointer-events: none;
    object-fit: contain;
    transform: translateX(-50%);
}
.gambling-modal-sidebar--blackjack .gambling-modal-sidebar__prop,
.gambling-modal-sidebar--poker .gambling-modal-sidebar__prop,
.gambling-modal-sidebar--wheel .gambling-modal-sidebar__prop {
    top: calc(50% + 26.5px);
    width: 207px;
    height: 207px;
    transform: translate(-50%, -50%);
}
.gambling-modal-sidebar--slots .gambling-modal-sidebar__prop {
    top: calc(50% + 39px);
    width: 135px;
    height: 232px;
    transform: translate(-50%, -50%);
}
.gambling-modal-sidebar__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.gambling-modal-sidebar__meta {
    position: absolute;
    top: 26px;
    left: 50%;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: calc(100% - 32px);
    transform: translateX(-50%);
}
.gambling-modal-sidebar__game {
    font-family: "Bebas Neue", var(--font-display);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #bab1a8;
    line-height: 1;
    white-space: nowrap;
}
.gambling-modal-sidebar__divider {
    width: 1px;
    height: 14px;
    background: rgba(186, 177, 168, 0.35);
    flex-shrink: 0;
}
.gambling-modal-sidebar__meta-item {
    font-family: "Bebas Neue", var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(186, 177, 168, 0.5);
    line-height: 1;
    white-space: nowrap;
}
.gambling-modal-sidebar__profit {
    position: absolute;
    top: 58px;
    left: 50%;
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(-50%);
}
.gambling-modal-sidebar__profit-value {
    font-family: "Bebas Neue", var(--font-display);
    font-size: 40px;
    font-weight: 400;
    color: #e4dad1;
}
.gambling-modal-sidebar__profit-label {
    font-family: "Bebas Neue", var(--font-display);
    font-size: 20px;
    font-weight: 400;
    text-transform: lowercase;
    color: #bab1a8;
    margin-left: 8px;
}
.gambling-modal-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    max-height: min(90vh, 480px);
    overflow: hidden;
}
.gambling-modal-status {
    margin: 0;
    padding: 24px 20px;
    font-size: 14px;
    color: rgba(186, 177, 168, 0.65);
    line-height: 1.5;
    text-align: center;
}
.gambling-modal-status--error { color: #f08080; }
.gambling-modal-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.gambling-modal-body--center {
    align-items: center;
    justify-content: center;
}
.gambling-modal-body .gambling-sessions-table-wrap {
    flex: 1;
    min-height: 0;
    align-self: stretch;
    overflow: auto;
}
.gambling-sessions-table-wrap {
    overflow: auto;
}
.gambling-sessions-table {
    display: flex;
    flex-direction: column;
    min-width: 941px;
    font-size: 20px;
    font-weight: 400;
}
.gambling-sessions-head,
.gambling-sessions-row {
    display: grid;
    grid-template-columns: 134px 215px minmax(160px, 1fr) 112px 112px 96px;
    align-items: center;
    min-height: 54px;
    padding: 0 20px;
    column-gap: 0;
}
.gambling-sessions-head {
    flex-shrink: 0;
    z-index: 2;
    min-width: 941px;
    background: rgba(17, 19, 23, 0.4);
    border-bottom: 1px solid #282d34;
}
.gambling-sessions-head > span {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(186, 177, 168, 0.4);
    line-height: 1;
    white-space: nowrap;
}
.gambling-sessions-head > span:nth-child(1) {
    text-align: left;
}
.gambling-sessions-head > span:nth-child(2) {
    text-align: center;
}
.gambling-sessions-head > span:nth-child(3),
.gambling-sessions-head > span:nth-child(4),
.gambling-sessions-head > span:nth-child(5),
.gambling-sessions-head > span:nth-child(6) {
    text-align: left;
}
.gambling-sessions-group {
    border-bottom: 1px solid rgba(40, 45, 52, 0.35);
}
.gambling-sessions-group:last-child {
    border-bottom: none;
}
.gambling-sessions-row {
    color: #bab1a8;
    font-size: 20px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}
.gambling-sessions-row--shade {
    background: rgba(33, 38, 44, 0.4);
}
.gambling-sessions-row--expandable {
    cursor: pointer;
}
.gambling-sessions-row--expandable:hover,
.gambling-sessions-row.is-open {
    background: rgba(33, 38, 44, 0.55);
}
.gambling-sessions-when {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e4dad1;
    font-size: 20px;
    text-transform: lowercase;
    justify-self: start;
}
.gambling-sessions-eye {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(186, 177, 168, 0.55);
    flex-shrink: 0;
}
.gambling-sessions-row.is-open .gambling-sessions-eye,
.gambling-sessions-row--expandable:hover .gambling-sessions-eye {
    color: #bab1a8;
}
.gambling-sessions-player {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    justify-self: center;
}
.gambling-sessions-player__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
    color: #bab1a8;
}
.gambling-sessions-server {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: capitalize;
    text-align: center;
    justify-self: center;
    color: #bab1a8;
}
.gambling-sessions-num {
    text-align: center;
    justify-self: center;
    color: #bab1a8;
}
.gambling-sessions-detail {
    padding: 12px 20px 16px;
    background: rgba(17, 19, 23, 0.35);
    border-top: 1px solid rgba(40, 45, 52, 0.5);
}
.gambling-hand-log {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gambling-hand-entry {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}
.gambling-hand-entry-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
}
.gambling-hand-entry-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
.gambling-hand-entry-result {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f4bb44;
}
.gambling-hand-entry-meta {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.48);
    font-variant-numeric: tabular-nums;
}
.gambling-hand-boards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.gambling-hand-side {
    min-width: 0;
}
.gambling-hand-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}
.gambling-hand-total {
    min-width: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
}
.gambling-hand-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gambling-hand-card {
    width: 96px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.gambling-hand-empty {
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.38);
}
@media (max-width: 820px) {
    .gambling-modal {
        flex-direction: column;
        width: calc(100vw - 20px);
        max-height: 92vh;
    }
    .gambling-modal-sidebar {
        width: 100%;
        height: auto;
        min-height: 320px;
        border-right: none;
        border-bottom: 1px solid #282d34;
    }
    .gambling-modal-sidebar__bg {
        top: 0;
        width: 100%;
        height: 100%;
    }
    .gambling-modal-sidebar__content {
        min-height: 320px;
    }
    .gambling-modal-sidebar__meta {
        top: 20px;
    }
    .gambling-modal-sidebar__profit {
        top: 48px;
    }
    .gambling-modal-main {
        min-height: 280px;
        max-height: none;
        overflow-x: auto;
    }
    .gambling-sessions-head,
    .gambling-sessions-row {
        grid-template-columns: 110px 170px minmax(120px, 1fr) 72px 72px 64px;
        padding: 0 14px;
    }
    .gambling-sessions-head > span {
        font-size: 18px;
    }
    .gambling-sessions-table {
        min-width: 941px;
        font-size: 18px;
    }
    .gambling-hand-card {
        width: 76px;
    }
}
@media (max-width: 520px) {
    .gambling-modal-sidebar__profit-value {
        font-size: 32px;
    }
    .gambling-sessions-head > span:nth-child(3),
    .gambling-sessions-row > span:nth-child(3) {
        display: none;
    }
    .gambling-sessions-head,
    .gambling-sessions-row {
        grid-template-columns: minmax(90px, 1fr) minmax(110px, 1.2fr) 56px 56px 64px;
    }
}

body.ammo-fired-modal-open { overflow: hidden; }
.ammo-fired-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}
.ammo-fired-modal {
    position: relative;
    width: min(760px, 100%);
    max-height: min(82vh, 720px);
    display: flex;
    flex-direction: column;
    background: #1a1c1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.ammo-fired-modal-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}
.ammo-fired-modal-close {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.ammo-fired-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.ammo-fired-modal-header {
    padding: 22px 22px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ammo-fired-modal-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.ammo-fired-modal-sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}
.ammo-fired-modal-body {
    padding: 16px 22px 22px;
    overflow: auto;
}
.ammo-fired-modal-status {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
}
.ammo-fired-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.ammo-fired-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.ammo-fired-card-img {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ammo-fired-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ammo-fired-card-body { min-width: 0; flex: 1; }
.ammo-fired-card-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}
.ammo-fired-card-value {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.site-footer {
    padding: 20px 24px;
    background: var(--bg-deeper);
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .stat-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .player-hero.lb-row { grid-template-columns: minmax(0, 1fr) auto; }
    .podium { flex-direction: column; gap: 30px; }
    .podium-card--first { transform: none; }
    .lb-top-three {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .lb-top-card {
        min-height: 0;
        padding: 16px;
    }
    .lb-top-card__stats {
        gap: 10px 14px;
    }
    .lb-top-card__stat-value {
        font-size: 18px;
    }
    .lb-top-card--rank-1 .lb-top-card__stat-value {
        font-size: 20px;
    }
    .player-header { flex-wrap: wrap; }
    .combat-row { grid-template-columns: 64px minmax(0,1fr) 80px; }
    .combat-row .combat-weapon,
    .combat-row .combat-hit { display: none; }
    .combat-section-highlights {
        grid-template-columns: 1fr;
    }
    .hit-panel-body {
        grid-template-columns: 1fr;
    }
    .hit-silhouette-wrap {
        width: min(100%, 220px);
    }
    .hit-panel-header {
        padding: 10px 16px;
    }
    .hit-panel-title {
        font-size: 24px;
    }
    .hit-panel-total {
        font-size: 15px;
    }
    .hit-callout-hits,
    .hit-callout-pct {
        font-size: 18px;
    }
    .combat-victims-title {
        font-size: 24px;
    }
    .combat-most-killed-row {
        grid-template-columns: 56px minmax(0, 1fr);
        min-height: 56px;
        gap: 12px;
        padding-right: 12px;
    }
    .combat-most-killed-avatar {
        width: 56px;
        height: 54px;
    }
    .combat-most-killed-avatar .avatar,
    .combat-most-killed-avatar .avatar-placeholder,
    .combat-most-killed-avatar .avatar-wrap {
        width: 40px;
        height: 40px;
    }
    .combat-most-killed-kills {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .container { padding: 24px 12px 40px; }
    .stat-grid-5 { grid-template-columns: 1fr; }
    .breakdown-header,
    .breakdown-row {
        grid-template-columns: minmax(0,1fr) 80px 80px;
    }
    .breakdown-header span:nth-child(n+4),
    .breakdown-row   span:nth-child(n+4) { display: none; }
    .hit-silhouette-wrap {
        width: min(100%, 200px);
    }
    .hit-silhouette-panel {
        padding: 12px 8px;
    }
    .hit-callout {
        width: 160px;
        min-height: 56px;
        padding: 10px 12px;
    }
    .hit-panel-title {
        font-size: 22px;
    }
    .hit-panel-total {
        font-size: 14px;
    }
    .page-panel {
        margin: 1rem 0.75rem;
        padding: 1.25rem;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        padding: 1rem 0.75rem;
    }
}
