@media (min-width: 992px) {
    #main.with-rail {
        margin-left: max(230px, calc((100vw - 1140px) / 2)) !important;
        margin-right: auto !important;
        max-width: min(1140px, calc(100vw - 260px));
    }
}
.rail-row { position: relative; }
.main-col { padding: 1rem; }
#main-rail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -220px;
    width: 200px;
    pointer-events: none;
    z-index: 10;
}
#main-rail .serverbannertable {
    position: sticky;
    top: 20px;
    text-align: center;
    padding: 25px;
    pointer-events: auto;
    background: var(--backgroundcolor, rgba(0, 0, 0, 0.7)) !important;
    border-radius: 20px;
    color: #fff;
}
.serverbannertable p { color: #fff; margin-bottom: 0; }
.rail-btn { width: 120px; }
.serverbannertable button.btnselected,
.btnselected {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #ff0000 !important;
    font-weight: bold !important;
    box-shadow: none !important;
}
@media (max-width: 991px) {
    #main-rail {
        position: static;
        width: 100%;
        left: 0;
        margin-bottom: 20px;
        pointer-events: auto;
    }
    #main-rail .serverbannertable {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 15px;
    }
    #main-rail .serverbannertable p { display: none; }
}
.servers .btn {
    background-color: rgba(255, 0, 0, 0.7) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    color: #ffffff !important;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
}
.servers .btn:hover { background-color: #dc3545 !important; color: #ffffff !important; }
.servers .btn.is-active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #ff0000 !important;
    font-weight: bold !important;
    box-shadow: none !important;
}
.region-btn { margin-right: 5px; margin-bottom: 20px; }
#lead-text { font-size: 22px; margin: 10px 0 20px; color: #fff; }
.quickjoin-block { text-align: center; }
.quickjoin-column { display: grid; place-items: center; }
