/* ==========================================================================
   TRANSLOGISTICS / STEAMPULSE - MASTER DARK CYBER-LIME DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Brand Lime & Neon Accent Palette (Inspired by trans.test) */
    --brand-lime: #9bd123;
    --brand-lime-hover: #b0eb2d;
    --brand-lime-dark: #749e13;
    --brand-lime-glow: rgba(155, 209, 35, 0.35);
    
    --neon-cyan: #00f0ff;
    --neon-blue: #38bdf8;
    --steam-blue: #66c0f4;
    --steam-dark-blue: #1b2838;
    --neon-purple: #a855f7;
    --neon-gold: #fbbf24;
    --gold: #f59e0b;
    --neon-green: #9bd123;
    --steam-ingame: #9bd123;
    --danger: #ef4444;
    --neon-red: #ff3366;

    /* Surface & Background Colors */
    --bg-main: #080a0f;
    --bg-surface: #0e121a;
    --bg-card: rgba(14, 18, 26, 0.85);
    --bg-card-hover: rgba(22, 29, 40, 0.95);
    --bg-glass: rgba(18, 23, 32, 0.78);
    --bg-input: rgba(8, 11, 18, 0.85);

    /* Borders & Highlights */
    --border-glass: rgba(155, 209, 35, 0.22);
    --border-glass-bright: rgba(155, 209, 35, 0.55);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-dark: #222c3c;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Chakra Petch', 'Rajdhani', sans-serif;
    --font-impact: 'Teko', 'Chakra Petch', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Text Colors */
    --text-main: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows & Glows */
    --glow-lime: 0 0 25px rgba(155, 209, 35, 0.45);
    --glow-lime-sm: 0 0 12px rgba(155, 209, 35, 0.3);
    --glow-lime-lg: 0 0 45px rgba(155, 209, 35, 0.55);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
    --glow-gold: 0 0 20px rgba(245, 158, 11, 0.35);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   BASE & RESET (STANDARD CURSORS ONLY - NO CUSTOM CURSORS)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(ellipse at 50% 10%, rgba(155, 209, 35, 0.14) 0%, transparent 60%),
        radial-gradient(circle at 10% 40%, rgba(155, 209, 35, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #080a0f 0%, #06080c 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

::selection {
    background: var(--brand-lime);
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    cursor: pointer;
}

button {
    cursor: pointer;
}

img, video {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-wrapper {
    flex: 1;
    padding: 28px 0 60px 0;
}

/* ==========================================================================
   CUSTOM NEON LIME SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0d12;
}
::-webkit-scrollbar-thumb {
    background: #233013;
    border-radius: 4px;
    border: 1px solid rgba(155, 209, 35, 0.3);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-lime);
}

/* ==========================================================================
   GLASSMORPHISM & THEME UTILITIES
   ========================================================================== */
.glass-panel {
    background: rgba(18, 23, 32, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
}

.glass-card {
    background: rgba(14, 18, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--border-glass-bright);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.8), var(--glow-lime), inset 0 1px 0 0 rgba(155, 209, 35, 0.2);
    transform: translateY(-3px);
}

.hazard-border {
    background: repeating-linear-gradient(
        -45deg,
        #9bd123,
        #9bd123 15px,
        #121720 15px,
        #121720 30px
    );
}

.neon-text-glow {
    text-shadow: 0 0 14px rgba(155, 209, 35, 0.65);
}

.text-gradient {
    background: linear-gradient(135deg, #9bd123 0%, #b0eb2d 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-lime {
    background: linear-gradient(135deg, #9bd123 0%, #b0eb2d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.6;
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.dot-ingame { background-color: var(--brand-lime); box-shadow: 0 0 10px var(--brand-lime); }
.dot-online { background-color: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.dot-offline { background-color: #64748b; }
.dot-banned { background-color: #ff3366; box-shadow: 0 0 10px #ff3366; }

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 0.8; }
    70% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   AMBIENT FLOATING STARS CANVAS (TRANS DESIGN ENGINE)
   ========================================================================== */
.ambient-stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

/* Authentic Steam Points Shop & Community Profile Ambient Background */
.steam-page-ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.steam-ambient-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.70;
    filter: saturate(1.15) brightness(0.85);
}

.steam-ambient-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.60;
    filter: saturate(1.15) brightness(0.82);
}

.steam-ambient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 15%, rgba(10, 14, 23, 0.35) 0%, rgba(10, 14, 23, 0.85) 65%, #0a0e17 100%);
    pointer-events: none;
}

/* ==========================================================================
   CS2BGD31.RU - SIDEBAR & TOP NAVBAR HEADER SYSTEM
   ========================================================================== */
.sidebar-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar on Desktop */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 220px;
    background: #0d111d;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.sidebar.collapsed {
    width: 68px;
}

.sidebar.collapsed .sidebar__item-text,
.sidebar.collapsed .sidebar__header-text {
    display: none;
}

.sidebar.collapsed .sidebar__toggle-arrow {
    transform: rotate(180deg);
}

.sidebar__wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 56px;
    box-sizing: border-box;
}

.sidebar__header-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
}

.sidebar__toggle {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.sidebar__toggle:hover {
    background: rgba(155, 209, 35, 0.15);
    color: var(--brand-lime);
    border-color: rgba(155, 209, 35, 0.35);
}

.sidebar__list {
    list-style: none;
    padding: 10px 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    flex: 1;
}

.sidebal__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sidebal__item i {
    font-size: 15px;
    width: 20px;
    text-align: center;
    color: #64748b;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.sidebal__item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.sidebal__item:hover i {
    color: var(--brand-lime);
}

.sidebal__item.active {
    color: #000 !important;
    background: var(--brand-lime) !important;
    font-weight: 800;
    box-shadow: 0 0 16px rgba(155, 209, 35, 0.4);
}

.sidebal__item.active i {
    color: #000 !important;
}

/* Global Container Offset for Sidebar */
.global-container {
    margin-left: 220px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    width: calc(100% - 220px);
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

body.sidebar-collapsed .global-container {
    margin-left: 68px;
    width: calc(100% - 68px);
}

/* Navbar Header */
.navbar-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

.navbar_menu_left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.logo-text {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav_sitename {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #080a0f;
    border: 1px solid rgba(155, 209, 35, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-lime);
    font-size: 16px;
}

.nav_sitename .texting {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.online {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.online__counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(155, 209, 35, 0.1);
    border: 1px solid rgba(155, 209, 35, 0.25);
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
}

.online__square-figure {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-lime);
    box-shadow: 0 0 6px var(--brand-lime);
    display: inline-block;
}

.online__count {
    color: var(--brand-lime);
    font-family: var(--font-mono);
    font-weight: 800;
}

.social_buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.social_button {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
    transition: all 0.2s ease;
}

.social_button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.header_burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100;
    position: relative;
}

.header_burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.25s ease;
}

.header_burger span::before,
.header_burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: all 0.25s ease;
}

.header_burger span::before {
    top: -5px;
}

.header_burger span::after {
    top: 5px;
}

.header_burger.active span {
    background: transparent;
}

.header_burger.active span::before {
    transform: translateY(5px) rotate(45deg);
    background: var(--brand-lime);
}

.header_burger.active span::after {
    transform: translateY(-5px) rotate(-45deg);
    background: var(--brand-lime);
}

.nav_header_menu {
    display: none;
}

.navbar_usermenu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.user-profile-nav-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 3px 8px 3px 4px;
}

.user-avatar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.user-avatar-nav-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--brand-lime);
}

.user-nav-text-block {
    display: flex;
    flex-direction: column;
}

.user-nav-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-nav-role {
    font-size: 9px;
    font-weight: 800;
    color: var(--brand-lime);
    letter-spacing: 0.5px;
}

.user-nav-role.role-admin {
    color: var(--gold);
}

/* Sidebar Backdrop */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sidebar-backdrop.active {
    display: block !important;
    opacity: 1 !important;
}

/* ==========================================================================
   LEGACY COMPATIBILITY & UTILITIES
   ========================================================================== */
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: #080a0f;
    border: 1px solid rgba(155, 209, 35, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-link:hover .brand-icon {
    transform: rotate(10deg) scale(1.06);
    box-shadow: var(--glow-lime);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-title span {
    color: var(--brand-lime);
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-lime);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.header-pills {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(18, 23, 32, 0.75);
    border: 1px solid var(--border-glass);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.pill:hover {
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    color: #fff;
}

.pill-val {
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

.pill-alert {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sub Navigation Menu (Dedicated Bar) */
.sub-nav {
    background: rgba(12, 16, 24, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(155, 209, 35, 0.2);
    position: sticky;
    top: 68px;
    z-index: 90;
}

.sub-nav .nav-container {
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-item a i {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-item a:hover {
    color: #fff;
    border-bottom-color: var(--brand-lime);
}

.nav-item a:hover i {
    color: var(--brand-lime);
    transform: scale(1.15);
}

.nav-item.active a {
    color: var(--brand-lime);
    border-bottom-color: var(--brand-lime);
    text-shadow: 0 0 12px rgba(155, 209, 35, 0.45);
}

.nav-item.active a i {
    color: var(--brand-lime);
}

/* ==========================================================================
   BUTTONS & FORM CONTROLS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background: var(--brand-lime);
    color: #000;
    border-color: var(--brand-lime-hover);
    box-shadow: 0 4px 20px rgba(155, 209, 35, 0.4);
}

.btn-primary:hover {
    background: var(--brand-lime-hover);
    color: #000;
    box-shadow: var(--glow-lime);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    transform: rotate(30deg);
    animation: btnShine 4s infinite;
}

@keyframes btnShine {
    0% { transform: translateX(-100%) rotate(30deg); }
    30%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-secondary {
    background: rgba(22, 29, 40, 0.85);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(34, 44, 60, 0.95);
    border-color: var(--brand-lime);
    color: #fff;
    box-shadow: var(--glow-lime-sm);
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.btn-icon {
    padding: 8px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 13px;
    transition: all 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-lime);
    box-shadow: 0 0 16px rgba(155, 209, 35, 0.35);
    background: rgba(14, 18, 26, 0.95);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    color: var(--brand-lime);
    font-size: 14px;
}

.input-with-icon input {
    padding-left: 40px;
}

/* ==========================================================================
   HERO SECTION & STATS RIBBON
   ========================================================================== */
.home-hero-section {
    position: relative;
    padding: 36px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    background: rgba(155, 209, 35, 0.12);
    border: 1px solid rgba(155, 209, 35, 0.4);
    color: var(--brand-lime);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: var(--glow-lime-sm);
    margin-bottom: 20px;
    animation: floatSlow 4s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.8px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 14px;
    max-width: 900px;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
}

.stats-ribbon {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-glass-bright);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), var(--glow-lime-sm);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; box-shadow: 0 0 12px rgba(56, 189, 248, 0.3); }
.icon-green { background: rgba(155, 209, 35, 0.15); color: var(--brand-lime); box-shadow: 0 0 12px rgba(155, 209, 35, 0.3); }
.icon-gold { background: rgba(245, 158, 11, 0.15); color: #fbbf24; box-shadow: 0 0 12px rgba(245, 158, 11, 0.3); }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; box-shadow: 0 0 12px rgba(168, 85, 247, 0.3); }

.stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
    line-height: 1.1;
}

.stat-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 3px;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.home-section {
    margin-top: 48px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-badge {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-lime);
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ==========================================================================
/* ==========================================================================
   GAME SERVERS - SLEEK COMPACT CARDS (IMAGE 1) & GAME PILLS (IMAGE 2)
   ========================================================================== */
.game-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.game-filter-pill {
    background: rgba(18, 22, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 7px 16px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.game-filter-pill i, .game-filter-pill svg {
    font-size: 14px;
    color: #38bdf8;
    transition: transform 0.2s ease;
}

.game-filter-pill[data-game="csgo"] i { color: #f59e0b; }
.game-filter-pill[data-game="cs16"] i { color: #fb923c; }
.game-filter-pill[data-game="all"] i { color: var(--brand-lime); }

.game-filter-pill:hover {
    background: rgba(56, 189, 248, 0.1);
    color: #fff;
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-1px);
}

.game-filter-pill.active {
    background: rgba(56, 189, 248, 0.18);
    border-color: #38bdf8;
    color: #fff;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.game-filter-pill[data-game="csgo"].active {
    background: rgba(245, 158, 11, 0.18);
    border-color: #f59e0b;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

.game-filter-pill[data-game="cs16"].active {
    background: rgba(251, 146, 60, 0.18);
    border-color: #fb923c;
    box-shadow: 0 0 14px rgba(251, 146, 60, 0.25);
}

/* Compact Server Card styles defined in CS2BGD31 server module */

/* ==========================================================================
   LEADERBOARD & PRO PLAYERS
   ========================================================================== */
.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.pro-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}

.pro-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-lime);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), var(--glow-lime-sm);
}

.pro-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pro-rank-badge {
    font-family: var(--font-impact);
    font-size: 20px;
    font-weight: 700;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(155, 209, 35, 0.15);
    color: var(--brand-lime);
    border: 1px solid rgba(155, 209, 35, 0.35);
}

.pro-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.pro-info {
    flex: 1;
    overflow: hidden;
}

.pro-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-team {
    font-size: 11px;
    color: var(--brand-lime);
    font-weight: 700;
    text-transform: uppercase;
}

.pro-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    text-align: center;
}

.pro-stat-item {
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 4px;
    border-radius: var(--radius-sm);
}

.pro-stat-item .stat-l {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    display: block;
}

.pro-stat-item .stat-v {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

.pro-stat-item .stat-v.highlight {
    color: var(--brand-lime);
}

/* ==========================================================================
   NEWS & PATCH NOTES
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-lime);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), var(--glow-lime-sm);
    color: inherit;
}

.news-card:hover .news-img {
    transform: scale(1.04);
}

.news-card:hover .news-read-btn {
    color: #fff;
    text-shadow: var(--glow-lime-sm);
}

.news-img-box {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 10, 15, 0.9);
    border: 1px solid var(--brand-lime);
    color: var(--brand-lime);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.news-content-box {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.news-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.news-summary {
    font-size: 12px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
}

.news-read-btn {
    color: var(--brand-lime);
    font-weight: 700;
}

/* ==========================================================================
   ACCOUNT CARDS & DIRECTORY
   ========================================================================== */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.search-input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-lime);
    font-size: 14px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 13px;
    transition: all 0.25s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--brand-lime);
    box-shadow: 0 0 16px rgba(155, 209, 35, 0.3);
}

.filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 7px 14px;
    background: rgba(18, 23, 32, 0.75);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip:hover, .filter-chip.active {
    background: rgba(155, 209, 35, 0.15);
    border-color: var(--brand-lime);
    color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 20px;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
}

.account-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-lime);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8), var(--glow-lime-sm);
}

.account-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.avatar-wrapper-lg {
    width: 80px;
    height: 80px;
}

.steam-avatar {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid transparent;
}

.avatar-frame-overlay {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    pointer-events: none;
    z-index: 2;
}

.avatar-level-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: #080a0f;
    border: 1px solid var(--brand-lime);
    color: var(--brand-lime);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    z-index: 3;
}

.border-ingame { border-color: var(--brand-lime); }
.border-online { border-color: #38bdf8; }

.acc-title-wrap {
    flex: 1;
    overflow: hidden;
}

.acc-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.acc-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acc-name:hover {
    color: var(--brand-lime);
}

.acc-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-top: 2px;
}

.acc-tag {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(155, 209, 35, 0.15);
    border: 1px solid rgba(155, 209, 35, 0.35);
    color: var(--brand-lime);
}

.card-commends-strip {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    justify-content: space-around;
    gap: 8px;
}

.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    text-align: center;
}

.stat-pill-sm {
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 4px;
    border-radius: var(--radius-sm);
}

.stat-pill-sm .lbl {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    display: block;
}

.stat-pill-sm .val {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

/* ==========================================================================
   LEGACY PROFILE BANNER UTILITIES
   ========================================================================== */

.profile-banner {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    z-index: 1;
}

.profile-banner.has-steam-bg {
    border-color: rgba(155, 209, 35, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), var(--glow-lime-sm);
}

.banner-steam-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.banner-steam-video, .banner-steam-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.banner-steam-image {
    background-size: cover;
    background-position: center;
}

.banner-steam-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 10, 15, 0.96) 0%, rgba(8, 10, 15, 0.78) 50%, rgba(8, 10, 15, 0.96) 100%);
}

.banner-left {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.banner-details h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.banner-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary);
    margin: 8px 0 12px 0;
}

.banner-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.banner-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

/* CSRep Commends & Live Widget */
.csrep-stat-box {
    background: rgba(14, 18, 26, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.csrep-top-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.csrep-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.csrep-lbl {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.csrep-val {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

.csrep-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.csrep-commends-row {
    display: flex;
    justify-content: space-around;
    gap: 16px;
}

.csrep-comm-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.csrep-smile { color: var(--brand-lime); text-shadow: 0 0 10px rgba(155, 209, 35, 0.5); }
.csrep-cap { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
.csrep-crown { color: #c084fc; text-shadow: 0 0 10px rgba(192, 132, 252, 0.5); }

/* Tabs Navigation */
.tabs-header {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: var(--brand-lime);
    border-bottom-color: var(--brand-lime);
    text-shadow: 0 0 12px rgba(155, 209, 35, 0.5);
}

.tab-btn .badge {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(155, 209, 35, 0.15);
    color: var(--brand-lime);
}

.tab-content {
    display: none;
    position: relative;
    z-index: 1;
}

.tab-content.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Steam Bio Box Styling */
.steam-bio-box {
    background: rgba(6, 9, 14, 0.75);
    border: 1px solid var(--border-glass);
    border-left: 3px solid var(--brand-lime);
    border-radius: var(--radius-md);
    padding: 16px;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.7;
    max-height: 320px;
    overflow-y: auto;
    word-break: break-word;
}

.steam-bio-box .bb_link, .steam-bio-box a {
    color: var(--brand-lime);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.steam-bio-box .bb_link:hover, .steam-bio-box a:hover {
    color: #fff;
    text-shadow: var(--glow-lime);
}

.steam-bio-box .emoticon, .steam-bio-box img {
    height: 20px;
    width: 20px;
    vertical-align: middle;
    display: inline-block;
    margin: 0 2px;
}

.steam-bio-box blockquote, .steam-bio-quote {
    background: rgba(0, 0, 0, 0.35);
    border-left: 3px solid var(--neon-purple);
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: var(--radius-sm);
    color: #cbd5e1;
}

.steam-bio-box code {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--brand-lime);
    font-size: 12px;
}

/* Commends Overview Strip */
.commends-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
}

.comm-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.comm-friendly { color: var(--brand-lime); }
.comm-teacher { color: #fbbf24; }
.comm-leader { color: #c084fc; }

/* CS2 Profile Ranking & Stats Grids */
.cs2-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.cs2-stat-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cs2-stat-box:hover {
    transform: translateY(-2px);
    border-color: var(--brand-lime);
}

.cs2-stat-box .lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.cs2-stat-box .val {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

/* Real Badges Grid */
.badges-real-grid, .badge-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.badge-real-card, .badge-showcase-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.badge-real-card:hover, .badge-showcase-card:hover {
    transform: translateY(-3px);
    border-color: var(--neon-gold);
    box-shadow: var(--glow-gold);
}

.badge-real-icon, .badge-showcase-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.badge-showcase-img-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-real-info, .badge-showcase-info {
    overflow: hidden;
    flex: 1;
}

.badge-real-title, .badge-showcase-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-real-meta, .badge-showcase-meta {
    font-size: 11px;
    color: var(--gold);
    font-family: var(--font-mono);
    margin-top: 2px;
}

/* Awards Grid */
.awards-gallery-grid, .awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}

.award-item-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.award-item-card:hover {
    transform: translateY(-3px);
    border-color: var(--neon-gold);
    box-shadow: var(--glow-gold);
}

.award-item-img, .award-item-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.award-item-title {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================================================
   Steam Friend Realtime Live Toast & Sound Notification System
   ========================================================================= */
.steam-live-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    pointer-events: none;
}

.steam-live-toast {
    pointer-events: auto;
    background: linear-gradient(135deg, rgba(14, 20, 32, 0.96) 0%, rgba(20, 28, 44, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 0, 0, 0.4);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(12px);
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}

.steam-live-toast.toast-ingame {
    border-left: 4px solid var(--neon-green);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(160, 219, 94, 0.2);
}

.steam-live-toast.toast-online {
    border-left: 4px solid var(--steam-blue);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(87, 203, 222, 0.2);
}

.steam-live-toast.fade-out {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.35s ease;
}

@keyframes toastSlideIn {
    0% { transform: translateX(80px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.steam-toast-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    min-width: 0;
}

.steam-toast-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    border: 2px solid transparent;
}

.steam-toast-avatar-wrap.border-ingame { border-color: var(--neon-green); }
.steam-toast-avatar-wrap.border-online { border-color: var(--steam-blue); }

.steam-toast-avatar {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.steam-toast-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #0e1420;
}

.steam-toast-dot.dot-ingame { background: var(--neon-green); box-shadow: 0 0 8px var(--neon-green); }
.steam-toast-dot.dot-online { background: var(--steam-blue); box-shadow: 0 0 8px var(--steam-blue); }

.steam-toast-body {
    flex: 1;
    min-width: 0;
}

.steam-toast-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.steam-toast-status {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-game-title {
    color: var(--neon-green);
    font-weight: 700;
}

.toast-online-title {
    color: var(--steam-blue);
    font-weight: 700;
}

.steam-toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 8px;
    transition: color 0.2s;
    line-height: 1;
}

.steam-toast-close:hover {
    color: #fff;
}

/* Owned Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
}

.game-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #0f172a;
    flex-shrink: 0;
}

.game-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.game-name, .game-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-hours, .game-playtime {
    font-size: 11px;
    color: var(--gold);
    font-family: var(--font-mono);
    margin-top: 2px;
}

/* Friends & Groups Grid */
.friends-grid, .groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.friend-card, .group-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.friend-card:hover, .group-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
}

.friend-avatar, .group-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #111827;
    flex-shrink: 0;
}

.friend-info, .group-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.friend-name, .group-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-gid {
    font-size: 10px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ==========================================================================
   INVENTORY GRID & WEAPON SKINS (.item-card & .inventory-card)
   ========================================================================== */
.inventory-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.inv-games-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.inv-game-pill {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(18, 23, 32, 0.75);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.inv-game-pill:hover, .inv-game-pill.active {
    background: rgba(155, 209, 35, 0.18);
    border-color: var(--brand-lime);
    color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 16px;
}

.item-card, .inventory-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.item-card:hover, .inventory-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-lime);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), var(--glow-lime-sm);
}

.item-rarity-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 3;
}

.item-price-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(8, 10, 15, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(155, 209, 35, 0.4);
    color: var(--brand-lime);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.item-price-tag.item-price-untradable {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.item-img-wrap, .inv-img-wrap {
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: relative;
}

.item-img-wrap img, .inv-item-img {
    max-height: 105px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
    transition: transform 0.25s ease;
}

.item-card:hover .item-img-wrap img, .inventory-card:hover .inv-item-img {
    transform: scale(1.08);
}

.item-info {
    padding: 10px 12px;
    background: rgba(10, 14, 22, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    justify-content: space-between;
}

.item-weapon-name {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-skin-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
    margin: 2px 0 4px 0;
}

.item-exterior-badge {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.item-stattrak-badge {
    color: #ff7700;
    font-weight: 800;
    font-size: 10px;
    margin-right: 3px;
}

.item-stickers-row {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 4px;
}

.item-sticker-mini {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.inv-owner-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 8px;
}

.inv-owner-avatar {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

.inv-owner-name {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Multi-Owners Badge & Avatar Stack */
.item-multi-owners-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    font-size: 11px;
    position: relative;
    z-index: 2;
}

.badge-multi-owners {
    background: rgba(155, 209, 35, 0.15);
    border: 1px solid rgba(155, 209, 35, 0.35);
    color: var(--brand-lime);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.avatar-stack {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.avatar-stack-item {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #0f172a;
    margin-left: -7px;
    transition: transform 0.2s ease, z-index 0.2s ease;
    cursor: pointer;
    background: #1e293b;
    object-fit: cover;
}

.avatar-stack-item:hover {
    transform: translateY(-2px) scale(1.2);
    z-index: 10;
    border-color: var(--brand-lime);
}

.avatar-stack-more {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #0f172a;
    margin-left: -7px;
    background: rgba(30, 41, 59, 0.95);
    color: #cbd5e1;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-owner-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modal-owner-chip:hover {
    background: rgba(155, 209, 35, 0.15);
    border-color: var(--brand-lime);
    color: #fff;
    transform: translateY(-1px);
}

/* ==========================================================================
   MEDALS & BANS RADAR PAGES
   ========================================================================== */
.medals-grid, .medals-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.medal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.medal-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-gold);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), var(--glow-gold);
}

.medal-img-box {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medal-img, .medal-img-box img, .medal-icon {
    max-height: 85px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
    transition: transform 0.25s ease;
}

.medal-card:hover .medal-img, .medal-card:hover .medal-img-box img {
    transform: scale(1.1);
}

.medal-name, .medal-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.medal-owner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.medal-owner:hover {
    color: #fff;
    background: rgba(155, 209, 35, 0.2);
}

.bans-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.bans-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.bans-table th {
    background: rgba(0, 0, 0, 0.5);
    padding: 14px 18px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-glass);
}

.bans-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(4, 7, 12, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999 !important;
    display: none;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 60px 16px 40px 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

.modal-overlay.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    animation: fadeInModal 0.22s ease-out;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog {
    background: #0d121c;
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 580px;
    max-height: calc(100vh - 100px) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), var(--glow-lime-sm);
    overflow: hidden;
    position: relative !important;
    top: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    animation: popModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popModal {
    from { transform: scale(0.96) translateY(-8px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 20px;
    max-height: 75vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.commends-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.comm-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comm-icon {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(14, 18, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), var(--glow-lime-sm);
    animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-success { border-color: var(--brand-lime); box-shadow: var(--glow-lime); }
.toast-error { border-color: rgba(239, 68, 68, 0.5); box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }

/* ==========================================================================
   AUTHENTIC STEAM COMMUNITY PROFILE LAYOUT & SHOWCASES
   (Cyber-Lime Design System with Standard Cursors)
   ========================================================================== */
.steam-profile-frame {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 40px auto;
    background: rgba(10, 14, 22, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

/* Steam Profile Header */
.steam-profile-header {
    position: relative;
    padding: 32px 32px 28px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.65) 0%, rgba(10, 14, 22, 0.75) 100%);
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    overflow: hidden;
}

.steam-header-left {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.steam-header-avatar-box {
    position: relative;
    width: 164px;
    height: 164px;
    min-width: 164px;
    border-radius: var(--radius-md);
    background: #000;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.steam-header-avatar-box.is-ingame {
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime);
}

.steam-header-avatar-box.is-online {
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.steam-header-avatar-box .steam-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    z-index: 1;
}

.steam-header-avatar-box .avatar-frame-overlay {
    position: absolute;
    top: -12.5%;
    left: -12.5%;
    width: 125%;
    height: 125%;
    max-width: none;
    pointer-events: none;
    z-index: 5;
    image-rendering: auto;
}

/* Avatar Frame for Index & Grid Cards */
.avatar-wrapper {
    position: relative;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-wrapper .steam-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    z-index: 1;
}

.avatar-wrapper .avatar-frame-overlay {
    position: absolute;
    top: -12.5%;
    left: -12.5%;
    width: 125%;
    height: 125%;
    max-width: none;
    pointer-events: none;
    z-index: 5;
    image-rendering: auto;
}

.steam-header-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.steam-persona-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.steam-realname-loc {
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.steam-summary-snippet {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--brand-lime);
    margin-top: 4px;
    max-width: 520px;
    word-break: break-word;
}

.steam-header-meta-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.steam-meta-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Steam Header Right Widget */
.steam-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    min-width: 260px;
}

.steam-level-and-badge-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(8, 11, 18, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 100%;
}

.steam-level-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--brand-lime);
    box-shadow: var(--glow-lime);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #1a2512 0%, #0c1017 100%);
}

.steam-level-circle .lvl-lbl {
    font-size: 8px;
    font-weight: 800;
    color: var(--brand-lime);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.steam-level-circle .lvl-num {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.steam-featured-badge-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.steam-featured-badge-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.steam-featured-badge-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.steam-featured-badge-xp {
    font-size: 11px;
    color: var(--brand-lime);
    font-weight: 600;
}

.steam-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
}

/* Authentic Two-Column Body Layout */
.steam-profile-body {
    display: flex;
    gap: 28px;
    padding: 28px;
}

.steam-main-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.steam-side-col {
    width: 330px;
    min-width: 330px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Steam Showcase Boxes */
.steam-showcase-box {
    background: rgba(12, 16, 25, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.steam-showcase-box:hover {
    border-color: rgba(155, 209, 35, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--glow-lime-sm);
}

.steam-showcase-header {
    background: linear-gradient(90deg, rgba(22, 30, 44, 0.75) 0%, rgba(12, 16, 25, 0.55) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.steam-showcase-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.steam-showcase-title i {
    color: var(--brand-lime);
}

.steam-showcase-extra {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.steam-showcase-body {
    padding: 18px;
}

/* Steam Status Sidebar Widget */
.steam-status-box {
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid transparent;
}

.steam-status-box.status-ingame {
    background: linear-gradient(135deg, rgba(155, 209, 35, 0.15) 0%, rgba(12, 16, 25, 0.75) 100%);
    backdrop-filter: blur(10px);
    border-color: rgba(155, 209, 35, 0.4);
    box-shadow: var(--glow-lime-sm);
}

.steam-status-box.status-online {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(12, 16, 25, 0.75) 100%);
    backdrop-filter: blur(10px);
    border-color: rgba(56, 189, 248, 0.4);
}

.steam-status-box.status-offline {
    background: rgba(12, 16, 25, 0.62);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.08);
}

.steam-status-headline {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.steam-status-box.status-ingame .steam-status-headline { color: var(--brand-lime); }
.steam-status-box.status-online .steam-status-headline { color: #38bdf8; }
.steam-status-box.status-offline .steam-status-headline { color: var(--text-muted); }

.steam-status-game-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* Steam Sidebar Generic Widget */
.steam-sidebar-widget {
    background: rgba(12, 16, 25, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.steam-sidebar-widget-header {
    background: rgba(22, 30, 44, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.steam-sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.steam-sidebar-widget-body {
    padding: 14px;
}

/* Compact Friends List for Sidebar */
.steam-sidebar-friends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.steam-sidebar-friend-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.steam-sidebar-friend-item:hover {
    transform: scale(1.08);
    border-color: var(--brand-lime);
    z-index: 2;
}

.steam-sidebar-friend-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-sidebar-friend-item .friend-status-dot {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #000;
}

/* Badges list in sidebar */
.steam-sidebar-badges-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.steam-sidebar-badge-item {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.steam-sidebar-badge-item:hover {
    transform: scale(1.1);
    border-color: var(--brand-lime);
}

.steam-sidebar-badge-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* CS2 Activity Showcase Card */
.cs2-activity-card {
    background: radial-gradient(circle at 10% 20%, rgba(22, 29, 40, 0.9) 0%, rgba(10, 14, 20, 0.95) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs2-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}

.cs2-activity-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs2-activity-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cs2-activity-game-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.cs2-activity-hours-total {
    font-size: 13px;
    color: var(--brand-lime);
    font-weight: 600;
}

.cs2-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.cs2-metric-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
}

.cs2-metric-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.cs2-metric-value {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

/* Commends Showcase Tiles */
.commends-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.commend-tile {
    background: rgba(8, 11, 18, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.commend-tile:hover {
    transform: translateY(-2px);
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
}

.commend-tile i {
    font-size: 28px;
}

.commend-tile-content {
    display: flex;
    flex-direction: column;
}

.commend-tile-val {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.commend-tile-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   AUTHENTIC FULLSCREEN STEAM COMMUNITY BACKGROUND
   ========================================================================== */
.steam-page-ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-color: #06080c;
}

.steam-ambient-video,
.steam-ambient-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100vw;
    min-height: 100vh;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center top;
    opacity: 1 !important;
    filter: none !important;
}

.steam-ambient-img {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.steam-ambient-overlay {
    position: absolute;
    inset: 0;
    /* Gentle, soft fade at bottom only so background artwork is fully clear and vibrant */
    background: linear-gradient(180deg, 
        rgba(6, 8, 12, 0.02) 0%, 
        rgba(6, 8, 12, 0.1) 400px, 
        rgba(6, 8, 12, 0.5) 850px, 
        rgba(6, 8, 12, 0.9) 1200px, 
        #06080c 100%
    );
    pointer-events: none;
}

/* Sub-Navigation Bar inside Profile Frame */
.steam-subnav-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(12, 16, 25, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    scrollbar-width: none;
}
.steam-subnav-bar::-webkit-scrollbar { display: none; }

.steam-subnav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.steam-subnav-pill:hover {
    color: #fff;
    background: rgba(155, 209, 35, 0.12);
    border-color: rgba(155, 209, 35, 0.3);
}

.steam-subnav-pill.active {
    color: #000;
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    font-weight: 800;
}

.steam-subnav-pill.active .badge {
    background: rgba(0, 0, 0, 0.3);
    color: #000;
    border-color: transparent;
}

/* Showcase "View All" button */
.showcase-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    background: rgba(18, 23, 32, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--brand-lime);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.showcase-view-all-btn:hover {
    background: var(--brand-lime);
    color: #000;
    box-shadow: var(--glow-lime-sm);
    border-color: var(--brand-lime);
    transform: translateY(-1px);
}

/* ==========================================================================
   AJAX PAGINATION CONTROLS
   ========================================================================== */
.ajax-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: rgba(18, 23, 32, 0.85);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(.disabled) {
    color: #fff;
    background: rgba(155, 209, 35, 0.15);
    border-color: var(--brand-lime);
}

.page-btn.active {
    background: var(--brand-lime);
    color: #000;
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    font-weight: 800;
}

.page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.page-info {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0 8px;
}

/* ==========================================================================
   ITEM & MEDAL INSPECTION MODAL STYLING
   ========================================================================== */
.item-modal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.item-modal-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.item-modal-img-container {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.item-modal-main-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s ease;
}

.item-modal-main-img:hover {
    transform: scale(1.08);
}

.item-modal-stat-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
}

.item-modal-stat-col .lbl {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.item-modal-stat-col .val {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.item-modal-meta-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.item-modal-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.item-modal-tag.tag-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.3);
}

.item-modal-tag.tag-muted {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

.item-modal-owner-box {
    font-size: 12px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-modal-right {
    display: flex;
    flex-direction: column;
}

.item-modal-stickers-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.item-modal-sticker-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-modal-sticker-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.item-modal-sticker-info .name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.item-modal-sticker-info .wear {
    font-size: 10px;
    color: var(--gold);
    display: block;
}

.item-modal-descriptions-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 14px;
    font-size: 13px;
    line-height: 1.6;
    max-height: 220px;
    overflow-y: auto;
}

.item-modal-desc-line {
    margin-bottom: 6px;
}

.item-modal-tags-cloud {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.item-modal-pill {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.item-modal-pill strong {
    color: #fff;
}

@media (max-width: 768px) {
    .item-modal-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   GLOBAL CUSTOM CYBER-LIME TOOLTIPS
   ========================================================================== */
.steampulse-tooltip {
    position: fixed;
    z-index: 99999;
    background: rgba(12, 17, 26, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(155, 209, 35, 0.45);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    color: #f1f5f9;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85), var(--glow-lime-sm);
    opacity: 0;
    transform: scale(0.92) translateY(4px);
    transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1), transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    word-break: break-word;
    text-align: center;
}

.steampulse-tooltip.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.steampulse-tooltip strong {
    color: var(--brand-lime);
    font-weight: 700;
}

.steampulse-tooltip i {
    margin-right: 4px;
    color: var(--brand-lime);
}

.steampulse-tooltip-arrow {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(12, 17, 26, 0.97);
    border: 1px solid rgba(155, 209, 35, 0.45);
    transform: rotate(45deg);
}

.steampulse-tooltip[data-placement="top"] .steampulse-tooltip-arrow {
    bottom: -5px;
    left: calc(50% - 4px);
    border-top: none;
    border-left: none;
}

.steampulse-tooltip[data-placement="bottom"] .steampulse-tooltip-arrow {
    top: -5px;
    left: calc(50% - 4px);
    border-bottom: none;
    border-right: none;
}

/* ==========================================================================
   RICH INFORMATIVE FOOTER
   ========================================================================== */
.app-footer {
    background: rgba(8, 11, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(155, 209, 35, 0.25);
    margin-top: auto;
    padding: 48px 0 28px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col-brand .footer-brand {
    margin-bottom: 14px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 360px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-links .social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.25s ease;
}

.footer-social-links .social-link:hover {
    color: #000;
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer-links a i {
    font-size: 10px;
    color: var(--brand-lime);
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(2px);
}

.footer-status-box {
    background: rgba(14, 18, 26, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-status-box .status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.footer-status-box .status-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.footer-status-box .status-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-badge.status-ok {
    background: rgba(155, 209, 35, 0.15);
    color: var(--brand-lime);
    border: 1px solid rgba(155, 209, 35, 0.3);
}

.footer-status-box .status-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 8px;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 11px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-disclaimer {
    max-width: 500px;
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   CS2 STATS & TELEMETRY DASHBOARD (TAB-STATS - IMAGE 2)
   ========================================================================== */
.stats-dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr 320px;
    gap: 20px;
    padding: 24px;
}

.stats-card-panel {
    background: rgba(12, 16, 25, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stats-card-header {
    background: linear-gradient(90deg, rgba(22, 30, 44, 0.75) 0%, rgba(12, 16, 25, 0.5) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-card-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stats-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Trust Score Big Widget */
.trust-score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-score-num {
    font-family: var(--font-heading);
    font-size: 58px;
    font-weight: 900;
    color: #4ade80;
    text-shadow: 0 0 25px rgba(74, 222, 128, 0.45);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-badge-status {
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.2);
}

.trust-breakdown-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.trust-item-header .val {
    font-family: var(--font-mono);
    font-weight: 800;
    color: #fff;
}

.trust-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.trust-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, var(--brand-lime) 100%);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.account-flags-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 6px;
}

.flag-mini-card {
    background: rgba(8, 11, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 8px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flag-mini-card i {
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-muted);
}

.flag-mini-card .flag-val {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

/* Center Telemetry Stats */
.telemetry-meters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
}

.telemetry-row-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.telemetry-head {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.telemetry-val {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.telemetry-lbl {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.telemetry-meter-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.telemetry-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, var(--brand-lime) 100%);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
    border-radius: 3px;
}

.telemetry-meter-fill.warn {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.anomalies-matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.anomaly-matrix-card {
    background: rgba(8, 11, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.anomaly-matrix-card .title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.anomaly-matrix-card .status {
    font-size: 12px;
    font-weight: 700;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Competitive Modes Table */
.comp-modes-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-modes-table th {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.comp-modes-table th:nth-child(2),
.comp-modes-table th:nth-child(3) {
    text-align: right;
}

.comp-modes-table td {
    padding: 10px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12px;
    color: #cbd5e1;
}

.comp-modes-table td:nth-child(2),
.comp-modes-table td:nth-child(3) {
    text-align: right;
    font-family: var(--font-mono);
    font-weight: 700;
}

.mode-badge-faceit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 85, 0, 0.15);
    color: #ff5500;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    border: 1px solid rgba(255, 85, 0, 0.3);
}

.mode-badge-premier {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
}

/* ==========================================================================
   SETTINGS TAB (TAB-SETTINGS - IMAGE 1)
   ========================================================================== */
.settings-wrapper {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-subnav-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 14, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.settings-subnav-btn {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.settings-subnav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.settings-subnav-btn.active {
    color: #000;
    background: #4ade80;
    border-color: #4ade80;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
}

.settings-card {
    background: rgba(12, 16, 25, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.settings-card-header {
    background: linear-gradient(90deg, rgba(22, 30, 44, 0.75) 0%, rgba(12, 16, 25, 0.5) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-card-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.settings-code-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.settings-code-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.settings-code-group label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.settings-code-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.settings-code-input-wrap input {
    width: 100%;
    background: rgba(8, 11, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 36px 10px 14px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-code-input-wrap input:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

.settings-code-input-wrap .valid-icon {
    position: absolute;
    right: 12px;
    color: #4ade80;
    font-size: 13px;
}

.settings-accordion-box {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
}

.settings-accordion-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.settings-accordion-toggle:hover {
    color: #fff;
}

.settings-accordion-content {
    display: none;
    padding: 14px 0 6px 0;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.settings-accordion-content.open {
    display: block;
}

.settings-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 10px;
}

@media (max-width: 1100px) {
    .stats-dashboard-grid {
        grid-template-columns: 1fr;
    }
    .settings-code-inputs-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CS2 Subnav Bar (Matching csrep.gg - No Clipping, Clean Pills)
   ========================================================================== */
.steam-subnav-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 8px 12px;
    background: rgba(10, 14, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 20px;
    backdrop-filter: blur(16px);
    width: 100%;
    box-sizing: border-box;
}

.steam-subnav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

.steam-subnav-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.steam-subnav-pill.active {
    background: rgba(0, 255, 157, 0.12) !important;
    color: #00ff9d !important;
    border-color: rgba(0, 255, 157, 0.4) !important;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.2);
}

.steam-subnav-pill .badge {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
}

.steam-subnav-pill.active .badge {
    background: rgba(0, 255, 157, 0.25);
    color: #00ff9d;
}

/* ==========================================================================
   CS2 Matches History Cards (Matching csrep.gg)
   ========================================================================== */
.matches-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-card-row {
    display: grid;
    grid-template-columns: 220px 140px 1fr 140px;
    align-items: center;
    gap: 16px;
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 20px;
    transition: all 0.2s ease;
}

.match-card-row.win {
    border-left: 4px solid #00ff9d;
}

.match-card-row.loss {
    border-left: 4px solid #ef4444;
}

.match-card-row:hover {
    border-color: rgba(0, 255, 157, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.match-map-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.match-map-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.2));
}

.match-map-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.match-map-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.match-score-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-family: var(--font-mono);
}

.match-score-badge.win {
    background: rgba(0, 255, 157, 0.12);
    border: 1px solid rgba(0, 255, 157, 0.3);
    color: #00ff9d;
}

.match-score-badge.loss {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.match-stats-metrics {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    text-align: center;
}

.match-metric-item .val {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.match-metric-item .lbl {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ==========================================================================
   CS2 Weapon Statistics Grid (Matching csrep.gg)
   ========================================================================== */
.weapons-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.weapon-stat-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
}

.weapon-stat-card:hover {
    border-color: rgba(0, 255, 157, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.weapon-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weapon-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.weapon-card-type {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 6px;
}

.weapon-card-img-wrap {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.weapon-card-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.2));
}

.weapon-card-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
}

@media (max-width: 900px) {
    .match-card-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==========================================================================
   Steam Sub-Navigation Bar (Matching csrep.gg & Steam Community)
   ========================================================================== */
.steam-subnav-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(10, 15, 24, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.steam-subnav-bar::-webkit-scrollbar {
    display: none;
}

.steam-subnav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
}

.steam-subnav-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.steam-subnav-pill.active {
    background: rgba(0, 255, 157, 0.12);
    color: #00ff9d;
    border-color: rgba(0, 255, 157, 0.45);
    box-shadow: 0 0 16px rgba(0, 255, 157, 0.15);
}

.steam-subnav-pill .badge {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.steam-subnav-pill.active .badge {
    background: rgba(0, 255, 157, 0.25);
    color: #00ff9d;
}

/* ==========================================================================
   Settings Page Styles (Matching csrep.gg & Image 1)
   ========================================================================== */
.settings-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-subnav-bar {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(13, 19, 29, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow-x: auto;
}

.settings-nav-pill {
    padding: 8px 18px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.settings-nav-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.settings-nav-pill.active {
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.1);
}

.settings-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.settings-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-card-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.settings-at-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
}

.settings-pro-badge {
    color: #00ff9d;
    font-size: 14px;
}

.settings-card-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.settings-input {
    background: rgba(20, 28, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13px;
    font-family: var(--font-mono);
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-input:focus {
    border-color: #00ff9d;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
}

.btn-unlock-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.2) 0%, rgba(0, 200, 120, 0.1) 100%);
    border: 1px solid rgba(0, 255, 157, 0.4);
    border-radius: 8px;
    color: #00ff9d;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-unlock-pro:hover {
    background: rgba(0, 255, 157, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
    transform: translateY(-1px);
}

.settings-helper-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.settings-helper-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.settings-fetch-steam-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.settings-fetch-steam-btn:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

.settings-code-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.settings-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.settings-input-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-input-wrapper {
    position: relative;
}

.settings-code-input {
    width: 100%;
    background: rgba(20, 28, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 36px 10px 14px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

.settings-code-input:focus {
    border-color: #00ff9d;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
}

.settings-input-status-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ff9d;
    font-size: 14px;
}

.settings-accordion-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(20, 28, 42, 0.4);
    padding: 12px 16px;
    cursor: pointer;
}

.settings-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1;
}

.settings-actions-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-delete-codes {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #f87171;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete-codes:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.btn-submit-codes {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #00ff9d 0%, #00cc7e 100%);
    border: none;
    border-radius: 8px;
    color: #0c1017;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
    transition: all 0.2s ease;
}

.btn-submit-codes:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(0, 255, 157, 0.5);
}

@media (max-width: 768px) {
    .settings-code-inputs-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   VIEW 1: CS2 MATCHES TABLE (Matching Screenshot 1)
   ========================================================================== */
.matches-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.matches-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 14px;
    flex: 1;
    max-width: 380px;
}

.matches-search-wrap i {
    color: var(--text-muted);
    font-size: 13px;
}

.matches-search-wrap input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    width: 100%;
}

.matches-search-wrap input::placeholder {
    color: #64748b;
    font-weight: 600;
}

.matches-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.matches-ctrl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 14px;
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.matches-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.csrep-matches-table-wrap {
    background: rgba(10, 15, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.csrep-matches-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1080px;
    font-size: 12px;
}

.csrep-matches-table thead tr {
    background: rgba(16, 24, 38, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.csrep-matches-table th {
    padding: 12px 14px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.csrep-matches-table th i {
    margin-left: 4px;
    font-size: 10px;
    opacity: 0.7;
}

.csrep-match-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.15s ease;
    position: relative;
}

.csrep-match-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.csrep-match-row.win {
    border-left: 3px solid #00ff9d;
}

.csrep-match-row.loss {
    border-left: 3px solid #f43f5e;
}

.csrep-match-row.tie {
    border-left: 3px solid #fbbf24;
}

.csrep-match-row td {
    padding: 12px 14px;
    vertical-align: middle;
    white-space: nowrap;
}

.cell-map-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.badge-score-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 12px;
}

.badge-score-pill.win {
    background: rgba(0, 255, 157, 0.15);
    border: 1px solid rgba(0, 255, 157, 0.35);
    color: #00ff9d;
}

.badge-score-pill.loss {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #f87171;
}

.badge-score-pill.tie {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
}

.mode-badge-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 12px;
}

.mode-badge-cell.faceit {
    color: #ff5500;
}

.mode-badge-cell.premier {
    color: #c084fc;
}

.mode-badge-cell.wingman {
    color: #38bdf8;
}

.rank-badge-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.faceit-lvl-pip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #22c55e;
    color: #0c1017;
    font-size: 11px;
    font-weight: 900;
}

.premier-rating-box {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(217, 70, 239, 0.15) 100%);
    border: 1px solid #c084fc;
    color: #f3e8ff;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
}

.wingman-rank-box {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid #38bdf8;
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
}

.num-pos {
    color: #00ff9d;
    font-weight: 800;
    font-family: var(--font-mono);
}

.num-neg {
    color: #f87171;
    font-weight: 800;
    font-family: var(--font-mono);
}

.num-zero {
    color: #64748b;
    font-weight: 700;
    font-family: var(--font-mono);
}

.action-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.action-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   VIEW 2: MAPS PERFORMANCE (Matching Screenshot 2)
   ========================================================================== */
.maps-weapons-toggle {
    display: inline-flex;
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 20px;
}

.mw-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mw-tab.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.maps-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.maps-pills {
    display: flex;
    gap: 8px;
}

.m-pill {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(13, 19, 29, 0.8);
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.m-pill.active {
    background: #00ff9d;
    color: #0c1017;
    border-color: #00ff9d;
}

.map-perf-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.map-perf-card:hover {
    border-color: rgba(0, 255, 157, 0.3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.map-card-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-thumb-box {
    position: relative;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #141c2b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(10,15,24,0.9) 100%);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.map-thumb-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-winrate-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.winrate-big {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #00ff9d;
    line-height: 1;
}

.winrate-lbl {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
}

.winrate-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.winrate-bar-fill {
    height: 100%;
    background: #00ff9d;
    border-radius: 4px;
}

.winrate-played-txt {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    font-family: var(--font-mono);
}

.map-card-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.map-top-modes-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-top-modes-row strong {
    color: #fff;
}

.map-3col-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric-group-box {
    background: rgba(20, 28, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 10px 12px;
}

.metric-group-title {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 4px;
}

.metric-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    text-align: center;
}

.metric-sub-item .m-val {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
}

.metric-sub-item .m-lbl {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 2px;
}

.map-bottom-kills-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.special-kills-pill-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
}

.special-kills-lbl {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.special-kills-items {
    display: flex;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #cbd5e1;
}

.special-kills-items span strong {
    color: #fff;
    margin-left: 2px;
}

@media (max-width: 1024px) {
    .map-perf-card {
        grid-template-columns: 1fr;
    }
    .map-3col-metrics {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   VIEW 3: WEAPONS PERFORMANCE (Matching Screenshot 3)
   ========================================================================== */
.weapon-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.weapon-kpi-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 20px;
}

.weapon-kpi-lbl {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.weapon-kpi-val {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
}

.weapon-kpi-sub {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    margin-left: 6px;
}

.weapon-perf-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
}

.weapon-table-box {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.weapon-row-item {
    display: grid;
    grid-template-columns: 180px 80px 80px 80px 80px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.weapon-row-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.weapon-row-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.weapon-row-svg {
    width: 44px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 255, 157, 0.2));
}

.weapon-row-name-wrap {
    display: flex;
    flex-direction: column;
}

.weapon-row-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.weapon-row-cat {
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.weapon-share-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
    width: 60px;
}

.weapon-share-bar-fill {
    height: 100%;
    background: #00ff9d;
}

.weapon-val-col {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-align: right;
}

/* Hit Distribution & Body Map */
.hit-distribution-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hit-dist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hit-dist-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.hit-dist-kpis {
    display: flex;
    gap: 24px;
    padding: 12px 16px;
    background: rgba(20, 28, 42, 0.6);
    border-radius: 8px;
    justify-content: space-around;
    text-align: center;
}

.hit-kpi-item .v {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.hit-kpi-item .l {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.body-anatomy-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 200px;
}

.body-anatomy-svg {
    height: 200px;
    filter: drop-shadow(0 0 16px rgba(0, 255, 157, 0.3));
}

.hit-regions-table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.hit-regions-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hit-regions-table td {
    padding: 8px 6px;
}

.region-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

@media (max-width: 1024px) {
    .weapon-perf-main-grid {
        grid-template-columns: 1fr;
    }
    .weapon-kpi-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   VIEW 4: CROSSHAIRS GALLERY (Matching Screenshot 4)
   ========================================================================== */
.crosshairs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.crosshair-item-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.crosshair-item-card:hover {
    border-color: rgba(0, 255, 157, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.crosshair-preview-area {
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crosshair-version-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(10, 15, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.crosshair-render-center {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crosshair-card-info {
    padding: 12px 14px;
    background: rgba(10, 15, 24, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crosshair-card-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.crosshair-card-stats {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crosshair-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(10, 15, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #94a3b8;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crosshair-copy-btn:hover {
    background: #00ff9d;
    color: #0c1017;
    border-color: #00ff9d;
}

.crosshair-pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
}

.crosshair-pagination-bar button {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 800;
}

@media (max-width: 1200px) {
    .crosshairs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .crosshairs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .crosshairs-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MATCH DETAILS PAGE (Matching csrep.gg/match/...)
   ========================================================================== */
.match-details-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.match-hero-banner {
    position: relative;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 16px;
    margin-bottom: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.match-hero-content {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(4px);
}

.match-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.match-mode-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.3);
    color: #ff6600;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.match-mode-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.meta-separator {
    color: rgba(255, 255, 255, 0.2);
}

.match-scoreboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.match-team-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.match-team-block.team-b {
    justify-content: flex-end;
}

.team-meta .team-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #64748b;
    display: block;
    margin-bottom: 2px;
}

.team-meta .team-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.team-score-badge {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    width: 68px;
    height: 68px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.team-score-badge.score-win {
    background: rgba(0, 255, 157, 0.15);
    border: 2px solid #00ff9d;
    color: #00ff9d;
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.25);
}

.team-score-badge.score-loss {
    background: rgba(239, 68, 68, 0.12);
    border: 2px solid #ef4444;
    color: #ef4444;
}

.match-vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.vs-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    color: #475569;
    letter-spacing: 2px;
}

.map-name-pill {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.match-integrity-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.integrity-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #cbd5e1;
}

.integrity-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-match-action {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-match-action:hover {
    background: #00ff9d;
    color: #0c1017;
    border-color: #00ff9d;
}

/* Match Sub-Nav Pills Bar */
.match-subnav-bar-container {
    background: rgba(13, 19, 29, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 24px;
}

.match-subnav-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
}

.match-subnav-pill {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.match-subnav-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.match-subnav-pill.active {
    background: rgba(0, 255, 157, 0.12);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.match-tab-pane {
    display: none;
}

.match-tab-pane.active {
    display: block;
}

/* Overview Mode Switcher */
.overview-mode-switcher-bar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.mode-pill-group {
    display: inline-flex;
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.mode-toggle-pill {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mode-toggle-pill.active {
    background: #00ff9d;
    color: #0c1017;
}

/* Scoreboard Card & Tables */
.match-scoreboard-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.scoreboard-team-header {
    padding: 16px 20px;
    background: rgba(10, 15, 24, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.team-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.side-indicator {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.side-indicator.side-ct {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.side-indicator.side-t {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.team-result-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.team-result-badge.badge-win {
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.team-result-badge.badge-loss {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.match-scoreboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}

.match-scoreboard-table thead th {
    padding: 12px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #64748b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 12, 20, 0.5);
}

.match-scoreboard-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.match-scoreboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.match-scoreboard-table tbody td {
    padding: 12px 14px;
    color: #e2e8f0;
}

.player-cell-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.p-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.p-name {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.p-name:hover {
    color: #00ff9d;
}

.p-rank-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #94a3b8;
}

.trust-badge {
    background: rgba(0, 255, 157, 0.1);
    color: #00ff9d;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

/* Timeline Components */
.timeline-rounds-bar {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.rounds-bar-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    white-space: nowrap;
}

.rounds-list-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.round-select-pill {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.round-select-pill.active {
    background: #00ff9d;
    color: #0c1017;
    border-color: #00ff9d;
}

.timeline-event-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.event-filter-btn {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.event-filter-btn.active {
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
    border-color: rgba(0, 255, 157, 0.3);
}

.timeline-feed-wrap {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.round-feed-header {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
    color: #fff;
    font-family: var(--font-heading);
}

.timeline-event-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-event-card {
    background: rgba(10, 15, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.event-time-stamp {
    font-size: 12px;
    color: #64748b;
    width: 50px;
}

.event-combat-flow {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.combat-entity {
    font-weight: 800;
    font-size: 13px;
}

.combat-weapon-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.combat-weapon-img {
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hs-icon-badge {
    color: #ef4444;
    font-size: 12px;
}

.event-telemetry-tags {
    display: flex;
    gap: 10px;
}

.telem-tag {
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #94a3b8;
    font-family: var(--font-mono);
}

/* Players Deepdive Grid */
.players-deepdive-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
}

.roster-col-title {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.roster-items-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.roster-player-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.roster-player-card:hover, .roster-player-card.selected {
    background: rgba(0, 255, 157, 0.08);
    border-color: #00ff9d;
}

.roster-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

.roster-info {
    display: flex;
    flex-direction: column;
}

.roster-name {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.roster-rating {
    font-size: 11px;
    color: #94a3b8;
}

.player-matrix-column {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.player-matrix-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

.selected-avatar {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    border: 2px solid #00ff9d;
}

.selected-meta h2 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 0 0 4px 0;
}

.selected-tag {
    color: #94a3b8;
    font-size: 12px;
}

.player-metrics-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.player-metric-box {
    background: rgba(10, 15, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.round-matrix-pills-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.rnd-stat-box {
    background: rgba(10, 15, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
}

.rnd-stat-box.had-kills {
    background: rgba(0, 255, 157, 0.1);
    border-color: #00ff9d;
    color: #00ff9d;
}

/* Duel Matrix Styles */
.duels-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.duel-matrix-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.duel-card-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 16px;
}

.duel-matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}

.duel-matrix-table th, .duel-matrix-table td {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.duel-matrix-table th {
    background: rgba(10, 15, 24, 0.8);
    color: #94a3b8;
    font-size: 12px;
}

.duel-favorable {
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
    font-weight: 800;
}

.duel-unfavorable {
    color: #64748b;
}

/* Economy Section */
.economy-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.economy-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.eco-team-name {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 18px;
    margin: 12px 0 16px 0;
}

.eco-stats-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eco-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 8px;
}

.economy-chart-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.economy-rounds-bars-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 150px;
    padding-top: 20px;
    overflow-x: auto;
}

.chart-round-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.chart-bars-group {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 120px;
}

.bar-team-a {
    width: 14px;
    background: #3b82f6;
    border-radius: 3px 3px 0 0;
}

.bar-team-b {
    width: 14px;
    background: #f59e0b;
    border-radius: 3px 3px 0 0;
}

.chart-round-lbl {
    font-size: 10px;
    color: #64748b;
    font-weight: 800;
}

/* Insights & Awards */
.insights-records-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.insight-record-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.record-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 255, 157, 0.1);
    color: #00ff9d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.record-info {
    display: flex;
    flex-direction: column;
}

.record-title {
    font-size: 11px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
}

.record-val {
    font-size: 18px;
    color: #fff;
}

.record-sub {
    font-size: 11px;
    color: #94a3b8;
}

.match-awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.match-award-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.award-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.award-header-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.award-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.award-player {
    font-size: 12px;
    color: #00ff9d;
}

.award-desc {
    font-size: 12px;
    color: #94a3b8;
    margin: 4px 0 0 0;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.highlight-clip-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.highlight-thumbnail-wrap {
    position: relative;
    height: 180px;
}

.highlight-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #00ff9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff9d;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.play-overlay-btn:hover {
    transform: scale(1.1);
    background: #00ff9d;
    color: #0c1017;
}

.clip-time-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    color: #fff;
    font-weight: 700;
}

.highlight-info-box {
    padding: 16px;
}

.clip-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.clip-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
}

.clip-download-btn {
    color: #00ff9d;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .players-deepdive-grid {
        grid-template-columns: 1fr;
    }
    .insights-records-grid, .duels-kpi-row, .highlights-grid {
        grid-template-columns: 1fr 1fr;
    }
    .match-awards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CS2MONITOR MATCHES VIEW & KPI GRID (1:1 Layout & CS2 Badges)
   ========================================================================== */
.cs2mon-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.cs2mon-kpi-card {
    background: rgba(13, 19, 29, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cs2mon-kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 157, 0.3);
}

.cs2mon-kpi-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs2mon-kpi-value-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs2mon-kpi-number {
    font-size: 26px;
    font-weight: 900;
    font-family: var(--font-mono);
    line-height: 1;
}

.cs2mon-premier-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs2mon-ratio-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.cs2mon-kpi-sub {
    font-size: 11px;
    color: #64748b;
}

/* Controls Bar */
.cs2mon-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.cs2mon-filter-tabs {
    display: flex;
    gap: 6px;
    background: rgba(13, 19, 29, 0.75);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cs2mon-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-heading);
}

.cs2mon-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.cs2mon-tab-btn.active {
    background: rgba(0, 255, 157, 0.15);
    border-color: rgba(0, 255, 157, 0.35);
    color: #00ff9d;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.15);
}

.cs2mon-search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 380px;
}

.cs2mon-search-box i {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 12px;
}

.cs2mon-search-box input {
    width: 100%;
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 14px 8px 34px;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cs2mon-search-box input:focus {
    outline: none;
    border-color: #00ff9d;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.2);
}

/* Matches Table Container */
.cs2mon-table-container {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.cs2mon-matches-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.cs2mon-matches-table th {
    background: rgba(6, 9, 15, 0.85);
    padding: 14px 16px;
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cs2mon-matches-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.cs2mon-match-row {
    transition: background 0.15s ease;
    cursor: pointer;
}

.cs2mon-match-row:hover {
    background: rgba(255, 255, 255, 0.035);
}

.cs2mon-match-row.win td:first-child {
    border-left: 3px solid #10b981;
}

.cs2mon-match-row.loss td:first-child {
    border-left: 3px solid #ef4444;
}

.cs2mon-match-row.tie td:first-child {
    border-left: 3px solid #64748b;
}

/* Result & Date Stack */
.cs2mon-result-date-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs2mon-res-badge {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 900;
    flex-shrink: 0;
}

.cs2mon-res-badge.win {
    background: rgba(16, 185, 129, 0.18);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.cs2mon-res-badge.loss {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.cs2mon-res-badge.tie {
    background: rgba(100, 116, 139, 0.18);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.4);
}

.cs2mon-date-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cs2mon-date-rel {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.cs2mon-date-fmt {
    font-size: 11px;
    color: #64748b;
    font-family: var(--font-mono);
    white-space: nowrap;
}

/* Map Cell */
.cs2mon-map-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs2mon-map-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs2mon-map-icon-wrap img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.cs2mon-map-title {
    font-weight: 800;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Team Avatars Overlap Stack */
.cs2mon-team-avatars {
    display: flex;
    align-items: center;
}

.cs2mon-avatar-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #0d131d;
    margin-right: -8px;
    object-fit: cover;
    background: #1e293b;
    transition: transform 0.15s ease, z-index 0.15s ease;
}

.cs2mon-avatar-circle:hover {
    transform: scale(1.3);
    z-index: 10;
    border-color: #00ff9d;
    box-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

/* Score Display */
.cs2mon-score-display {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cs2mon-score-val.score-winner {
    color: #10b981;
    font-weight: 900;
}

.cs2mon-score-val.score-loser {
    color: #ef4444;
}

.cs2mon-score-val.score-tie {
    color: #94a3b8;
}

.cs2mon-score-divider {
    color: #64748b;
    font-weight: 400;
}

/* Performance Pills */
.cs2mon-perf-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cs2mon-pill {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cs2mon-pill .pill-lbl {
    color: #64748b;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
}

.cs2mon-pill .pill-num {
    color: #fff;
    font-weight: 800;
}

.cs2mon-pill.rating-high {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.12);
}
.cs2mon-pill.rating-high .pill-num {
    color: #10b981;
}

.cs2mon-pill.rating-mid {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.12);
}
.cs2mon-pill.rating-mid .pill-num {
    color: #f59e0b;
}

.cs2mon-pill.rating-low {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.12);
}
.cs2mon-pill.rating-low .pill-num {
    color: #ef4444;
}

.cs2mon-pill.pill-adr .pill-num {
    color: #38bdf8;
}

/* Mode Badges */
.cs2mon-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.cs2mon-mode-badge.faceit {
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid rgba(255, 85, 0, 0.35);
    color: #ff5500;
}

.faceit-pip {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff5500;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cs2mon-mode-badge.wingman {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

/* Action Arrow Button */
.cs2mon-btn-arrow {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 12px;
}

.cs2mon-btn-arrow:hover {
    background: #00ff9d;
    color: #0c1017;
    border-color: #00ff9d;
    transform: translateX(2px);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

@media (max-width: 1200px) {
    .cs2mon-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   MULTI-GAME STATS & ACHIEVEMENTS HUB
   ========================================================================== */
.game-stats-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.game-stats-selector-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    margin-bottom: 20px;
}

.game-stats-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
}

.game-stats-pill:hover {
    background: rgba(20, 29, 44, 0.95);
    border-color: rgba(0, 255, 157, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

.game-stats-pill.active {
    background: rgba(0, 255, 157, 0.12);
    border-color: #00ff9d;
    color: #00ff9d;
    box-shadow: 0 0 16px rgba(0, 255, 157, 0.2);
}

.game-stats-pill-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
}

.game-stats-pill-hours {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-family: var(--font-mono);
}

.game-stats-pill.active .game-stats-pill-hours {
    background: rgba(0, 255, 157, 0.2);
    color: #00ff9d;
}

/* Hero Banner Card for Selected Game */
.game-stats-hero {
    background: linear-gradient(135deg, rgba(16, 24, 38, 0.95) 0%, rgba(10, 15, 24, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.game-stats-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.game-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.game-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.game-hero-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.game-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 13px;
    flex-wrap: wrap;
}

.game-hero-meta span strong {
    color: #fff;
    font-family: var(--font-mono);
}

.game-hero-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.game-progress-box {
    text-align: right;
    min-width: 180px;
}

.game-progress-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.game-progress-num {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 800;
    color: #00ff9d;
    margin-bottom: 6px;
}

.game-progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.game-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #00ff9d);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* In-Game Key Stats Grid */
.game-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.game-stat-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
}

.game-stat-card:hover {
    background: rgba(18, 26, 40, 0.95);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.game-stat-lbl {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-stat-val {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

/* Steam Achievements Cards Grid */
.game-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.game-ach-card {
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s ease;
}

.game-ach-card:hover {
    background: rgba(18, 26, 40, 0.95);
    border-color: rgba(0, 255, 157, 0.25);
    transform: translateY(-2px);
}

.game-ach-card.unlocked {
    border-color: rgba(0, 255, 157, 0.2);
}

.game-ach-card.locked {
    opacity: 0.55;
    filter: grayscale(0.6);
}

.game-ach-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0e17;
}

.game-ach-info {
    flex: 1;
    min-width: 0;
}

.game-ach-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-ach-desc {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.game-ach-date {
    font-size: 10px;
    font-family: var(--font-mono);
    color: #00ff9d;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 255, 157, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

/* Master All Games Stats Table */
.all-games-stats-table {
    width: 100%;
    border-collapse: collapse;
}

.all-games-stats-table th {
    padding: 12px 16px;
    background: rgba(16, 24, 38, 0.9);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.all-games-stats-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-size: 13px;
}

.all-games-stats-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
    .game-stats-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .game-progress-box {
        text-align: left;
        width: 100%;
    }
    .game-achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   HERO INSTANT STEAM TRACKER & SEARCH BAR
   ============================================================================= */
.hero-search-container {
    max-width: 820px;
    width: 100%;
    margin: 28px auto 32px;
    position: relative;
    z-index: 50;
}

.hero-search-form {
    width: 100%;
}

.hero-search-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(10, 16, 26, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 6px 8px 6px 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-search-input-wrap:focus-within,
.hero-search-input-wrap:hover {
    border-color: #00ff9d;
    box-shadow: 0 12px 45px rgba(0, 255, 157, 0.18), 0 0 0 1px rgba(0, 255, 157, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-search-icon {
    font-size: 18px;
    color: #64748b;
    margin-right: 14px;
    transition: color 0.2s ease;
}

.hero-search-input-wrap:focus-within .hero-search-icon {
    color: #00ff9d;
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    font-family: var(--font-mono);
    letter-spacing: 0.3px;
    min-width: 0;
}

.hero-search-input::placeholder {
    color: #64748b;
    font-family: var(--font-body);
    font-size: 14px;
}

.hero-track-submit-btn {
    background: linear-gradient(135deg, #00ff9d 0%, #00b4d8 100%);
    border: none;
    border-radius: 9px;
    padding: 11px 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #050b14;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hero-track-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 255, 157, 0.45);
    filter: brightness(1.1);
}

.hero-track-submit-btn:active {
    transform: translateY(0);
}

.hero-track-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(0.3);
}

/* Live Search Dropdown */
.hero-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(13, 19, 31, 0.96);
    border: 1px solid rgba(0, 255, 157, 0.25);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(24px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 100;
}

.hero-search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background: transparent;
    transition: all 0.15s ease;
}

.hero-search-result-item:hover {
    background: rgba(0, 255, 157, 0.1);
    transform: translateX(3px);
}

.hero-search-result-avatar-wrap {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    margin-right: 12px;
}

.hero-search-result-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.hero-search-result-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.hero-search-result-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-search-result-sub {
    font-size: 11px;
    color: #94a3b8;
    font-family: var(--font-mono);
}

.hero-search-result-arrow {
    color: #64748b;
    font-size: 12px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.hero-search-result-item:hover .hero-search-result-arrow {
    color: #00ff9d;
    transform: translateX(3px);
}

/* Responsive Hero Ad Banners (Full Responsive Replacement for KPI Cards) */
.hero-ad-banners-wrapper {
    width: 100%;
    max-width: 1080px;
    margin: 22px auto 0 auto;
    padding: 0 4px;
}

.hero-ad-banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.hero-ad-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.88) 0%, rgba(10, 15, 26, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-ad-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
}

.hero-ad-card--nolag:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 157, 0.2);
}

.hero-ad-card--csfloat:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 20px rgba(234, 179, 8, 0.2);
}

.hero-ad-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.85;
}

.hero-ad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hero-ad-brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-ad-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid;
    flex-shrink: 0;
}

.hero-ad-brand-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    display: block;
    line-height: 1.2;
}

.hero-ad-badge {
    font-size: 9.5px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hero-ad-bonus-pill {
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.hero-ad-body {
    margin-bottom: 14px;
}

.hero-ad-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
}

.hero-ad-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-ad-code-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
}

.hero-ad-code-lbl {
    color: #94a3b8;
    font-size: 9.5px;
    font-weight: 700;
}

.hero-ad-code-val {
    color: #fff;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.hero-ad-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-left: auto;
}

.hero-ad-card:hover .hero-ad-btn {
    transform: translateX(2px);
    filter: brightness(1.2);
}

.hero-ad-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.hero-ad-card:hover .hero-ad-shine {
    left: 140%;
}

@media (max-width: 991px) {
    .hero-ad-banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .hero-ad-banners-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-ad-card {
        padding: 14px 14px;
    }
    .hero-ad-title {
        font-size: 12px;
    }
}

/* 4 KPI Metrics Grid */
.hero-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
}

.hero-kpi-card {
    background: rgba(12, 18, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.hero-kpi-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(16, 24, 38, 0.85);
    transform: translateY(-2px);
}

.hero-kpi-val {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1;
}

.hero-kpi-lbl {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.hero-cursor {
    display: inline-block;
    color: #00ff9d;
    font-weight: 300;
    margin-left: 2px;
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
    .hero-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================================================
   AJAX PAGINATION COMPONENT
   ============================================================================= */
.ajax-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding: 16px 20px;
    background: rgba(13, 19, 33, 0.75);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    backdrop-filter: blur(12px);
}

.pagination-info {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-info strong {
    color: #fff;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    user-select: none;
}

.page-btn:hover:not(:disabled):not(.active) {
    background: rgba(0, 255, 157, 0.12);
    border-color: rgba(0, 255, 157, 0.35);
    color: #00ff9d;
    transform: translateY(-1px);
}

.page-btn.active {
    background: #00ff9d;
    border-color: #00ff9d;
    color: #050b14;
    font-weight: 800;
    box-shadow: 0 0 14px rgba(0, 255, 157, 0.4);
}

.page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.page-ellipsis {
    color: var(--text-muted);
    padding: 0 4px;
    font-size: 14px;
}

/* =============================================================================
   WEAPON MASTERY ARSENAL GRID & CARDS
   ============================================================================= */
.weapon-mastery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.weapon-mastery-card {
    background: rgba(14, 20, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.weapon-mastery-card:hover {
    border-color: rgba(0, 255, 157, 0.4);
    background: rgba(18, 26, 42, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 255, 157, 0.15);
}

.weapon-mastery-card.is-top-weapon {
    border-color: rgba(0, 255, 157, 0.45);
    background: linear-gradient(145deg, rgba(0, 255, 157, 0.08) 0%, rgba(14, 20, 32, 0.85) 100%);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
}

.weapon-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.weapon-type-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.weapon-type-rifle { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.weapon-type-sniper { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.weapon-type-pistol { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.weapon-type-smg { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.weapon-type-heavy { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.weapon-type-shotgun { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }
.weapon-type-melee { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
.weapon-type-gear { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }

.weapon-top-rank {
    font-size: 10px;
    font-weight: 800;
    color: #00ff9d;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 255, 157, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.weapon-img-wrap {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 12px 0;
    position: relative;
}

.weapon-img-wrap img {
    max-height: 48px;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7)) brightness(1.1);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.weapon-mastery-card:hover .weapon-img-wrap img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 255, 157, 0.35)) brightness(1.3);
}

.weapon-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.weapon-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

.weapon-kills-val {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 800;
    color: #38bdf8;
}

.weapon-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.weapon-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8 0%, #00ff9d 100%);
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.weapon-sub-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ==========================================================================
   IMAGE 1 & IMAGE 2 REPRODUCTION: COMPACT SERVERS GRID & GAME FILTER PILLS
   ========================================================================== */

/* Game Filter Pills (Exact Style from Image 2) */
.game-filter-pills {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.game-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 10px;
    background: #111722;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-heading);
    user-select: none;
}

.game-filter-pill:hover {
    background: #172030;
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.2);
}

.game-filter-pill.active {
    background: #152238;
    color: #60a5fa;
    border-color: #3b82f6;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

/* Dedicated Servers Page Layout */
.servers-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 24px;
    background: rgba(14, 18, 26, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.sph-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--brand-lime);
    background: rgba(155, 209, 35, 0.12);
    border: 1px solid rgba(155, 209, 35, 0.3);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sph-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px 0;
}

.sph-subtitle {
    color: var(--text-secondary);
    font-size: 13px;
    max-width: 600px;
    margin: 0;
}

.sph-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.servers-stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.sss-item {
    background: rgba(14, 18, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sss-val {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.sss-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.servers-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.servers-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(8, 11, 18, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 8px 14px;
    min-width: 280px;
    flex: 1;
    max-width: 380px;
}

.servers-search-box i {
    color: var(--text-muted);
    font-size: 14px;
}

.servers-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
    font-family: var(--font-sans);
}

.servers-search-box input::placeholder {
    color: var(--text-muted);
}

/* User Profile Server Management & PayPal VIP Modals */
.user-servers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-server-manage-card {
    background: rgba(14, 18, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.user-server-manage-card.is-vip {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.03);
}

.usm-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.usm-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.paypal-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.paypal-plan-card {
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(14, 18, 26, 0.9);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    user-select: none;
}

.paypal-plan-card:hover, .paypal-plan-card.selected {
    border-color: #fbbf24;
    background: rgba(245, 158, 11, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.paypal-plan-badge {
    position: absolute;
    top: -8px;
    right: 8px;
    background: #f59e0b;
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.paypal-plan-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.paypal-plan-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fbbf24;
}

.paypal-plan-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   Toast Notification & Real-Time Player Status Alerts
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 420px;
}

.toast {
    pointer-events: auto;
    background: rgba(14, 20, 32, 0.95);
    border: 1px solid var(--border-glass-bright);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s ease;
}

.toast-success {
    border-left: 4px solid var(--brand-lime);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

.toast-warning {
    border-left: 4px solid var(--gold);
}

.toast-player-card {
    pointer-events: auto;
    background: linear-gradient(135deg, rgba(14, 22, 36, 0.97) 0%, rgba(8, 12, 20, 0.98) 100%);
    border: 1px solid rgba(144, 186, 60, 0.45);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(144, 186, 60, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
    max-width: 400px;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.toast-player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--brand-lime);
    box-shadow: 0 0 10px var(--brand-lime);
}

.toast-player-card.toast-online {
    border-color: rgba(87, 203, 222, 0.45);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(87, 203, 222, 0.2);
}

.toast-player-card.toast-online::before {
    background: #57cbde;
    box-shadow: 0 0 10px #57cbde;
}

.toast-player-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.toast-player-avatar {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-player-content {
    flex: 1;
    min-width: 0;
}

.toast-player-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.toast-player-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 190px;
}

.toast-player-name:hover {
    color: var(--brand-lime);
    text-decoration: underline;
}

.toast-player-action {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-player-game-name {
    color: #90ba3c;
    font-weight: 700;
}

.toast-player-online-badge {
    color: #57cbde;
    font-weight: 700;
}

.toast-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
    align-self: flex-start;
}

.toast-close-btn:hover {
    color: #fff;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ==========================================================================
   Enhanced Account Card Steam Background & Glassmorphic Styling
   ========================================================================== */
.account-card {
    background-color: var(--bg-card);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
}

.account-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 157, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), var(--glow-lime-sm);
}

.account-card .stat-pill-sm {
    background: rgba(10, 15, 26, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-card .csrep-commends-row {
    background: rgba(10, 15, 26, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   CS2BGD31.RU - LEFT SIDEBAR & TOP NAVBAR SYSTEM
   ========================================================================== */

/* Layout Grid Container */
body.sidebar-layout {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background-color: #0c0f17;
    position: relative;
    overflow-x: hidden;
}

/* Fixed Left Sidebar (Matched with footer colors) */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 240px;
    background: rgba(8, 11, 16, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(155, 209, 35, 0.25);
    z-index: 1000;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(155, 209, 35, 0.3) transparent;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6);
}

.sidebar.collapsed {
    width: 68px;
}

.sidebar__wrapper {
    display: flex;
    flex-direction: column;
    padding: 18px 12px;
    height: 100%;
}

.sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 16px 10px;
    border-bottom: 1px solid rgba(155, 209, 35, 0.2);
    margin-bottom: 14px;
    gap: 8px;
    min-width: 0;
}

.sidebar__brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.sidebar__brand-logo {
    max-height: 28px;
    max-width: 120px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar__brand-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(2, 132, 199, 0.3) 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
    flex-shrink: 0;
}

.sidebar__header-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    transition: opacity 0.2s;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.sidebar.collapsed .sidebar__header-text {
    display: none;
    opacity: 0;
}

.sidebar.collapsed .sidebar__brand-logo {
    max-width: 32px;
}

.sidebar__toggle {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    margin-left: auto;
}

.sidebar__toggle:hover {
    color: #000;
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    transform: translateY(-1px);
}

.sidebar__toggle-arrow {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.sidebar.opened .sidebar__toggle-arrow {
    transform: rotate(180deg);
}

.sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebal__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.sidebal__item i {
    font-size: 16px;
    min-width: 20px;
    text-align: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sidebal__item:hover {
    background: rgba(155, 209, 35, 0.12);
    border-color: rgba(155, 209, 35, 0.45);
    color: #fff;
    transform: none !important;
    animation: sidebalItemBlink 1.3s ease-in-out infinite alternate;
}

.sidebal__item:hover i {
    color: var(--brand-lime);
    transform: none !important;
    text-shadow: 0 0 10px rgba(155, 209, 35, 0.7);
}

@keyframes sidebalItemBlink {
    0% {
        box-shadow: 0 0 3px rgba(155, 209, 35, 0.15);
        border-color: rgba(155, 209, 35, 0.3);
        opacity: 0.9;
    }
    100% {
        box-shadow: 0 0 12px rgba(155, 209, 35, 0.45);
        border-color: rgba(155, 209, 35, 0.7);
        opacity: 1;
    }
}

.sidebar__item-badge {
    margin-left: auto;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    display: inline-block;
}
.sidebar__item-badge.badge-lime {
    background: rgba(155, 209, 35, 0.18);
    color: var(--brand-lime);
    border: 1px solid rgba(155, 209, 35, 0.4);
}
.sidebar__item-badge.badge-danger {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.sidebar__item-badge.badge-gold {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.sidebar__item-badge.badge-blue {
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.sidebar.collapsed .sidebar__item-badge {
    display: none;
}

.sidebal__item.active {
    background: linear-gradient(135deg, rgba(155, 209, 35, 0.22), rgba(155, 209, 35, 0.08));
    color: #fff;
    border: 1px solid rgba(155, 209, 35, 0.45);
    box-shadow: 0 0 16px rgba(155, 209, 35, 0.18);
}

.sidebal__item.active i {
    color: var(--brand-lime);
}

.sidebar.collapsed .sidebar__item-text {
    display: none;
}

.sidebar.collapsed .sidebal__item {
    justify-content: center;
    padding: 12px;
}

/* Global Content Container aligned next to sidebar */
.global-container {
    flex: 1;
    margin-left: 240px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

body.sidebar-collapsed .global-container {
    margin-left: 68px;
}

/* Top Navbar Header (Matched with footer colors) */
.navbar-header {
    background: rgba(8, 11, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(155, 209, 35, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
}

.navbar-header-inner {
    max-width: 100%;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.navbar_menu_left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav_sitename {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(8, 11, 16, 0.9);
    border: 1px solid rgba(155, 209, 35, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
}

.nav_sitename .texting {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Live Playing Counter & Interactive Dropdown Widget */
.online_widget_wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.online {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.online__counter {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 20px;
    background: rgba(13, 17, 28, 0.85);
    border: 1px solid rgba(155, 209, 35, 0.35);
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
    box-shadow: 0 0 14px rgba(155, 209, 35, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.online__counter:hover {
    border-color: var(--brand-lime);
    box-shadow: 0 0 18px rgba(155, 209, 35, 0.25);
    transform: translateY(-1px);
    background: rgba(20, 26, 40, 0.95);
}

.online__square-figure {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--brand-lime);
    box-shadow: 0 0 8px var(--brand-lime);
    display: inline-block;
    animation: pulseDotGlow 2s infinite;
}

@keyframes pulseDotGlow {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--brand-lime); }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.online__text {
    color: #94a3b8;
    font-weight: 500;
}

.online__count {
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--brand-lime);
}

.online__caret {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.online_widget_wrap.open .online__caret {
    transform: rotate(180deg);
    color: var(--brand-lime);
}

.online_dropdown_panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 310px;
    background: rgba(11, 15, 24, 0.97);
    border: 1px solid rgba(155, 209, 35, 0.35);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(155, 209, 35, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.online_widget_wrap:hover .online_dropdown_panel,
.online_widget_wrap.open .online_dropdown_panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.online_drop_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}

.online_drop_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.online_drop_total_badge {
    background: rgba(155, 209, 35, 0.15);
    border: 1px solid rgba(155, 209, 35, 0.35);
    color: var(--brand-lime);
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 2px 8px;
    border-radius: 20px;
}

.online_drop_section {
    margin-bottom: 10px;
}

.online_drop_section_title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.online_drop_servers_list,
.online_drop_games_list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 170px;
    overflow-y: auto;
}

.online_drop_servers_list::-webkit-scrollbar,
.online_drop_games_list::-webkit-scrollbar {
    width: 4px;
}
.online_drop_servers_list::-webkit-scrollbar-thumb,
.online_drop_games_list::-webkit-scrollbar-thumb {
    background: rgba(155, 209, 35, 0.3);
    border-radius: 4px;
}

.online_drop_server_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: #cbd5e1;
    transition: all 0.15s ease;
}

.online_drop_server_item:hover {
    background: rgba(155, 209, 35, 0.1);
    border-color: rgba(155, 209, 35, 0.3);
    color: #fff;
    transform: translateX(2px);
}

.online_drop_srv_info {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    max-width: 78%;
}

.online_drop_game_icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

.online_drop_srv_name {
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online_drop_srv_count,
.online_drop_game_count {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 11px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 2px 7px;
    border-radius: 6px;
    flex-shrink: 0;
}

.online_drop_server_item:hover .online_drop_srv_count {
    color: var(--brand-lime);
    background: rgba(155, 209, 35, 0.2);
    border-color: rgba(155, 209, 35, 0.4);
}

.online_drop_game_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    color: #94a3b8;
}

.online_drop_game_name {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 78%;
}

.online_drop_footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.online_drop_site_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(155, 209, 35, 0.06);
    border: 1px solid rgba(155, 209, 35, 0.2);
    border-radius: 8px;
}

.online_drop_site_lbl {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.online_site_count_badge {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 12px;
    color: var(--brand-lime);
    background: rgba(155, 209, 35, 0.18);
    border: 1px solid rgba(155, 209, 35, 0.4);
    padding: 2px 8px;
    border-radius: 6px;
}

.online_drop_all_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.online_drop_all_btn:hover {
    color: #fff;
    background: rgba(155, 209, 35, 0.15);
    border-color: rgba(155, 209, 35, 0.35);
}

/* Social Nav Icons */
.social_buttons.social_nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social_button {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 15px;
    transition: all 0.25s ease;
}

.social_button:hover {
    color: #000;
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    transform: translateY(-2px);
}

.social_button.steam:hover { color: #000; background: var(--brand-lime); border-color: var(--brand-lime); }
.social_button.discord:hover { color: #000; background: var(--brand-lime); border-color: var(--brand-lime); }
.social_button.telegram:hover { color: #000; background: var(--brand-lime); border-color: var(--brand-lime); }
.social_button.youtube:hover { color: #000; background: var(--brand-lime); border-color: var(--brand-lime); }
.social_button.tiktok:hover { color: #000; background: var(--brand-lime); border-color: var(--brand-lime); }

/* Mobile Hamburger Toggle */
.header_burger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.header_burger:hover {
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
}

.header_burger span,
.header_burger span::before,
.header_burger span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: all 0.25s ease;
}

.header_burger span::before {
    content: '';
    top: -6px;
}

.header_burger span::after {
    content: '';
    top: 6px;
}

.header_burger.active span {
    background: transparent;
}

.header_burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.header_burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Dropdown Menu */
.nav_header_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass-bright);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
    padding: 14px 20px;
    z-index: 99999;
}

.nav_header_menu.open {
    display: block;
    animation: menuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.header_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header_list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.header_list li a:hover,
.header_list li a.active {
    background: rgba(155, 209, 35, 0.15);
    border-color: var(--brand-lime);
    color: #fff;
}

@keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Top Right User Menu */
.navbar_usermenu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.user-profile-nav-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(155, 209, 35, 0.25);
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.user-avatar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.user-avatar-nav-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--brand-lime);
}

.user-nav-text-block {
    display: flex;
    flex-direction: column;
}

.user-nav-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-nav-role {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.user-nav-role.role-admin { color: var(--gold); }
.user-nav-role.role-user { color: var(--brand-lime); }

/* ==========================================================================
   CS2BGD31.RU - SERVER LIST CARDS COMPONENT
   ========================================================================== */
.servers-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 14px;
    width: 100%;
}

/* ==========================================================================
   HOMEPAGE VIP SERVERS 5-CARD CAROUSEL
   ========================================================================== */
.vip-carousel-container {
    position: relative;
    width: 100%;
    margin: 12px 0 20px;
    display: flex;
    align-items: center;
}

.vip-carousel-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 12px;
    padding: 6px 2px;
}
.vip-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.vip-carousel-track {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
}

.vip-carousel-track > .server-compact-card {
    flex: 0 0 calc((100% - (4 * 10px)) / 5);
    min-width: calc((100% - (4 * 10px)) / 5);
    max-width: calc((100% - (4 * 10px)) / 5);
    min-height: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
}

@media (max-width: 1360px) {
    .vip-carousel-track > .server-compact-card {
        flex: 0 0 calc((100% - (3 * 10px)) / 4);
        min-width: calc((100% - (3 * 10px)) / 4);
        max-width: calc((100% - (3 * 10px)) / 4);
    }
}
@media (max-width: 1080px) {
    .vip-carousel-track > .server-compact-card {
        flex: 0 0 calc((100% - (2 * 10px)) / 3);
        min-width: calc((100% - (2 * 10px)) / 3);
        max-width: calc((100% - (2 * 10px)) / 3);
    }
}
@media (max-width: 768px) {
    .vip-carousel-track > .server-compact-card {
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }
}
@media (max-width: 480px) {
    .vip-carousel-track > .server-compact-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

.vip-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 15, 26, 0.95);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 10px rgba(251, 191, 36, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.vip-carousel-btn:hover {
    background: #fbbf24;
    color: #000;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.7);
    transform: translateY(-50%) scale(1.1);
}
.vip-carousel-btn:disabled,
.vip-carousel-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0.1);
    color: #64748b;
    box-shadow: none;
}
.vip-carousel-btn.prev {
    left: -16px;
}
.vip-carousel-btn.next {
    right: -16px;
}

/* Empty VIP Slot Placeholder Card */
.server-compact-card.is-empty-vip-slot {
    background: linear-gradient(135deg, rgba(16, 22, 36, 0.85) 0%, rgba(10, 14, 24, 0.95) 100%) !important;
    border: 1px dashed rgba(251, 191, 36, 0.4) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer;
    text-decoration: none;
}
.server-compact-card.is-empty-vip-slot:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(18, 26, 42, 0.95) 100%) !important;
    border: 1px solid #fbbf24 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(251, 191, 36, 0.35) !important;
    transform: translateY(-2px);
}
.srv-empty-slot-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px dashed rgba(251, 191, 36, 0.5);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.server-compact-card.is-empty-vip-slot:hover .srv-empty-slot-icon {
    background: #fbbf24;
    color: #000;
    border-style: solid;
    transform: scale(1.05);
}
.vip-slot-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.srv-empty-desc {
    font-size: 10px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.srv-add-slot-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.server-compact-card.is-empty-vip-slot:hover .srv-add-slot-btn {
    background: #fbbf24;
    color: #000;
    border-color: #fbbf24;
}

.srv-game-badge-img {
    height: 16px;
    width: auto;
    max-width: 32px;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
    flex-shrink: 0;
    border-radius: 2px;
}

.server-compact-card {
    position: relative;
    background-color: #151b27;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.server-compact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(155, 209, 35, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 15px rgba(155, 209, 35, 0.2);
}

.server-compact-card.is-vip-card {
    border-color: rgba(251, 191, 36, 0.35);
}

/* ==========================================================================
   CS2BGD31.RU - PIXEL-PERFECT GAME SERVERS DESIGN & SPLIT ARCHITECTURE
   ========================================================================== */

/* 1. Category Filter Pills */
.cs2bgd-pills-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 16px;
    scrollbar-width: none;
}
.cs2bgd-pills-bar::-webkit-scrollbar { display: none; }

.cs2bgd-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9999px;
    background: rgba(18, 22, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs2bgd-pill:hover {
    background: rgba(30, 38, 60, 0.95);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.cs2bgd-pill.active {
    background: #ffffff;
    color: #090d16;
    border-color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
    font-weight: 900;
}

.cs2bgd-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
    min-width: 18px;
}

.cs2bgd-pill.active .cs2bgd-pill-count {
    background: #090d16;
    color: #fff;
}

.cs2bgd-pill-info {
    font-size: 10px;
    opacity: 0.6;
    margin-left: 2px;
}

.cs2bgd-refresh-btn {
    margin-left: auto;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(18, 22, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cs2bgd-refresh-btn:hover {
    background: var(--brand-lime);
    color: #000;
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    transform: rotate(90deg);
}

/* 2. Sub-controls Bar (Table/Grid, Maps, Location, Toggles, Sorting) */
.cs2bgd-controls-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(12, 16, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.cs2bgd-ctrl-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cs2bgd-ctrl-dropdown {
    position: relative;
}

.cs2bgd-ctrl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 28, 44, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.cs2bgd-ctrl-btn:hover, .cs2bgd-ctrl-btn.active {
    background: rgba(35, 45, 70, 0.95);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.cs2bgd-toggle-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}

.cs2bgd-switch {
    position: relative;
    width: 32px;
    height: 18px;
    display: inline-block;
}

.cs2bgd-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cs2bgd-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs2bgd-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs2bgd-switch input:checked + .cs2bgd-slider {
    background: #6366f1;
}

.cs2bgd-switch input:checked + .cs2bgd-slider:before {
    transform: translateX(14px);
}

/* 3. Proxy Notice Banner */
.cs2bgd-proxy-box {
    background: linear-gradient(90deg, rgba(20, 24, 40, 0.95) 0%, rgba(14, 18, 30, 0.95) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.cs2bgd-proxy-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs2bgd-proxy-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cs2bgd-proxy-title {
    font-size: 13px;
    font-weight: 700;
    color: #a5b4fc;
    margin-bottom: 2px;
}

.cs2bgd-proxy-sub {
    font-size: 11px;
    color: #64748b;
}

/* 4. Split Two-Column Layout (CS2 on Left, Others on Right) */
.cs2bgd-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.cs2bgd-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs2bgd-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(16, 20, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 4px;
}

.cs2bgd-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs2bgd-col-count {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

/* 5. CS2BGD31 Server Row / Card Component */
.cs2bgd-server-row {
    position: relative;
    background-color: #121626;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.cs2bgd-server-row:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(99, 102, 241, 0.2);
}

.cs2bgd-server-row.is-vip {
    border: 1px solid #f59e0b !important;
    background-color: #231808;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.3) !important;
}

.cs2bgd-server-row.is-vip:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(251, 191, 36, 0.5) !important;
    transform: translateY(-2px);
}

/* Tier 7d - Starter (Neon Sky/Cyan) */
.cs2bgd-server-row.vip-tier-7d {
    border: 1px solid #00e5ff !important;
    background-color: #061c2b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 229, 255, 0.35) !important;
}
.cs2bgd-server-row.vip-tier-7d:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 229, 255, 0.55) !important;
}
.cs2bgd-server-row.vip-tier-7d .cs2bgd-server-name {
    color: #f0f9ff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}
.cs2bgd-server-row.vip-tier-7d .srv-bottom-fill {
    background: linear-gradient(90deg, #0284c7, #00f0ff);
    box-shadow: 0 0 8px #00f0ff;
}

/* Tier 30d - Gold (Radiant Gold/Amber) */
.cs2bgd-server-row.vip-tier-30d {
    border: 1px solid #f59e0b !important;
    background-color: #231808;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.35) !important;
}
.cs2bgd-server-row.vip-tier-30d:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(251, 191, 36, 0.55) !important;
}
.cs2bgd-server-row.vip-tier-30d .cs2bgd-server-name {
    color: #fffbeb;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}
.cs2bgd-server-row.vip-tier-30d .srv-bottom-fill {
    background: linear-gradient(90deg, #f59e0b, #fef08a);
    box-shadow: 0 0 8px #fbbf24;
}

/* Tier 90d - Diamond (Neon Emerald/Mint) */
.cs2bgd-server-row.vip-tier-90d {
    border: 1px solid #10b981 !important;
    background-color: #052417;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(16, 185, 129, 0.35) !important;
}
.cs2bgd-server-row.vip-tier-90d:hover {
    border-color: #34d399 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(16, 185, 129, 0.55) !important;
}
.cs2bgd-server-row.vip-tier-90d .cs2bgd-server-name {
    color: #ecfdf5;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}
.cs2bgd-server-row.vip-tier-90d .srv-bottom-fill {
    background: linear-gradient(90deg, #059669, #34d399);
    box-shadow: 0 0 8px #10b981;
}

/* Tier perm - Lifetime (Cosmic Purple/Magenta) */
.cs2bgd-server-row.vip-tier-perm {
    border: 1px solid #d946ef !important;
    background-color: #26072b;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.6), 0 0 18px rgba(217, 70, 239, 0.4) !important;
}
.cs2bgd-server-row.vip-tier-perm:hover {
    border-color: #f472b6 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75), 0 0 26px rgba(217, 70, 239, 0.6) !important;
}
.cs2bgd-server-row.vip-tier-perm .cs2bgd-server-name {
    color: #fdf2f8;
    text-shadow: 0 0 8px rgba(217, 70, 239, 0.45);
}
.cs2bgd-server-row.vip-tier-perm .srv-bottom-fill {
    background: linear-gradient(90deg, #a855f7, #f472b6);
    box-shadow: 0 0 8px #d946ef;
}

/* Grid View VIP Borders */
.server-compact-card.vip-tier-7d {
    border: 1px solid #00e5ff !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5), 0 0 14px rgba(0, 229, 255, 0.35) !important;
}
.server-compact-card.vip-tier-30d {
    border: 1px solid #f59e0b !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5), 0 0 14px rgba(245, 158, 11, 0.35) !important;
}
.server-compact-card.vip-tier-90d {
    border: 1px solid #10b981 !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5), 0 0 14px rgba(16, 185, 129, 0.35) !important;
}
.server-compact-card.vip-tier-perm {
    border: 1px solid #d946ef !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 16px rgba(217, 70, 239, 0.4) !important;
}

.cs2bgd-vip-crown-icon {
    color: #fbbf24;
    font-size: 13px;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.9));
    animation: crownFloat 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

.cs2bgd-server-row.is-vip .cs2bgd-server-name {
    color: #fffbeb;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.cs2bgd-server-row.is-vip .cs2bgd-idx-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    border: 1px solid #fbbf24;
    font-weight: 900;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.cs2bgd-server-row.is-vip .srv-bottom-fill {
    background: linear-gradient(90deg, #f59e0b, #fef08a);
    box-shadow: 0 0 8px #fbbf24;
}

/* ==========================================================================
   HOMEPAGE VIP & FEATURED SERVER COMPACT CARDS
   ========================================================================== */
.server-compact-card {
    position: relative;
    background-color: #121724;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.server-compact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(155, 209, 35, 0.5);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), var(--glow-lime-sm);
}

.server-compact-card.is-vip-card {
    border: 1px solid #f59e0b !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.25) !important;
}

.server-compact-card.is-vip-card:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 24px rgba(251, 191, 36, 0.45) !important;
}

.srv-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.srv-map-icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: rgba(8, 12, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex-shrink: 0;
}

.srv-map-icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.srv-body-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.srv-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.srv-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.srv-name-txt {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.srv-vip-crown {
    color: #fbbf24;
    font-size: 12px;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8));
    flex-shrink: 0;
}

.srv-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.srv-dot.online { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.srv-dot.offline { background: #ef4444; }

.srv-actions-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.srv-sub-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1.2;
}

.srv-location-txt {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8 !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.75), 0 0 16px rgba(56, 189, 248, 0.35);
    letter-spacing: 0.2px;
}

.srv-location-txt img {
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.5));
}

.srv-players-txt {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 11.5px;
    color: #4ade80 !important;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.8), 0 0 16px rgba(74, 222, 128, 0.45);
    letter-spacing: 0.5px;
}

.srv-sep {
    color: rgba(255, 255, 255, 0.35);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.srv-map-txt {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    color: #a78bfa !important;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.75), 0 0 16px rgba(167, 139, 250, 0.35);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.srv-map-txt img {
    filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.6));
}

.srv-bottom-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.5);
}

.srv-bottom-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    transition: width 0.4s ease;
}

.server-compact-card.is-vip-card .srv-bottom-fill {
    background: linear-gradient(90deg, #f59e0b, #fef08a);
    box-shadow: 0 0 8px #fbbf24;
}

/* ==========================================================================
   CS2BGD31.RU - PIXEL-PERFECT SERVER ROW COMPONENT
   ========================================================================== */
.cs2bgd-row-inner {
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.cs2bgd-row-left {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    flex: 1 1 0%;
    overflow: hidden;
}

.cs2bgd-btn-fav {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 12px;
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.cs2bgd-btn-fav:hover {
    color: #f43f5e;
    transform: scale(1.15);
}

.cs2bgd-btn-fav.active {
    color: #f43f5e;
}

.cs2bgd-ping-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 700;
    color: #22c55e;
    font-family: var(--font-mono);
    flex-shrink: 0;
    white-space: nowrap;
}

.cs2bgd-server-name {
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 0%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease;
}
.cs2bgd-server-name:hover {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.srv-name-txt {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 auto;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
a.srv-name-txt:hover,
.srv-name-txt:hover {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.cs2bgd-row-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.cs2bgd-players-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 9999px;
    background: rgba(30, 36, 56, 0.85);
    color: #cbd5e1;
    font-family: var(--font-mono);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    white-space: nowrap;
}

.cs2bgd-players-pill.has-players {
    background: #22c55e;
    color: #000000;
    border-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.cs2bgd-idx-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.45);
    flex-shrink: 0;
    white-space: nowrap;
}

.cs2bgd-idx-badge.vip-idx {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.55);
}

.cs2bgd-map-name {
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
    font-family: var(--font-mono);
    white-space: nowrap;
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.cs2bgd-action-btn {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 5px;
    background: rgba(22, 28, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.tabbar_mobile {
    display: none !important;
}

.cs2bgd-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.cs2bgd-action-btn.play-btn {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    color: #a5b4fc;
}

.cs2bgd-action-btn.play-btn:hover {
    background: #6366f1;
    color: #fff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

.cs2bgd-action-btn.vip-btn {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.cs2bgd-action-btn.vip-btn:hover {
    background: #f59e0b;
    color: #000;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* ==========================================================================
   CS2BGD31.RU - GRID VIEW CARD COMPONENT & MODE SWITCHER
   ========================================================================== */
.cs2bgd-table-view {
    display: flex;
    width: 100%;
}

.cs2bgd-grid-view {
    display: none;
}

/* When Grid View is activated */
.servers-grid-active .cs2bgd-table-view {
    display: none !important;
}

.servers-grid-active .cs2bgd-grid-view {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    min-height: 76px;
    padding: 10px 12px 12px 12px;
    box-sizing: border-box;
}

.servers-grid-active .cs2bgd-col-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 12px !important;
}

.servers-grid-active .cs2bgd-server-row {
    border-radius: 12px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Grid Card Top Row */
.grid-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.grid-card-top-left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.grid-ping-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #22c55e;
    font-family: var(--font-mono);
    flex-shrink: 0;
    white-space: nowrap;
}

.grid-ping-badge i {
    font-size: 10px;
    color: #22c55e;
}

.grid-heart-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.grid-vip-crown {
    color: #fbbf24;
    font-size: 12px;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8));
    flex-shrink: 0;
}

.grid-server-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    text-decoration: none;
    transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease;
}
.grid-server-title:hover {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.grid-card-top-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.grid-copy-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    padding: 3px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    border-radius: 4px;
}

.grid-copy-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.1);
}

/* Grid Card Bottom Row */
.grid-card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
}

.grid-card-bottom-left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    font-size: 11px;
}

.grid-idx-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.45);
    flex-shrink: 0;
    font-family: var(--font-mono);
}

.grid-idx-badge.vip-idx {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.55);
}

.grid-btn-fav {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 11.5px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.grid-btn-fav:hover, .grid-btn-fav.active {
    color: #f43f5e;
    transform: scale(1.15);
}

.grid-map-name {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
    flex-shrink: 1;
}

.grid-bullet {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    flex-shrink: 0;
}

.grid-players-text {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    flex-shrink: 0;
    white-space: nowrap;
}

.grid-online-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 9999px;
    background: #22c55e;
    color: #000000;
    font-size: 9.5px;
    font-weight: 900;
    font-family: var(--font-mono);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    flex-shrink: 0;
}

.grid-card-bottom-right {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    margin-left: auto;
}

.grid-vip-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.grid-vip-btn:hover {
    background: #f59e0b;
    color: #000;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
    transform: scale(1.1);
}

.grid-play-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.grid-play-btn:hover {
    background: #22c55e;
    color: #000;
    border-color: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
    transform: scale(1.1);
}

/* 6. Mobile & Tablet Responsiveness */
@media (max-width: 1200px) {
    .cs2bgd-split-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .cs2bgd-controls-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 12px;
    }

    .cs2bgd-ctrl-left {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .search-input-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    .cs2bgd-row-inner {
        padding: 9px 12px;
        gap: 8px;
    }

    .cs2bgd-map-name {
        display: none;
    }
}

@media (max-width: 540px) {
    .cs2bgd-row-inner {
        padding: 8px 10px;
        min-height: 52px;
        gap: 6px;
    }

    .cs2bgd-server-name {
        font-size: 11.5px;
    }

    .cs2bgd-ping-badge {
        font-size: 10px;
    }

    .cs2bgd-players-pill {
        font-size: 10px;
        padding: 2px 6px;
    }

    .cs2bgd-idx-badge {
        font-size: 9px;
        padding: 1px 5px;
    }

    .cs2bgd-action-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .cs2bgd-proxy-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* 7. Sidebar, Topbar & Global Mobile Drawer Layout */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%) !important;
        width: 250px !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.85);
        z-index: 9999;
    }

    .sidebar.mobile-open {
        transform: translateX(0) !important;
    }

    .sidebar.collapsed .sidebar__item-text {
        display: inline-block !important;
    }

    .sidebar.collapsed .sidebal__item {
        justify-content: flex-start !important;
        padding: 10px 14px !important;
    }

    .sidebar.collapsed .sidebar__header-text {
        display: inline-block !important;
        opacity: 1 !important;
    }

    .global-container {
        margin-left: 0 !important;
        padding-bottom: 70px;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden;
    }

    .header_burger {
        display: flex !important;
    }

    .tabbar_mobile {
        display: flex !important;
    }

    .social_buttons.social_nav {
        display: none !important;
    }

    .hide_mobile_text {
        display: none !important;
    }

    .cs2bgd-split-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL (ZOOM ON CLICK)
   ========================================================================== */
.image-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 13, 0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px;
}

.image-lightbox-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.lightbox-wrapper {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.92);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox-overlay.active .lightbox-wrapper {
    transform: scale(1);
}

.lightbox-main-img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(155, 209, 35, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(155, 209, 35, 0.25);
    background: #000;
}

.lightbox-caption {
    margin-top: 14px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    text-align: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    max-width: 800px;
}

.lightbox-close-btn {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(18, 24, 38, 0.95);
    border: 1px solid rgba(155, 209, 35, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-close-btn:hover {
    background: var(--brand-lime);
    color: #000;
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--glow-lime);
}

/* ==========================================================================
   MAINTENANCE MODE BANNER (ADMIN PREVIEW)
   ========================================================================== */
.maintenance-admin-banner {
    position: relative;
    width: 100%;
    z-index: 950;
    background: linear-gradient(90deg, #9a3412 0%, #ea580c 50%, #c2410c 100%);
    color: #ffffff;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.maintenance-admin-banner strong {
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==========================================================================
   NEWS MEDIA: RESPONSIVE YOUTUBE & HTML5 VIDEO EMBEDS
   ========================================================================== */
.news-video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(155, 209, 35, 0.4);
    background: #000;
    margin: 22px 0;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(155, 209, 35, 0.15);
}

.news-video-responsive iframe,
.news-video-responsive video,
.news-video-responsive object,
.news-video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 13px;
}

.news-video-wrap {
    width: 100%;
    margin: 22px 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(155, 209, 35, 0.4);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(155, 209, 35, 0.15);
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-html5-video {
    width: 100%;
    max-height: 560px;
    display: block;
    object-fit: contain;
    border-radius: 13px;
    background: #000;
}

.news-content img.news-body-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 16px 0;
    cursor: zoom-in;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: block;
}

.news-content img.news-body-img:hover {
    transform: scale(1.015);
    border-color: var(--brand-lime);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--glow-lime-sm);
}

.news-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(155, 209, 35, 0.4) 50%, transparent 100%);
    margin: 24px 0;
}

.news-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.news-table th, .news-table td {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.news-table th {
    background: rgba(22, 30, 44, 0.8);
    color: var(--brand-lime);
    font-weight: 700;
    text-transform: uppercase;
}

.news-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   RICH COMMENTS EDITOR & COMMENTS STYLING
   ========================================================================== */
.comment-editor-box {
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.comment-editor-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(18, 25, 40, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comment-editor-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-editor-btn:hover {
    background: var(--brand-lime);
    color: #000;
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    transform: translateY(-1px);
}

.comment-editor-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
}

.comment-emoji-picker-wrap {
    position: relative;
    display: inline-block;
}

.comment-emoji-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: rgba(12, 17, 28, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(155, 209, 35, 0.4);
    border-radius: 10px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), var(--glow-lime-sm);
    display: none;
    min-width: 220px;
}

.comment-emoji-dropdown.show {
    display: grid;
}

.comment-emoji-item {
    font-size: 18px;
    padding: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.comment-emoji-item:hover {
    background: rgba(155, 209, 35, 0.2);
    border-color: rgba(155, 209, 35, 0.5);
    transform: scale(1.2);
}

.comment-editor-textarea {
    width: 100%;
    min-height: 95px;
    background: transparent;
    border: none;
    padding: 14px 16px;
    color: #f1f5f9;
    font-family: var(--font-sans);
    font-size: 13.5px;
    line-height: 1.6;
    outline: none;
    resize: vertical;
}

.comment-editor-textarea:focus {
    background: rgba(0, 0, 0, 0.2);
}

.comment-editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(14, 20, 32, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Rendered Comment Styles */
.comment-quote {
    background: rgba(0, 0, 0, 0.35);
    border-left: 3px solid var(--brand-lime);
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #94a3b8;
    font-size: 12.5px;
}

.comment-code-inline {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--brand-lime);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
}

.comment-list {
    margin: 8px 0 8px 20px;
    padding: 0;
}

.comment-list li {
    margin-bottom: 4px;
    color: #cbd5e1;
}

.comment-link {
    color: var(--brand-lime);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.comment-link:hover {
    color: #fff;
}

.comment-admin-del-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 5px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #f87171;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-admin-del-btn:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.news-spoiler {
    background: #1e293b;
    color: transparent;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.news-spoiler.revealed {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

/* ==========================================================================
   MASTER RESPONSIVE DESIGN SYSTEM (ALL DEVICES & SCREEN SIZES)
   ========================================================================== */

/* 1. Global Box-Sizing & Viewport Safeguards */
html, body {
    max-width: 100vw;
    overflow-x: clip !important;
}

.global-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container, .main-wrapper, .home-section, .account-hero-banner {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Ensure all tables are horizontally scrollable without breaking container */
.table-responsive,
.table-scroll-wrap,
.bans-table-wrapper,
.top-players-wrapper,
.admin-table-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   BREAKPOINT: Large Desktops & Tablets Landscape (<= 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-kpi-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .stats-ribbon {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ==========================================================================
   BREAKPOINT: Tablets & Smaller Devices (<= 991px)
   ========================================================================== */
@media (max-width: 991px) {
    /* Sidebar Drawer */
    .sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px !important;
        transform: translateX(-100%) !important;
        z-index: 99999 !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.9);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .sidebar.mobile-open {
        transform: translateX(0) !important;
    }

    .sidebar.collapsed .sidebar__item-text {
        display: inline-block !important;
    }

    .sidebar.collapsed .sidebal__item {
        justify-content: flex-start !important;
        padding: 10px 14px !important;
    }

    .sidebar.collapsed .sidebar__header-text {
        display: inline-block !important;
        opacity: 1 !important;
    }

    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 99998;
    }

    .sidebar-backdrop.active {
        display: block;
    }

    /* Global container adjusts to full width and accounts for bottom tabbar */
    .global-container {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding-bottom: 74px !important;
        overflow-x: clip !important;
    }

    body.sidebar-collapsed .global-container {
        margin-left: 0 !important;
    }

    /* Header Nav adjustments */
    .header_burger {
        display: flex !important;
    }

    .social_buttons.social_nav {
        display: none !important;
    }

    .hide_mobile_text {
        display: none !important;
    }

    .navbar_menu_left {
        gap: 12px;
    }

    .online {
        padding: 3px 8px;
    }

    .tabbar_mobile {
        display: flex !important;
    }

    /* CS2BGD Split server layout collapse to single column */
    .cs2bgd-split-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Hero Section */
    .home-hero-section {
        padding: 36px 16px 28px 16px;
    }

    .hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .hero-desc {
        font-size: 13.5px !important;
        margin-bottom: 20px !important;
    }

    .hero-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .stats-ribbon {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
    }

    /* Player Profile Page (account.php) */
    .profile-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px !important;
        gap: 16px !important;
    }

    .banner-left {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 14px !important;
    }

    .banner-right {
        align-items: center !important;
        width: 100% !important;
    }

    .profile-banner-actions {
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    .profile-layout-grid,
    .profile-grid-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .profile-tabs-nav {
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 8px !important;
        justify-content: flex-start !important;
    }

    .profile-tabs-nav::-webkit-scrollbar {
        height: 3px;
    }

    /* Admin Panel */
    .admin-tab-nav {
        overflow-x: auto !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        padding-bottom: 10px !important;
    }

    .admin-tab-nav::-webkit-scrollbar {
        height: 4px;
    }

    /* News layout */
    .news-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}

/* ==========================================================================
   BREAKPOINT: Mobile Landscape & Medium Screens (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .main-wrapper {
        padding: 16px 0 36px 0;
    }

    /* Top navbar */
    .navbar-header-inner {
        padding: 0 10px;
        height: 58px;
    }

    .logo-text .nav_sitename .texting {
        font-size: 15px;
    }

    .user-profile-nav-pill {
        padding: 4px 8px;
        gap: 6px;
    }

    .user-nav-text-block {
        display: none;
    }

    .user-avatar-nav-img {
        width: 30px;
        height: 30px;
    }

    /* Hero Search Form */
    .hero-search-container {
        max-width: 100% !important;
    }

    .hero-search-input-wrap {
        padding: 4px 6px;
    }

    .hero-search-input {
        font-size: 13px !important;
        padding: 10px 8px !important;
    }

    .hero-track-submit-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }

    /* Multi-column Form & Layout Grids collapse to 1 column */
    .form-row,
    div[style*="grid-template-columns: 1fr 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: 1.4fr 1fr"],
    div[style*="grid-template-columns: 1.5fr 1fr"],
    div[style*="grid-template-columns: 1fr 2fr"],
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    table {
        min-width: 480px;
    }

    .table-responsive,
    div:has(> table) {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .account-hero-banner {
        padding: 20px 16px !important;
    }

    .account-hero-banner h1 {
        font-size: 24px !important;
    }

    /* News Grid */
    .news-cards-grid {
        grid-template-columns: 1fr !important;
    }

    /* News Article Details */
    .news-header-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-header-banner {
        height: 220px !important;
    }

    .news-article-title {
        font-size: 22px !important;
    }

    /* Comment Toolbar */
    .comment-editor-toolbar {
        flex-wrap: wrap !important;
        gap: 4px !important;
        padding: 8px 10px !important;
    }

    .comment-editor-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    /* Inventory & Medals grids */
    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 10px !important;
    }

    .item-img-wrap, .inv-img-wrap {
        height: 95px !important;
        padding: 6px !important;
    }

    .item-img-wrap img, .inv-item-img {
        max-height: 80px !important;
    }

    .medals-grid, .medals-showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 10px !important;
    }

    .medal-img-box {
        width: 70px !important;
        height: 70px !important;
    }

    .medal-img, .medal-icon {
        max-height: 65px !important;
    }

    /* Modals */
    .modal-dialog {
        width: 95% !important;
        max-width: 95% !important;
        margin: 16px auto !important;
        padding: 0 !important;
        max-height: 90vh !important;
    }

    .modal-header {
        padding: 14px 16px !important;
    }

    .modal-body {
        padding: 14px 16px !important;
    }

    .modal-footer {
        padding: 12px 16px !important;
        flex-wrap: wrap !important;
    }

    .modal-footer .btn {
        flex: 1 1 auto !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: center !important;
    }

    .footer-brand, .footer-social-links, .footer-links, .footer-status-box {
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-desc {
        margin: 0 auto 16px auto !important;
    }

    .footer-links li a {
        justify-content: center !important;
    }
}

/* ==========================================================================
   BREAKPOINT: Mobile Portrait (<= 576px)
   ========================================================================== */
@media (max-width: 576px) {
    .container {
        padding: 0 8px;
    }

    .home-hero-section {
        padding: 24px 10px 20px 10px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 22px !important;
    }

    .hero-desc {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .hero-search-input-wrap {
        flex-direction: column;
        background: rgba(8, 12, 20, 0.95);
        border: 1px solid var(--border-glass-bright);
        padding: 8px;
        gap: 8px;
        border-radius: 12px;
    }

    .hero-search-input {
        width: 100% !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
    }

    .hero-track-submit-btn {
        width: 100% !important;
        border-radius: 8px !important;
        justify-content: center;
        height: 42px;
    }

    .hero-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .hero-kpi-card {
        padding: 10px 8px !important;
    }

    .hero-kpi-val {
        font-size: 18px !important;
    }

    .hero-kpi-lbl {
        font-size: 9px !important;
    }

    .stats-ribbon {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .stat-card {
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    .stat-icon-wrapper {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }

    .stat-num {
        font-size: 16px !important;
    }

    .stat-title {
        font-size: 10px !important;
    }

    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }

    .section-title {
        font-size: 18px !important;
    }

    .section-subtitle {
        font-size: 12px !important;
    }

    /* Servers Filter Bar */
    .cs2bgd-filter-bar {
        padding: 12px 10px !important;
        gap: 10px !important;
    }

    .cs2bgd-pills-row {
        gap: 4px !important;
        padding-bottom: 6px !important;
    }

    .cs2bgd-pill {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    .cs2bgd-controls-row {
        flex-direction: column;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .cs2bgd-search-box {
        width: 100% !important;
        min-width: 100% !important;
    }

    .cs2bgd-selects-group {
        width: 100% !important;
        justify-content: space-between;
    }

    .cs2bgd-select {
        flex: 1 1 45% !important;
    }

    .cs2bgd-toggles-group {
        width: 100% !important;
        justify-content: space-between;
    }

    /* Server Cards on Mobile */
    .cs2bgd-row-inner {
        padding: 8px 10px !important;
        min-height: 52px !important;
        gap: 6px !important;
    }

    .cs2bgd-server-name {
        font-size: 11.5px !important;
    }

    .cs2bgd-ping-badge, .cs2bgd-players-pill {
        font-size: 10px !important;
    }

    .cs2bgd-action-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }

    /* Server VIP Modal PayPal pricing grid */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* CSRep Commends box */
    .csrep-box-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .csrep-box-item {
        padding: 8px 4px !important;
    }

    .csrep-box-item .csrep-val {
        font-size: 16px !important;
    }

    .csrep-box-item .csrep-lbl {
        font-size: 9px !important;
    }
}

/* ==========================================================================
   BREAKPOINT: Ultra-Compact Screens (<= 380px)
   ========================================================================== */
@media (max-width: 380px) {
    .stats-ribbon {
        grid-template-columns: 1fr !important;
    }

    .hero-kpi-grid {
        grid-template-columns: 1fr !important;
    }

    .inventory-grid, .medals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .tabbar_mobile a span {
        font-size: 9px !important;
    }

    .tabbar_mobile a i {
        font-size: 14px !important;
    }
}

/* ==========================================================================
   AUTHENTIC STEAM PROFILE & ACCOUNT SUB-PAGES (DESKTOP & BASE STYLES)
   ========================================================================== */
.badges-real-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.badge-real-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(12, 16, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.badge-real-card:hover {
    border-color: rgba(155, 209, 35, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.badge-real-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.badge-real-info {
    min-width: 0;
    flex: 1;
}

.badge-real-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-real-meta {
    font-size: 12px;
    color: var(--brand-lime);
    font-weight: 600;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.group-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(12, 16, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.group-card:hover {
    border-color: rgba(155, 209, 35, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.group-avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.group-info {
    min-width: 0;
    flex: 1;
}

.group-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.friend-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(12, 16, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.friend-card:hover {
    border-color: rgba(155, 209, 35, 0.4);
    transform: translateY(-2px);
}

.friend-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.friend-info {
    min-width: 0;
    flex: 1;
}

.friend-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* User Servers Manage List */
.user-servers-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.user-server-manage-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(12, 16, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    transition: all 0.2s ease;
}

.user-server-manage-card:hover {
    border-color: rgba(155, 209, 35, 0.35);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.user-server-manage-card.is-vip {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(90deg, rgba(35, 24, 8, 0.7) 0%, rgba(12, 16, 25, 0.7) 100%);
}

.usm-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.usm-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Game Stats & Achievements Hub Component */
.game-stats-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.game-stats-selector-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    scrollbar-width: thin;
}

.game-stats-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.game-stats-pill:hover {
    color: #fff;
    background: rgba(155, 209, 35, 0.1);
    border-color: rgba(155, 209, 35, 0.3);
}

.game-stats-pill.active {
    color: #000;
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    box-shadow: var(--glow-lime-sm);
    font-weight: 800;
}

.game-stats-pill-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}

.game-stats-pill-hours {
    font-size: 11px;
    opacity: 0.85;
}

.game-stat-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.game-stat-val {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.game-ach-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.game-ach-card.unlocked {
    border-color: rgba(0, 255, 157, 0.25);
    background: rgba(0, 255, 157, 0.04);
}

.game-ach-card.locked {
    opacity: 0.6;
}

.game-ach-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
}

.game-ach-info {
    min-width: 0;
    flex: 1;
}

.game-ach-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.game-ach-desc {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
    line-height: 1.35;
}

.game-ach-date {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

/* ==========================================================================
   STEAM COMMUNITY PROFILE & ACCOUNT SUBPAGES MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
    .steam-profile-body {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 20px !important;
    }

    .steam-side-col {
        width: 100% !important;
        min-width: 0 !important;
    }

    .steam-sidebar-friends-grid {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .steam-profile-frame {
        border-radius: 12px !important;
        margin: 0 !important;
    }

    /* Profile Header */
    .steam-profile-header {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px !important;
        gap: 16px !important;
    }

    .steam-header-left {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 14px !important;
    }

    .steam-header-avatar-box {
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
    }

    .steam-avatar-img {
        width: 92px !important;
        height: 92px !important;
    }

    .steam-persona-title {
        font-size: 22px !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px !important;
    }

    .steam-realname-loc {
        justify-content: center !important;
        font-size: 12px !important;
    }

    .steam-summary-snippet {
        max-width: 100% !important;
        text-align: left !important;
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

    .steam-header-meta-pills {
        justify-content: center !important;
        gap: 6px !important;
    }

    .steam-meta-pill {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }

    .steam-header-right {
        width: 100% !important;
        min-width: 0 !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .steam-level-and-badge-card {
        padding: 10px 14px !important;
        gap: 12px !important;
    }

    .steam-level-circle {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
    }

    .steam-level-circle .lvl-num {
        font-size: 17px !important;
    }

    .steam-header-actions {
        width: 100% !important;
        justify-content: stretch !important;
    }

    .steam-header-actions .btn {
        flex: 1 1 0% !important;
        justify-content: center !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    /* Subnav Tabs Bar */
    .steam-subnav-bar {
        padding: 10px 12px !important;
        gap: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .steam-subnav-pill {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
        gap: 5px !important;
        flex-shrink: 0 !important;
    }

    /* Profile Body & Showcases */
    .steam-profile-body {
        padding: 14px 10px !important;
        gap: 16px !important;
    }

    .steam-showcase-box {
        border-radius: 10px !important;
    }

    .steam-showcase-header {
        padding: 10px 14px !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .steam-showcase-title {
        font-size: 13px !important;
    }

    .steam-showcase-body {
        padding: 12px !important;
    }

    .cs2-activity-card {
        padding: 12px !important;
        gap: 12px !important;
    }

    .cs2-activity-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .cs2-metrics-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .cs2-metric-box {
        padding: 8px !important;
    }

    .cs2-metric-value {
        font-size: 16px !important;
    }

    .commends-showcase-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .commend-tile {
        padding: 10px 8px !important;
        gap: 8px !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .commend-tile i {
        font-size: 22px !important;
    }

    .commend-tile-val {
        font-size: 18px !important;
    }

    .commend-tile-lbl {
        font-size: 9px !important;
    }

    /* Grids inside Profile */
    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 8px !important;
    }

    .medals-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
        gap: 8px !important;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 8px !important;
    }

    .friends-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .awards-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)) !important;
        gap: 6px !important;
    }

    .groups-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .steam-sidebar-friends-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    /* Tab Panes */
    .tab-pane {
        padding: 14px 10px !important;
    }

    /* Stats Tab / Multi-Game */
    .game-stats-header-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .game-stats-selector-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
        flex-wrap: nowrap !important;
    }

    .game-stats-pill {
        flex-shrink: 0 !important;
    }

    /* User Servers Tab */
    .user-server-manage-card {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 12px !important;
    }

    .usm-left {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .usm-left .server-compact-card {
        width: 100% !important;
        min-width: 0 !important;
    }

    .usm-actions {
        width: 100% !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
}

/* ==========================================================================
   MOBILE SIDEBAR DRAWER (CS2BGD31.RU BEHAVIOR)
   ========================================================================== */
@media (max-width: 992px) {
    .global-container {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.sidebar-collapsed .global-container {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .header_burger {
        display: flex !important;
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        transform: translateX(-105%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 99999 !important;
        background: #0d111d !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.9) !important;
        border-right: 1px solid rgba(155, 209, 35, 0.3) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .sidebar.mobile-open {
        transform: translateX(0) !important;
    }

    .sidebar.mobile-open .sidebar__item-text,
    .sidebar.mobile-open .sidebar__header-text {
        display: inline !important;
    }

    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 99998;
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .sidebar-backdrop.active {
        display: block !important;
        opacity: 1 !important;
    }

    .social_buttons.social_nav {
        display: none !important;
    }

    .user-nav-text-block {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE SIDEBAR DRAWER & CLOSE BUTTON
   ========================================================================== */
.sidebar-close-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.sidebar-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    .sidebar-close-btn {
        display: flex !important;
    }

    .sidebar__toggle {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE BOTTOM DOCK / TABBAR (IMAGE 1 CS2 DESIGN)
   ========================================================================== */
.tabbar_mobile {
    display: none;
}

@media (max-width: 992px) {
    .tabbar_mobile {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 58px !important;
        background: rgba(10, 14, 23, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(155, 209, 35, 0.35) !important;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.85) !important;
        z-index: 99990 !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 4px 6px !important;
        box-sizing: border-box !important;
    }

    .tabbar_item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        height: 100% !important;
        text-decoration: none !important;
        color: #94a3b8 !important;
        gap: 3px !important;
        font-family: var(--font-heading) !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        transition: all 0.2s ease !important;
        position: relative !important;
    }

    .tabbar_item i {
        font-size: 16px !important;
        transition: all 0.2s ease !important;
    }

    .tabbar_item:hover {
        color: #fff !important;
    }

    .tabbar_item.tabbar_active {
        color: var(--brand-lime) !important;
    }

    .tabbar_item.tabbar_active i {
        transform: translateY(-2px) scale(1.1) !important;
        filter: drop-shadow(0 0 8px rgba(155, 209, 35, 0.75)) !important;
    }

    .tabbar_item.tabbar_active::after {
        content: '';
        position: absolute;
        top: 0;
        left: 20%;
        right: 20%;
        height: 2px;
        background: var(--brand-lime);
        box-shadow: 0 0 8px var(--brand-lime);
        border-radius: 2px;
    }

    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ==========================================================================
   COMPACT SINGLE-LINE MOBILE NAVBAR (CLEAN RESPONSIVE LAYOUT)
   ========================================================================== */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .global-container {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .navbar-header {
        padding: 8px 12px !important;
        overflow: visible !important;
        z-index: 9999 !important;
        height: 52px !important;
    }

    .navbar-header-inner {
        gap: 8px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        overflow: visible !important;
        height: 100% !important;
    }

    .navbar_menu_left {
        gap: 8px !important;
        display: flex !important;
        align-items: center !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .social_buttons,
    .social_nav,
    .hide_mobile_btn,
    .hide_mobile_text {
        display: none !important;
    }

    .header_burger {
        display: flex !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .header_burger span {
        width: 16px !important;
    }

    .header_burger span::before,
    .header_burger span::after {
        width: 16px !important;
    }

    .online {
        flex-shrink: 0 !important;
    }

    .online__counter {
        padding: 4px 8px !important;
        font-size: 11px !important;
        gap: 5px !important;
    }

    .navbar_usermenu {
        gap: 8px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .holiday-snow-navbar-btn,
    .holiday-halloween-navbar-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .user-profile-nav-pill {
        padding: 0 !important;
        gap: 0 !important;
        border-radius: 50% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .user-avatar-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .user-avatar-nav-img {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        border: 2px solid var(--brand-lime) !important;
        box-shadow: 0 0 8px rgba(155, 209, 35, 0.3) !important;
    }

    .user-nav-text-block {
        display: none !important;
    }

    .sign-in-btn {
        padding: 5px 10px !important;
        font-size: 11.5px !important;
        gap: 5px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 480px) {
    .online__text {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE CS2BGD SERVER ROW RESPONSIVENESS (PREVENT ALL HORIZONTAL OVERFLOW)
   ========================================================================== */
@media (max-width: 768px) {
    .cs2bgd-split-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cs2bgd-column {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .cs2bgd-col-list {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .cs2bgd-server-row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .cs2bgd-row-inner {
        padding: 8px 10px !important;
        gap: 6px !important;
        min-height: 48px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .cs2bgd-row-left {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        gap: 4px !important;
    }

    .cs2bgd-server-name {
        font-size: 11px !important;
        min-width: 0 !important;
        flex: 1 1 0% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .cs2bgd-row-right {
        gap: 3px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }

    .cs2bgd-map-name {
        display: none !important;
    }

    .cs2bgd-idx-badge {
        font-size: 8.5px !important;
        padding: 1px 4px !important;
    }

    .cs2bgd-players-pill {
        font-size: 9px !important;
        padding: 1px 5px !important;
    }

    .cs2bgd-action-btn {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        font-size: 9px !important;
    }
}

/* ==========================================================================
   PRIDECS2 LIVE MESSENGER / CHAT WIDGET STYLING
   ========================================================================== */
.msg_open_btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a373 0%, #a67c52 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 163, 115, 0.4);
    color: #1a1512;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99980;
    transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.msg_open_btn:hover {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, #ffd180 0%, #d4a373 100%);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 28px rgba(255, 215, 0, 0.6);
}

.msg_open_btn:active {
    transform: scale(0.94);
}

.msg_unread_badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 2px 6px;
    border-radius: 9999px;
    border: 2px solid #1a1512;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    animation: msgBadgePulse 2s infinite;
}

@keyframes msgBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.msg_backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99994;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.msg_backdrop.active {
    display: block;
    opacity: 1;
}

.msg_drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 100vw;
    background: #151a24;
    border-left: 1px solid rgba(212, 163, 115, 0.25);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    z-index: 99995;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.msg_drawer.open {
    transform: translateX(0);
}

/* Header */
.msg_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(13, 17, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 58px;
    box-sizing: border-box;
}

.msg_header_title_block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.msg_header_icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(212, 163, 115, 0.15);
    border: 1px solid rgba(212, 163, 115, 0.3);
    color: #d4a373;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.msg_header_texts {
    display: flex;
    flex-direction: column;
}

.msg_header_title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.msg_header_status {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.msg_live_dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    display: inline-block;
}

.msg_header_actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.msg_hdr_btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.msg_hdr_btn:hover {
    background: rgba(212, 163, 115, 0.2);
    color: #ffd180;
    border-color: rgba(212, 163, 115, 0.4);
}

.msg_close_btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

/* Settings Dropdown */
.msg_settings_dropdown {
    background: #0f131c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    animation: msgFadeIn 0.2s ease;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.msg_settings_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 600;
}

.msg_switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.msg_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.msg_slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: .25s;
    border-radius: 20px;
}

.msg_slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .25s;
    border-radius: 50%;
}

.msg_switch input:checked + .msg_slider {
    background-color: var(--brand-lime);
}

.msg_switch input:checked + .msg_slider:before {
    transform: translateX(16px);
}

/* Rules Banner */
.msg_rules_banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(212, 163, 115, 0.1);
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
    font-size: 11px;
    color: #e2e8f0;
}

.msg_rules_banner i {
    color: #d4a373;
    font-size: 13px;
    flex-shrink: 0;
}

.msg_rules_banner span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg_rules_link {
    color: #ffd180;
    text-decoration: underline;
    font-weight: 700;
    flex-shrink: 0;
    cursor: pointer;
}

.msg_rules_close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

/* In-Chat Rules Slide-Over Panel */
.msg_rules_panel {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 60px;
    background: #0f131c;
    border-bottom: 1px solid rgba(212, 163, 115, 0.3);
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
    animation: msgRulesSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes msgRulesSlide {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.msg_rules_panel_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.msg_rules_panel_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.msg_rules_panel_close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.msg_rules_panel_close:hover {
    color: #ef4444;
}

.msg_rules_panel_body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.msg_rule_item {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 10px;
}

.msg_rule_num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(212, 163, 115, 0.2);
    border: 1px solid rgba(212, 163, 115, 0.4);
    color: #ffd180;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msg_rule_desc {
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.45;
}

.msg_rule_desc strong {
    color: #fff;
}

.msg_rules_panel_footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Messages List */
.msg_list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.msg_list::-webkit-scrollbar {
    width: 5px;
}

.msg_list::-webkit-scrollbar-track {
    background: transparent;
}

.msg_list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.msg_list::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 163, 115, 0.4);
}

.msg_loading_spinner {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    padding: 20px 0;
}

.msg_date_separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
    position: relative;
}

.msg_date_separator span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

/* Individual Message Card */
.msg_item {
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    position: relative;
}

.msg_item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.msg_item.msg_system {
    background: rgba(212, 163, 115, 0.08);
    border-color: rgba(212, 163, 115, 0.2);
}

.msg_item.msg_highlight {
    border-color: rgba(155, 209, 35, 0.5);
    box-shadow: 0 0 12px rgba(155, 209, 35, 0.2);
}

.msg_avatar_wrap {
    position: relative;
    flex-shrink: 0;
}

.msg_avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
}

.msg_avatar.avatar_admin {
    border-color: #ffd180;
    box-shadow: 0 0 8px rgba(255, 209, 128, 0.4);
}

.msg_content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.msg_top_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.msg_user_meta {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.msg_username {
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.msg_username:hover {
    color: var(--brand-lime);
    text-decoration: underline;
}

.msg_username.user_admin {
    color: #ffd180;
    text-shadow: 0 0 8px rgba(255, 209, 128, 0.4);
}

.msg_badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.badge-admin {
    background: rgba(255, 179, 71, 0.2);
    color: #ffb347;
    border: 1px solid rgba(255, 179, 71, 0.4);
}

.badge-titan {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.badge-diamond {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.badge-vip {
    background: rgba(155, 209, 35, 0.2);
    color: var(--brand-lime);
    border: 1px solid rgba(155, 209, 35, 0.4);
}

.badge-system {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.msg_meta_right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.msg_time {
    font-size: 10px;
    color: #64748b;
    font-family: var(--font-mono);
}

.msg_action_btns {
    display: none;
    align-items: center;
    gap: 4px;
}

.msg_item:hover .msg_action_btns {
    display: flex;
}

.msg_act_btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-size: 10px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.msg_act_btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.msg_act_btn.btn_reply:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

.msg_act_btn.btn_delete:hover {
    color: #ef4444;
    border-color: #ef4444;
}

.msg_act_btn.btn_mute:hover {
    color: #f59e0b;
    border-color: #f59e0b;
}

/* Quoted Reply Box */
.msg_quote {
    background: rgba(0, 0, 0, 0.35);
    border-left: 2px solid var(--brand-lime);
    padding: 3px 8px;
    border-radius: 0 4px 4px 0;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg_quote strong {
    color: #cbd5e1;
}

/* Message Text */
.msg_text {
    font-size: 12.5px;
    color: #e2e8f0;
    line-height: 1.45;
    word-break: break-word;
}

.msg_text a {
    color: var(--neon-cyan);
    text-decoration: underline;
}

.msg_text a:hover {
    color: #fff;
}

/* Reply Bar */
.msg_reply_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: rgba(155, 209, 35, 0.1);
    border-top: 1px solid rgba(155, 209, 35, 0.25);
    font-size: 11px;
    color: #cbd5e1;
}

.msg_reply_info {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.msg_reply_info i {
    color: var(--brand-lime);
}

.msg_reply_info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg_reply_cancel {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
}

.msg_reply_cancel:hover {
    color: #ef4444;
}

/* Muted Banner */
.msg_muted_banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.15);
    border-top: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 12px;
    font-weight: 700;
}

.msg_muted_banner i {
    font-size: 15px;
    color: #ef4444;
}

/* Footer / Input */
.msg_input_footer {
    padding: 10px 12px;
    background: rgba(13, 17, 26, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.msg_input_wrapper {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    background: #0b0e14;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 4px 8px;
    transition: border-color 0.2s ease;
}

.msg_input_wrapper:focus-within {
    border-color: rgba(212, 163, 115, 0.5);
    box-shadow: 0 0 10px rgba(212, 163, 115, 0.15);
}

.msg_input_textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 12.5px;
    font-family: var(--font-sans);
    resize: none;
    max-height: 90px;
    padding: 4px 0;
    line-height: 1.4;
    box-sizing: border-box;
}

.msg_input_textarea::placeholder {
    color: #64748b;
}

.msg_input_actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.msg_emoji_btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.15s ease;
}

.msg_emoji_btn:hover {
    color: #ffd180;
}

.msg_send_btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4a373 0%, #a67c52 100%);
    border: none;
    color: #1a1512;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.msg_send_btn:hover {
    background: linear-gradient(135deg, #ffd180 0%, #d4a373 100%);
    box-shadow: 0 0 10px rgba(212, 163, 115, 0.5);
    transform: scale(1.05);
}

.msg_send_btn:active {
    transform: scale(0.95);
}

/* Login Prompt */
.msg_login_prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 11.5px;
    color: #94a3b8;
}

.msg_login_prompt i {
    font-size: 18px;
    color: var(--steam-blue);
}

.msg_steam_login_btn {
    padding: 4px 10px;
    font-size: 11px;
    flex-shrink: 0;
}

/* Emoji Popover */
.msg_emoji_popover {
    position: absolute;
    bottom: 60px;
    right: 12px;
    width: 260px;
    background: #0f131c;
    border: 1px solid rgba(212, 163, 115, 0.3);
    border-radius: 10px;
    box-shadow: 0 -8px 25px rgba(0,0,0,0.7);
    z-index: 10;
    padding: 10px;
    animation: msgFadeIn 0.2s ease;
}

.msg_emoji_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
}

.msg_emoji_header button {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
}

.msg_emoji_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    max-height: 160px;
    overflow-y: auto;
}

.msg_emoji_item {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.msg_emoji_item:hover {
    background: rgba(212, 163, 115, 0.25);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .msg_open_btn {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 10px) !important;
        right: 12px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 17px !important;
        z-index: 9998 !important;
    }

    .msg_drawer {
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .msg_input_footer {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ==========================================================================
   HEADER SPONSOR BANNER (TradeIt.gg)
   ========================================================================== */
.header-sponsor-banner-wrap,
.pulse-trade-strip {
    width: 100%;
    margin: 12px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.header-sponsor-link,
.pulse-trade-card {
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(155, 209, 35, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 18px rgba(155, 209, 35, 0.12);
    transition: all 0.25s ease;
    background: #0e121a;
    line-height: 0;
    text-decoration: none;
    position: relative;
    min-height: 44px;
}

.header-sponsor-link:hover,
.pulse-trade-card:hover {
    border-color: var(--brand-lime, #9bd123);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.7), 0 0 30px rgba(155, 209, 35, 0.3);
    transform: translateY(-2px);
}

.header-sponsor-img,
.pulse-trade-img {
    width: 100%;
    height: auto;
    max-height: 125px;
    object-fit: cover;
    display: block;
    border-radius: 11px;
}

/* Dynamic High-End Fallback for AdBlock / Image Failures */
.pulse-trade-fallback {
    width: 100%;
    min-height: 52px;
    padding: 10px 20px;
    background: linear-gradient(90deg, #0b1118 0%, #151d2a 50%, #0d141e 100%);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    line-height: 1.4;
    box-sizing: border-box;
}

.trade-fb-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trade-fb-pill {
    background: #9bd123;
    color: #0b0f15;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(155, 209, 35, 0.4);
}

.trade-fb-brand {
    font-weight: 900;
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trade-fb-brand i {
    color: #9bd123;
}

.trade-fb-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trade-fb-main {
    font-size: 14px;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.trade-fb-badge {
    background: rgba(155, 209, 35, 0.15);
    border: 1px solid rgba(155, 209, 35, 0.4);
    color: #9bd123;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
}

.trade-fb-right .trade-fb-btn {
    background: #9bd123;
    color: #0a0e17;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.trade-fb-right .trade-fb-btn:hover {
    background: #b2f32c;
    box-shadow: 0 0 15px rgba(155, 209, 35, 0.6);
}

@media (max-width: 768px) {
    .pulse-trade-fallback {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 10px 14px;
    }
    .trade-fb-center {
        flex-direction: column;
        gap: 4px;
    }
}

/* ==========================================================================
   CS2 Trust Factor & Aim Telemetry Radar Animation & Scanner Styles
   ========================================================================== */
.trust-nav-btn {
    animation: neonPulse 3s infinite ease-in-out;
}

@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(155, 209, 35, 0.25); }
    50% { box-shadow: 0 0 20px rgba(155, 209, 35, 0.55), 0 0 30px rgba(155, 209, 35, 0.3); }
}

.trust-radar-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid rgba(155, 209, 35, 0.35);
    box-shadow: 0 0 30px rgba(155, 209, 35, 0.15), inset 0 0 25px rgba(155, 209, 35, 0.1);
    background: radial-gradient(circle, rgba(14, 24, 38, 0.9) 0%, rgba(8, 12, 20, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.trust-radar-circle {
    position: absolute;
    width: 65%;
    height: 65%;
    border-radius: 50%;
    border: 1px dashed rgba(155, 209, 35, 0.3);
}

.trust-radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(155, 209, 35, 0.6) 360deg);
    animation: radarSweep 1.6s linear infinite;
}

@keyframes radarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.trust-radar-center-icon {
    position: relative;
    z-index: 3;
    font-size: 32px;
    color: var(--brand-lime);
    filter: drop-shadow(0 0 10px var(--brand-lime));
    animation: iconPulse 1.6s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.12); opacity: 1; filter: drop-shadow(0 0 16px var(--brand-lime)); }
}

/* =============================================================================
   GOLDEN VIP SERVER BADGE (MATCHING USER SCREENSHOT)
   ============================================================================= */
.vip-gold-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000 !important;
    font-family: var(--font-heading), 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.6px;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
    cursor: default;
}

.vip-gold-badge i,
.vip-gold-badge .vip-star {
    font-size: 9px;
    color: #000 !important;
}

.vip-idx {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5) !important;
    font-weight: 900 !important;
    border-radius: 6px !important;
}

.badge-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5) !important;
    font-weight: 900 !important;
    border-radius: 6px !important;
}

/* ==========================================================================
   RESPONSIVE SPONSOR & PROMO BANNER
   ========================================================================== */
.pulse-sponsor-wrapper {
    width: 100%;
    margin: 10px 0 18px 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.pulse-sponsor-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    background: linear-gradient(90deg, #090e17 0%, #111726 50%, #0b101c 100%);
    border: 1px solid rgba(155, 209, 35, 0.4);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(155, 209, 35, 0.12);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.pulse-sponsor-card:hover {
    border-color: var(--brand-lime);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.75), 0 0 26px rgba(155, 209, 35, 0.3);
    transform: translateY(-2px);
    background: linear-gradient(90deg, #0d1422 0%, #172134 50%, #0e1526 100%);
}

.pulse-sp-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pulse-sp-logo-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.pulse-sp-icon {
    color: var(--brand-lime);
    font-size: 15px;
    animation: spinGear 12s linear infinite;
}

.pulse-sp-code-pill {
    background: rgba(155, 209, 35, 0.15);
    border: 1px solid rgba(155, 209, 35, 0.4);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #cbd5e1;
}

.pulse-sp-code-lbl {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
}

.pulse-sp-code-val {
    color: var(--brand-lime);
    font-weight: 900;
    letter-spacing: 0.5px;
}

.pulse-sp-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    overflow: hidden;
}

.pulse-sp-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pulse-sp-main-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pulse-sp-bonus-badge {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #000;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.45);
    white-space: nowrap;
    text-transform: uppercase;
}

.pulse-sp-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pulse-sp-cta-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.pulse-sp-cta-code {
    background: #1e293b;
    color: #e2e8f0;
    font-size: 11px;
    padding: 6px 10px;
    font-weight: 600;
}

.pulse-sp-cta-code strong {
    color: var(--brand-lime);
}

.pulse-sp-cta-claim {
    background: linear-gradient(135deg, #84cc16 0%, #a3e635 100%);
    color: #0b0f15;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 12px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pulse-sponsor-card:hover .pulse-sp-cta-claim {
    background: #bbf7d0;
    color: #000;
    box-shadow: 0 0 12px var(--brand-lime);
}

.pulse-sp-flare {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 209, 35, 0.12), transparent);
    transform: skewX(-25deg);
    animation: sponsorShimmer 6s infinite;
    pointer-events: none;
}

@keyframes sponsorShimmer {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .pulse-sp-main-text {
        font-size: 12.5px;
    }
    .pulse-sp-logo-badge {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .pulse-sponsor-card {
        padding: 8px 12px;
        gap: 8px;
    }
    .pulse-sp-code-pill {
        display: none;
    }
    .pulse-sp-main-text {
        font-size: 11.5px;
    }
    .pulse-sp-bonus-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    .pulse-sp-cta-code {
        padding: 4px 7px;
        font-size: 10px;
    }
    .pulse-sp-cta-claim {
        padding: 4px 8px;
        font-size: 10px;
    }
}

@media (max-width: 540px) {
    .pulse-sponsor-card {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 12px;
        text-align: center;
    }
    .pulse-sp-left {
        justify-content: center;
        gap: 8px;
    }
    .pulse-sp-code-pill {
        display: inline-flex;
    }
    .pulse-sp-center {
        justify-content: center;
    }
    .pulse-sp-title {
        gap: 6px;
    }
    .pulse-sp-right {
        justify-content: center;
    }
    .pulse-sp-cta-btn {
        width: 100%;
        justify-content: center;
    }
    .pulse-sp-cta-code,
    .pulse-sp-cta-claim {
        flex: 1;
        justify-content: center;
        text-align: center;
        padding: 6px;
    }
}

/* ==========================================================================
   RICH NEWS FORMATTING & CALLOUT ALERTS (Public & Admin)
   ========================================================================== */
.news-content {
    font-size: 15px;
    line-height: 1.8;
    color: #cbd5e1;
    word-break: break-word;
}

.news-content h2 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 28px 0 14px 0;
    padding-left: 12px;
    border-left: 4px solid var(--brand-lime);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 22px 0 10px 0;
    padding-left: 8px;
    border-left: 3px solid var(--steam-blue);
}

.news-content p {
    margin-bottom: 16px;
}

.news-content strong, .news-content b {
    color: #ffffff;
    font-weight: 700;
}

.news-content em, .news-content i {
    color: #e2e8f0;
    font-style: italic;
}

.news-content u {
    text-underline-offset: 4px;
    text-decoration-color: var(--brand-lime);
}

.news-content ul, .news-content ol {
    margin: 12px 0 18px 24px;
    padding: 0;
}

.news-content ul li {
    margin-bottom: 8px;
    list-style-type: square;
    color: #e2e8f0;
}

.news-content ol li {
    margin-bottom: 8px;
    color: #e2e8f0;
}

.news-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.65);
    border-left: 4px solid var(--steam-blue);
    border-radius: 0 10px 10px 0;
    color: #94a3b8;
    font-style: italic;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.news-content code:not(pre code) {
    background: rgba(15, 23, 42, 0.85);
    color: var(--brand-lime);
    padding: 2px 7px;
    border-radius: 5px;
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    border: 1px solid rgba(155, 209, 35, 0.25);
}

.news-content pre {
    background: #080c14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin: 18px 0;
    overflow-x: auto;
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    color: #38bdf8;
    line-height: 1.6;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: block;
}

.news-content a {
    color: var(--brand-lime);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.news-content a:hover {
    color: #bbf246;
}

.news-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    margin: 28px 0;
}

/* YouTube Video Responsive Wrap */
.news-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    background: #000;
}

.news-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Callout Alert Boxes */
.news-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
}

.news-callout-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.news-callout-body {
    flex: 1;
}

.news-callout-note {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.3);
    color: #bae6fd;
}
.news-callout-note .news-callout-icon {
    color: #38bdf8;
}

.news-callout-warning {
    background: rgba(245, 158, 11, 0.09);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fef08a;
}
.news-callout-warning .news-callout-icon {
    color: #f59e0b;
}

.news-callout-patch {
    background: rgba(34, 197, 94, 0.09);
    border-color: rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
}
.news-callout-patch .news-callout-icon {
    color: #22c55e;
}

.news-callout-highlight {
    background: rgba(168, 85, 247, 0.09);
    border-color: rgba(168, 85, 247, 0.35);
    color: #e9d5ff;
}
.news-callout-highlight .news-callout-icon {
    color: #c084fc;
}

/* ==========================================================================
   ADMIN NEWS MANAGEMENT & AJAX PAGINATION
   ========================================================================== */
.admin-news-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    background: rgba(13, 18, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.admin-news-search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.admin-news-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 13px;
}

.admin-news-search-box input {
    width: 100%;
    padding-left: 38px !important;
}

.news-pagination-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-pagination-info {
    font-size: 13px;
    color: #94a3b8;
}

.news-pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-page-btn:hover:not(:disabled) {
    background: rgba(155, 209, 35, 0.15);
    border-color: var(--brand-lime);
    color: #ffffff;
}

.news-page-btn.active {
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    color: #0d121d;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(155, 209, 35, 0.4);
}

.news-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ==========================================================================
   CYBERPUNK VISUAL NEWS EDITOR (MODAL & TOOLBAR)
   ========================================================================== */
.news-editor-modal-dialog {
    max-width: 1040px !important;
    width: 95vw;
}

.news-editor-nav-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 16px;
    background: rgba(8, 12, 20, 0.6);
}

.news-editor-tab-btn {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.news-editor-tab-btn:hover {
    color: #ffffff;
}

.news-editor-tab-btn.active {
    color: var(--brand-lime);
    border-bottom-color: var(--brand-lime);
    background: rgba(155, 209, 35, 0.05);
}

.news-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px 8px 0 0;
    padding: 8px;
    align-items: center;
}

.news-toolbar-group {
    display: flex;
    align-items: center;
    gap: 2px;
    padding-right: 6px;
    margin-right: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.news-tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 28px;
    padding: 0 7px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.news-tb-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.news-tb-btn.tb-lime {
    color: var(--brand-lime);
    border-color: rgba(155, 209, 35, 0.25);
}
.news-tb-btn.tb-lime:hover {
    background: rgba(155, 209, 35, 0.15);
}

.news-tb-btn.tb-cyan {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.25);
}
.news-tb-btn.tb-cyan:hover {
    background: rgba(56, 189, 248, 0.15);
}

.news-editor-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-height: 380px;
}

@media (max-width: 900px) {
    .news-editor-split-container {
        grid-template-columns: 1fr;
    }
}

.news-editor-textarea {
    width: 100%;
    min-height: 380px;
    background: #080c14 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 0 8px 8px !important;
    color: #f1f5f9 !important;
    font-family: var(--font-mono, monospace) !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    padding: 14px !important;
    resize: vertical;
}

.news-live-preview-box {
    background: rgba(8, 12, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 18px;
    min-height: 380px;
    max-height: 480px;
    overflow-y: auto;
}

.news-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px;
}

.news-preset-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.news-preset-card:hover {
    border-color: var(--brand-lime);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(155, 209, 35, 0.2);
}

.news-preset-card.active {
    border-color: var(--brand-lime);
    box-shadow: 0 0 0 2px var(--brand-lime);
}

.news-preset-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.news-preset-label {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================================================
   FACEIT INTEGRATION & PROFILE TAB STYLES
   ========================================================================== */

/* Header Action Faceit Button */
.btn-faceit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.22) 0%, rgba(255, 85, 0, 0.08) 100%);
    border: 1px solid rgba(255, 85, 0, 0.45);
    color: #ff7733 !important;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-faceit:hover, .btn-faceit.active {
    background: linear-gradient(135deg, #ff5500 0%, #e04400 100%);
    border-color: #ff7733;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(255, 85, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

.btn-faceit:active {
    transform: translateY(0);
}

.faceit-badge-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    line-height: 1.2;
}

/* Faceit Tab Hero Card */
.faceit-hero-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.1) 0%, rgba(18, 22, 32, 0.85) 60%, rgba(12, 14, 20, 0.95) 100%);
    border: 1px solid rgba(255, 85, 0, 0.35);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.faceit-hero-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.faceit-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.faceit-hero-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.faceit-avatar-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
}

.faceit-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 85, 0, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.faceit-level-badge-overlay {
    position: absolute;
    bottom: -6px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faceit-user-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faceit-user-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.faceit-nickname {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.faceit-verified-badge {
    color: #ff5500;
    font-size: 16px;
}

.faceit-user-subtags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.faceit-membership-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.faceit-membership-tag.premium {
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.3) 0%, rgba(255, 170, 0, 0.2) 100%);
    color: #ffaa44;
    border-color: rgba(255, 170, 0, 0.4);
}

.faceit-region-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

/* Faceit ELO Progression Box */
.faceit-elo-box {
    background: rgba(10, 12, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    min-width: 320px;
    max-width: 440px;
    flex: 1;
}

.faceit-elo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.faceit-elo-title .lbl {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.faceit-elo-title .val {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.faceit-level-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ff5500;
}

.faceit-level-indicator .lvl-txt {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    line-height: 1;
}

.faceit-level-indicator .lvl-val {
    font-size: 18px;
    font-weight: 900;
    font-family: var(--font-mono);
    line-height: 1;
}

.faceit-elo-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.faceit-elo-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px currentColor;
}

.faceit-elo-bar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* 4 Core Metrics Grid */
.faceit-stats-quad {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.faceit-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(18, 22, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.faceit-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 85, 0, 0.3);
    background: rgba(22, 28, 40, 0.8);
}

.faceit-stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.faceit-stat-val {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.faceit-stat-lbl {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 2px;
}

.faceit-stat-hint {
    font-size: 10px;
    color: var(--text-muted);
}

/* Streaks & Form Row */
.faceit-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.faceit-streaks-card, .faceit-form-card {
    background: rgba(18, 22, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.faceit-card-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faceit-streaks-grid {
    display: flex;
    gap: 24px;
}

.faceit-streak-item {
    display: flex;
    flex-direction: column;
}

.faceit-streak-item .st-num {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 900;
}

.faceit-streak-item .st-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.faceit-form-pills {
    display: flex;
    gap: 8px;
    align-items: center;
}

.faceit-result-pip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.faceit-result-pip.win {
    background: rgba(74, 222, 128, 0.18);
    border: 1px solid #4ade80;
    color: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.faceit-result-pip.loss {
    background: rgba(248, 113, 113, 0.18);
    border: 1px solid #f87171;
    color: #f87171;
}

.faceit-result-pip:hover {
    transform: scale(1.1);
}

/* Faceit Box (Maps & Matches) */
.faceit-box {
    background: rgba(18, 22, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faceit-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faceit-box-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.faceit-box-body {
    padding: 16px 20px;
}

/* Map Performance Grid */
.faceit-maps-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faceit-map-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: background 0.2s ease;
}

.faceit-map-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.faceit-map-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.faceit-map-name {
    font-weight: 800;
    font-size: 13px;
    color: #ffffff;
}

.faceit-map-matches {
    font-size: 11px;
    color: var(--text-muted);
}

.faceit-map-stats-row {
    display: flex;
    gap: 18px;
    margin-bottom: 8px;
}

.f-map-stat {
    display: flex;
    flex-direction: column;
}

.f-map-stat .f-lbl {
    font-size: 9px;
    font-weight: 800;
    color: var(--text-muted);
}

.f-map-stat .f-val {
    font-size: 12px;
    font-weight: 800;
    font-family: var(--font-mono);
}

.faceit-map-bar-wrap {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.faceit-map-bar-fill {
    height: 100%;
    border-radius: 2px;
}

/* Match History List */
.faceit-matches-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faceit-match-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.faceit-match-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.faceit-match-result-badge {
    font-size: 10px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.faceit-match-result-badge.win {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid #4ade80;
}

.faceit-match-result-badge.loss {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    border: 1px solid #f87171;
}

.faceit-match-info {
    flex: 1;
    min-width: 0;
}

.faceit-match-map-title {
    font-weight: 800;
    font-size: 13px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.faceit-match-mode-tag {
    font-size: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 1px 5px;
    border-radius: 3px;
}

.faceit-match-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.faceit-match-score {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    flex-shrink: 0;
}

.faceit-match-link-btn {
    color: var(--text-muted);
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.faceit-match-link-btn:hover {
    color: #ff5500;
    background: rgba(255, 85, 0, 0.1);
}

/* Faceit Unlinked Card */
.faceit-unlinked-card {
    text-align: center;
    padding: 48px 24px;
    background: rgba(18, 22, 32, 0.65);
    border: 1px dashed rgba(255, 85, 0, 0.35);
    border-radius: var(--radius-lg);
    margin: 20px 0;
}

.faceit-unlinked-icon {
    margin-bottom: 16px;
}

/* ==========================================================================
   SPONSOR / PARTNER WALLPAPER & GUTTER TAKEOVER ENGINE
   ========================================================================== */
body.has-sponsor-bg {
    background-color: #0b0f19 !important;
    background-image: var(--sponsor-bg-url) !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    background-size: 1920px auto !important;
}

@media (max-width: 1366px) {
    body.has-sponsor-bg {
        background-size: 100% auto !important;
    }
}

body.has-sponsor-bg .global-container {
    background: transparent !important;
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

.sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
}

@media (max-width: 991px) {
    .sidebar {
        z-index: 99999 !important;
    }
}

.sidebar.mobile-open {
    z-index: 99999 !important;
}

body.has-sponsor-bg .navbar-header {
    background: rgba(8, 11, 16, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
    pointer-events: auto !important;
}

/* Crystal-clear background visibility without excessive blur */
body.has-sponsor-bg .content-wrapper,
body.has-sponsor-bg .profile-shell,
body.has-sponsor-bg .profile-cyber-container,
body.has-sponsor-bg .main-wrapper,
body.has-sponsor-bg .home-section,
body.has-sponsor-bg .account-hero-banner {
    background: rgba(10, 15, 26, 0.95) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85) !important;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.modal-overlay:not(.active),
.sidebar-backdrop:not(.active),
.msg_backdrop:not(.active),
.image-lightbox-overlay:not(.active),
#snowSettingsModal:not(.active),
#chainModal:not(.active),
#imageLightboxModal:not(.active) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.modal-overlay.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
}

/* Site-wide Universal Upper-Positioning & Centering for All Modals */
.modal-overlay,
#profileViewersModal.modal-overlay,
#snowSettingsModal.modal-overlay,
#chainModal.modal-overlay,
#addServerModal.modal-overlay,
#authRequiredModal.modal-overlay,
#vipPurchaseModal.modal-overlay,
#userAddServerModal.modal-overlay,
#editServerModal.modal-overlay,
#paypalVipModal.modal-overlay,
#createTicketModal.modal-overlay,
#newsReaderModal.modal-overlay,
#newsEditModal.modal-overlay,
#individualCommendsModal.modal-overlay,
#addAccountModal.modal-overlay,
#itemDetailModal.modal-overlay,
#chatMuteModal.modal-overlay,
#trustScoreModal.modal-overlay,
#gdprModal.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 60px 16px 40px 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

.modal-dialog,
.pv-modal-dialog,
.snow-settings-modal-dialog,
.news-editor-modal-dialog,
.chain-modal-dialog,
#profileViewersModal .pv-modal-dialog,
#snowSettingsModal .snow-settings-modal-dialog,
#snowSettingsModal .modal-dialog,
#chainModal .chain-modal-dialog,
#chainModal .modal-dialog {
    margin: 0 auto !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    max-height: calc(100vh - 100px) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 0, 0, 0.6) !important;
}

.sidebar-backdrop.active,
.msg_backdrop.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99990 !important;
    pointer-events: auto !important;
}

/* Full Viewport & Gutter Takeover Clickable Link */
.sponsor-takeover-bg-link {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1 !important;
    cursor: pointer;
    display: block;
    outline: none;
    text-decoration: none;
    pointer-events: auto !important;
}

.sponsor-gutter-link {
    position: fixed;
    top: 60px;
    bottom: 0;
    z-index: 2 !important;
    cursor: pointer;
    display: block;
    text-decoration: none;
    outline: none;
    pointer-events: auto !important;
}
.sponsor-gutter-left {
    left: 240px;
    width: calc((100vw - 240px - 1280px) / 2);
    min-width: 60px;
}
body.sidebar-collapsed .sponsor-gutter-left {
    left: 68px;
    width: calc((100vw - 68px - 1280px) / 2);
}
.sponsor-gutter-right {
    right: 0;
    width: calc((100vw - 240px - 1280px) / 2);
    min-width: 60px;
}
body.sidebar-collapsed .sponsor-gutter-right {
    width: calc((100vw - 68px - 1280px) / 2);
}

/* GSTATS.EU Bot (Official AI Assistant) Chat Styles */
.msg_item.msg_gemini_ai {
    background: linear-gradient(135deg, rgba(14, 28, 48, 0.78) 0%, rgba(18, 26, 44, 0.78) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.12);
    border-radius: 12px;
}
.msg_avatar.avatar_gemini {
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.65);
    border: 1.5px solid rgba(56, 189, 248, 0.8) !important;
}
.msg_username.user_gemini {
    color: #38bdf8 !important;
    font-weight: 800 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.msg_badge.badge-gemini {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 9.5px !important;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   HOLIDAY SNOWFALL CONTROLS & MODAL ENGINE
   ========================================================================== */
.holiday-snow-navbar-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #fff !important;
    font-size: 16px !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    z-index: 100 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}
.holiday-snow-navbar-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.65) !important;
}
.holiday-snow-navbar-btn.snow-off {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%) !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}
.holiday-snow-navbar-btn.snow-off i {
    color: #fff !important;
}

.holiday-halloween-navbar-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #7c3aed 0%, #ea580c 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #fff !important;
    font-size: 16px !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    z-index: 100 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}
.holiday-halloween-navbar-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}
.holiday-halloween-navbar-btn:active {
    transform: scale(0.95);
}
.holiday-halloween-navbar-btn.halloween-off {
    background: rgba(30, 41, 59, 0.85) !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    box-shadow: none !important;
    opacity: 0.65;
}
.holiday-halloween-navbar-btn.halloween-off i {
    color: #94a3b8 !important;
}

@media (max-width: 768px) {
    .holiday-halloween-navbar-btn {
        width: 32px;
        height: 32px;
        font-size: 14px !important;
        border-radius: 8px !important;
    }
}

#snowSettingsModal.modal-overlay {
    z-index: 9999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(4, 7, 14, 0.85) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    display: none;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 60px 16px 40px 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
}
#snowSettingsModal.modal-overlay.active {
    display: flex !important;
}
.snow-settings-modal-dialog {
    max-width: 440px !important;
    width: 100% !important;
    background: rgba(14, 18, 28, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(34, 197, 94, 0.15) !important;
    padding: 0 !important;
    overflow: hidden;
    animation: modalScaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.snow-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.snow-modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.snow-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}
.snow-modal-close:hover {
    color: #fff;
}
.snow-modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.snow-banner-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 330px;
    background: #090d16;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.snow-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.snow-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 18, 28, 0) 0%, rgba(14, 18, 28, 0.35) 45%, rgba(14, 18, 28, 0.95) 85%, rgba(14, 18, 28, 1) 100%);
    pointer-events: none;
}
.snow-banner-content {
    position: relative;
    z-index: 2;
    padding: 18px 14px 16px;
    text-align: center;
}
.snow-countdown-title {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}
.snow-countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.snow-count-box {
    background: rgba(14, 20, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 10px;
    min-width: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}
.snow-count-num {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-mono, monospace);
    line-height: 1.1;
}
.snow-count-lbl {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 3px;
}
.snow-count-colon {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
}
.snow-controls-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}
.snow-toggle-action-btn {
    flex: 1;
    height: 44px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.snow-toggle-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.55);
}
.snow-toggle-action-btn.snow-disabled {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.15) !important;
}
.snow-toggle-action-btn.snow-disabled i {
    color: #ef4444 !important;
}
.snow-sound-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    border: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.snow-sound-btn.muted {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #ef4444 !important;
}
.snow-sound-btn.muted i {
    color: #ef4444 !important;
}
.snow-sound-btn.active {
    background: rgba(34, 197, 94, 0.2) !important;
    border: 1px solid rgba(34, 197, 94, 0.5) !important;
    color: #22c55e !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.3) !important;
}
.snow-sound-btn.active i {
    color: #22c55e !important;
}

@media (max-width: 768px) {
    .navbar_menu_left .logo-text,
    .hide-on-mobile {
        display: none !important;
    }
    .holiday-snow-navbar-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   COOKIE & GDPR BANNER + FRIENDS REAL-TIME DROPDOWN
   ========================================================================== */
.cookie-banner-wrap {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 920px;
    z-index: 9999;
    background: rgba(14, 20, 32, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(155, 209, 35, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(155, 209, 35, 0.15);
    padding: 18px 22px;
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cookieSlideUp {
    from { transform: translate(-50%, 60px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(155, 209, 35, 0.15);
    border: 1px solid rgba(155, 209, 35, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--brand-lime);
    flex-shrink: 0;
}
.cookie-banner-content {
    flex: 1;
    min-width: 280px;
}
.cookie-banner-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-gdpr-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.cookie-banner-text {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}
.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.gdpr-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.gdpr-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.gdpr-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: 0.25s;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.gdpr-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.25s;
    border-radius: 50%;
}
.gdpr-switch input:checked + .gdpr-slider {
    background-color: var(--brand-lime);
    border-color: var(--brand-lime);
}
.gdpr-switch input:checked + .gdpr-slider:before {
    transform: translateX(20px);
    background-color: #080c14;
}
.friends-nav-widget-wrap {
    position: relative;
    z-index: 100000;
}
.friends-nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 330px;
    background: #0d131f !important;
    background-color: #0d131f !important;
    border: 1px solid rgba(155, 209, 35, 0.45) !important;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.98), 0 0 35px rgba(0, 0, 0, 0.8) !important;
    z-index: 99999999 !important;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInDrop 0.2s ease;
}
.friends-nav-dropdown-panel.open {
    display: flex !important;
}
.friends-drop-header {
    padding: 12px 16px;
    background: #111827 !important;
    background-color: #111827 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.friends-drop-body {
    max-height: 380px;
    overflow-y: auto;
    padding: 10px;
    background: #0d131f !important;
    background-color: #0d131f !important;
}
.friends-section-title {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.friends-item-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #161e2e !important;
    background-color: #161e2e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.friends-item-card:hover {
    background: #1e293b !important;
    background-color: #1e293b !important;
    border-color: rgba(155, 209, 35, 0.4) !important;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .cookie-banner-wrap {
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 14px;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .friends-nav-widget-wrap {
        position: static !important;
    }
    .friends-nav-dropdown-panel {
        position: fixed !important;
        top: 56px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: 380px !important;
        margin: 0 auto !important;
        background: #0d131f !important;
        background-color: #0d131f !important;
        z-index: 999999999 !important;
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.99), 0 0 40px rgba(155, 209, 35, 0.35) !important;
        border: 1px solid rgba(155, 209, 35, 0.5) !important;
    }
    .friends-drop-body {
        max-height: calc(75vh - 60px) !important;
        background: #0d131f !important;
    }
}

/* ==========================================================================
   Profile Viewers Modal Component (Pixel-perfect match to Pro Viewers design)
   ========================================================================== */
.profile-views-pill {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(163, 230, 53, 0.2) !important;
}
.profile-views-pill:hover {
    background: rgba(163, 230, 53, 0.12) !important;
    border-color: rgba(163, 230, 53, 0.5) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(163, 230, 53, 0.2);
}

.pv-modal-dialog {
    max-width: 460px;
    width: 92%;
    background: #0b0f17;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    position: relative;
    margin: 0 auto !important;
    top: 0 !important;
}

.pv-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(15, 23, 42, 0.65);
    flex-shrink: 0;
}

.pv-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.pv-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pv-modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.pv-modal-body {
    position: relative;
    padding: 16px 18px;
    min-height: 280px;
    max-height: min(520px, calc(100vh - 180px));
    overflow-y: auto;
    flex: 1 1 auto;
}

.pv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pv-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.pv-item.unlocked-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(163, 230, 53, 0.3);
}

.pv-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.pv-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.pv-user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pv-user-name {
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pv-time-ago {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.pv-item-right {
    flex-shrink: 0;
}

/* Blur & Lock Overlay (matches user screenshot 2) */
.pv-list.is-blurred {
    filter: blur(8px);
    opacity: 0.25;
    user-select: none;
    pointer-events: none;
}

.pv-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    z-index: 10;
    pointer-events: auto;
}

.pv-lock-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.18);
}

.pv-lock-circle i {
    font-size: 22px;
    color: #facc15;
}

.pv-lock-title {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.pv-lock-subtitle {
    font-size: 13.5px;
    color: #94a3b8;
    max-width: 290px;
    line-height: 1.45;
    margin: 0 0 22px 0;
}

.pv-btn-get-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: #00e676;
    color: #052e16 !important;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-btn-get-pro:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.65);
    color: #052e16 !important;
}

.pv-unlocked-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #86efac;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* =========================================================================
   VIP PROFILE PREMIUM CARDS BORDER & AURA
   Applied when viewed user has an active VIP membership
   ========================================================================= */
.is-vip-profile .steam-showcase-box,
.is-vip-profile .steam-sidebar-widget,
.is-vip-profile .user-settings-card,
.is-vip-profile .cs2-activity-card,
.is-vip-profile .steam-level-and-badge-card,
.is-vip-profile .stat-card,
.is-vip-profile .steam-official-ban-box,
.is-vip-profile .game-stats-pane,
.is-vip-profile .settings-section-card,
.is-vip-profile .settings-box,
.is-vip-profile .steam-bio-box,
.is-vip-profile .profile-activity-card,
.is-vip-profile .comment-box {
    border: 1.5px solid rgba(234, 179, 8, 0.45) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 16px rgba(234, 179, 8, 0.12), inset 0 0 12px rgba(234, 179, 8, 0.04) !important;
    position: relative;
    transition: all 0.25s ease-in-out;
}

.is-vip-profile .steam-showcase-box:hover,
.is-vip-profile .steam-sidebar-widget:hover,
.is-vip-profile .user-settings-card:hover,
.is-vip-profile .cs2-activity-card:hover,
.is-vip-profile .steam-level-and-badge-card:hover,
.is-vip-profile .stat-card:hover {
    border-color: rgba(250, 204, 21, 0.75) !important;
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.55), 0 0 24px rgba(234, 179, 8, 0.25), inset 0 0 16px rgba(234, 179, 8, 0.08) !important;
}

/* VIP Account Cards in Directory & Home */
.account-card.is-vip-card {
    border: 1.5px solid rgba(234, 179, 8, 0.55) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 20px rgba(234, 179, 8, 0.2) !important;
}

.account-card.is-vip-card:hover {
    border-color: rgba(250, 204, 21, 0.85) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65), 0 0 30px rgba(234, 179, 8, 0.32) !important;
}

.vip-crown-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffd700;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.22) 0%, rgba(202, 138, 4, 0.12) 100%);
    border: 1px solid rgba(234, 179, 8, 0.55);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.25);
    vertical-align: middle;
}

.vip-crown-badge i {
    color: #facc15;
    font-size: 10px;
    filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.6));
}

/* ==========================================================================
   ADMIN CHAT MUTE LIST STYLING
   ========================================================================== */
.msg_hdr_admin_btn {
    position: relative;
}
.msg_hdr_admin_btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}
.msg_admin_mutes_badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    line-height: 1;
}

.chat-mute-row {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}
.chat-mute-row:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}
.chat-mute-row.is-active-mute {
    border-left: 3px solid #ef4444;
}
.chat-mute-row.is-expired-mute {
    opacity: 0.6;
    border-left: 3px solid #64748b;
}
.chat-mute-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.chat-mute-avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}
.btn-filter-mutes.active {
    background: rgba(239, 68, 68, 0.25) !important;
    color: #fff !important;
    border: 1px solid rgba(239, 68, 68, 0.5) !important;
}
.btn-unmute:hover {
    background: rgba(34, 197, 94, 0.35) !important;
    color: #fff !important;
    border-color: rgba(34, 197, 94, 0.7) !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
}

/* =============================================================================
   VIP BADGES PER TIER (STARTER, GOLD, DIAMOND, LIFETIME)
   ============================================================================= */
.vip-badge, .vip-gold-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: var(--font-heading), 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
    cursor: default;
    transition: all 0.2s ease;
}

.vip-badge-starter {
    background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%) !important;
    color: #001322 !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.vip-badge-starter i { color: #001322 !important; font-size: 8.5px; }

.vip-badge-gold, .vip-gold-badge {
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%) !important;
    color: #1a0f00 !important;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.vip-badge-gold i, .vip-gold-badge i { color: #1a0f00 !important; font-size: 8.5px; }

.vip-badge-diamond {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%) !important;
    color: #001c10 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.vip-badge-diamond i { color: #001c10 !important; font-size: 8.5px; }

.vip-badge-lifetime {
    background: linear-gradient(135deg, #f472b6 0%, #a855f7 100%) !important;
    color: #200028 !important;
    box-shadow: 0 0 12px rgba(244, 114, 182, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.vip-badge-lifetime i { color: #200028 !important; font-size: 8.5px; }

/* =============================================================================
   VIP CHECKOUT MODAL - DISTINCT NEON BORDER CARDS
   ============================================================================= */
.vip-plan-card {
    position: relative;
    border-radius: 12px;
    padding: 14px 14px 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(16, 23, 38, 0.88);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 82px;
}

/* 7d - Starter (Neon Sky/Cyan) */
.vip-plan-card.plan-7d {
    border: 2px solid rgba(0, 229, 255, 0.45) !important;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.18), inset 0 0 8px rgba(0, 229, 255, 0.05);
}
.vip-plan-card.plan-7d:hover {
    border-color: #00e5ff !important;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.45), inset 0 0 12px rgba(0, 229, 255, 0.12);
    transform: translateY(-2px);
}
.vip-plan-card.plan-7d.active {
    border-color: #00f0ff !important;
    background: linear-gradient(135deg, rgba(6, 40, 60, 0.9) 0%, rgba(8, 24, 40, 0.95) 100%) !important;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.65), inset 0 0 16px rgba(0, 240, 255, 0.2) !important;
}

/* 30d - Most Popular / Gold (Radiant Gold / Amber) */
.vip-plan-card.plan-30d {
    border: 2px solid rgba(251, 191, 36, 0.45) !important;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.18), inset 0 0 8px rgba(251, 191, 36, 0.05);
}
.vip-plan-card.plan-30d:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.45), inset 0 0 12px rgba(251, 191, 36, 0.12);
    transform: translateY(-2px);
}
.vip-plan-card.plan-30d.active {
    border-color: #fbbf24 !important;
    background: linear-gradient(135deg, rgba(58, 38, 6, 0.9) 0%, rgba(32, 20, 4, 0.95) 100%) !important;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.65), inset 0 0 16px rgba(251, 191, 36, 0.2) !important;
}

/* 90d - 25% Off / Diamond (Neon Emerald / Mint) */
.vip-plan-card.plan-90d {
    border: 2px solid rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.18), inset 0 0 8px rgba(16, 185, 129, 0.05);
}
.vip-plan-card.plan-90d:hover {
    border-color: #10b981 !important;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.45), inset 0 0 12px rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}
.vip-plan-card.plan-90d.active {
    border-color: #05ffa1 !important;
    background: linear-gradient(135deg, rgba(6, 48, 32, 0.9) 0%, rgba(4, 28, 18, 0.95) 100%) !important;
    box-shadow: 0 0 24px rgba(5, 255, 161, 0.65), inset 0 0 16px rgba(5, 255, 161, 0.2) !important;
}

/* perm - Best Value / Lifetime (Cosmic Magenta / Purple) */
.vip-plan-card.plan-perm {
    border: 2px solid rgba(217, 70, 239, 0.5) !important;
    box-shadow: 0 0 14px rgba(217, 70, 239, 0.22), inset 0 0 8px rgba(217, 70, 239, 0.08);
}
.vip-plan-card.plan-perm:hover {
    border-color: #d946ef !important;
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.5), inset 0 0 14px rgba(217, 70, 239, 0.15);
    transform: translateY(-2px);
}
.vip-plan-card.plan-perm.active {
    border-color: #f472b6 !important;
    background: linear-gradient(135deg, rgba(54, 10, 60, 0.9) 0%, rgba(28, 6, 32, 0.95) 100%) !important;
    box-shadow: 0 0 26px rgba(244, 114, 182, 0.75), inset 0 0 18px rgba(244, 114, 182, 0.25) !important;
}

/* Modal Plan Badges */
.vip-plan-badge {
    position: absolute;
    top: -9px;
    right: 10px;
    font-size: 9.5px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.vip-plan-badge.badge-7d {
    background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%) !important;
    color: #001322 !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
}
.vip-plan-badge.badge-30d {
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%) !important;
    color: #1a0f00 !important;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
}
.vip-plan-badge.badge-90d {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%) !important;
    color: #001c10 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}
.vip-plan-badge.badge-perm {
    background: linear-gradient(135deg, #f472b6 0%, #a855f7 100%) !important;
    color: #200028 !important;
    box-shadow: 0 0 12px rgba(244, 114, 182, 0.8);
}

/* Discord Server Row Custom Styling with Guild Logo Watermark */
.cs2bgd-server-row.is-discord {
    background-size: cover, auto 80px !important;
    background-position: left center, right 20px center !important;
    background-repeat: no-repeat, no-repeat !important;
    border-color: rgba(88, 101, 242, 0.28) !important;
}
.cs2bgd-server-row.is-discord:hover {
    border-color: rgba(88, 101, 242, 0.65) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(88, 101, 242, 0.25) !important;
}
.servers-grid-active .cs2bgd-server-row.is-discord {
    background-size: cover, auto 62px !important;
    background-position: left center, right 12px center !important;
    background-repeat: no-repeat, no-repeat !important;
}

/* ==========================================================================
   CHAT MINI RICH EMBEDS (SERVER & VIDEO CARDS)
   ========================================================================== */
.chat-mini-server-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(20, 24, 33, 0.96), rgba(12, 16, 22, 0.98));
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-bottom: 2px solid #38bdf8;
    border-radius: 8px;
    padding: 6px 10px;
    margin-top: 6px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 8px rgba(56, 189, 248, 0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chat-mini-server-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(56, 189, 248, 0.2);
}

.chat-mini-server-box.is-vip {
    border-color: rgba(245, 158, 11, 0.5);
    border-bottom: 2px solid #f59e0b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45), 0 0 10px rgba(245, 158, 11, 0.18);
}

.chat-mini-server-box.is-discord {
    border-color: rgba(88, 101, 242, 0.5);
    border-bottom: 2px solid #5865f2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45), 0 0 10px rgba(88, 101, 242, 0.2);
}

.chat-mini-server-box .mini-avatar-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #0a0d14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-mini-server-box .mini-srv-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-mini-server-box .mini-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chat-mini-server-box .mini-top-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.chat-mini-server-box .mini-game-badge {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-mini-server-box .mini-game-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.chat-mini-server-box .mini-vip-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
    flex-shrink: 0;
    line-height: 1.2;
}

.chat-mini-server-box .mini-server-name {
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    transition: color 0.15s ease;
}

.chat-mini-server-box .mini-server-name:hover {
    color: #38bdf8;
}

.chat-mini-server-box .mini-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chat-mini-server-box .mini-status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.chat-mini-server-box .mini-status-dot.offline {
    background: #64748b;
}

.chat-mini-server-box .mini-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.chat-mini-server-box .mini-act-btn {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.chat-mini-server-box .mini-act-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.chat-mini-server-box .mini-btn-play {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.chat-mini-server-box .mini-bottom-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
    font-family: var(--font-mono, monospace);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-mini-server-box .mini-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #38bdf8;
}

.chat-mini-server-box .mini-flag {
    width: 14px;
    height: 10px;
    border-radius: 2px;
    object-fit: cover;
}

.chat-mini-server-box .mini-sep {
    color: #475569;
    font-weight: 400;
}

.chat-mini-server-box .mini-players {
    color: #22c55e;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.chat-mini-server-box .mini-map {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #c084fc;
}

.chat-mini-server-box .mini-map-icon-box {
    width: 13px;
    height: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chat-mini-server-box .mini-map-icon {
    width: 13px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
}

/* Video Mini Box */
.chat-mini-video-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(20, 24, 33, 0.96), rgba(12, 16, 22, 0.98));
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-bottom: 2px solid #ef4444;
    border-radius: 8px;
    padding: 6px 10px;
    margin-top: 6px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(239, 68, 68, 0.15);
    backdrop-filter: blur(8px);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chat-mini-video-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(239, 68, 68, 0.25);
}

.chat-mini-video-box .mini-video-thumb-wrap {
    width: 66px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    display: block;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-mini-video-box .mini-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-mini-video-box .mini-video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 11px;
}

.chat-mini-video-box .mini-video-duration {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 8.5px;
    padding: 1px 3px;
    border-radius: 2px;
    font-family: var(--font-mono, monospace);
}

.chat-mini-video-box .mini-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chat-mini-video-box .mini-top-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-mini-video-box .mini-video-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.chat-mini-video-box .mini-video-title {
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-mini-video-box .mini-video-title:hover {
    color: #ef4444;
}

.chat-mini-video-box .mini-bottom-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #94a3b8;
}

.chat-mini-video-box .mini-video-watch-btn {
    margin-left: auto;
    background: rgba(239, 68, 68, 0.2);
    color: #fff;
    border: 1px solid rgba(239, 68, 68, 0.4);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.chat-mini-video-box .mini-video-watch-btn:hover {
    background: #ef4444;
    color: #fff;
}

/* ==========================================================================
   CHAT USER MENTIONS & AUTOCOMPLETE DROPDOWN
   ========================================================================== */
.msg_mention_chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    padding: 1px 6px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    vertical-align: middle;
    transition: all 0.15s ease;
    line-height: 1.3;
}

.msg_mention_chip:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    color: #fff;
    text-decoration: none;
}

.msg_mention_chip .chip_avatar {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.msg_mention_chip .chip_dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-left: 2px;
}

.msg_mention_chip .chip_dot.online {
    background: #22c55e;
    box-shadow: 0 0 5px #22c55e;
}

.msg_mention_chip .chip_dot.offline {
    background: #64748b;
}

.msg_mention_chip.plain_mention {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

/* Mention Autocomplete Popover */
.msg_mention_autocomplete {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #0f141c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    padding: 4px;
}

.mention_ac_item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s ease;
}

.mention_ac_item.active,
.mention_ac_item:hover {
    background: rgba(56, 189, 248, 0.18);
}

.mention_ac_avatar_wrap {
    position: relative;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.mention_ac_avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mention_ac_dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1.5px solid #0f141c;
}

.mention_ac_dot.online {
    background: #22c55e;
}

.mention_ac_dot.offline {
    background: #64748b;
}

.mention_ac_info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.mention_ac_name {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.mention_role_badge {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-size: 9px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1;
}

.mention_lvl_badge {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1;
}

.mention_ac_online_pill {
    margin-left: auto;
    font-size: 9.5px;
    color: #22c55e;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   CHAT MINI USER BOX (STEAM BACKGROUND BANNER)
   ========================================================================== */
.chat-mini-user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-bottom: 2px solid #38bdf8;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 6px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(56, 189, 248, 0.15);
    backdrop-filter: blur(8px);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.chat-mini-user-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 14px rgba(56, 189, 248, 0.25);
}

.chat-mini-user-box .user-avatar-wrap {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.chat-mini-user-box .user-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.chat-mini-user-box .mini-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chat-mini-user-box .mini-top-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mini-user-name {
    font-weight: 800;
    font-size: 13.5px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: color 0.15s ease;
}

.mini-user-name:hover {
    color: #38bdf8;
    text-decoration: none;
}

.mini-user-lvl {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.mini-user-profile-btn {
    margin-left: auto;
    background: rgba(56, 189, 248, 0.22);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.mini-user-profile-btn:hover {
    background: #38bdf8;
    color: #000;
    font-weight: 800;
    text-decoration: none;
}

.chat-mini-user-box .mini-bottom-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.mini-user-status-label.online {
    color: #22c55e;
    font-weight: 700;
}

.mini-user-status-label.offline {
    color: #94a3b8;
}

.mini-user-game {
    color: #fbbf24;
    font-weight: 600;
    font-size: 10.5px;
}

.mini-steamid {
    font-size: 10px;
    color: #64748b;
    font-family: monospace;
}


/* ==========================================================================
   CENTERED HIGH PRIORITY NOTIFICATION MODAL
   ========================================================================== */
.center-notification-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.center-notification-dialog {
    max-width: 440px;
    width: 92%;
    animation: centerPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes centerPopIn {
    0% { opacity: 0; transform: scale(0.9) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.center-notif-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.98), rgba(11, 15, 23, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 20px rgba(56, 189, 248, 0.15);
}

.center-notif-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.35;
    background: radial-gradient(circle, var(--brand-lime) 0%, transparent 70%);
}

.center-notif-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.center-notif-close:hover {
    color: #fff;
}

.center-notif-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid var(--brand-lime);
    color: var(--brand-lime);
    background: rgba(255, 255, 255, 0.04);
}

.center-notif-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand-lime);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.center-notif-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.center-notif-msg {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 20px;
}

.center-notif-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.center-notif-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
}

/* ==========================================================================
   NOTIFICATION CENTER MODAL & ITEMS
   ========================================================================== */
.notif-center-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notif-tab {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.notif-tab.active,
.notif-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.notif-center-body {
    max-height: 380px;
    overflow-y: auto;
    padding: 12px 18px;
}

.notif-center-loading,
.notif-center-empty {
    padding: 30px 10px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
    transition: all 0.15s ease;
}

.notif-item.unread {
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.28);
}

.notif-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    color: #38bdf8;
}

.notif-item-content {
    flex: 1;
    min-width: 0;
}

.notif-item-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.notif-type-tag {
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    line-height: 1;
}

.notif-type-tag.mention { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.notif-type-tag.service-exp { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.notif-type-tag.service-expired { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.notif-type-tag.system { background: rgba(255, 255, 255, 0.1); color: #cbd5e1; }

.notif-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.notif-item-time {
    margin-left: auto;
    font-size: 11px;
    color: #64748b;
}

.notif-item-msg {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.4;
    word-break: break-word;
}

.notif-item-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.notif-action-btn {
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.notif-action-btn:hover {
    color: #fff;
    text-decoration: underline;
}

.notif-mark-btn {
    background: none;
    border: none;
    font-size: 11px;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.notif-mark-btn:hover {
    color: #22c55e;
}

.notif-del-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #475569;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 4px;
}

.notif-del-btn:hover {
    color: #ef4444;
}

.notif-view-all-link {
    font-size: 12px;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notif-view-all-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Global Hero Card Base (Ensures proper padding, border-radius and aesthetics everywhere) */
.news-hero-card {
    border-radius: var(--radius-lg, 16px);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* ==========================================================================
   ACCOUNT SETTINGS TAB RESPONSIVE OVERRIDES
   ========================================================================== */
#tab-settings,
#tab-settings.acc-settings-tab {
    padding: 28px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}
#tab-settings * {
    box-sizing: border-box;
}
#tab-settings .acc-settings-main-grid,
#tab-settings > div[style*="display: grid"]:not(.user-settings-container) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
#tab-settings .acc-settings-col,
#tab-settings > div[style*="display: grid"]:not(.user-settings-container) > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
#tab-settings .acc-settings-card,
#tab-settings > div[style*="display: grid"]:not(.user-settings-container) > div:first-child > div,
#tab-settings > div[style*="display: grid"]:not(.user-settings-container) > div:last-child {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
#tab-settings .acc-slug-input-group,
#tab-settings form div:has(> #customSlugInput) {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden !important;
    background: rgba(8, 12, 20, 0.9);
}
#tab-settings .acc-slug-prefix,
#tab-settings form div:has(> #customSlugInput) > span:first-child {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 10px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
}
#tab-settings #customSlugInput,
#tab-settings #personalReferralInput,
#tab-settings input.form-control {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    flex: 1 1 0% !important;
    box-sizing: border-box !important;
}
@media (max-width: 1280px) {
    #tab-settings .acc-slug-input-group,
    #tab-settings form div:has(> #customSlugInput) {
        flex-direction: column !important;
    }
    #tab-settings .acc-slug-prefix,
    #tab-settings form div:has(> #customSlugInput) > span:first-child {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 8px 12px !important;
        width: 100% !important;
    }
}
@media (max-width: 1100px) {
    #tab-settings,
    #tab-settings.acc-settings-tab {
        padding: 20px 16px !important;
    }
    #tab-settings .acc-settings-main-grid,
    #tab-settings > div[style*="display: grid"]:not(.user-settings-container) {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
    }
}
@media (max-width: 768px) {
    #tab-settings,
    #tab-settings.acc-settings-tab {
        padding: 16px 12px !important;
    }
    #tab-settings .acc-settings-card,
    #tab-settings > div[style*="display: grid"]:not(.user-settings-container) > div:first-child > div,
    #tab-settings > div[style*="display: grid"]:not(.user-settings-container) > div:last-child {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }
    #tab-settings .acc-ref-link-group,
    #tab-settings div:has(> #personalReferralInput) {
        flex-direction: column !important;
    }
    #tab-settings #btnCopyRefLink {
        width: 100% !important;
        padding: 10px 16px !important;
        justify-content: center !important;
    }
}
@media (max-width: 520px) {
    #tab-settings,
    #tab-settings.acc-settings-tab {
        padding: 12px 10px !important;
    }
    #tab-settings .acc-settings-header {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    #tab-settings .acc-settings-header-actions,
    #tab-settings .acc-settings-header-actions > a,
    #tab-settings .acc-settings-card-actions,
    #tab-settings .acc-settings-card-actions > .btn,
    #tab-settings .acc-settings-card-actions > a,
    #tab-settings .acc-settings-card-actions > button,
    #tab-settings form div[style*="justify-content: flex-end"] > button,
    #tab-settings div[style*="justify-content: flex-end"] > a.btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
    #tab-settings .acc-slug-preview-box,
    #tab-settings form div:has(> button[onclick*="copySlugUrl"]) {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    #tab-settings .acc-slug-copy-btn,
    #tab-settings button[onclick*="copySlugUrl"] {
        width: 100% !important;
        justify-content: center !important;
    }
    #tab-settings .acc-vip-perks-grid {
        grid-template-columns: 1fr !important;
    }
    #tab-settings .acc-ref-stats-grid {
        gap: 6px !important;
    }
    #tab-settings .acc-ref-stat-box {
        padding: 8px 4px !important;
    }
    #tab-settings .acc-ref-stat-val {
        font-size: 16px !important;
    }
    #tab-settings .acc-ref-stat-lbl {
        font-size: 9px !important;
    }
}

