/* ========== INTRO SPLASH ========== */
.lobby3-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lobby3-splash.is-done {
    pointer-events: none;
}

/* Dark background */
.lobby3-splash__bg {
    position: absolute;
    inset: 0;
    background: #050810;
    z-index: 1;
}
.lobby3-splash.is-done .lobby3-splash__bg {
    animation: splashBgOut 0.6s ease-in forwards;
}
@keyframes splashBgOut {
    to { opacity: 0; }
}

/* Cinematic bars */
.lobby3-splash__cin-top,
.lobby3-splash__cin-bot {
    position: absolute;
    left: 0; right: 0;
    height: 15vh;
    background: #000;
    z-index: 3;
}
.lobby3-splash__cin-top { top: 0; }
.lobby3-splash__cin-bot { bottom: 0; }

.lobby3-splash__cin-top {
    animation: cinTopIn 0.6s ease-out 0s both, cinTopOut 0.6s ease-in 3.4s both;
}
.lobby3-splash__cin-bot {
    animation: cinBotIn 0.6s ease-out 0s both, cinBotOut 0.6s ease-in 3.4s both;
}
@keyframes cinTopIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
@keyframes cinBotIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes cinTopOut {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}
@keyframes cinBotOut {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

/* Center content */
.lobby3-splash__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: splashContentIn 1s ease-out 0.4s both;
}
.lobby3-splash.is-done .lobby3-splash__content {
    animation: splashContentOut 0.4s ease-in forwards;
}
@keyframes splashContentIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes splashContentOut {
    to { opacity: 0; transform: scale(1.1); }
}

/* Logo */
.lobby3-splash__logo {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 4em;
    font-weight: 900;
    color: #fff;
    letter-spacing: 12px;
    text-transform: uppercase;
    text-shadow:
        0 0 40px rgba(74,138,181,0.6),
        0 0 80px rgba(74,138,181,0.3),
        0 0 120px rgba(92,184,92,0.2),
        0 2px 4px rgba(0,0,0,0.8);
    animation: splashLogoGlow 2s ease-in-out infinite alternate;
}
@keyframes splashLogoGlow {
    from {
        text-shadow:
            0 0 40px rgba(74,138,181,0.6),
            0 0 80px rgba(74,138,181,0.3),
            0 0 120px rgba(92,184,92,0.2),
            0 2px 4px rgba(0,0,0,0.8);
    }
    to {
        text-shadow:
            0 0 60px rgba(74,138,181,0.8),
            0 0 100px rgba(74,138,181,0.5),
            0 0 160px rgba(92,184,92,0.35),
            0 2px 4px rgba(0,0,0,0.8);
    }
}

/* Subtitle */
.lobby3-splash__subtitle {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1em;
    color: rgba(255,255,255,0.4);
    letter-spacing: 6px;
    text-transform: uppercase;
    animation: splashSubIn 0.8s ease-out 1.0s both;
}
@keyframes splashSubIn {
    from { opacity: 0; letter-spacing: 20px; }
    to { opacity: 1; letter-spacing: 6px; }
}

/* Progress bar */
.lobby3-splash__bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 1px;
    overflow: hidden;
    margin-top: 8px;
    animation: splashBarIn 0.5s ease-out 1.6s both;
}
@keyframes splashBarIn {
    from { opacity: 0; width: 100px; }
    to { opacity: 1; width: 200px; }
}

.lobby3-splash__bar-fill {
    height: 100%;
    width: 0;
    border-radius: 1px;
    background: linear-gradient(90deg, #4a8ab5, #5cb85c);
    box-shadow: 0 0 8px rgba(74,138,181,0.5);
    animation: splashBarFill 2s ease-in-out 1.8s both;
}
@keyframes splashBarFill {
    from { width: 0; }
    to { width: 100%; }
}

/* Hide site content during splash */
.lobby3-splash ~ .lobby2-bg,
.lobby3-splash ~ .lobby3-topbar,
.lobby3-splash ~ .lobby3-infobar,
.lobby3-splash ~ .lobby2-sidebar,
.lobby3-splash ~ .tab-container {
    opacity: 0;
}
.lobby3-splash.is-done ~ .lobby2-bg,
.lobby3-splash.is-done ~ .lobby3-topbar,
.lobby3-splash.is-done ~ .lobby3-infobar,
.lobby3-splash.is-done ~ .lobby2-sidebar,
.lobby3-splash.is-done ~ .tab-container {
    animation: lobby3FadeIn 0.6s ease-out forwards;
}

/* ========== END INTRO SPLASH ========== */

/* ========== LOBBY3 REDESIGN — TOP BAR LAYOUT ========== */

/* -- Background (same style as play.php / loading.php) -- */
body > .lobby2-bg {
    position: fixed !important;
    top: -10px !important; left: -10px !important;
    width: calc(100% + 20px) !important;
    height: calc(100% + 20px) !important;
    z-index: 0 !important;
    background-image: url("/img/bgt_02_2025.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    filter: brightness(0.35) saturate(1.2);
    -webkit-filter: brightness(0.35) saturate(1.2);
}
body > .lobby2-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
}

/* -- Top Bar -- */
.lobby3-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.lobby3-topbar__logo {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-right: 32px;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(74,138,181,0.3);
}
.lobby3-topbar__logo:hover {
    color: #fff;
    text-shadow: 0 0 30px rgba(74,138,181,0.5);
}

.lobby3-topbar__nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.lobby3-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 8px;
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    position: relative;
}
.lobby3-topbar__link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.lobby3-topbar__link.is-active {
    color: #fff;
}
.lobby3-topbar__link.is-active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 14px; right: 14px;
    height: 2px;
    background: linear-gradient(90deg, #4a8ab5, #5cb85c);
    border-radius: 1px;
}
.lobby3-topbar__link .fa {
    font-size: 14px;
}
.lobby3-topbar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #e85050;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    margin-left: 2px;
}

.lobby3-topbar__sep {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    margin: 0 8px;
    flex-shrink: 0;
}

.lobby3-topbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

.lobby3-topbar__online {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.lobby3-topbar__online span {
    color: #5cb85c;
    font-weight: 600;
}

.lobby3-topbar__balance {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.lobby3-topbar__balance-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.lobby3-topbar__balance-item strong {
    color: #fff;
    font-weight: 600;
}
.lobby3-topbar__balance-item a {
    color: inherit;
    text-decoration: none;
}
.lobby3-topbar__balance-item a:hover {
    color: #fff;
}

.lobby3-topbar__user {
    position: relative;
}
.lobby3-topbar__user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.lobby3-topbar__user-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}
.lobby3-topbar__user-btn .fa-caret-down {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

.lobby3-topbar__user-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(10, 12, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    z-index: 200;
}
.lobby3-topbar__user.is-open .lobby3-topbar__user-menu {
    display: block;
}
.lobby3-topbar__user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s, color 0.15s;
}
.lobby3-topbar__user-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.lobby3-topbar__user-menu a .fa {
    width: 16px;
    text-align: center;
    font-size: 14px;
}
.lobby3-topbar__user-menu a.is-danger {
    color: rgba(255,100,100,0.8);
}
.lobby3-topbar__user-menu a.is-danger:hover {
    color: #ff6464;
    background: rgba(255,100,100,0.1);
}
.lobby3-topbar__user-menu-sep {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 0;
}

/* Guest login button */
.lobby3-topbar__login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #4a8ab5, #3a7a45);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lobby3-topbar__login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(74,138,181,0.3);
    color: #fff;
}

/* -- Hide old sidebar -- */
.lobby2-sidebar {
    display: none !important;
}
.lobby3-sidebar-toggle {
    display: none !important;
}

/* -- Main content area (full width now) -- */
.tab-container {
    margin-left: 0 !important;
    width: 100% !important;
    min-height: 100vh;
    background: none !important;
}

.tab-content {
    width: 100% !important;
    padding: 0 !important;
}

/* When carousel exists before tab-pane, reduce top padding */
.lobby3-discord-carousel ~ #servers.tab-pane,
.lobby3-discord-carousel ~ #servers.tab-pane.active,
.tab-content > .lobby3-discord-carousel ~ .tab-pane,
.tab-content > .lobby3-discord-carousel ~ .tab-pane.active {
    padding-top: 0 !important;
}
.tab-content .tab-pane,
.tab-content .tab-pane.active {
    padding: 108px 24px 24px 24px !important;
    color: #fff !important;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* -- Header block -- */
.lobby2-tab-header-block {
    position: relative !important;
    height: auto !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    width: auto !important;
    z-index: auto !important;
}
.lobby2-tab-header-block-bg {
    position: relative !important;
    top: auto !important;
    padding: 16px 0 !important;
    text-align: center;
    background: none !important;
    width: auto !important;
    height: auto !important;
}

/* Hide old header elements now in topbar */
#center_header { display: none; }
#chat_open, #chat_close { display: none !important; }
#ads { margin-bottom: 16px; }

/* -- Language selector (move from fixed to inline) -- */
.lobby2-tab-header-block-bg > .dropdown {
    position: static !important;
    display: inline-block;
    margin-bottom: 8px;
}

/* ========== DISCORD CAROUSEL ========== */

.lobby3-discord-carousel {
    position: relative;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    /* Same centering as .tab-pane.active */
    max-width: 1200px;
    margin: 0 auto 0;
    /* Same horizontal padding as tab-pane(24) + #servers-container(16) */
    padding: 108px 40px 16px 40px;
}

/* Responsive: 2 on medium, 1 on small */
@media (max-width: 1024px) {
    .lobby3-dc__track {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .lobby3-dc__track {
        grid-template-columns: 1fr !important;
    }
}

/* Label */
.lobby3-dc__label {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(88,101,242,0.7);
    white-space: nowrap;
}
.lobby3-dc__label .fa {
    margin-right: 3px;
}

/* Track — show 3 slides at a time */
.lobby3-dc__track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lobby3-dc__slide {
    display: none;
    animation: dcSlideIn 0.3s ease-out;
}
/* First 3 visible by default */
.lobby3-dc__slide:nth-child(1),
.lobby3-dc__slide:nth-child(2),
.lobby3-dc__slide:nth-child(3) {
    display: block;
}
@keyframes dcSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Discord original markup hidden — JS rebuilds as .dc-card */
.lobby3-dc__slide .discord_block { display: none !important; }

/* Clean card structure (built by JS) */
.dc-card {
    display: flex;
    align-items: stretch;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(8, 12, 24, 0.65);
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.2s;
}
.dc-card:hover {
    border-color: rgba(74,138,181,0.25);
}
.dc-card__img {
    width: 80px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.dc-card__body {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}
.dc-card__title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dc-card__meta {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
}
.dc-card__connect {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4a8ab5 0%, #3a7a45 100%);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: filter 0.2s;
}
.dc-card__connect:hover {
    filter: brightness(1.2);
    color: #fff;
}

/* Arrows — top right of carousel */
.lobby3-dc__arrows {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 3px;
    z-index: 5;
}
.lobby3-dc__arrow {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.6);
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.lobby3-dc__arrow:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Hide old bottom discord */
.lobby3-discord-toggle { display: none !important; }
.lobby2-right-block { display: none !important; }

/* ========== END DISCORD CAROUSEL ========== */

/* ========== QUICKPLAY PAGE ========== */

/* Hero */
.qp-hero {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.qp-hero__bg {
    position: absolute;
    inset: -10px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) saturate(1.2);
}
.qp-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.5) 100%);
}
.qp-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: lobby3FadeInUp 0.6s ease-out;
}
.qp-hero__title {
    font-family: 'Rajdhani', 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 60px rgba(74,138,181,0.4), 0 0 40px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.9);
    margin-bottom: 10px;
}
.qp-hero__sub {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 3px;
    margin-bottom: 32px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.qp-hero__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5cb85c;
    box-shadow: 0 0 8px rgba(92,184,92,0.6);
    animation: qpDotPulse 2s ease-in-out infinite;
}
@keyframes qpDotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(92,184,92,0.6); }
    50% { opacity: 0.4; box-shadow: 0 0 4px rgba(92,184,92,0.3); }
}
.qp-hero__online {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #5cb85c;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.qp-hero__online .fa-circle {
    font-size: 8px;
    color: #5cb85c;
    animation: qpDotPulse 2s ease-in-out infinite;
}
.qp-hero__online-count {
    font-weight: 700;
}
.qp-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 70px;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #4a8ab5 0%, #3a7a45 100%);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(74,138,181,0.3), 0 4px 20px rgba(0,0,0,0.5);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}
.qp-hero__btn:hover {
    transform: scale(1.04);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 50px rgba(74,138,181,0.5), 0 4px 30px rgba(0,0,0,0.5);
    color: #fff;
}
.qp-hero__btn:active {
    transform: scale(0.98);
}
.qp-hero__switch {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.qp-hero__switch:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
}

/* Game modes */
.qp-modes {
    margin-bottom: 24px;
}
.qp-modes__title {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
}
.qp-modes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.qp-mode-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.2s, transform 0.2s;
}
.qp-mode-card:hover {
    border-color: rgba(74,138,181,0.4);
    transform: translateY(-2px);
    color: #fff;
}
.qp-mode-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}
.qp-mode-card__body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}
.qp-mode-card__name {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
.qp-mode-card__players {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Activity feed */
.qp-feed {
    margin-bottom: 24px;
}
.qp-feed__title {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    text-align: center;
}
.qp-feed__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    max-width: 600px;
    max-height: 70vh;
    margin: 0 auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.qp-feed__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(8, 12, 24, 0.5);
    border: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s, border-color 0.2s;
}
.qp-feed__item:hover {
    background: rgba(8, 12, 24, 0.7);
    border-color: rgba(255,255,255,0.08);
}
.qp-feed__img {
    width: 40px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.qp-feed__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.qp-feed__server {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qp-feed__meta {
    font-size: 12px;
    color: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.qp-feed__connect {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #4a8ab5, #3a7a45);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    flex-shrink: 0;
    transition: filter 0.2s, transform 0.2s;
}
.qp-feed__connect:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
    color: #fff;
}

/* Back to quickplay link */
.qp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s;
}
.qp-back-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .qp-hero {
        min-height: 200px;
    }
    .qp-hero__title {
        font-size: 1.6em;
        letter-spacing: 3px;
    }
    .qp-hero__btn {
        padding: 14px 40px;
        font-size: 1em;
        letter-spacing: 2px;
    }
    .qp-modes__grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .qp-feed {
        display: none;
    }
}

/* ========== END QUICKPLAY ========== */

/* ========== PARTY POPUP ========== */
.pty-popup {
    position: fixed;
    top: 60px;
    right: 16px;
    z-index: 200;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    display: none;
}
.pty-popup.is-active { display: block; }
.pty-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(8,12,24,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.pty-toggle:hover { background: rgba(255,255,255,0.08); color: #fff; }
.pty-popup.is-open .pty-toggle { background: rgba(74,138,181,0.2); color: #fff; border-color: rgba(74,138,181,0.4); }
.pty-toggle__count { color: #5cb85c; }
.pty-toggle__invite-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 16px; height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #e85050;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.pty-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    border-radius: 10px;
    background: rgba(10,12,20,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    overflow: hidden;
}
.pty-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pty-panel__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.pty-panel__status {
    font-size: 11px;
    color: #5cb85c;
    font-weight: 600;
}
.pty-panel__body {
    padding: 8px 14px;
    max-height: 300px;
    overflow-y: auto;
}
.pty-panel__footer {
    display: flex;
    gap: 6px;
    padding: 8px 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.pty-panel__footer:empty { display: none; }
.pty-empty {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    padding: 12px 0;
}
.pty-error {
    font-size: 11px;
    color: #e8a040;
    padding: 6px 0;
}
.pty-member {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.pty-member__name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pty-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pty-dot--online { background: #5cb85c; }
.pty-dot--stale { background: #e8a040; }
.pty-dot--busy { background: #7bbce0; }
.pty-crown {
    color: #e8c040;
    font-size: 10px;
    margin-right: 4px;
}
.pty-section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 4px;
}
.pty-pending-row, .pty-invite-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 4px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.pty-btn {
    padding: 6px 14px;
    border-radius: 5px;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s, box-shadow 0.15s;
}
.pty-btn:hover { transform: translateY(-1px); }
.pty-btn--start {
    flex: 1;
    background: linear-gradient(135deg, #4a8ab5, #3a7a45);
}
.pty-btn--start:hover { box-shadow: 0 4px 12px rgba(74,138,181,0.3); }
.pty-btn--dissolve {
    background: rgba(232,80,80,0.2);
    border: 1px solid rgba(232,80,80,0.3);
    color: #e85050;
}
.pty-btn--leave {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
}
.pty-btn--sm {
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 4px;
    min-width: 24px;
}
.pty-btn--accept { background: rgba(92,184,92,0.2); color: #5cb85c; border: 1px solid rgba(92,184,92,0.3); }
.pty-btn--kick { background: rgba(232,80,80,0.15); color: #e85050; border: 1px solid rgba(232,80,80,0.2); }
.pty-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

@media (max-width: 768px) {
    .pty-popup { top: auto; bottom: 12px; right: 12px; }
    .pty-panel { bottom: calc(100% + 8px); top: auto; }
}
/* ========== END PARTY POPUP ========== */

/* Discord panel internal styles */
.lobby2-chat-block {
    padding: 16px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: none;
}

.discord-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 12px;
}
.discord-sidebar__title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.discord-sidebar__subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}
.discord-sidebar__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.discord-sidebar__cta {
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 12px;
}

/* -- Hide old share2/language (moved to topbar) -- */
.ya-share2__list { display: none !important; }
.lobby2-tab-header-block-bg > .dropdown { display: none !important; }
.lobby2-tab-header-block { display: none !important; }

/* -- Language dropdown in topbar -- */
.lobby3-topbar__lang {
    position: relative;
}
.lobby3-topbar__lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s, border-color 0.2s;
}
.lobby3-topbar__lang-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}
.lobby3-topbar__lang-btn .fa-caret-down {
    font-size: 9px;
    color: rgba(255,255,255,0.35);
}
.lobby3-topbar__lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    padding: 6px;
    border-radius: 8px;
    background: rgba(10,12,20,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
    z-index: 300;
}
.lobby3-topbar__lang.is-open .lobby3-topbar__lang-menu {
    display: block;
}
.lobby3-topbar__lang-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 5px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 12px;
    transition: background 0.15s;
}
.lobby3-topbar__lang-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* -- Social links in topbar -- */
.lobby3-topbar__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s, background 0.2s;
}
.lobby3-topbar__social:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ========== PLAYER INFO BAR ========== */
.lobby3-infobar {
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    z-index: 50;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    animation: lobby3SlideDown 0.4s ease-out 0.15s both;
}
.lobby3-infobar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Online pulse */
.lobby3-infobar__online {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #5cb85c;
    white-space: nowrap;
}
.lobby3-infobar__pulse {
    font-size: 8px;
    animation: lobby3Pulse 2s ease-in-out infinite;
}
@keyframes lobby3Pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Player card */
.lobby3-infobar__player {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.lobby3-infobar__nick {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.lobby3-infobar__nick:hover { color: #7bbce0; }
.lobby3-infobar__nick .fa { color: rgba(255,255,255,0.5); }
.lobby3-infobar__rank {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
}
.lobby3-infobar__rank strong {
    color: rgba(255,255,255,0.8);
}

/* Currencies */
.lobby3-infobar__currencies {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.lobby3-infobar__currency {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.lobby3-infobar__currency:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.12);
    color: inherit;
}
.lobby3-infobar__currency-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4);
}
.lobby3-infobar__currency-value {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

/* Ad in infobar */
.lobby3-infobar__ad {
    margin-left: auto;
}
.lobby3-infobar__ad img {
    height: 28px;
    width: auto;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lobby3-infobar__ad img:hover {
    opacity: 1;
}
.lobby3-infobar__csproof {
    margin-left: 12px;
    padding: 4px 14px;
    border-radius: 4px;
    background: linear-gradient(135deg, #4a8ab5, #3a7a45);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}
.lobby3-infobar__csproof:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #fff;
}

/* -- Server list fixes for new full-width layout -- */
#servers-container.line-view .server-line--title {
    max-width: none !important;
    flex: 2 1 0;
}
#servers-container.line-view .server-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#servers-container.line-view .server-line--region {
    flex: 2 1 0;
}
#servers-container.line-view .server-region__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* wider cards in grid view */
.servers-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}
.server-name__title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word;
}

/* ========== SERVER CARDS REDESIGN (play/loading style) ========== */

/* -- Card base -- */
.server-card {
    background: rgba(8, 12, 24, 0.75) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    padding: 14px 16px !important;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s !important;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
.server-card:hover {
    border-color: rgba(74,138,181,0.3) !important;
    box-shadow: 0 8px 32px rgba(74,138,181,0.15), 0 4px 20px rgba(0,0,0,0.3) !important;
    transform: translateY(-2px) !important;
}

/* Promoted card glow */
.server-card.is-promoted {
    border-color: rgba(255,185,0,0.2) !important;
}
.server-card.is-promoted::after {
    border: none !important;
    box-shadow: none !important;
}
.server-card.is-promoted:hover {
    border-color: rgba(255,185,0,0.4) !important;
    box-shadow: 0 8px 32px rgba(255,185,0,0.1), 0 4px 20px rgba(0,0,0,0.3) !important;
}

/* -- Server title -- */
.server-line--title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #fff !important;
    letter-spacing: 0.3px;
}
.server-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word;
    line-height: 1.3;
}

/* -- Map thumbnail -- */
.server-map-thumb {
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
    border: 1px solid rgba(255,255,255,0.06);
}

/* -- Region & owner text -- */
.server-region {
    color: rgba(255,255,255,0.7) !important;
    font-size: 12px !important;
}
.server-region__text {
    white-space: normal !important;
    word-break: break-word;
}

/* -- Pills/tags -- */
.server-pill {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 4px !important;
    color: rgba(255,255,255,0.55) !important;
    font-size: 10px !important;
    padding: 3px 7px !important;
    letter-spacing: 0.5px !important;
}

/* -- Players count -- */
.server-line--players {
    font-size: 16px !important;
    font-weight: 700 !important;
}
.server-stats .players-count,
.players-count {
    font-weight: 700;
}
.players-count .online {
    color: #5cb85c !important;
}
.players-count .online.full {
    color: #e85050 !important;
}
.players-count .online.empty {
    color: rgba(255,255,255,0.3) !important;
}
.players-count .online.over {
    color: #e8c040 !important;
}
.players-count .num_players_delimiter {
    color: rgba(255,255,255,0.25) !important;
}
.players-count .max {
    color: rgba(255,255,255,0.4) !important;
}
.players-count .downloading_num {
    color: rgba(74,138,181,0.8) !important;
    font-size: 11px;
}

/* -- Map name -- */
.server-line--map {
    color: rgba(255,255,255,0.35) !important;
    font-size: 12px !important;
}
.server-line--map .map_show {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500 !important;
}

/* -- Connect button (play.php gradient) -- */
.server-line--actions .connect-button-mini,
.server-actions .connect-button-mini {
    background: linear-gradient(135deg, #4a8ab5 0%, #3a7a45 100%) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 8px 14px !important;
    box-shadow: 0 2px 12px rgba(74,138,181,0.2) !important;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.server-line--actions .connect-button-mini:hover,
.server-actions .connect-button-mini:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 20px rgba(74,138,181,0.35) !important;
    border-color: rgba(255,255,255,0.25) !important;
}

/* -- Invite/copy button -- */
.server-line--actions .invite-button-lobby,
.server-actions .invite-button-lobby {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 6px !important;
    color: rgba(255,255,255,0.45) !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}
.server-line--actions .invite-button-lobby:hover,
.server-actions .invite-button-lobby:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.15) !important;
}

/* -- Toolbar -- */
.servers-modern-toolbar {
    background: rgba(8, 12, 24, 0.7) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 12px !important;
}
.servers-modern-sort-link.active {
    background: linear-gradient(135deg, #4a8ab5 0%, #3a7a45 100%) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(74,138,181,0.25) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* -- Toggle filters button -- */
.toggle-filters-button {
    background: rgba(8, 12, 24, 0.7) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    color: rgba(255,255,255,0.7) !important;
    box-shadow: none !important;
}
.toggle-filters-button:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* -- Compact filters panel -- */
.filters-panel {
    background: rgba(8, 12, 24, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    padding: 14px 16px 12px !important;
}
.filters-panel::before {
    display: none !important;
}
/* Hide the big header with icon */
.filters-panel__header {
    margin-bottom: 10px !important;
    gap: 10px !important;
}
.filters-panel__icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: linear-gradient(135deg, rgba(74,138,181,0.6), rgba(58,122,69,0.4)) !important;
    box-shadow: none !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}
.filters-panel__headline {
    font-size: 13px !important;
}
.filters-panel__subtitle {
    display: none !important;
}
.filters-panel__meta-value {
    font-size: 20px !important;
    color: #5cb85c !important;
}
/* Compact filter sections */
.filters-wrapper {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    gap: 10px !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
}
.filter-section {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    border-radius: 8px !important;
    padding: 8px 10px !important;
    gap: 4px !important;
}
.filter-title {
    font-size: 10px !important;
    gap: 6px !important;
    margin-bottom: 2px;
}
.filter-item {
    background: none !important;
    border-radius: 4px !important;
    padding: 3px 6px !important;
    font-size: 12px !important;
    gap: 6px !important;
}
.filter-item:hover {
    background: rgba(255,255,255,0.05) !important;
}
.filter-item label {
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
}
.filter-item input.check_box:checked + label {
    background: linear-gradient(135deg, #4a8ab5, #3a7a45) !important;
    border-color: rgba(74,138,181,0.5) !important;
    box-shadow: none !important;
}
.filter-item input.check_box:checked + label span::after {
    font-size: 9px !important;
}
/* Compact footer buttons */
.filters-panel__footer {
    margin-top: 10px !important;
    gap: 8px !important;
}
.filters-panel__footer .connect-button-mini {
    border-radius: 6px !important;
    padding: 7px 14px !important;
    min-width: 100px !important;
    font-size: 11px !important;
}
.filters-panel__footer .filter_save {
    background: linear-gradient(135deg, #4a8ab5 0%, #3a7a45 100%) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.map-select select {
    padding: 5px 8px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}

/* -- Rent CTA -- */
.rent-cta {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(74,138,181,0.2) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: rgba(255,255,255,0.7) !important;
}

/* -- View toggle -- */
.servers-view-toggle {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 6px !important;
}
.servers-view-toggle.is-line {
    background: linear-gradient(135deg, #4a8ab5 0%, #3a7a45 100%) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(74,138,181,0.25) !important;
}

/* -- Line view (list mode) card tweaks -- */
#servers-container.line-view .server-card {
    padding: 10px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 4px !important;
    gap: 10px !important;
}

/* ========== ENTRANCE ANIMATION ========== */
@keyframes lobby3FadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes lobby3FadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes lobby3SlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top bar slides down */
.lobby3-topbar {
    animation: lobby3SlideDown 0.5s ease-out;
}

/* Background fades in */
body > .lobby2-bg {
    animation: lobby3FadeIn 0.8s ease-out;
}

/* Content area fades up with delay */
.tab-container {
    animation: lobby3FadeInUp 0.6s ease-out 0.2s both;
}

/* Server cards grid fades in as one block */
.servers-grid {
    animation: lobby3FadeInUp 0.5s ease-out 0.25s both;
}

/* Toolbar and filters fade in */
.servers-modern-toolbar {
    animation: lobby3FadeInUp 0.5s ease-out 0.15s both;
}
.toggle-filters-button {
    animation: lobby3FadeInUp 0.5s ease-out 0.1s both;
}

/* Discord section */
.lobby2-right-block {
    animation: lobby3FadeInUp 0.5s ease-out 0.4s both;
}

/* ========== END SERVER CARDS REDESIGN ========== */

/* ========== FOOTER ========== */
.lobby3-footer {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px 24px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
.lobby3-footer__inner {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    text-align: center;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    padding: 16px;
}
.lobby3-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
}
.lobby3-footer__links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}
.lobby3-footer__links a:hover {
    color: rgba(255,255,255,0.8);
}
.lobby3-footer__dot {
    color: rgba(255,255,255,0.15);
}
.lobby3-footer__copy {
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}

/* ========== RESPONSIVE ========== */

/* 2K+ screens (2560px) — stretch content wider */
@media (min-width: 1800px) {
    .tab-content .tab-pane,
    .tab-content .tab-pane.active {
        max-width: 1600px;
    }
    .lobby3-infobar__inner {
        max-width: 1600px;
    }
    .lobby3-footer {
        max-width: 1600px;
    }
    .servers-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    }
}

/* 1440px — comfortable default */
@media (min-width: 1440px) and (max-width: 1799px) {
    .tab-content .tab-pane,
    .tab-content .tab-pane.active {
        max-width: 1320px;
    }
    .lobby3-infobar__inner {
        max-width: 1320px;
    }
    .lobby3-footer {
        max-width: 1320px;
    }
}

/* 1024px–1200px — tighten up */
@media (max-width: 1200px) {
    .lobby3-topbar__link span {
        font-size: 12px;
    }
    .lobby3-topbar__link {
        padding: 8px 10px;
        gap: 4px;
    }
    .lobby3-infobar__ad {
        display: none;
    }
    .servers-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    }
}

/* Tablets / small laptops */
@media (max-width: 1024px) {
    .lobby3-topbar {
        padding: 0 12px;
    }
    .lobby3-topbar__logo {
        font-size: 14px;
        margin-right: 16px;
        letter-spacing: 1px;
    }
    .lobby3-topbar__nav {
        gap: 1px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .lobby3-topbar__nav::-webkit-scrollbar {
        display: none;
    }
    .lobby3-topbar__link span {
        display: none;
    }
    .lobby3-topbar__link {
        padding: 8px 10px;
    }
    .lobby3-topbar__sep {
        margin: 0 4px;
    }
    .lobby3-topbar__social {
        display: none;
    }
    .lobby3-infobar__inner {
        padding: 6px 12px;
        gap: 10px;
    }
    .lobby3-infobar__player {
        display: none;
    }
    .tab-content .tab-pane,
    .tab-content .tab-pane.active {
        padding: 100px 16px 20px 16px;
    }
    .lobby3-footer {
        padding: 0 16px 20px;
    }
    .servers-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    }
    #servers-container.line-view .server-card {
        flex-wrap: wrap;
    }
}

/* Phone landscape / small tablet */
@media (max-width: 768px) {
    .lobby3-discord-carousel {
        display: none;
    }
    /* On mobile, carousel hidden so content needs top clearance */
    .tab-content .tab-pane,
    .tab-content .tab-pane.active {
        padding-top: 108px !important;
    }
    .lobby3-topbar__logo {
        font-size: 13px;
        margin-right: 10px;
    }
    .lobby3-topbar__sep {
        display: none;
    }
    .lobby3-infobar__currencies {
        gap: 4px;
    }
    .lobby3-infobar__currency {
        padding: 3px 8px;
    }
    .tab-content .tab-pane,
    .tab-content .tab-pane.active {
        padding: 96px 12px 16px 12px;
    }
    .servers-grid {
        grid-template-columns: 1fr !important;
    }
    #servers-container.line-view .server-line--title {
        flex: 1 1 100% !important;
    }
}

/* Phone portrait */
@media (max-width: 600px) {
    .lobby3-topbar__logo {
        font-size: 12px;
        letter-spacing: 1px;
        margin-right: 8px;
    }
    .lobby3-topbar__link {
        padding: 8px 7px;
    }
    .lobby3-infobar__currency-label {
        display: none;
    }
    .lobby3-infobar__online {
        font-size: 11px;
    }
    .tab-content .tab-pane,
    .tab-content .tab-pane.active {
        padding: 92px 8px 12px 8px;
    }
    .lobby3-footer__links {
        flex-direction: column;
        gap: 4px;
    }
    .lobby3-footer__dot {
        display: none;
    }
    /* Discord panel single column on mobile */
    .lobby2-right-block .discord-sidebar__content {
        grid-template-columns: 1fr !important;
    }
}

/* ========== END LOBBY3 REDESIGN ========== */

.servers_filter {
    cursor: pointer;
    display: inline;
}

#no_players {
    height: 48px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
}
#filters {
    /* background: #2c2d2e; */
	background-color: rgba(41, 31, 13, 0.6);
    z-index: 3;
    border: 1px solid #c0c3c7;
    box-shadow: 1px 1px 1px black;
    padding-top: 7px;
    padding-left: 8px;
    padding-bottom: 2px;
    left: 16px;
    margin-right: 10px;
    font-size: 0.9em;
}
#filters input[type="checkbox"] {
    display: none;
}

#filters input[type="checkbox"] + label {
    color: #000;
    font-size: 14px;
}

#filters input[type="checkbox"] + label span {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: -1px 0px 0px 4px;
    vertical-align: middle;
    background: url(/ui/check_radio_sheet.png) left top no-repeat;
    cursor: pointer;
}

#filters input[type="checkbox"]:checked + label span {
    background: url(/ui/check_radio_sheet.png) -19px top no-repeat;
}

#filters input[type="radio"] {
    display: none;
}

#filters input[type="radio"] + label {
    color: #000;
    font-size: 14px;
}

#filters input[type="radio"] + label span {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: -1px 0px 0px 4px;
    vertical-align: middle;
    background: url(/ui/check_radio_sheet.png) -39px top no-repeat;
    cursor: pointer;
}

#filters input[type="radio"]:checked + label span {
    background: url(/ui/check_radio_sheet.png) -58px top no-repeat;
}

#servers-container {
    text-align: left;
}

#servers-container table {
    width: 99%;
    font-size: 1.2em;
    color: white;
    table-layout: fixed;
	background-color: rgba(0, 0, 0, 0.4);
}

#servers-container thead th {
    text-align: center;
}

#servers-container tbody td {
    font-weight: normal;
    /*padding: 5px;*/
    /*margin: 5px 0 5px 0;*/
    text-align: center;
}

#servers-container #servers_table > tbody > tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.5);
}

#servers-container img {
    /*width: 40px;*/
    height: 40px;
    -webkit-filter: grayscale(70%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(70%);
    margin-top: 3px;
}

/*#servers-container tbody tr{*/
/*cursor: pointer;*/
/*}*/
#servers-container tr.selected img,
#servers-container tr:hover img {
    -webkit-filter: grayscale(0%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

/*#servers-container tr.selected{*/
/*background: #62851e;*/
/*}*/

.connect-button {
    font-family: '18946ae4fb92ed17e61b1d1079f05eac5da035011ef9d5efeb5acbd1cea6d079';
    font-weight: bold;
    font-style: normal;
    font-size: 18px;
    cursor: pointer;
    display: inline-block;
    background: #a2e035;
    border: none;
    padding: 10px;
    color: #525252;
}

.connect-button-mini {
    /*font-family: '18946ae4fb92ed17e61b1d1079f05eac5da035011ef9d5efeb5acbd1cea6d079';*/
    /*font-weight: bold;*/
    /*font-style: normal;*/
    /*font-size: 15px;*/
    cursor: pointer;
    display: inline-block;
    background: #62851e;
    /*background: #62851e;*/
    border: none;
    padding: 5px;
    color: white;
    text-shadow: 1px 1px 1px #000000;
    text-underline: none;
    border-radius: 5px;
}

html,
body,
iframe {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    background: black;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

a {
    text-decoration: none;
    color: #04b3ee;
}

body {
    /*font-family: '94cda963bd2cf599314fe42bc8bc131c093a88bc8d1ac5c378c70385c8d18fcb' !important;*/
    font-family: sans-serif;
    font-weight: 500;
    font-style: normal;
    text-shadow: 1px 1px 2px #000000;
    background-image: none;
    /*background-image: url("/ui/HjHQyTK.jpg");*/
    background-repeat: no-repeat;
    background-position: top right;
    /*background-position: center center;*/
    background-size: cover;
    background-attachment: fixed;
    background-color: #3d5573;
    overflow-x: hidden;
}

/* Snow disabled 2026-02-07
.winter-snow {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
        radial-gradient(1.6px 1.6px at 140px 50px, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
        radial-gradient(1.2px 1.2px at 220px 120px, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)),
        radial-gradient(2.4px 2.4px at 80px 180px, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
    background-size: 260px 220px, 240px 200px, 200px 200px, 220px 220px;
    animation: snowFall 22s linear infinite;
    opacity: 0.55;
}

.winter-snow::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2.8px 2.8px at 40px 10px, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
        radial-gradient(2px 2px at 180px 70px, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
        radial-gradient(1.6px 1.6px at 90px 190px, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    background-size: 320px 260px, 280px 240px, 260px 220px;
    animation: snowDrift 28s linear infinite;
    opacity: 0.4;
}

@keyframes snowFall {
    from { transform: translateY(-10%); }
    to { transform: translateY(20%); }
}

@keyframes snowDrift {
    from { transform: translateY(-6%); }
    to { transform: translateY(18%); }
}

.winter-snowflakes {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
}

.winter-snowflakes .snowflake {
    --size: 10px;
    --drift: 0px;
    --delay: 0s;
    --duration: 18s;
    --opacity: 0.7;
    position: absolute;
    top: -12px;
    left: 0;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 45%, rgba(255, 255, 255, 0) 65%);
    opacity: var(--opacity);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
    animation:
        snowflakeFall var(--duration) linear infinite,
        snowflakeSway calc(var(--duration) * 0.65) ease-in-out infinite;
    animation-delay: var(--delay);
}

.winter-snowflakes .snowflake::after {
    content: "";
    position: absolute;
    inset: 15% 15%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    opacity: 0.7;
}

@keyframes snowflakeFall {
    0% { transform: translateY(-10vh); }
    100% { transform: translateY(110vh); }
}

@keyframes snowflakeSway {
    0%, 100% { margin-left: 0; }
    50% { margin-left: var(--drift); }
}

@media (prefers-reduced-motion: reduce) {
    .winter-snowflakes { mix-blend-mode: normal; }
    .winter-snowflakes .snowflake {
        animation-duration: 18s;
        animation-play-state: running;
        animation-iteration-count: infinite;
    }
}
Snow disabled */

.lobby2-sidebar {
    background-color: rgba(66, 77, 79, 0.5);
    height: 100%;
    /* Full-height: remove this if you want "auto" height */
    width: 300px;
    /* Set the width of the sidebar */
    position: fixed;
    /* Fixed Sidebar (stay in place on scroll) */
    z-index: 1;
    /* Stay on top */
    top: 0;
    /* Stay at the top */
    left: 0;
    overflow-x: hidden;
    /* Disable horizontal scroll */
}
.gold {
    color: #ffe524;
}
.lobby2-logo-link {
    color: white;
    text-shadow: 1px 2px 3px #000000;
    font-family: '94cda963bd2cf599314fe42bc8bc131c093a88bc8d1ac5c378c70385c8d18fcb';
    font-weight: 500;
    font-style: normal;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
    display: inline-block;
}

.lobby2-border-bottom-white {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.lobby2-border-top-white {
    border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.lobby2-side-menu > ul > li.lobby2-side-menu-divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    height: 10px;
    margin-bottom: 10px;
}

.lobby2-side-menu > ul > li > a.lobby2-side-menu-social-btn {
    padding: 5px;
    margin-left: 10px;
    margin-top: 5px;
    font-size: 14px;
}
.lobby2-side-menu > ul > .contact_us > a {
    font-size: 1em;
}

.lobby2-social-btn-vk {
    background-color: #5696cc;
}

.lobby2-social-btn-instagram {
    background-color: #ad3aa8;
}

.lobby2-side-menu > ul > li > a.lobby2-side-menu-social-btn > .fa {
    width: 18px;
}

.lobby2-border-right-white {
    border-right: 1px solid rgba(255, 255, 255, 0.7);
}

.lobby2-border-left-white {
    border-left: 1px solid rgba(255, 255, 255, 0.7);
}

.lobby2-logo-block {
    height: 100px;
    width: 100%;
    text-align: center;
    color: white;
    margin-top: 15px;
}

.game_version {
    color: #89f109;
}

#online_total_header {
    background: #57768a;
    font-size: 1.4em;
    border-radius: 6px;
    padding-left: 4px;
    display: inline-block;
    padding-right: 5px;
    box-shadow: 1px 1px 0px black
}
.lobby2-tab-header-block {
    height: 145px;
    color: white;
    padding-left: 30px;
    position: fixed;
    width: 100%;
    z-index: 3;
    /* background-image: url("/img/bgt.jpg"); */
    background-repeat: no-repeat;
    background-position: 10px 0;
    /* background-color: #966b15; */
	background-color: rgba(255,255,255,0.0);
    background-size: cover;
}

.lobby2-right-block {
    display: none;
    z-index: 2;
    overflow: hidden;
    text-shadow: none;
    font-weight: 100;
    height: calc(100% - 147px);
    width: 290px;
    right: 0;
    top: 147px;
    position: fixed;
    padding-right: 18px;
    overflow-y: scroll;
    background: rgb(100%, 57, 63) none repeat scroll 0% 0%;
    scrollbar-color: rgb(100%, 34, 37) rgb(100%, 49, 54);
    scrollbar-width: thin;
}

.lobby2-chat-block {
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, Roboto, "Open Sans", "Helvetica Neue", sans-serif;
}

.lobby2-chat-msg {
    padding-right: 20px;
    margin-bottom: 10px;
    white-space: normal;
}

.lobby2-chat-block,
.lobby2-chat-msg {
    width: 100%;
}

.lobby2-chat-nick {
    color: ##8b7a42;
    font-size: 12.5px;
    font-weight: 700;
    margin: 0 5px 5px 0;
}

.lobby2-chat-admin-msg .lobby2-chat-nick {
    color: red;
}

.lobby2-chat-time {
    color: rgba(120, 127, 140, 0.6);
    font-size: 12px;
    font-weight: 400;
}

.lobby2-chat-text {
    color: black;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.chat-submit-form-block {
    bottom: 10px;
}

input.chat-submit-input {
    width: 212px !important;
    height: 25px !important;
}

.lobby2-tab-header-block-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1e5799+0,7db9e8+52&0.55+1,0+51 */
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 1%, rgba(123, 183, 230, 0) 51%, rgba(125, 185, 232, 0) 52%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 1%, rgba(123, 183, 230, 0) 51%, rgba(125, 185, 232, 0) 52%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 1%, rgba(123, 183, 230, 0) 51%, rgba(125, 185, 232, 0) 52%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8c1e5799', endColorstr='#007db9e8', GradientType=1);
    /* IE6-9 */
}

.lobby2-tab-header-block h2 {
    color: white;
    text-shadow: 1px 2px 3px #000000;
    font-family: '94cda963bd2cf599314fe42bc8bc131c093a88bc8d1ac5c378c70385c8d18fcb', Roboto, sans-serif;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 27px;
    z-index: 2;
    position: absolute;
    text-transform: capitalize;
}

.lobby2-side-menu > ul > li > a {
    font-family: 'Roboto', sans-serif;
    color: white;
    font-size: 15pt;
    text-decoration: none;
    padding-left: 20px;
}

.lobby2-side-menu > ul > li > .dropdown {
    padding-left: 20px;
    text-shadow: none;
}

.lobby2-side-menu > ul > li > .dropdown > .dropdown-menu {
    margin-left: 20px;
}

.lobby2-side-menu > ul > li.active a {
    padding-left: 15px;
}

.lobby2-side-menu > ul > li > a > .fa {
    width: 20pt;
}

.lobby2-side-menu > ul > li.active > a {
    border-left: 5px solid #00b3ee;
}

.lobby2-side-menu ul {
    padding-left: 0;
    text-transform: capitalize;
}

.lobby2-side-menu > ul > li {
    /*height: 40px;*/
}

.lobby2-side-menu > ul > li > .contest {
    color: #fadc01;
    font-weight: bold;
    text-transform: capitalize;
}

.img-thumbnail {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.lobby2-user-block {
    height: 80px;
    padding: 10px;
}

.lobby2-fastgame-block, .lobby2-login-block{
    height: 51px;
}

.lobby2-fastgame-button, .lobby2-login-button{
    height: 100%;
    line-height: 57px;
    text-align: left;
    background-color: #5c7e10;
    color: rgb(229, 228, 220);
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
}

.lobby2-user-buttons {
    height: 100%;
    line-height: 51px;
    text-align: left;
    background-color: #277d2a;
    color: rgb(255, 255, 255);
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    font-family: Roboto, sans-serif;
}

.lobby2-login-button{
    /*background-color: #36658e;*/
    /*background-color: #4a82bd;*/
    background-color: #1a597e;
    width: 100%;
}

.lobby2-login-button .fa {
    font-weight: normal;
    font-style: normal;
    vertical-align: text-top;
    width: 64px;
    text-align: right;
    font-size: 25px;
}

.lobby2-fastgame-button-icon {
    font-family: 'csd';
    font-weight: normal;
    font-style: normal;
    font-size: 50px;
    vertical-align: text-top;
}

.lobby2-user-photo {
    width: 50px;
    height: 50px;
    display: inline-block;
}

.lobby2-user-nick {
    color: white;
    text-shadow: 1px 2px 3px #000000;
    font-family: '94cda963bd2cf599314fe42bc8bc131c093a88bc8d1ac5c378c70385c8d18fcb';
    font-weight: 500;
    font-style: normal;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    vertical-align: top;
    /*margin-top: 10px;*/
    margin-left: 10px;
}

.lobby2-user-level-text {
    font-size: 14px;
    text-align: left;
    color: #91ff08;
}

.lobby2-user-level-text a {
    text-decoration: none;
    color: #91ff08;
    cursor: pointer;
}

.lobby2-user-level-text a:hover {
    text-decoration: underline;
}

.lobby2-user-level-progress,
.lobby2-user-level-progress .lobby2-user-level-progress-complete {
    height: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.lobby2-user-level-progress {
    background: whitesmoke;
}

.lobby2-user-level-progress-complete {
    /*background: #d1d064;*/
    background: gold;
}

.tab-container {
    margin-left: 0;
    background: none;
    min-height: 100%;
    width: 100%;
}

.tab-content {
    padding-right: 0px;
    /* Same as the width of the sidebar */
}

.gray-container {
    padding: 10px;
    width: 100%;
}

/* body > div rule removed — was breaking layout by setting position/z-index on all divs */

/* old lobby2-bg removed — see redesign at top of file */

.tab-content .tab-pane {
    display: none;
    padding: 108px 24px 24px 24px;
    color: #fff;
}

.tab-content .tab-pane,
.tab-content .tab-pane > *,
.tab-content .tab-pane label {
    font-weight: 100;
}

.tab-pane thead th {
    height: 50px;
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7) !important;
}

.tab-content .tab-pane.active {
    display: block;
    padding: 108px 24px 24px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.blue-button-mini {
    cursor: pointer;
    display: inline-block;
    background: #17aad7;
    border: none;
    padding: 5px;
    color: white;
    text-shadow: 1px 1px 1px #000000;
    text-underline: none;
    border-radius: 2px;
}

.blue-button-mini:hover,
.blue-button-mini:active {
    background: #17c6f5;
}

.blue-button-mini:disabled {
    background: lightgray;
    cursor: not-allowed;
}

.lobby2-edit-nick-link {
    margin-left: 10px;
    color: #d7ff00;
    visibility: hidden;
}

.lobby2-user-nickname:hover .lobby2-edit-nick-link {
    visibility: visible;
}

/*# sourceMappingURL=lobby2.css.map */
.question {
    color: #ff5959;
}

.answer {
    color: #2ed02e;
}

.total_filter {
    color: #89ea89;
}

#ads {
    position: absolute;
}

#ads img {
    border: 1px solid black;
}

#ads span {
    font-size: 0.7em;
    font-family: 'Roboto', sans-serif;
    color: white;
    text-decoration: none;
    padding-left: 20px;
}

#ads center {
    margin-top: -9px;
}

.ranked {
  color: #ffe000;
  display: table-cell;
  vertical-align: middle;
  padding-left: 10px;
}

#server-row-rent {
    background-color: #3bb78f;
    background-image: linear-gradient(315deg, #3bb78f 0%, #0bab64 74%);
    text-align: center;
}
.server_round {
    font-size: 0.8em;
    color: #44d0ff;
}
#server-row-rent a {
    text-decoration: none;
    color: white;
}

.ads_block{
    right: 270px;
    top: 50px;
    position: fixed;
}

.news_block {
}
.news_block ul {
    padding-left: 0;
}

#news {
    padding-left: 10px;
    padding-top: 2px;
}

#news img {
    border: 1px solid black;
}

#news span {
    font-size: 0.7em;
    font-family: 'Roboto', sans-serif;
    color: white;
    text-decoration: none;
    padding-left: 20px;
}

#news center {
    margin-top: -9px;
}

#news ul {
    margin-block-start: 0px;
    list-style-type: none;
    padding: 5px;
}

#news a {
    color: white;
}

#news a:hover {
    text-decoration: underline;
}
.lobby2-chat-roomlink{
    background: rgb(250, 251, 252);
    padding-left: 4px;
    padding-right: 5px;
    padding-bottom: 5px;
    border: 1px solid rgb(100, 143, 201);
    border-radius: 3px;
}

.lobby2-chat-roomlink > div{
    display: inline-block;
    vertical-align: top;
}

.lobby2-chat-roomlink-img{
    width: 40px;
    margin-top: 3px;
}

.lobby2-chat-roomlink-name{
    color: rgb(67, 95, 133);
    margin-left: 5px;
    font-weight: bold;
    font-size: 13px;
    width: 190px;
    padding-top: 0px;
}

.lobby2-chat-roomlink-map{
    font-weight: normal;
    color: #3f4d5f;
}

.lobby2-chat-roomlink > a{
    background: #337ab7;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    margin-top: 8px;
    display: inline-block;
}

.invite-button-lobby{
    cursor: pointer;
    display: inline-block;
    /*background: #00b3ee;*/
    background: #547b94;
    border: none;
    padding: 5px;
    color: white;
    text-shadow: 1px 1px 1px #000000;
    text-underline: none;
    border-radius: 5px;
}

.invite-button-lobby, .connect-button-mini{
    margin: 5px;
}

.players_wins {
    font-size: 1em;
    border-top: 1px solid #41b141;
    width: 100%;
    padding-left:10px;
}
.players_wins thead {
    border-top: 1px solid #41b141;
    border-bottom: 1px solid #72849d;
}
.players_wins thead > tr > td {
    padding: 10px;
}
.players_wins thead > tr > td:nth-child(3),
.players_wins thead > tr > td:nth-child(5),
.players_wins thead > tr > td:nth-child(7) {
    border-right: 1px solid #72849d;
}
.players_wins tbody tr > td:nth-child(3),
.players_wins tbody tr > td:nth-child(5),
.players_wins tbody tr > td:nth-child(7) {
    border-right: 1px solid #72849d;
}
.players_wins tbody > tr:last-child {
    border-bottom: 1px solid #41b141;
}
.players_wins thead > tr > td {
    text-align: center;
}
.players_wins tr:nth-child(2n+1) {
    background-color: rgba(0, 0, 0, 0.3);
}
.wins-name {
    padding: 5px 0px 5px 25px;
}
.wins-sum {
    text-align: center;
}
.center_wrapper {
    padding-left: 15px;
    padding-right: 30px;
}
.knife_level {
    color: #91ff08;
}
.knife_link {
    text-decoration: none;
    color: white;
}
.paypal_btn{
    display: inline-block;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    padding: 10px 14px;
    margin: 0;
    background: #ff6600;
    cursor: pointer;
    outline: none;
    margin-top: 10px;
    border: 1px solid #6f6f6f;
    margin-left: 4px;
}
.paypal_btn:hover {
    background: #e05c04;
    border: 1px solid #6f6f6f;
}
#paypal{
    width: 550px;
    background-color: rgb(232, 237, 241);
    border-radius: 5px;
    margin: 0 auto;
    border: 1px solid #6f6f6f;
    margin-bottom: 20px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    color: black;
}
#paypal select {
    width: 200px;
    font-size: 18px;
    font-family: 'PT Sans', serif;
    margin-top: 15px;
    border: 1px solid #6f6f6f;
}
#paypal .description {
    text-shadow: none;
    font-size: 0.9em;
    color: #484848;
}
#paypal table {
    margin: 0 auto;
}
#paypal option, #paypal input {
    text-transform: capitalize;
}
#paypal .pp_logo {
    margin-top: 13px;
    margin-left: 5px;
}
.gold-tab-line {
    background-image: url("/img/shop/gold-tab-line.jpg");
    background-repeat: repeat-x;
    height: 52px;
    margin-left: -14px;
    margin-top: -13px
}
#gold-tab h2 {
    color: #73dfff;
}
#gold-tab .error {
    color: #ffb9b9;
}
#gold-tab h3{
    background-color: #0898e6;
    padding: 10px;
    display: table;
}
#gold-tab .admin {
    color: #ff8585;
}
#gold-tab .gold-color, #my-servers-tab .gold-color {
    color: #ffd42b;
}
#cash-tab a{
    color: #5bd8ff;
    text-decoration: underline;
    cursor: pointer;
}
#cash-tab h3{
    background-color: #0898e6;
    padding: 10px;
    display: table;
    text-transform: capitalize;
}
#cash-tab table{
    margin-top: 10px;
    font-size: 1em;
    width: 0;
}
#cash-tab table td{
    border: 1px solid grey;
    padding: 10px;
}
#cash-tab table th{
    border: 1px solid grey;
    padding: 0 10px;
}
#cash-tab .cash-color {
    color: #ffd42b;
}
#cash-tab .premium-color {
    color: #84df14;
}
#cash-tab-table-container table tr td {
    vertical-align: top;
}
#gold-tab-show-history-btn, #cash-tab-show-history-btn {
    cursor: pointer;
}
#gold-tab-table-container table {
    width: 360px;
}
.capitalize {
    text-transform: capitalize;
}
.lowercase {
    text-transform: lowercase;
}
#my-servers-tab .save-btn .fa-spinner{
    display: none;
}
#my-servers-tab .save-btn:disabled .fa-spinner{
    display: inline-block;
}
#my-servers-tab .save-btn3 .fa-spinner{
    display: none;
}
#my-servers-tab .save-btn3:disabled .fa-spinner{
    display: inline-block;
}
#my-servers-tab h3{
    background-color: #0898e6;
    padding: 10px;
    display: table;
    text-transform: capitalize;
}
#my-servers-tab .myservers-layout {
    display: grid;
    gap: 24px;
}

@media (max-width: 960px) {
    #my-servers-tab .myservers-layout {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1000px) {
    #my-servers-tab .myservers-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #my-servers-tab .myservers-card--list {
        grid-column: 1 / -1;
    }
}

#my-servers-tab .myservers-card {
    background: linear-gradient(135deg, rgba(5, 18, 36, 0.88), rgba(12, 49, 87, 0.78));
    border-radius: 18px;
    border: 1px solid rgba(55, 184, 255, 0.22);
    padding: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

#my-servers-tab .myservers-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

#my-servers-tab .myservers-card__header h3 {
    background: none !important;
    padding: 0 !important;
    display: inline-block;
    color: #f2fbff;
    font-size: 1.35em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

#my-servers-tab .myservers-card__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#my-servers-tab .myservers-card__body--specs {
    font-size: 0.95em;
    color: #d9ecff;
    line-height: 1.6;
}

#my-servers-tab .myservers-card__body--specs a {
    color: #63c9ff;
}

#my-servers-tab .myservers-card__body--specs ul {
    padding-left: 20px;
}

#my-servers-tab .myservers-card__body--specs li {
    margin-bottom: 6px;
}

#my-servers-tab .myservers-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#my-servers-tab .myservers-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

#my-servers-tab .myservers-form__row + .myservers-form__row {
    margin-top: 12px;
}

#my-servers-tab .myservers-form__row--actions {
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#my-servers-tab .myservers-form__label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9fd9ff;
}

#my-servers-tab .myservers-form__field {
    flex: 1 1 260px;
    min-width: 220px;
}

#my-servers-tab .myservers-form__field select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(146, 212, 255, 0.35);
    background: rgba(5, 13, 30, 0.75);
    color: #e4f6ff;
    box-shadow: inset 0 0 0 1px rgba(16, 74, 118, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#my-servers-tab .myservers-form__field select:focus {
    outline: none;
    border-color: #37b8ff;
    box-shadow: 0 0 0 2px rgba(55, 184, 255, 0.25);
}

#my-servers-tab .myservers-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#my-servers-tab .myservers-submit .fa {
    font-size: 0.9em;
}

#my-servers-tab .myservers-balance {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(8, 57, 98, 0.65), rgba(6, 19, 36, 0.85));
    border: 1px solid rgba(79, 188, 249, 0.35);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

#my-servers-tab .myservers-balance__label {
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #9fd9ff;
    text-transform: uppercase;
}

#my-servers-tab .myservers-balance__link {
    margin-left: auto;
    color: #49c5ff;
    text-decoration: none;
    font-weight: 600;
}

#my-servers-tab .myservers-balance__link:hover {
    color: #8be5ff;
    text-decoration: underline;
}

#my-servers-tab .myservers-overview {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

#my-servers-tab .myservers-overview__item {
    background: rgba(8, 33, 58, 0.6);
    border: 1px solid rgba(77, 189, 255, 0.3);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#my-servers-tab .myservers-overview__label {
    font-size: 0.75em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #90c8ff;
}

#my-servers-tab .myservers-overview__value {
    font-size: 1.6em;
    font-weight: 700;
    color: #f6fbff;
}

#my-servers-tab .myservers-overview__meta {
    font-size: 0.8em;
    color: #a9d8ff;
}

#my-servers-tab .myservers-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#my-servers-tab .myservers-quick-actions__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #99d1ff;
}

#my-servers-tab .myservers-quick-actions__header h4 {
    margin: 0;
    color: #f2fbff;
    font-size: 0.95em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#my-servers-tab .myservers-quick-actions__header span {
    font-size: 0.78em;
    color: #8fbdea;
}

#my-servers-tab .myservers-quick-actions__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#my-servers-tab .myservers-quick-actions__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(77, 189, 255, 0.28);
    background: rgba(9, 34, 60, 0.62);
}

#my-servers-tab .myservers-quick-actions__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #daefff;
}

#my-servers-tab .myservers-quick-actions__name {
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0.02em;
}

#my-servers-tab .myservers-quick-actions__status,
#my-servers-tab .myservers-quick-actions__paid {
    font-size: 0.8em;
    color: #9cc9f7;
}

#my-servers-tab .myservers-quick-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#my-servers-tab .myservers-quick-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    border: 1px solid rgba(106, 204, 255, 0.45);
    background: rgba(18, 62, 102, 0.55);
    color: #e8f7ff;
    font-size: 0.75em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

#my-servers-tab .myservers-quick-actions__btn .fa {
    font-size: 0.9em;
}

#my-servers-tab .myservers-quick-actions__btn:hover {
    border-color: rgba(138, 224, 255, 0.75);
    background: rgba(24, 84, 130, 0.75);
    color: #ffffff;
}

#my-servers-tab .myservers-quick-actions__btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgba(20, 40, 60, 0.45);
    border-color: rgba(77, 125, 160, 0.35);
    color: #8aa5bf;
}

@media (min-width: 720px) {
    #my-servers-tab .myservers-quick-actions__item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    #my-servers-tab .myservers-quick-actions__buttons {
        justify-content: flex-end;
    }
}

#my-servers-tab .myservers-table-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 18, 36, 0.78);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

#my-servers-tab .myservers-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

#my-servers-tab .myservers-table thead th {
    background: rgba(41, 92, 140, 0.55);
    color: #e0f4ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#my-servers-tab .myservers-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

#my-servers-tab .myservers-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

#my-servers-tab .myservers-table tbody tr:hover {
    background: rgba(8, 152, 230, 0.12);
}

#my-servers-tab .myservers-table tbody td input,
#my-servers-tab .myservers-table tbody td select {
    width: 50%;
    padding: 9px;
    border-radius: 10px;
    border: 1px solid rgba(122, 193, 255, 0.35);
    background: rgba(8, 24, 48, 0.85);
    color: #f3fbff;
    box-shadow: inset 0 0 0 1px rgba(16, 74, 118, 0.35);
}

#my-servers-tab .myservers-table tbody td input:disabled,
#my-servers-tab .myservers-table tbody td select:disabled {
    opacity: 0.6;
}

#my-servers-tab .myservers-table a {
    color: #8dd7ff;
    word-break: break-all;
}

#my-servers-tab .myservers-table a:hover {
    color: #b5e7ff;
}

#my-servers-tab .myservers-inline-actions__cell {
    padding-top: 18px;
    text-align: right;
}

#my-servers-tab .myservers-inline-save {
    margin-left: auto;
}

#my-servers-tab .myservers-inline-save span {
    font-weight: 600;
}

#my-servers-tab .myservers-card__footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9em;
    color: #9ab6d6;
}

#my-servers-tab .myservers-card__footer #server_owner_messages {
    display: none;
    margin: 0;
}

#my-servers-tab .myservers-card__footer #server_owner_messages > div {
    margin-bottom: 6px;
}

#my-servers-tab .myservers-card--specs .myservers-card__body {
    gap: 12px;
}

#my-servers-tab .myservers-card--specs table {
    width: 100%;
}

#my-servers-tab .myservers-card--specs table td {
    padding: 6px 8px;
}

@media (max-width: 768px) {
    #my-servers-tab .myservers-card {
        padding: 20px;
    }

    #my-servers-tab .myservers-card__header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    #my-servers-tab .myservers-form__row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    #my-servers-tab .myservers-form__label {
        width: 100%;
    }

    #my-servers-tab .myservers-form__field {
        width: 100%;
    }

    #my-servers-tab .myservers-balance {
        flex-direction: column;
        align-items: flex-start;
    }

    #my-servers-tab .myservers-balance__link {
        margin-left: 0;
    }

    #my-servers-tab .myservers-quick-actions__item {
        align-items: flex-start;
        gap: 12px;
    }

    #my-servers-tab .myservers-quick-actions__buttons {
        width: 100%;
        justify-content: flex-start;
    }

    #my-servers-tab .myservers-table-scroll {
        padding: 0;
        border: none;
        background: none;
        box-shadow: none;
    }

    #my-servers-tab .myservers-table {
        min-width: 0;
    }

    #my-servers-tab .myservers-table thead {
        display: none;
    }

    #my-servers-tab .myservers-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    #my-servers-tab .myservers-table tbody tr {
        display: block;
        padding: 18px;
        border: 1px solid rgba(122, 193, 255, 0.28);
        border-radius: 18px;
        background: rgba(6, 18, 36, 0.92);
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
        margin-bottom: 18px;
    }

    #my-servers-tab .myservers-table tbody tr:not(.myserver) {
        margin-top: -12px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin-bottom: 0;
    }

    #my-servers-tab .myservers-table tbody tr:not(.myserver) + tr:not(.myserver) {
        margin-top: 0;
    }

    #my-servers-tab .myservers-table tbody tr:last-child {
        margin-bottom: 0;
    }

    #my-servers-tab .myservers-table tbody td {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    #my-servers-tab .myservers-table__cell--enabled {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    #my-servers-tab .myservers-table__cell--billing {
        gap: 12px;
    }

    #my-servers-tab .myservers-table__cell--billing br {
        display: none;
    }

    #my-servers-tab .myservers-table__cell--billing .save-btn2 {
        width: 100%;
        text-align: center;
    }

    #my-servers-tab .myservers-table__cell--pin {
        gap: 12px;
        align-items: stretch;
    }

    #my-servers-tab .myservers-table__cell--pin .save-btn {
        width: 100%;
        text-align: center;
    }

    #my-servers-tab .myservers-table__cell--pin input {
        width: 100%;
    }

    #my-servers-tab .myservers-table__cell--link a {
        word-break: break-word;
    }

    #my-servers-tab .myservers-table__cell--settings table {
        margin-top: 6px;
    }

    #my-servers-tab .myservers-table tbody tr:not(.myserver) td {
        padding: 8px 0;
    }

    #my-servers-tab .myservers-table tbody td:last-child {
        border-bottom: none;
    }

    #my-servers-tab .myservers-table tbody td::before {
        content: attr(data-label);
        font-size: 0.75em;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #79c3ff;
        font-weight: 600;
    }

    #my-servers-tab .myservers-table tbody td[data-label=""] {
        display: none;
    }

    #my-servers-tab .myservers-table tbody td input,
    #my-servers-tab .myservers-table tbody td select {
        width: 100%;
    }

    #my-servers-tab .my-server-cvars table {
        width: 100%;
    }

    #my-servers-tab .my-server-cvars td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    #my-servers-tab .my-server-cvars td.cvar-name {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    #my-servers-tab .my-server-cvars td.cvar-description {
        padding-top: 0;
    }
}
#contacts-tab h3{
    background-color: #0898e6;
    padding: 10px;
    display: table;
    text-transform: capitalize;
}
#contacts-tab .admin {
    color: #ff8585;
}
.server_time {
    color: white;
}
.my-server-cvars {
    border-top: none !important;
}
.my-server-cvars .cvar-description {
    /*font-style: italic;*/
}
.my-server-cvars .cvars-table {
    font-weight: bold;
}
.my-server-cvars .cvar-name, .cvar-description span, .cvar-name, .lobby2-modal-window .cvar-name {
    color: #b0fb52;
}

.server-reboot {
    color: black;
}
.yandex_form {
    width: 530px;
    height: 245px;
    background: none;
}
.yandex_rates_rub {
    color: orange;
}
.lobby2-modal-window{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99;
    background-color: rgba(0,0,0,0.7);
}

.lobby2-modal-window-title{
    margin: 20vh auto 0 auto;
    background: #62851e;
    width: 67vw;
    padding: 5px;
    position: relative;
    color: whitesmoke;
}

.lobby2-modal-window-title .lobby2-modal-close{
    right: 5px;
    display: inline-block;
    position: absolute;
    color: black;
    height: 22px;
    width: 22px;
    line-height: 16px;
}

.lobby2-modal-window-body{
    color: whitesmoke;
    background: #416b7b;
    width: 67vw;
    padding: 0 5px;
    margin: auto;
    position: relative;
}

.lobby2-modal-window-img{
    margin-left: -227px;
    position: absolute;
    bottom: 0px;
}

.lobby2-modal-window-body-msg{
    margin-left: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.lobby2-modal-window-body-buttons
{
    position: absolute;
    bottom: 0px;
    right: 30px;
}

.lobby2-modal-window-body-buttons > * {
    padding: 10px;
    margin: 10px;
}

.lobby2-modal-btn-ok {
    background: #62851e;
    color: white;
    font-weight: normal;
}

.lobby2-modal-btn-cancel {
    background: none;
    color: #dedede;
    font-weight: normal;
    border: none;
}

.demo {
    color: black;
}

.players_table_text {
}
.players_table {
    font-size: 0.9em;
    border-top: 1px solid #41b141;
    width: 100%;
    padding-left:10px;
    border-bottom: 1px solid #c0c3c7;
}
.players_table thead {
    border-bottom: 1px solid #41b141;
}
.players_table thead > tr > th:nth-child(2),
.players_table thead > tr > th:nth-child(3),
.players_table thead > tr > th:nth-child(4),
.players_table thead > tr > th:nth-child(5),
.players_table thead > tr > th:nth-child(8) {
    text-align: center;
}
.players_table tr > td:nth-child(1) {
    padding-left: 3px;
}
.players_table tr:nth-child(2n+1) {
    background-color: rgba(0, 0, 0, 0.3);
}
.rank_field, .about_guests, .snoska {
    color: #d4d4d4;
}
.about_guests {
    text-align: center;
}
.center_wrapper {
    padding-left: 15px;
    padding-right: 30px;
}
.connect_button {
    margin-top: 1px;
    padding: 4px;
}
.stats_link {
    text-decoration: none;
    color: white;
    cursor: pointer;
}
.stats_link:hover {
    text-decoration: underline;
}
.jira_issues th {
    font-size: 1.2em;
}
.jira_issues {
    width: 50%;
}
.jira_issues img {
    margin-top: 5px;
}
.jira_type {
    width: 16px;
}
.jira_subject {
    padding-left: 5px;
}
#dev-calendar h3{
    background-color: #0898e6;
    padding: 10px;
    display: table;
}
#dev-calendar > #legend span {
    padding-left: 2px;
    padding-right: 5px;
}
.premium-state {
    color: #ffe428;
}
#premium-tab h3{
    background-color: #0898e6;
    padding: 10px;
    display: table;
   font-weight: 100;
}
.save-btn {
    border-radius: 5px;
    background: #f3f3f3;
    display: inline-block;
    text-shadow: none;
    color: black;
    padding: 3px;
    border: 1px solid #a0a0a0;
    cursor: pointer;
}
.save-btn2 {
    border-radius: 5px;
    background: #f3f3f3;
    display: inline-block;
    text-shadow: none;
    color: black;
    padding: 3px;
    border: 1px solid #000000;
    cursor: pointer;
    color: #fff;
    text-shadow: 0px 0px 5px black;
    background: rgb(5,98,180);
    background: -moz-linear-gradient(90deg, rgba(5,98,180,1) 0%, rgba(0,212,255,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(5,98,180,1) 0%, rgba(0,212,255,1) 100%);
    background: linear-gradient(90deg, rgba(5,98,180,1) 0%, rgba(0,212,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0562b4",endColorstr="#00d4ff",GradientType=1);
}
.save-btn2:hover {
    border: 1px solid white;
}
.save-btn3 {
    background: linear-gradient(135deg, #f4fcff 0%, #bce7ff 100%);
    border: 1px solid rgba(83, 193, 255, 0.45);
    color: #053252;
    padding: 10px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.save-btn3:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(55, 184, 255, 0.35);
    background: linear-gradient(135deg, #ffffff 0%, #d5f3ff 100%);
}

.save-btn3:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}
#premium-tab table {
    border-collapse: unset !important;
}
.premium-shop {
    background: url('/img/menu/premium-shop.jpg');
    width: 400px;
    height: 208px;
    margin-right: 30px;
    margin-top: 20px;
}
#premium-tab #api_errors {
    display: none;
}
.premium_color {
    color: #ffe830;
}
.server_admins {
    border-top: 1px solid #ddd;
    padding: 8px;
    margin-top: 8px;
}
.server_admins i {
    color: #e2e2e2;
}
.server_admins button, .server_admins input {
    color: black;
}
.server_admins .admin_delete:hover {
    color: #24c2f7;
    cursor: pointer;
}
.admin_add_button {
    background: #fcfcfc;
    padding: 2px;
    display: inline-block;
    color: black;
    text-shadow: none;
    border: 1px solid #a9a9a9;
    outline: none;
}
.admin_add_button:hover {
    border: 1px solid #828282;
    cursor: pointer;
}
#my-servers-tab input[disabled] {
    background: rgba(8, 24, 48, 0.6);
    color: #9caecd;
}
.admin_notice {
    color: #b0fb52;
}
#my-servers-tab #server_owner_messages {
    display: none;
}
.notice {
    color: orange;
}
.pin_code_input {
    color: black;
}
.server_block {
    display: inline-block;
    border: 1px solid #e8b95b;
    padding: 3px;
    text-align: left;
}
#center_header {
    position: absolute;
    left: 27%;
    text-align: center;
}
#header_title {
    font-size: 2em;
}
.login_buttons {
    padding-left: 0px;
    text-align: center;
    border-left: 1px solid #505050;
    width: 100%;
}
.logout_button {
    background: #af2525;
}



 /* Dropdown Button */
.dropbtn {
    background-color: #555;
    color: white;
    padding: 16px;
    font-size: 20px;
    border: none;
    opacity: 0.8;
}

/* The container <div> - needed to position the dropdown content */
.dropdown2 {
    position: relative;
    text-shadow: 1px 1px 2px #000000;
    border-bottom: 1px solid #bbbbbd;
    font-size: 18px;
    font-family: Roboto, sans-serif;
    text-align: center;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-shadow: none;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown2:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown2:hover .dropbtn {
    background-color: #000;
/*    width: 100%;*/
    text-align: center;
} 
#servers-container tbody tr:hover {
    outline: none;
}
#header_filter_menu {
    margin-bottom: 20px;
    margin-top: 10px !important;
}
#header_filter_menu a:hover {
    outline: 1px solid #dccf70;
}
.server_block table {
    width: unset !important;
}
.server_block table tbody td {
    text-align: left !important;
}
.map_show {
    color: #91f00f;
}
.fastgame_top {
    font-size: 1.4em;
    margin-top: 5px;
    box-shadow: 1px 1px 0px black;
    display: inline-block;
}
.fastgame_top a:hover {
    background-color: #648221;
}
.room_region {
	font-size: 0.8em;
    color: #e2e2e2;
}
.room_skill {
	font-size: 0.8em;
    color: #e2e2e2;
}
.filter_close {
    cursor: pointer;
    margin-right: 3px;
}
.filter_close .fa-times {
    font-size: 1.5em;
}
.filter_krestik {
    position: absolute;
    right: 5px;
    top: 0px;
}
.filter_knopka {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}
.filter_save {
    bottom: 0;
    right: 0;
    margin-right: 5px;
    margin-left: 0px;
}
#filters table {
    margin-top: 7px;
    width: unset !important;
}
#filters table tr {
    border-top: 1px solid #c0c3c7;
}
#filters table td {
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 15px;
}
#filters select {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(10, 14, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    outline: none;
    margin-top: 3px;
}
#filters select option {
    color: #fff;
    background: #0a0e1c;
}
#filters span {
    cursor: pointer;
}
#filters .fa-times {
    color: #dc4f4f;
    cursor: pointer;
}
#filter_init {
    margin-left: 0px;
}
.num_players_delimiter {
    color: #e2e2e2;
}
.delimiter {
    border-top: 1px solid #c0c3c7;
    border-bottom: none;
}
#settings_table {
    font-size: 1em;
    margin-bottom: 12px;
}
.settings-form-group {
    padding-bottom: 5px;
    padding-left: 10px !important;
    padding-top: 10px;
    padding-right: 10px;
}

#settings_table input[type="checkbox"] {
    display: none;
}
#settings_table input[type="checkbox"] + label {
    color: #000;
    font-size: 14px;
}
#settings_table input[type="checkbox"] + label span {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: -1px 0px 0px 4px;
    vertical-align: middle;
    background: url(/ui/check_radio_sheet.png) left top no-repeat;
    cursor: pointer;
}
#settings_table input[type="checkbox"]:checked + label span {
    background: url(/ui/check_radio_sheet.png) -19px top no-repeat;
}
#settings_table input[type="radio"] {
    display: none;
}
#settings_table input[type="radio"] + label {
    color: #000;
    font-size: 14px;
}
#settings_table input[type="radio"] + label span {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: -1px 0px 0px 4px;
    vertical-align: middle;
    background: url(/ui/check_radio_sheet.png) -39px top no-repeat;
    cursor: pointer;
}
#settings_table input[type="radio"]:checked + label span {
    background: url(/ui/check_radio_sheet.png) -58px top no-repeat;
}
#settings_table label {
    cursor: pointer;
}

.table th, .myserver {
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #ddd;
}

#my-servers-form input[type="checkbox"] {
    display: none;
}
#my-servers-form input[type="checkbox"] + label {
    color: #000;
    font-size: 14px;
}
#my-servers-form input[type="checkbox"] + label span {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: -1px 0px 0px 4px;
    vertical-align: middle;
    background: url(/ui/check_radio_sheet.png) left top no-repeat;
    cursor: pointer;
}
#my-servers-form input[type="checkbox"]:checked + label span {
    background: url(/ui/check_radio_sheet.png) -19px top no-repeat;
}
#my-servers-form input[type="radio"] {
    display: none;
}
#my-servers-form input[type="radio"] + label {
    color: #000;
    font-size: 14px;
}
#my-servers-form input[type="radio"] + label span {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: -1px 0px 0px 4px;
    vertical-align: middle;
    background: url(/ui/check_radio_sheet.png) -39px top no-repeat;
    cursor: pointer;
}
#my-servers-form input[type="radio"]:checked + label span {
    background: url(/ui/check_radio_sheet.png) -58px top no-repeat;
}
#my-servers-form label {
    cursor: pointer;
}
#my-servers-form input, #my-servers-form select, .input_dark,
#settings_table input, #settings_table select, #controls_table select {
    background: #3c3e40;
    border-radius: 4px;
    text-shadow: 1px 1px 1px #000000;
    color: #45cae7;
    border: 1px solid #333536;
    outline: none;
}
#settings input[type="range"] {
    width: 90%;
    padding: 0;
}
#player-name-input {
    width: 90%;
    padding: 0;
    padding-left: 10px;
}
.new {
	color: #ff9a44;
    font-style: italic;
}
.chat-rooms-data {
    display: none;
}
#friends_notifier_menu {
    border-radius: 15px;
    background: red;
    color: white;
    text-align: center;
    width: 24px;
    display: inline-block;
}
#controls-tab table{
    margin-top: 10px;
    font-size: 1em;
    width: 98%;
}
#faq-tab h3{
    background-color: #0898e6;
    padding: 10px;
    display: table;
}
.server_players_button i {
    color: #ab0707;
}
#server_players_list,
#server_bans_list {
    position: relative;
    background: rgba(6, 18, 36, 0.95);
    display: none;
    padding: 18px 24px;
    border-radius: 16px;
    border: 1px solid rgba(79, 188, 249, 0.45);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    width: 480px;
    max-width: 90vw;
    z-index: 40;
}
#server_players_list button,
#server_bans_list button {
    color: #053252;
    background: linear-gradient(135deg, #f4fcff 0%, #bce7ff 100%);
    border: 1px solid rgba(83, 193, 255, 0.45);
    border-radius: 999px;
    padding: 6px 16px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
#server_players_list #port,
#server_bans_list #port {
    font-weight: bold;
    color: #f2fbff;
}
#server_players_list .kick,
#server_bans_list .kick {
    color: #ff8585;
}
#server_players_list i,
#server_bans_list i {
    color: #49c5ff;
    cursor: pointer;
}
#server_players_list .info,
#server_bans_list .info {
    font-size: 0.9em;
    color: #9fd9ff;
}
#server_players_list #close_top,
#server_bans_list #close_top {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #ff8585;
}
#server_players_list .refresh,
#server_bans_list .refresh {
    position: absolute;
    right: 14px;
    bottom: 18px;
}
#server_players_list .refresh i,
#server_bans_list .refresh i {
    color: #37b8ff;
}
#server_players_list .refresh .fa-spinner,
#server_bans_list .refresh .fa-spinner {
    display: none;
}
#server_players_list #room_id,
#server_bans_list #room_id {
    display: none;
}
#server_players_list .no_players,
#server_bans_list .no_players {
    color: #ff8585;
    display: none;
    margin-top: 12px;
}
.downloading_num {
    color: #e2e2e2;
    font-size: 0.8em;
}
#buy_modal {
    display: none;
    position: fixed;
    background: #557faa;
    border: 1px solid #b8cade;
}
#buy_modal .header, #buy_modal_close {
    display: inline-block;
}
#buy_modal .head {
    padding: 10px;
    border-bottom: 1px solid #b8cade;
    background: #05284c;
}
#buy_modal_close {
    margin-left: 40px;
    right: 10px;
    top: 12px;
    position: absolute;
}
#buy_modal_close:hover {
    cursor: pointer;
}
#buy_modal .buy_content {
    padding: 10px;
    color: #94f51b;
}
#chat_open {
    display: none;
    right: 0px;
    top: 147px;
    position: fixed;
    color: white;
    font-weight: normal;
    background: #2c3642;
    border-radius: 0px 0px 4px 4px;
    padding-right: 2px;
    padding-left: 1px;
    border-bottom: 1px solid #a5630c;
    border-left: 1px solid #a5630c;
}
#chat_open:hover {
    border-bottom: 1px solid #ff9507;
    border-left: 1px solid #ff9507;
    cursor: pointer;
}
#chat_close {
    display: none;
    right: 21px;
    top: 147px;
    z-index: 3;
    width: 279px;
    position: fixed;
    color: white;
    font-weight: normal;
    background: #2c3642;
    padding-right: 7px;
    padding-left: 1px;
    border-bottom: 1px solid #a5630c;
    text-align: right;
}
#chat_close:hover {
    color: #ff9507;
    cursor: pointer;
}
#feedback {
    text-decoration: none;
}
#feedback img {
    height: 150px;
    width: 150px;
}
#feedback span {
    color: #dedede;
    display: block;
}
#controls-tab .key_input_error {
  border-color: red !important;
}
.bind {
    width: 100%;
    display: inline-block;
}
.warning_control_message {
    color: #fadc01;
}
.locked_select {
    background-color: #4a3e3e;
}
.lobby2-side-menu > ul > .foot_list > a {
    color: #e2e2e2;
}
.lobby2-side-menu > ul > li > .version {
    color: #89f109;
}
#paymentwall_widget {
    width: 380px;
    height: 455px;
    overflow: hidden;
    border-radius: 10px;
    background: white;
}
#email form {
    color: black;
    background: #087594;
    display: inline-block;
    padding: 11px 11px 4px 11px;
    border-radius: 5px;
    box-shadow: 0px 0px 2px black;
}
#email form a {
    color: #fff49d;
}
#email .form_input {
    margin-bottom: 5px;
}
.email_background {
    background-image: url(/map_thumb/de_dust2.jpg?v2);
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 0px 0px 0px black;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}
.email_menu {
    margin: auto;
    position: absolute;
    top: 255px;
    left: 100px;
    display: inline-block;
    background: #00000094;
    padding: 4px 10px 5px 10px;
    border-radius: 11px;
}
.discord_block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 520px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border-left: 4px solid rgba(88, 101, 242, 0.8);
    background: rgba(47, 49, 54, 0.92);
    color: #e3e5eb;
    font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.45;
    text-rendering: optimizeLegibility;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.discord_embed {
    display: grid;
    gap: 0.5rem;
    padding: 0;
    position: relative;
}

.discord_title {
    margin: 0;
}

.discord_title > .discord_title_text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.discord_message {
    margin: 0;
}

.discord_message > .discord_message_text {
    font-size: 0.82rem;
    color: #e3e5eb;
    line-height: 1.45;
}

.discord_message_text a {
    color: #8ea1f2;
    text-decoration: none;
}

.discord_message_text p {
    margin-block-end: 0;
    margin-block-start: 0;
}

.discord_rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    overflow-y: auto;
    text-indent: 0;
}

.discord_rows::-webkit-scrollbar {
    width: 6px;
}

.discord_rows::-webkit-scrollbar-thumb {
    background: rgba(114, 137, 218, 0.45);
    border-radius: 999px;
}

.discord_rows::-webkit-scrollbar-track {
    background: transparent;
}

.discord_author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.discord_author_icon {
    height: 32px;
    width: 32px;
    margin: 0;
    object-fit: cover;
    border-radius: 50%;
}

.discord_author_text {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    white-space: pre-wrap;
    display: inline-block;
}

.discord_author a {
    text-decoration: none;
    color: inherit;
    line-height: 1.35;
}

.discord_image {
    margin: 0.35rem 0 0;
}

.discord_image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.discord_date {
    font-size: 0.65rem;
    right: 0.75rem;
    top: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
}

.discord-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.discord-sidebar__title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.discord-sidebar__subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(226, 228, 233, 0.7);
}

.discord-sidebar__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    padding-right: 0.35rem;
    margin-right: -0.35rem;
}

.discord-sidebar__cta {
    margin-top: auto;
}
.premium-color {
    color: #fadc01;
}
.note-color {
    color: #dedede;
}
.cash-color {
    color: #80e115;
}
.unlimited-color {
    color: #ff7600;
}
.discount-color {
    color: #ff7600;
}
.server-color {
    color: #00d3ff;
}
#premium-form {
    background: #1c1c20;
    padding: 5px;
}
#premium-form td {
    padding-left: 10px;
    padding-right: 2px;
    padding-top: 4px;
}
#premium-form th {
    padding-left: 5px;
    background: rgb(0,212,255);
    background: -moz-linear-gradient(90deg, rgba(0,212,255,1) 0%, rgba(47,180,251,1) 24%, rgba(47,180,251,1) 75%, rgba(0,212,255,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(0,212,255,1) 0%, rgba(47,180,251,1) 24%, rgba(47,180,251,1) 75%, rgba(0,212,255,1) 100%);
    background: linear-gradient(90deg, rgba(0,212,255,1) 0%, rgba(47,180,251,1) 24%, rgba(47,180,251,1) 75%, rgba(0,212,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00d4ff",endColorstr="#00d4ff",GradientType=1);
}
#shop-tab h3{
    background-color: #0898e6;
    padding: 10px;
    display: table;
}
.server_player_action {
    cursor: pointer;
}
.unban_player_action {
    cursor: pointer;
}

#cash_rewards_table {
    margin: 12px;
    margin-left: 0;
    margin-right: 0;
}

.cash-table-head {
    background-color: rgba(0,0,0,.3);
}

.cash-table-head tr th{
    padding: 10px;
    border: 1px solid grey;
}

.cash-table-body tr td {
    padding: 10px;
    border: 1px solid grey;
}

.cash-table-body tr:nth-child(odd) {
    background-color: rgba(0,0,0,0.3);
}

/* The navigation menu by nosf 25.02.2023*/
/*body { 
    background: #EEE; 
    overflow-x:hidden;
}*/
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

.container {
    position: relative;
    margin: 0px auto;
    clear: both;
}
@media only screen and (min-width: 1200px) {
    .container {
        width: 1210px;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1199px) {
    .container {
        width: 1030px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .container {
        width: 682px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container {
        width: 428px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 479px) {
    .container {
        width: 320px;
        margin: 0 auto;
    }
}


  
.mcd-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  /*background: #848483;*/
  background: rgba(0,0,0, 0.4);
  /*height: 100px;*/
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  
  /* == */
  width: 300px;
  /* == */
}
.mcd-menu li {
  position: relative;
  /*float:left;*/
}
.mcd-menu li a {
  display: block;
  text-decoration: none;
  padding: 12px 20px;
  color: #FFF;
  /*text-align: center;
  border-right: 1px solid #E7E7E7;*/
  
  /* == */
  text-align: left;
  height: 36px;
  position: relative;
  border-bottom: 1px solid #EEE;
  /* == */
}
.mcd-menu li a i {
  /*display: block;
  font-size: 30px;
  margin-bottom: 10px;*/
  
  /* == */
  float: left;
  font-size: 20px;
  margin: 0 10px 0 0;
  /* == */
  
}
/* == */
.mcd-menu li a p {
  float: left;
  margin: 0 ;
}
/* == */

.mcd-menu li a strong {
  display: block;
  text-transform: uppercase;
}
.mcd-menu li a small {
  display: block;
  font-size: 10px;
}

.mcd-menu li a i, .mcd-menu li a strong, .mcd-menu li a small {
  position: relative;
  
  transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -webkit-transition: all 300ms linear;
}
.mcd-menu li:hover > a i {
    opacity: 1;
    -webkit-animation: moveFromTop 300ms ease-in-out;
    -moz-animation: moveFromTop 300ms ease-in-out;
    -ms-animation: moveFromTop 300ms ease-in-out;
    -o-animation: moveFromTop 300ms ease-in-out;
    animation: moveFromTop 300ms ease-in-out;
}
.mcd-menu li:hover a strong {
    opacity: 1;
    -webkit-animation: moveFromLeft 300ms ease-in-out;
    -moz-animation: moveFromLeft 300ms ease-in-out;
    -ms-animation: moveFromLeft 300ms ease-in-out;
    -o-animation: moveFromLeft 300ms ease-in-out;
    animation: moveFromLeft 300ms ease-in-out;
}
.mcd-menu li:hover a small {
    opacity: 1;
    -webkit-animation: moveFromRight 300ms ease-in-out;
    -moz-animation: moveFromRight 300ms ease-in-out;
    -ms-animation: moveFromRight 300ms ease-in-out;
    -o-animation: moveFromRight 300ms ease-in-out;
    animation: moveFromRight 300ms ease-in-out;
}

.mcd-menu li:hover > a {
  color: #e67e22;
}
.mcd-menu li a.active {
  position: relative;
  color: #e67e22;
  border:0;
  /*border-top: 4px solid #e67e22;
  border-bottom: 4px solid #e67e22;
  margin-top: -4px;*/
  box-shadow: 0 0 5px #DDD;
  -moz-box-shadow: 0 0 5px #DDD;
  -webkit-box-shadow: 0 0 5px #DDD;
  
  /* == */
  border-left: 4px solid #e67e22;
  border-right: 4px solid #e67e22;
  margin: 0 -4px;
  /* == */
}
.mcd-menu li a.active:before {
  content: "";
  position: absolute;
  /*top: 0;
  left: 45%;
  border-top: 5px solid #e67e22;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;*/
  
  /* == */
  top: 42%;
  left: 0;
  border-left: 5px solid #e67e22;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  /* == */
}

/* == */
.mcd-menu li a.active:after {
  content: "";
  position: absolute;
  top: 42%;
  right: 0;
  border-right: 5px solid #e67e22;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
/* == */

@-webkit-keyframes moveFromTop {
    from {
        opacity: 0;
        -webkit-transform: translateY(200%);
        -moz-transform: translateY(200%);
        -ms-transform: translateY(200%);
        -o-transform: translateY(200%);
        transform: translateY(200%);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
        -o-transform: translateY(0%);
        transform: translateY(0%);
    }
}
@-webkit-keyframes moveFromLeft {
    from {
        opacity: 0;
        -webkit-transform: translateX(200%);
        -moz-transform: translateX(200%);
        -ms-transform: translateX(200%);
        -o-transform: translateX(200%);
        transform: translateX(200%);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
}
@-webkit-keyframes moveFromRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(-200%);
        -moz-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        -o-transform: translateX(-200%);
        transform: translateX(-200%);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
}



.mcd-menu li ul,
.mcd-menu li ul li ul {
  position: absolute;
  height: auto;
  min-width: 200px;
  padding: 0;
  margin: 0;
  background: #FFF;
  /*border-top: 4px solid #e67e22;*/
  opacity: 0;
  visibility: hidden;
  transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -webkit-transition: all 300ms linear;
  z-index: 1000;
  
  /* == */
  left:280px;
  top: 0px;
  border-left: 4px solid #e67e22;
  /* == */
}
.mcd-menu li ul:before {
  content: "";
  position: absolute;
  
  /* == */
  top: 25px;
  left: -9px;
  border-right: 5px solid #e67e22;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  /* == */
}
.mcd-menu li:hover > ul,
.mcd-menu li ul li:hover > ul {
  display: block;
  opacity: 1;
  visibility: visible;
  
  /* == */
  left:180px;
  /* == */
}
/*.mcd-menu li ul li {
  float: none;
}*/
.mcd-menu li ul li a {
  padding: 10px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #EEE;
  
  /* == */
  height: auto;
  width: 50px;
  /* == */
}
.mcd-menu li ul li a i {
  font-size: 16px;
  display: inline-block;
  margin: 0 10px 0 0;
}
.mcd-menu li ul li ul {
  left: 230px;
  top: 0;
  border: 0;
  border-left: 4px solid #e67e22;
}  
.mcd-menu li ul li ul:before {
  content: "";
  position: absolute;
  top: 15px;
  /*left: -14px;*/
  /* == */
  left: -9px;
  /* == */
  border-right: 5px solid #e67e22;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
}
.mcd-menu li ul li:hover > ul {
  top: 0px;
  left: 200px;
}

.mcd-menu li a.search {
  /*padding: 29px 20px 30px 10px;*/
  padding: 10px 10px 15px 10px;
  clear: both;
}
.mcd-menu li a.search i {
  margin: 0;
  display: inline-block;
  font-size: 18px;
}
.mcd-menu li a.search input {
  border: 1px solid #EEE;
  padding: 10px;
  background: #FFF;
  outline: none;
  color: #777;
  
  /* == */
  width:170px;
  float:left;
  /* == */
}
.mcd-menu li a.search button {
  border: 1px solid #e67e22;
  /*padding: 10px;*/
  background: #e67e22;
  outline: none;
  color: #FFF;
  margin-left: -4px;
  
  /* == */
  float:left;
  padding: 10px 10px 11px 10px;
  /* == */
}
.mcd-menu li a.search input:focus {
  border: 1px solid #e67e22;
}


.search-mobile { 
    display:none !important;
    background:#e67e22;
    border-left:1px solid #e67e22;
    border-radius:0 3px 3px 0;
}
.search-mobile i { 
    color:#FFF; 
    margin:0 !important;
}


@media only screen and (min-width: 960px) and (max-width: 1199px) {
    .mcd-menu {
        margin-left:10px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .mcd-menu {
        width: 200px;
    }
    .mcd-menu li a {
        height:30px;
    }
    .mcd-menu li a i {
        font-size: 22px;
    }
    .mcd-menu li a strong {
        font-size: 12px;
    }
    .mcd-menu li a small {
        font-size: 10px;
    }   
    .mcd-menu li a.search input {
        width: 120px;
        font-size: 12px;
    }
    .mcd-menu li a.search buton{
        padding: 8px 10px 9px 10px;
    }
    .mcd-menu li > ul {
        min-width:180px;
    }
    .mcd-menu li:hover > ul {
        min-width:180px;
        left:200px;
    }
    .mcd-menu li ul li > ul, .mcd-menu li ul li ul li > ul {
        min-width:150px;
    }
    .mcd-menu li ul li:hover > ul {
        left:180px;
        min-width:150px;
    }
    .mcd-menu li ul li ul li:hover > ul {
        left:150px;
        min-width:150px;
    }
    .mcd-menu li ul a {
        font-size:12px;
    }
    .mcd-menu li ul a i {
        font-size:14px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    
    .mcd-menu { 
        width: 50px;
    }
    .mcd-menu li a { 
        position: relative;
        padding: 12px 16px;
        height:20px;
    }
    .mcd-menu li a small { 
        display: none;
    }
    .mcd-menu li a strong { 
        display: none;
    }
    .mcd-menu li a:hover strong,.mcd-menu li a.active strong {
        display:block;
        font-size:10px;
        padding:3px 0;
        position:absolute;
        bottom:0px;
        left:0;
        background:#e67e22;
        color:#FFF;
        min-width:100%;
        text-transform:lowercase;
        font-weight:normal;
        text-align:center;
    }
    .mcd-menu li .search { 
        display: none;
    }
    
    .mcd-menu li > ul {
        min-width:180px;
        left:70px;
    }
    .mcd-menu li:hover > ul {
        min-width:180px;
        left:50px;
    }
    .mcd-menu li ul li > ul, .mcd-menu li ul li ul li > ul {
        min-width:150px;
    }
    .mcd-menu li ul li:hover > ul {
        left:180px;
        min-width:150px;
    }
    .mcd-menu li ul li ul li > ul {
        left:35px;
        top: 45px;
        border:0;
        border-top:4px solid #e67e22;
    }
    .mcd-menu li ul li ul li > ul:before {
        left:30px;
        top: -9px;
        border:0;
        border-bottom:5px solid #e67e22;
        border-left:5px solid transparent;
        border-right:5px solid transparent;
    }
    .mcd-menu li ul li ul li:hover > ul {
        left:30px;
        min-width:150px;
        top: 35px;
    }
    .mcd-menu li ul a {
        font-size:12px;
    }
    .mcd-menu li ul a i {
        font-size:14px;
    }
    
}

@media only screen and (max-width: 479px) {
    .mcd-menu { 
        width: 50px;
    }
    .mcd-menu li a { 
        position: relative;
        padding: 12px 16px;
        height:20px;
    }
    .mcd-menu li a small { 
        display: none;
    }
    .mcd-menu li a strong { 
        display: none;
    }
    .mcd-menu li a:hover strong,.mcd-menu li a.active strong {
        display:block;
        font-size:10px;
        padding:3px 0;
        position:absolute;
        bottom:0px;
        left:0;
        background:#e67e22;
        color:#FFF;
        min-width:100%;
        text-transform:lowercase;
        font-weight:normal;
        text-align:center;
    }
    .mcd-menu li .search { 
        display: none;
    }
    
    .mcd-menu li > ul {
        min-width:180px;
        left:70px;
    }
    .mcd-menu li:hover > ul {
        min-width:180px;
        left:50px;
    }
    .mcd-menu li ul li > ul, .mcd-menu li ul li ul li > ul {
        min-width:150px;
    }
    .mcd-menu li ul li:hover > ul {
        left:180px;
        min-width:150px;
    }
    .mcd-menu li ul li ul li > ul {
        left:35px;
        top: 45px;
        border:0;
        border-top:4px solid #e67e22;
    }
    .mcd-menu li ul li ul li > ul:before {
        left:30px;
        top: -9px;
        border:0;
        border-bottom:5px solid #e67e22;
        border-left:5px solid transparent;
        border-right:5px solid transparent;
    }
    .mcd-menu li ul li ul li:hover > ul {
        left:30px;
        min-width:150px;
        top: 35px;
    }
    .mcd-menu li ul a {
        font-size:12px;
    }
    .mcd-menu li ul a i {
        font-size:14px;
    }
    
}

.menu_cs {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.menu_cs li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}

/* Change the link color on hover */
.menu_cs li a:hover {
  background-color: #555;
  color: white;
}

.icon-bar {
  width: 100%;
  background-color: #555;
  overflow: auto;
  opacity: 0.8;
}

.icon-bar a {
  float: left;
  width: 16%;
  text-align: center;
  padding: 12px 0;
  transition: all 0.3s ease;
  color: white;
  font-size: 30px;
  opacity: 1.0;
}

.icon-bar a:hover {
  background-color: #000;
}

.icon-bar2 {
  width: 100%;
  background-color: #555;
  overflow: auto;
  opacity: 0.8;
}

.icon-bar2 a {
  float: left;
  width: 50%;
  text-align: center;
  padding: 12px 0;
  transition: all 0.3s ease;
  color: white;
  font-size: 30px;
  opacity: 1.0;
}

.icon-bar2 a:hover {
  background-color: #000;
}

#filters {
    display: none; /* скрыт по умолчанию */
    backdrop-filter: blur(2px);
    background-color: rgba(21, 21, 21, 0.6);
    border-radius: 12px;
    padding: 20px;
    color: #ddd;
    transition: all 0.3s ease;
}

#filters.active {
    display: block;
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
    background-color: rgba(21, 21, 21, 0.6);
    padding: 1rem;
    border-radius: 10px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #ddd;
    cursor: pointer;
}

.filter-item label {
    margin: 0;
}

.filter-item input {
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #aaa;
    position: relative;
}

.filter-item input:checked + label span {
    background: #48bb78;
}

.filter-item i {
    margin-left: 10px;
}

.map-select {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.map-select select {
    margin-left: 10px;
    padding: 5px;
    border-radius: 4px;
    background: rgba(10, 14, 28, 0.92);
    color: rgba(255, 255, 255, 0.92);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.connect-button-mini {
    /*background: #48bb78;*/
    background-color: rgba(72, 187, 120, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-align: center;
}

.connect-button-mini:hover {
    background: #38a169;
}

.filter-save i,
#filter_init i {
    display: none;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #ffc107;
    margin-bottom: 0.75rem;
}

.toggle-filters-button {
    background-color: rgba(21, 21, 21, 0.7);
    color: #ddd;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    display: flex;
    justify-content: flex-start;
    
    font-weight: bold; /* Делает текст жирным */
    margin-left: 5px; /* Подвинуть влево */
    margin-right: 15px; /* Подвинуть вправо */
}
.toggle-filters-button:hover {
    background-color: #444;
    color: #fff;
}
.toggle-filters-button:active {
    transform: scale(0.96);
}

#my-servers-form .myserver-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#my-servers-form .myserver-toggle-btn:hover,
#my-servers-form .myserver-toggle-btn:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    outline: none;
}

#my-servers-form .myserver-collapse-icon {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}

#my-servers-form tr.myserver-row--collapsed .myserver-collapse-icon {
    transform: rotate(-90deg);
}

#my-servers-form tr.myserver-details {
    transition: opacity 0.2s ease;
}

#my-servers-form tr.myserver-details--hidden {
    display: none;
}

#my-servers-form .map-search-wrapper {
    position: relative;
}

#my-servers-form .map-search-input {
    width: 100%;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: #f1f1f1;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#my-servers-form .map-search-input:focus {
    border-color: rgba(0, 123, 255, 0.6);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    outline: none;
}

#my-servers-form .map-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 15;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

#my-servers-form .map-search-dropdown.open {
    display: block;
}

#my-servers-form .map-search-option {
    display: block;
    width: 100%;
    padding: 6px 10px;
    text-align: left;
    background: transparent;
    border: none;
    color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.15s ease;
    font-size: 13px;
}

#my-servers-form .map-search-option:hover,
#my-servers-form .map-search-option:focus {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

#my-servers-form .map-search-option.hidden {
    display: none;
}

#my-servers-form select.map-search-select-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}

#my-servers-form .mode-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}

#my-servers-form .mode-presets__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

#my-servers-form .mode-presets__button {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-size: 13px;
}

#my-servers-form .mode-presets__button:hover,
#my-servers-form .mode-presets__button:focus {
    background: rgba(0, 123, 255, 0.18);
    border-color: rgba(0, 123, 255, 0.45);
    color: #eaf4ff;
    outline: none;
}

#my-servers-form .mode-presets__button--applied {
    border-color: rgba(76, 175, 80, 0.7);
    background: rgba(76, 175, 80, 0.18);
    color: #d5f5df;
}