#monitoring_card,
.monitoring_card_index,
.mc-players-modal {
    --mc-bg: var(--mid-panel, #171b23);
    --mc-bg-soft: var(--mid-inset, #11141a);
    --mc-line: var(--mid-border, #2a303b);
    --mc-line-strong: var(--mid-border-hover, #465267);
    --mc-text: var(--mid-text, #e5e8ef);
    --mc-muted: var(--mid-muted, #a1a9b8);
    --mc-accent: var(--mid-accent, #a5b4cb);
    --mc-good: #75d6a4;
    color: var(--mc-text);
}

#monitoring_card * ,
.monitoring_card_index * {
    box-sizing: border-box;
}

#monitoring_card {
    position: relative;
    padding: 18px;
    border: 1px solid var(--mc-line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(16, 25, 39, 0.96), rgba(6, 10, 18, 0.98));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.mc-home-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mc-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    color: #90dfff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.mc-home-head h3,
.mc-page-hero h1 {
    margin: 0;
    color: #fff;
    font-weight: 900;
    line-height: 1.12;
}

.mc-home-head h3 {
    margin-top: 3px;
    font-size: 23px;
}

.mc-home-head strong {
    min-width: 82px;
    padding: 10px 13px;
    border-radius: 15px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    background: rgba(4, 17, 31, 0.74);
    border: 1px solid rgba(165, 180, 203, 0.26);
    text-shadow: 0 0 18px rgba(165, 180, 203, 0.25);
}

#monitoring_card > .swiper {
    width: 100%;
}

#monitoring_card > .swiper .swiper-slide {
    width: 228px !important;
    height: 268px;
}

.mc-mode-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    color: #fff;
    border: 1px solid rgba(165, 180, 203, 0.22);
    background: #081421;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mc-mode-card:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    border-color: var(--mc-line-strong);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), 0 0 22px rgba(165, 180, 203, 0.1);
}

.mc-mode-card-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.9;
    transition: transform 0.24s ease;
}

.mc-mode-card:hover .mc-mode-card-bg {
    transform: scale(1.04);
}

.mc-mode-card-image {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 2;
    width: 76%;
    max-height: 178px;
    object-fit: contain;
    transform: translateX(-50%);
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.38));
}

.mc-mode-online,
.mc-type-pill small,
.mc-server-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.mc-mode-online {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #dff6ff;
    background: rgba(5, 15, 27, 0.78);
    border: 1px solid rgba(165, 180, 203, 0.28);
    font-size: 14px;
    font-weight: 900;
}

.mc-mode-online i,
.mc-type-pill i,
.mc-server-status i {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--mc-good);
    box-shadow: 0 0 0 4px rgba(117, 214, 164, 0.14), 0 0 12px rgba(117, 214, 164, 0.42);
}

.mc-mode-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 18px;
    z-index: 4;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.mc-page {
    width: 100%;
}

.mc-page-hero {
    position: relative;
    min-height: 315px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--mc-line);
    background: linear-gradient(180deg, rgba(16, 25, 39, 0.96), rgba(6, 10, 18, 0.98));
}

.mc-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 11, 20, 0.96) 0%, rgba(5, 11, 20, 0.86) 46%, rgba(5, 11, 20, 0.36) 100%);
}

.mc-page-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-page-hero-content {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    padding: 38px;
}

.mc-page-hero h1 {
    margin-top: 6px;
    font-size: 42px;
    text-transform: uppercase;
}

.mc-page-hero p {
    margin: 12px 0 22px;
    color: #a7b7cc;
    font-size: 15px;
    line-height: 1.55;
}

.mc-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #a5b4cb, #8798b1);
    box-shadow: 0 10px 26px rgba(135, 152, 177, 0.28);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.mc-video-action {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #dcecff;
    background: rgba(6, 12, 22, 0.66);
    font-size: 22px;
    cursor: pointer;
}

.mc-type-nav {
    margin: 0 0 12px;
    overflow: hidden;
}

.monitoring_card_index > .mc-type-nav,
.monitoring_card_index > .mc-type-nav > .swiper,
.monitoring_card_index > .mc-type-nav .swiper-wrapper,
.monitoring_card_index > .mc-type-nav .swiper-slide {
    height: auto !important;
    min-height: 0;
}

.monitoring_card_index > .mc-type-nav .swiper-wrapper {
    align-items: stretch;
}

.mc-type-nav .swiper-slide {
    width: 190px !important;
    display: flex;
}

.mc-type-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 14px;
    color: #dcecff;
    background: rgba(13, 24, 39, 0.92);
    border: 1px solid rgba(165, 180, 203, 0.18);
    text-decoration: none;
}

.mc-type-pill:hover,
.mc-type-pill.active {
    color: #fff;
    text-decoration: none;
    border-color: var(--mc-line-strong);
}

.mc-type-pill span {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.mc-type-pill small {
    flex: 0 0 auto;
    justify-content: center;
    min-width: 36px;
    min-height: 24px;
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    color: #dff6ff;
    background: rgba(5, 15, 27, 0.76);
    border: 1px solid rgba(165, 180, 203, 0.24);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.mc-server-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-content: start;
    align-items: start;
    gap: 14px;
    margin: 12px 0 0;
    min-height: 0;
    padding: 0;
    position: relative;
    top: 0;
    transform: none !important;
    clear: both;
}

.mc-server-card {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(165, 180, 203, 0.2);
    background: var(--mc-bg);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mc-server-card:hover {
    transform: translateY(-2px);
    border-color: var(--mc-line-strong);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), 0 0 20px rgba(165, 180, 203, 0.08);
}

.mc-server-map {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.mc-server-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    min-height: 150px;
    padding: 16px;
}

.mc-server-main {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.mc-server-status {
    width: fit-content;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #c8ffdf;
    background: rgba(10, 66, 48, 0.66);
    border: 1px solid rgba(117, 214, 164, 0.22);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.mc-server-card h3 {
    margin: 10px 0 7px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.mc-server-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    color: var(--mc-muted);
    font-size: 12px;
    font-weight: 800;
}

.mc-server-progress {
    position: relative;
    width: min(280px, 100%);
    height: 28px;
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid rgba(165, 180, 203, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
}

.mc-server-progress b {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #a5b4cb, #75d6a4);
}

.mc-server-progress span {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.mc-server-actions {
    display: flex;
    flex: 0 0 48px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.mc-server-actions a,
.mc-server-actions button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(165, 180, 203, 0.18);
    border-radius: 14px;
    color: #dcecff;
    background: rgba(4, 17, 31, 0.72);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mc-server-actions a:hover,
.mc-server-actions button:hover {
    color: #fff;
    border-color: var(--mc-line-strong);
    background: rgba(12, 39, 64, 0.86);
}

.mc-no-data {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--mc-muted);
    background: rgba(13, 24, 39, 0.82);
    border: 1px dashed rgba(165, 180, 203, 0.24);
    font-weight: 800;
}

.mc-sidebar-online-source {
    display: none !important;
}

.monitoring-card-home-shell {
    margin: -10px auto 16px;
}

.monitoring-card-home-shell.monitoring-card-after-banner {
    margin: 16px auto 0;
}

#monitoring_card.monitoring-card-home {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.mc-home-toolbar {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    min-height: 28px;
    margin: 0 auto 13px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.mc-home-toolbar > span {
    color: #aebdd1;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.mc-home-toolbar > strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    color: #e9fbff;
    background: rgba(4, 20, 35, 0.82);
    border: 1px solid rgba(165, 180, 203, 0.32);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 0 0 1px rgba(165, 180, 203, 0.05), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.mc-home-toolbar > strong i {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--mc-good);
    box-shadow: 0 0 0 4px rgba(117, 214, 164, 0.12), 0 0 12px rgba(117, 214, 164, 0.36);
}

.mc-game-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 13px;
}

.mc-game-switch {
    min-height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(165, 180, 203, 0.24);
    color: #dcecff;
    background: rgba(4, 20, 35, 0.66);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mc-game-switch:hover,
.mc-game-switch.active {
    color: #fff;
    border-color: rgba(165, 180, 203, 0.52);
    background: rgba(135, 152, 177, 0.44);
}

#monitoring_card > .mc-home-swiper {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 2px 0;
}

#monitoring_card > .mc-home-swiper .swiper-wrapper {
    align-items: stretch;
    justify-content: center;
}

#monitoring_card > .mc-home-swiper.mc-home-swiper-overflow .swiper-wrapper {
    justify-content: flex-start;
}

#monitoring_card > .mc-home-swiper.mc-home-swiper-centered .swiper-wrapper {
    justify-content: center;
    transform: translate3d(0, 0, 0) !important;
}

#monitoring_card > .mc-home-swiper .swiper-slide {
    width: 198px !important;
    min-width: 198px;
    height: 300px;
}

#monitoring_card > .mc-home-swiper .mc-empty-slide {
    width: 100% !important;
    min-width: 100%;
    height: auto;
}

#monitoring_card .mc-mode-card {
    border-radius: 17px;
    border-color: rgba(165, 180, 203, 0.16);
    background: #07111e;
}

#monitoring_card .mc-mode-card-bg {
    opacity: 1;
    background-position: center top;
    background-size: cover;
    filter: saturate(1.04) contrast(1.02);
}

#monitoring_card .mc-mode-card-image {
    display: none;
}

#monitoring_card .mc-mode-card-content {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 17px;
    z-index: 4;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-height: 58px;
}

#monitoring_card .mc-mode-title {
    position: static;
    max-width: 100%;
    color: #fff;
    font-size: 18px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

#monitoring_card .mc-mode-online {
    position: static;
    min-width: 60px;
    min-height: 26px;
    justify-content: center;
    padding: 4px 10px;
    border: 0;
    color: #fff;
    background: rgba(54, 35, 36, 0.72);
    font-size: 13px;
    white-space: nowrap;
}

.mc-players-modal {
    z-index: 2050 !important;
    opacity: 1 !important;
    filter: none !important;
}

body.modal-open:has(.mc-players-modal.show) .modal-backdrop {
    opacity: 0.5 !important;
}

.mc-players-modal .modal-dialog,
.mc-players-modal .modal-content {
    opacity: 1 !important;
    filter: none !important;
}

.mc-players-modal .modal-content {
    overflow: hidden;
    border-radius: 18px;
    color: #f4f8ff;
    background: linear-gradient(180deg, #0b1627, #060d18);
    border: 1px solid rgba(165, 180, 203, 0.42);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(165, 180, 203, 0.08);
}

.mc-players-modal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-color: rgba(255, 255, 255, 0.08);
}

.mc-players-modal .modal-title {
    margin: 0;
    color: #fff;
    font-weight: 900;
}

.mc-players-modal .modal-header p {
    margin: 5px 0 0;
    color: #b9c9de;
    font-size: 12px;
}

.mc-players-modal .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

.mc-players-modal .table {
    margin: 0;
    color: #f4f8ff;
}

.mc-players-modal .table thead td {
    color: #b9c9de;
    font-weight: 900;
}

.mc-players-modal .table td {
    border-color: rgba(255, 255, 255, 0.08);
    color: #f4f8ff;
    vertical-align: middle;
}

.mc-players-modal .mc-player-hidden {
    color: #f4f8ff;
    font-weight: 800;
}

.mc-player-actions {
    min-width: 270px;
}

.mc-rcon-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-rcon-select,
.mc-rcon-button {
    min-height: 34px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
}

.mc-rcon-select {
    min-width: 150px;
    flex: 1;
    padding: 0 10px;
    color: #dcecff;
    background: rgba(5, 15, 27, 0.84);
    border: 1px solid rgba(165, 180, 203, 0.2);
}

.mc-rcon-button {
    flex: 0 0 auto;
    padding: 0 12px;
    color: #fff;
    background: linear-gradient(135deg, #a5b4cb, #8798b1);
    border: 0;
    cursor: pointer;
}

.mc-rcon-button:disabled,
.mc-rcon-select:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

@media (max-width: 1200px) {
    #monitoring_card > .mc-home-swiper .swiper-slide {
        width: 198px !important;
    }
}

@media (max-width: 991px) {
    #monitoring_card > .mc-home-swiper .swiper-slide {
        width: 198px !important;
    }

    .mc-server-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #monitoring_card {
        padding: 14px;
    }

    #monitoring_card.monitoring-card-home {
        padding: 0;
    }

    .mc-home-toolbar {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .mc-home-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .mc-home-head strong {
        width: 100%;
    }

    #monitoring_card > .swiper .swiper-slide {
        width: 82vw !important;
        height: 238px;
    }

    #monitoring_card > .mc-home-swiper .swiper-slide {
        width: 190px !important;
        min-width: 190px;
        height: 288px;
    }

    #monitoring_card .mc-mode-title {
        font-size: 17px;
    }

    .mc-page-hero {
        min-height: 280px;
    }

    .mc-page-hero-content {
        padding: 24px;
    }

    .mc-page-hero h1 {
        font-size: 30px;
    }

    .mc-video-action {
        display: none;
    }

    .mc-type-nav .swiper-slide {
        width: 76vw !important;
    }

    .mc-server-content {
        flex-direction: column;
    }

    .mc-server-actions {
        flex: 0 0 auto;
        flex-direction: row;
        justify-content: flex-start;
    }
}

#monitoring_card .mc-simple-monitoring {
    position: relative;
    width: 100%;
}

#monitoring_card .mc-simple-monitoring .mc-game-nav {
    justify-content: center;
    margin-bottom: 10px;
}

#monitoring_card .mc-simple-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

#monitoring_card .mc-simple-tabs {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

#monitoring_card .mc-simple-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    max-width: 180px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.07);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

#monitoring_card .mc-simple-tab span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#monitoring_card .mc-simple-tab small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.18);
    font-size: 10px;
    font-weight: 900;
}

#monitoring_card .mc-simple-tab:hover,
#monitoring_card .mc-simple-tab.active {
    color: #fff;
    border-color: rgba(165, 180, 203, 0.46);
    background: rgba(165, 180, 203, 0.12);
}

#monitoring_card .mc-simple-tab.active {
    border-color: rgba(165, 180, 203, 0.72);
    background: linear-gradient(180deg, rgba(165, 180, 203, 0.28), rgba(8, 28, 44, 0.78));
    box-shadow: inset 0 0 0 1px rgba(125, 219, 255, 0.16), 0 0 18px rgba(165, 180, 203, 0.18);
    text-shadow: 0 0 10px rgba(165, 180, 203, 0.34);
}

#monitoring_card .mc-simple-tab.active small {
    color: #06131c;
    background: #a5b4cb;
    box-shadow: 0 0 12px rgba(78, 231, 255, 0.35);
}

#monitoring_card .mc-simple-tools {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

#monitoring_card .mc-simple-online,
#monitoring_card .mc-simple-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--mc-good);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    font-weight: 900;
}

#monitoring_card .mc-simple-online {
    gap: 7px;
    padding: 0 12px;
}

#monitoring_card .mc-simple-online i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(117, 214, 164, 0.12), 0 0 13px rgba(117, 214, 164, 0.4);
}

#monitoring_card .mc-simple-refresh {
    padding: 0;
    color: #fff;
    cursor: pointer;
}

#monitoring_card .mc-simple-refresh svg,
#monitoring_card .mc-compact-refresh svg {
    display: block;
}

#monitoring_card .mc-simple-refresh:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
}

#monitoring_card .mc-simple-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

#monitoring_card .mc-simple-server {
    position: relative;
    display: flex;
    min-height: 118px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

#monitoring_card .mc-simple-map {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.92;
}

#monitoring_card .mc-simple-info {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    padding: 15px 58px 12px 14px;
}

#monitoring_card .mc-simple-info h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

#monitoring_card .mc-simple-mapname {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, 0.13);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#monitoring_card .mc-simple-mapname i {
    flex: 0 0 auto;
    font-size: 16px;
}

#monitoring_card .mc-simple-players {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    max-width: 100%;
    padding: 0 10px;
    border-radius: 7px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 900;
}

#monitoring_card .mc-simple-players small {
    min-width: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#monitoring_card .mc-simple-actions {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    width: 58px;
    grid-template-rows: 1fr 1fr;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

#monitoring_card .mc-simple-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.06);
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
}

#monitoring_card .mc-simple-icon:last-child {
    border-bottom: 0;
}

#monitoring_card .mc-simple-icon:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

#monitoring_card .mc-simple-icon:disabled {
    color: rgba(255, 255, 255, 0.36);
    cursor: not-allowed;
}

#monitoring_card .mc-simple-server.is-offline .mc-simple-map {
    filter: grayscale(1);
    opacity: 0.82;
}

#monitoring_card .mc-simple-server.is-offline .mc-simple-info h3 {
    color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 1280px) {
    #monitoring_card .mc-simple-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    #monitoring_card .mc-simple-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    #monitoring_card .mc-simple-top {
        flex-direction: column;
    }

    #monitoring_card .mc-simple-tools {
        width: 100%;
        justify-content: flex-end;
    }

    #monitoring_card .mc-simple-grid {
        grid-template-columns: 1fr;
    }

    #monitoring_card .mc-simple-tab {
        flex: 1 1 calc(50% - 6px);
        max-width: none;
    }
}

#monitoring_card .mc-compact-monitoring {
    position: relative;
    width: 100%;
}

#monitoring_card .mc-compact-monitoring .mc-game-nav {
    justify-content: center;
    margin-bottom: 10px;
}

#monitoring_card .mc-compact-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

#monitoring_card .mc-compact-tabs {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}

#monitoring_card .mc-compact-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 54px;
    min-height: 36px;
    max-width: 180px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

#monitoring_card .mc-compact-tab span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#monitoring_card .mc-compact-tab small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.18);
    font-size: 10px;
    font-weight: 900;
}

#monitoring_card .mc-compact-tab:hover,
#monitoring_card .mc-compact-tab.active {
    color: #fff;
    border-color: rgba(165, 180, 203, 0.46);
    background: rgba(165, 180, 203, 0.12);
}

#monitoring_card .mc-compact-tab.active {
    border-color: rgba(165, 180, 203, 0.72);
    background: linear-gradient(180deg, rgba(165, 180, 203, 0.28), rgba(8, 28, 44, 0.78));
    box-shadow: inset 0 0 0 1px rgba(125, 219, 255, 0.16), 0 0 18px rgba(165, 180, 203, 0.18);
    text-shadow: 0 0 10px rgba(165, 180, 203, 0.34);
}

#monitoring_card .mc-compact-tab.active small {
    color: #06131c;
    background: #a5b4cb;
    box-shadow: 0 0 12px rgba(78, 231, 255, 0.35);
}

#monitoring_card .mc-compact-tools {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

#monitoring_card .mc-compact-online,
#monitoring_card .mc-compact-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--mc-good);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    font-weight: 900;
}

#monitoring_card .mc-compact-online {
    gap: 7px;
    padding: 0 12px;
}

#monitoring_card .mc-compact-online i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(117, 214, 164, 0.12), 0 0 13px rgba(117, 214, 164, 0.4);
}

#monitoring_card .mc-compact-refresh {
    padding: 0;
    color: #fff;
    cursor: pointer;
}

#monitoring_card .mc-compact-refresh:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
}

#monitoring_card .mc-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#monitoring_card .mc-compact-server {
    position: relative;
    display: flex;
    min-height: 118px;
    overflow: hidden;
    border: 1px solid rgba(165, 180, 203, 0.2);
    border-radius: 14px;
    background: #10141b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#monitoring_card .mc-compact-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    overflow: hidden;
    border: 1px solid rgba(165, 180, 203, 0.12);
    border-radius: 14px;
    color: rgba(165, 180, 203, 0.18);
    background:
        radial-gradient(circle at 78% 42%, rgba(165, 180, 203, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(4, 15, 24, 0.92), rgba(18, 22, 28, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#monitoring_card .mc-compact-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(165, 180, 203, 0.08), transparent),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px);
    opacity: 0.45;
}

#monitoring_card .mc-compact-placeholder-art {
    position: relative;
    z-index: 1;
    width: 68%;
    min-width: 210px;
    max-width: 310px;
    color: rgba(210, 234, 255, 0.2);
    filter: drop-shadow(0 0 18px rgba(165, 180, 203, 0.14));
}

#monitoring_card .mc-placeholder-panel {
    opacity: 0.08;
}

#monitoring_card .mc-placeholder-ring,
#monitoring_card .mc-placeholder-cross {
    opacity: 0.5;
}

#monitoring_card .mc-placeholder-lines {
    opacity: 0.22;
}

#monitoring_card .mc-placeholder-text {
    fill: currentColor;
    font-family: "Montserrat", "Arial", sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 0;
    opacity: 0.42;
}

#monitoring_card .mc-compact-map {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.94;
    transform: scale(1.01);
}

#monitoring_card .mc-compact-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px 66px 12px 14px;
    border: 0;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

#monitoring_card .mc-compact-main h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin: 0 0 6px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#monitoring_card .mc-compact-main h3 i {
    flex: 0 0 auto;
    color: #fff03f;
    font-size: 15px;
    text-shadow: 0 0 8px rgba(255, 240, 63, 0.5);
}

#monitoring_card .mc-compact-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    margin-bottom: auto;
}

#monitoring_card .mc-compact-rank,
#monitoring_card .mc-compact-mapname {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

#monitoring_card .mc-compact-rank {
    flex: 0 0 auto;
    padding: 0 9px;
    color: #fff;
    background: rgba(198, 32, 37, 0.85);
    box-shadow: 0 0 16px rgba(198, 32, 37, 0.26);
}

#monitoring_card .mc-compact-mapname {
    flex: 0 0 auto;
    max-width: 70%;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#monitoring_card .mc-compact-address {
    display: none;
}

#monitoring_card .mc-compact-progress {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: min(178px, 100%);
    min-height: 26px;
    margin-top: 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

#monitoring_card .mc-compact-progress i {
    position: absolute;
    inset: 0 auto 0 0;
    min-width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #a5b4cb, #75d6a4);
    box-shadow: 0 0 18px rgba(44, 214, 239, 0.35);
}

#monitoring_card .mc-compact-progress b,
#monitoring_card .mc-compact-progress small {
    position: relative;
    z-index: 1;
}

#monitoring_card .mc-compact-progress b {
    padding-left: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

#monitoring_card .mc-compact-progress small {
    min-width: 0;
    padding-right: 10px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#monitoring_card .mc-compact-actions {
    position: absolute;
    top: 14px;
    right: 12px;
    bottom: auto;
    z-index: 3;
    display: flex;
    width: 44px;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#monitoring_card .mc-compact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid rgba(165, 180, 203, 0.2);
    border-radius: 13px;
    color: #dcecff;
    background: rgba(4, 17, 31, 0.78);
    font-size: 0;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.16);
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

#monitoring_card .mc-compact-icon svg {
    display: block;
    opacity: 0.9;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.36));
}

#monitoring_card .mc-compact-icon:hover {
    color: #fff;
    border-color: rgba(165, 180, 203, 0.46);
    background: rgba(12, 39, 64, 0.9);
    transform: translateY(-1px);
}

#monitoring_card .mc-compact-icon:disabled {
    color: rgba(220, 236, 255, 0.3);
    border-color: rgba(165, 180, 203, 0.1);
    background: rgba(4, 17, 31, 0.48);
    cursor: not-allowed;
    transform: none;
}

#monitoring_card .mc-compact-server.is-offline .mc-compact-map {
    filter: grayscale(1);
    opacity: 0.76;
}

#monitoring_card .mc-compact-server.is-offline .mc-compact-progress i {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

@media (max-width: 1180px) {
    #monitoring_card .mc-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #monitoring_card .mc-compact-placeholder {
        display: none;
    }
}

@media (max-width: 720px) {
    #monitoring_card .mc-compact-top {
        flex-direction: column;
    }

    #monitoring_card .mc-compact-tools {
        width: 100%;
        justify-content: flex-end;
    }

    #monitoring_card .mc-compact-grid {
        grid-template-columns: 1fr;
    }

    #monitoring_card .mc-compact-tab {
        flex: 1 1 calc(50% - 7px);
        max-width: none;
    }

    #monitoring_card .mc-compact-main h3 {
        font-size: 16px;
    }

    #monitoring_card .mc-compact-address {
        display: none;
    }
}

                                                         
.mc-type-nav .swiper { overflow-x: auto; overscroll-behavior-x: contain; }
.mc-type-nav .swiper-wrapper { display: flex; width: max-content; gap: 10px; transform: none; }
.mc-type-nav .swiper-slide { flex: 0 0 auto; width: auto; }
@media (prefers-reduced-motion: reduce) {
  .monitoring_card_index *, .monitoring_card_index *::before, .monitoring_card_index *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}

                                                                           
#monitoring_card,
.monitoring_card_index,
.mc-players-modal {
    --mc-raised: var(--mid-raised, #1e232d);
    --mc-hover: var(--mid-hover, #252c38);
    --mc-selected: var(--mid-accent-soft, #242e3e);
    --mc-on-accent: var(--mid-on-accent, #11151c);
    min-width: 0;
    font-family: inherit;
}

#monitoring_card .mc-home-toolbar {
    justify-content: space-between;
    padding: 0 0 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--mc-line);
    text-align: left;
}
#monitoring_card .mc-home-toolbar > span { color: var(--mc-text); font-size: 14px; text-shadow: none; }
#monitoring_card .mc-home-toolbar > strong,
#monitoring_card .mc-mode-online,
.monitoring_card_index .mc-type-pill small {
    color: var(--mc-text);
    border: 1px solid var(--mc-line);
    background: var(--mc-bg-soft);
    box-shadow: none;
}
#monitoring_card .mc-game-nav { justify-content: center; }
#monitoring_card .mc-game-switch,
#monitoring_card :is(.mc-simple-tab, .mc-compact-tab, .mc-simple-refresh, .mc-compact-refresh),
#monitoring_card :is(.mc-simple-actions a, .mc-simple-actions button, .mc-compact-icon),
.monitoring_card_index :is(.mc-type-pill, .mc-server-actions a, .mc-server-actions button, .mc-video-action),
.mc-players-modal .mc-rcon-select {
    color: var(--mc-text);
    background: var(--mc-raised);
    border-color: var(--mc-line);
    box-shadow: none;
    text-shadow: none;
}
#monitoring_card :is(.mc-game-switch, .mc-simple-tab, .mc-compact-tab).active,
.monitoring_card_index .mc-type-pill.active {
    color: var(--mc-text);
    background: var(--mc-selected);
    border-color: var(--mc-line-strong);
    box-shadow: inset 0 -2px var(--mc-accent);
    text-shadow: none;
}
#monitoring_card :is(.mc-game-switch, .mc-simple-tab, .mc-compact-tab, .mc-compact-icon, .mc-simple-refresh, .mc-compact-refresh):hover,
.monitoring_card_index :is(.mc-type-pill, .mc-server-actions a, .mc-server-actions button, .mc-video-action):hover {
    color: var(--mc-text);
    background: var(--mc-hover);
    border-color: var(--mc-line-strong);
}
#monitoring_card :is(.mc-simple-tab, .mc-compact-tab).active small {
    color: var(--mc-on-accent); background: var(--mc-accent); box-shadow: none;
}
#monitoring_card :is(.mc-mode-card, .mc-simple-server, .mc-compact-server, .mc-compact-placeholder),
.monitoring_card_index :is(.mc-page-hero, .mc-server-card),
.mc-players-modal .modal-content {
    color: var(--mc-text);
    background: var(--mc-bg);
    border-color: var(--mc-line);
    box-shadow: none;
}
#monitoring_card .mc-mode-card:hover,
.monitoring_card_index .mc-server-card:hover { border-color: var(--mc-line-strong); box-shadow: 0 10px 24px #0003; }
#monitoring_card .mc-compact-rank {
    background: var(--mc-selected); color: var(--mc-text); box-shadow: none;
}
#monitoring_card .mc-simple-mapname,
.monitoring_card_index :is(.mc-page-hero p, .mc-eyebrow),
.mc-players-modal :is(.modal-header p, .table thead td) { color: var(--mc-muted); }
#monitoring_card .mc-simple-mapname { font-size: 13px; }
#monitoring_card .mc-compact-progress,
.monitoring_card_index .mc-server-progress { background: var(--mc-bg-soft); border-color: var(--mc-line); }
#monitoring_card .mc-compact-progress i,
.monitoring_card_index .mc-server-progress b { background: #465b70; box-shadow: none; }
.monitoring_card_index .mc-primary-action,
.mc-players-modal .mc-rcon-button {
    color: var(--mc-on-accent); background: var(--mc-accent); box-shadow: none;
}
.monitoring_card_index .mc-primary-action:hover,
.mc-players-modal .mc-rcon-button:hover { background: var(--mid-accent-hover, #bcc9dc); }
.mc-players-modal .modal-header,
.mc-players-modal .table td { border-color: var(--mc-line); }
.mc-players-modal .modal-title,
.mc-players-modal .table td { color: var(--mc-text); }
.mc-players-modal .modal-header > div { min-width: 0; overflow-wrap: anywhere; }
.mc-players-modal .close { flex-shrink: 0; }
.monitoring_card_index .mc-page-hero h1 { overflow-wrap: anywhere; font-size: clamp(26px, 4vw, 42px); }
.monitoring_card_index .mc-page-hero p { overflow-wrap: anywhere; }
.monitoring_card_index .mc-server-card.is-offline .mc-server-status {
    color: var(--mc-muted); background: var(--mc-raised); border-color: var(--mc-line);
}
.monitoring_card_index .mc-server-card.is-offline .mc-server-status i { background: var(--mc-muted); box-shadow: none; }
.monitoring_card_index .mc-server-card.is-offline .mc-server-map { filter: grayscale(1); opacity: .45; }
.monitoring_card_index .mc-server-grid > .mc-no-data { grid-column: 1 / -1; }
.monitoring_card_index .mc-no-data { background: var(--mc-bg); color: var(--mc-muted); border-color: var(--mc-line); }

                                                                        
#monitoring_card > .mc-home-swiper[data-mc-native-scroll] {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--mc-line-strong) transparent;
    padding: 4px 2px 12px;
}
#monitoring_card > .mc-home-swiper[data-mc-native-scroll] .swiper-wrapper {
    display: flex;
    width: max-content;
    min-width: 100%;
    height: auto;
    gap: 12px;
    transform: none !important;
}
#monitoring_card > .mc-home-swiper[data-mc-native-scroll] .swiper-slide { flex-shrink: 0; scroll-snap-align: start; }
#monitoring_card > .mc-home-swiper[data-mc-native-scroll] .mc-empty-slide { min-width: 0; }
#monitoring_card > .mc-home-swiper[data-mc-native-scroll]:has(.mc-empty-slide) .swiper-wrapper { width: 100%; }
.monitoring_card_index .mc-type-nav .swiper { scrollbar-width: thin; scrollbar-color: var(--mc-line-strong) transparent; padding-bottom: 6px; }
#monitoring_card :is(a, button, [tabindex]):focus-visible,
.monitoring_card_index :is(a, button, [tabindex]):focus-visible,
.mc-players-modal :is(button, select):focus-visible {
    outline: 2px solid var(--mc-accent); outline-offset: 3px;
}
.monitoring_card_index .mc-action-feedback { min-height: 22px; margin: 0 0 8px; font-size: 13px; color: var(--mc-muted); }
.monitoring_card_index .mc-video-action[hidden] { display: none; }
.monitoring_card_index .mc-primary-action:disabled { opacity: .65; cursor: wait; }
                                                                                
html body .monitoring_card_index .mc-type-pill span { color: inherit !important; }
html body .monitoring_card_index .list_types .mc-type-pill,
html body .monitoring_card_index .mc-server-actions a { color: var(--mc-text) !important; }
html body #monitoring_card :is(button, a) svg,
html body .monitoring_card_index :is(button, a) svg { color: inherit; }
html body #monitoring_card .mc-compact-progress i { background: #465b70 !important; }
html body #monitoring_card :is(.mc-simple-online, .mc-compact-online) > i { color: var(--mc-good); }
@media (max-width: 640px) {
    #monitoring_card .mc-home-toolbar { flex-direction: row; align-items: center; }
    #monitoring_card .mc-home-toolbar > span { font-size: 12px; }
    .monitoring_card_index .mc-page-hero-content { padding: 24px 20px; }
    .monitoring_card_index .mc-server-meta { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    #monitoring_card *, #monitoring_card *::before, #monitoring_card *::after {
        animation: none !important; transition: none !important; scroll-behavior: auto !important;
    }
}

                                                                              
.monitoring_card_index.mc-category { container: mc-category / inline-size; }
.mc-category .mc-category-header { position: relative; }
.mc-category .mc-category-nav {
    position: relative; z-index: 2; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: 6px;
    margin: 0; padding: 0;
}
html body .mc-category .mc-category-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 0; min-height: 66px; gap: 5px; padding: 10px 12px;
    border: 1px solid transparent; border-radius: 15px;
    background: var(--mc-raised); color: var(--mc-text) !important;
    text-decoration: none; transition: background .18s, border-color .18s;
}
html body .mc-category .mc-category-tab:hover { background: var(--mc-hover); border-color: var(--mc-line-strong); }
html body .mc-category .mc-category-tab.active { background: var(--mc-selected); border-color: var(--mc-line-strong); box-shadow: inset 0 -2px var(--mc-accent); }
.mc-category .mc-category-tab-online { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--mc-text); }
.mc-category .mc-category-tab-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--mc-good); }
.mc-category .mc-category-tab-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 900; text-transform: uppercase; color: inherit; }
html body .mc-category .mc-category-hero {
    min-height: 300px; margin: 0 0 24px; border: 0; border-radius: 0 0 20px 20px;
    background: transparent; display: grid; place-items: center;
}
.mc-category .mc-category-hero::before { background: linear-gradient(180deg, rgba(14,16,21,.58), rgba(14,16,21,.84) 58%, var(--mid-bg, #0e1015)); }
.mc-category .mc-category-hero > video { opacity: .5; }
.mc-category .mc-page-hero-content { width: min(640px, 100%); padding: 46px 28px 30px; text-align: center; }
html body .mc-category .mc-category-hero h1 { margin: 0; font-size: clamp(32px, 5cqw, 52px); line-height: 1.05; font-weight: 900; font-style: italic; letter-spacing: -.035em; }
.mc-category .mc-category-hero p { max-width: 490px; margin: 16px auto 28px; font-size: 15px; line-height: 1.6; color: var(--mc-muted); }
.mc-category .mc-primary-action { min-height: 52px; padding: 0 24px; border-radius: 15px; font-size: 14px; text-transform: uppercase; }
.mc-category .mc-video-action { width: 36px; height: 36px; right: 12px; bottom: 16px; font-size: 18px; opacity: .8; }
.mc-category .mc-video-pause, .mc-category [aria-pressed="true"] .mc-video-play { display: none; }
.mc-category [aria-pressed="true"] .mc-video-pause { display: block; }
.mc-category .mc-category-filters {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 6px; margin-bottom: 20px; border: 1px solid var(--mc-line); border-radius: 17px;
}
.mc-category :is(.mc-map-filter, .mc-availability-filter) { display: inline-flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 14px; margin: 0; border-radius: 12px; background: var(--mc-raised); color: var(--mc-text); font-size: 13px; font-weight: 700; }
.mc-category .mc-map-filter { min-width: 180px; max-width: 100%; }
html body .mc-category .mc-map-filter select { flex: 1; min-width: 0; max-width: 100%; width: auto; margin: 0; padding: 0 22px 0 0; border: 0; outline-offset: 3px; border-radius: 0; background-color: transparent; color: var(--mc-text); font: inherit; cursor: pointer; }
.mc-category .mc-map-filter option { background: var(--mc-bg); color: var(--mc-text); }
html body .mc-category .mc-map-filter select { appearance: none; background: transparent !important; box-shadow: none; min-height: 41px; }
.mc-category .mc-map-filter::after { content: '⌄'; margin-left: auto; }
.mc-category .mc-availability-filter { position: relative; cursor: pointer; }
.mc-category .mc-availability-filter input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mc-category .mc-switch-track { width: 34px; height: 20px; flex: 0 0 34px; border-radius: 20px; background: var(--mc-line-strong); transition: background .18s; }
.mc-category .mc-switch-track::after { content: ''; display: block; width: 14px; height: 14px; margin: 3px; border-radius: 50%; background: var(--mc-text); transition: transform .18s; }
.mc-category .mc-availability-filter input:checked + .mc-switch-track { background: var(--mc-accent); }
.mc-category .mc-availability-filter input:checked + .mc-switch-track::after { transform: translateX(14px); background: var(--mc-on-accent); }
.mc-category .mc-availability-filter input:focus-visible + .mc-switch-track { outline: 2px solid var(--mc-accent); outline-offset: 3px; }
.mc-category .mc-result-count { margin-left: auto; padding: 0 12px; color: var(--mc-muted); font-size: 12px; }
.mc-category .mc-category-servers,
.mc-category .mc-category-group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.mc-category .mc-category-servers.is-grouped { display: block; }
.mc-category .mc-category-group { margin-bottom: 24px; }
.mc-category .mc-category-group-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; color: var(--mc-text); font-size: 14px; font-weight: 700; }
.mc-category .mc-category-group-title small { color: var(--mc-muted); font-size: 12px; font-weight: 400; }
html body .mc-category .mc-server-tile {
    display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 88px;
    padding: 8px 8px 8px 14px; border: 1px solid var(--mc-line); border-radius: 15px;
    background: var(--mc-bg); box-shadow: none; transform: none;
}
html body .mc-category .mc-server-tile:hover { border-color: var(--mc-line-strong); transform: none; box-shadow: none; }
.mc-category .mc-server-tile .mc-server-map { opacity: .75; }
.mc-category .mc-tile-info { position: relative; z-index: 1; flex: 1; min-width: 0; }
html body .mc-category .mc-server-tile h3 { margin: 0 0 10px; font-size: 14px; line-height: 1.2; font-weight: 800; color: var(--mc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-category .mc-tile-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
html body .mc-category .mc-tile-players { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 5px; margin: 0; padding: 0; border: 0; background: none; color: var(--mc-text); font-size: 12px; font-weight: 800; line-height: 20px; cursor: pointer; }
.mc-category .mc-tile-players small { color: var(--mc-muted); font-size: inherit; font-weight: 700; }
.mc-category .mc-online-ring { width: 17px; height: 17px; flex: 0 0 17px; border-radius: 50%; background: conic-gradient(var(--mc-good) var(--mc-fill, 0%), #ffffff20 0); mask: radial-gradient(transparent 55%, #000 60%); }
.mc-category .mc-tile-map { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mc-muted); font-size: 12px; font-weight: 600; }
.mc-category .mc-tile-actions { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 0 0 31px; gap: 5px; }
html body .mc-category .mc-tile-actions :is(a, button) { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; padding: 0; border: 0; border-radius: 9px; background: #ffffff0c; color: var(--mc-text) !important; cursor: pointer; }
html body .mc-category .mc-tile-actions :is(a, button):hover { background: var(--mc-hover); }
.mc-category .mc-server-tile.is-offline .mc-online-ring { background: var(--mc-muted); }
.mc-category .mc-server-tile.is-offline .mc-tile-info { opacity: .65; }
.mc-category .mc-category-empty { padding: 24px 16px; text-align: center; color: var(--mc-muted); background: var(--mc-bg); border: 1px solid var(--mc-line); border-radius: 15px; }
.mc-category .mc-category-servers > .mc-no-data { grid-column: 1 / -1; }
.mc-category [hidden] { display: none !important; }
@container mc-category (max-width: 850px) {
    .mc-category .mc-category-servers, .mc-category .mc-category-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container mc-category (max-width: 510px) {
    .mc-category .mc-category-servers, .mc-category .mc-category-group-grid { grid-template-columns: 1fr; }
    .mc-category .mc-category-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mc-category .mc-category-tab { min-height: 60px; padding: 8px 5px; }
    .mc-category .mc-category-tab-name { font-size: 12px; }
    .mc-category .mc-page-hero-content { padding: 34px 18px 26px; }
    .mc-category .mc-category-hero { min-height: 260px; }
    .mc-category .mc-map-filter { flex: 1 1 100%; }
    .mc-category .mc-availability-filter { flex: 1 1 auto; justify-content: space-between; font-size: 12px; }
    .mc-category .mc-result-count { width: 100%; padding: 5px 9px; }
}

                                                                    
#monitoring_card > .mc-home-swiper[data-mc-native-scroll] {
    container: mc-home-cards / inline-size;
    overflow: visible;
    padding: 4px 0 12px;
}
#monitoring_card > .mc-home-swiper[data-mc-native-scroll] .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 14px;
}
#monitoring_card > .mc-home-swiper[data-mc-native-scroll] .swiper-slide {
    width: 100% !important;
    min-width: 0;
    height: auto !important;
    max-height: 430px;
    aspect-ratio: 2 / 3;
}
#monitoring_card > .mc-home-swiper[data-mc-native-scroll] .mc-empty-slide {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    max-height: none;
}
@container mc-home-cards (max-width: 1100px) {
    #monitoring_card > .mc-home-swiper[data-mc-native-scroll] .swiper-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@container mc-home-cards (max-width: 600px) {
    #monitoring_card > .mc-home-swiper[data-mc-native-scroll] .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

                                                                             
#monitoring_card .mc-mode-card {
    transform: translate3d(0, 0, 0);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), border-color .3s ease;
}
#monitoring_card .mc-mode-card-bg {
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center;
    backface-visibility: hidden;
    filter: none;
    transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
#monitoring_card .mc-mode-card:hover,
#monitoring_card .mc-mode-card:focus-visible {
    transform: translate3d(0, -3px, 0);
    border-color: var(--mc-line-strong);
    box-shadow: none;
}
#monitoring_card .mc-mode-card:hover .mc-mode-card-bg,
#monitoring_card .mc-mode-card:focus-visible .mc-mode-card-bg {
    transform: translate3d(0, 0, 0) scale(1.035);
}
@media (any-hover: hover) and (any-pointer: fine) {
    #monitoring_card .mc-mode-card,
    #monitoring_card .mc-mode-card-bg { will-change: transform; }
}
                                                                                     
.mc-category .mc-category-header { isolation: isolate; margin-bottom: 20px; }
.mc-category-backdrop {
    position: absolute; z-index: -1; inset: -140px -24px 0; overflow: hidden;
    pointer-events: none;
    background: var(--mid-bg, #0e1015);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.mc-category-backdrop::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, #0e101599 0%, #0e1015a6 36%, #0e1015c7 66%, var(--mid-bg, #0e1015) 100%);
}
.mc-category-backdrop :is(img, video) {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 40%; opacity: 1; filter: none;
}
.mc-category-video { visibility: hidden; }
.mc-category-video.is-playing { visibility: visible; }
html body .mc-category .mc-category-tab { background: #252b35b5; border-color: #ffffff0b; }
html body .mc-category .mc-category-tab.active { background: #344153cc; }
html body .mc-category .mc-category-hero {
    min-height: 365px; margin: 0; overflow: visible; border-radius: 0; background: transparent;
}
.mc-category .mc-category-hero::before { display: none; }
html body .mc-category .mc-page-hero-content { width: min(900px, 100%); padding: 54px 16px 58px; }
html body .mc-category .mc-category-hero h1 { font-size: clamp(38px, 4.5cqw, 60px); letter-spacing: -.025em; }
html body .mc-category .mc-category-hero p { max-width: 590px; margin: 22px auto 32px; color: #c0c8d3; font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.mc-category .mc-hero-actions { display: flex; align-items: stretch; justify-content: center; gap: 12px; }
html body .mc-category .mc-hero-actions > button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 58px; padding: 12px 22px; border-radius: 16px; margin: 0;
    font-size: 14px; line-height: 1.35; font-weight: 800; cursor: pointer;
}
.mc-category .mc-guide-action { border: 1px solid #ffffff0b; background: #1c222cde; color: var(--mc-text); transition: background .2s, border-color .2s; }
.mc-category .mc-guide-action:hover { background: var(--mc-hover); border-color: var(--mc-line-strong); }
.mc-category .mc-hero-actions svg { flex-shrink: 0; }
.mc-category .mc-video-action { display: inline-flex; bottom: 18px; right: 0; opacity: 1; }
.mc-category .mc-hero-actions button:focus-visible, .mc-guide-dialog button:focus-visible { outline: 2px solid var(--mc-accent, #a5b4cb); outline-offset: 4px; }
html:has(.mc-guide-dialog[open]) { overflow: hidden; }
html body dialog.mc-guide-dialog:not([open]) { display: none; }
html body dialog.mc-guide-dialog[open] {
    display: flex; flex-direction: column; position: fixed; inset: 0; margin: auto;
    width: min(540px, calc(100vw - 32px)); max-width: none; height: fit-content;
    max-height: calc(100dvh - 48px); padding: 24px; overflow: hidden;
    border: 1px solid #303845; border-radius: 24px; background: #1a1f28; color: #e5e9ef;
    box-shadow: 0 24px 100px #0008; text-align: left;
}
html body dialog.mc-guide-dialog-wide[open] { width: min(710px, calc(100vw - 32px)); }
.mc-guide-dialog::backdrop { background: #07090ddd; backdrop-filter: blur(5px); }
.mc-guide-dialog .mc-guide-dialog-head { display: flex; align-items: flex-start; gap: 16px; padding: 0 0 18px; flex-shrink: 0; }
.mc-guide-dialog .mc-guide-dialog-head > div { min-width: 0; flex: 1; }
html body .mc-guide-dialog h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; font-weight: 900; font-style: italic; text-transform: uppercase; color: #f3f5f8; margin: 0; overflow-wrap: anywhere; }
html body .mc-guide-dialog-head p { margin: 8px 0 0; font-size: 13px; letter-spacing: .06em; color: #a5b4cb; text-transform: uppercase; }
html body .mc-guide-dialog .mc-guide-close { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #ffffff08; color: #e5e9ef; font-size: 25px; font-weight: 400; line-height: 1; cursor: pointer; }
.mc-guide-dialog .mc-guide-close:hover { background: #ffffff16; }
.mc-guide-dialog .mc-guide-dialog-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #465366 transparent; }
.mc-guide-dialog .mc-guide-section { margin: 0 0 8px; background: #10141b; border: 1px solid #ffffff06; border-radius: 16px; overflow: hidden; }
.mc-guide-dialog .mc-guide-section:last-child { margin-bottom: 0; }
html body .mc-guide-dialog h3 { padding: 18px 20px; margin: 0; border-bottom: 1px solid #ffffff0c; color: #eef1f5; font-size: 17px; line-height: 1.4; font-weight: 750; overflow-wrap: anywhere; }
.mc-guide-dialog .mc-guide-rows { list-style: none; padding: 16px 20px; margin: 0; }
.mc-guide-dialog .mc-guide-rows li { list-style: none; margin: 0; font-size: 14px; line-height: 1.5; }
.mc-guide-dialog .mc-guide-rows li + li { margin-top: 14px; }
.mc-guide-dialog .mc-command-row { display: flex; align-items: baseline; gap: 10px; }
.mc-guide-dialog .mc-command-row code { background: #283342; color: #d9e5f7; border-radius: 7px; padding: 4px 7px; font-size: 13px; white-space: normal; overflow-wrap: anywhere; max-width: 48%; flex-shrink: 0; }
.mc-guide-dialog .mc-command-row > span { min-width: 0; overflow-wrap: anywhere; }
.mc-guide-dialog .mc-guide-rows small { display: block; color: #8f9caf; font-size: 12px; line-height: 1.5; margin-top: 4px; }
.mc-guide-dialog .mc-reward-row { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.mc-guide-dialog .mc-reward-row > div { min-width: 0; overflow-wrap: anywhere; }
.mc-guide-dialog .mc-reward-values { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 48%; flex-shrink: 0; }
.mc-guide-dialog .mc-reward-badge { display: inline-block; border: 1px solid #a5b4cb18; background: #253143; color: #d8e5f7; border-radius: 7px; padding: 4px 8px; font-weight: 750; font-size: 12px; }
.mc-guide-dialog .mc-guide-empty { padding: 30px 20px; border-radius: 16px; background: #10141b; text-align: center; }
html body .mc-guide-dialog .mc-guide-empty p { margin: 10px 0 0; color: #98a5b8; font-size: 14px; }
@container mc-category (max-width: 680px) {
    html body .mc-category .mc-page-hero-content { padding: 40px 0 62px; }
    .mc-category .mc-hero-actions { flex-wrap: wrap; gap: 8px; }
    html body .mc-category .mc-hero-actions > button { padding: 12px; flex: 1 1 40%; font-size: 12px; min-height: 50px; }
    html body .mc-category .mc-hero-actions > .mc-primary-action { order: -1; flex-basis: 100%; }
    html body .mc-category .mc-category-hero p { font-size: 14px; }
    .mc-category-backdrop { inset: -120px -12px 0; }
}
@media (max-width: 540px) {
    html body dialog.mc-guide-dialog[open] { padding: 16px; max-height: calc(100dvh - 24px); border-radius: 20px; }
    .mc-guide-dialog .mc-guide-rows { padding: 14px; }
    html body .mc-guide-dialog h3 { padding: 15px 14px; font-size: 16px; }
    .mc-guide-dialog .mc-reward-row { flex-direction: column; gap: 8px; }
    .mc-guide-dialog .mc-reward-values { max-width: 100%; justify-content: flex-start; }
}

                                                                                   
body > .mc-category-backdrop.mc-category-canvas {
    position: absolute; z-index: 0; top: 0; bottom: auto; right: auto;
    left: var(--mc-canvas-left, 0px); width: var(--mc-canvas-width, 100%);
    height: var(--mc-canvas-height, 600px); mask-image: none;
}
                                                                                       
@media (prefers-reduced-motion: reduce) {
    #monitoring_card .mc-mode-card { transition: transform .45s cubic-bezier(.22,.61,.36,1), border-color .3s ease !important; }
    #monitoring_card .mc-mode-card-bg { transition: transform .6s cubic-bezier(.22,.61,.36,1) !important; }
}

                                                      
.mc-category .mc-map-filter { --mc-map-picker-ready: 1; }
.mc-category .mc-category-filters { gap: 10px; padding: 8px; border-radius: 16px; background: #11151b80; }
.mc-category .mc-map-filter.mc-map-picker { position: relative; display: block; width: 248px; min-width: 0; padding: 0; background: none; }
.mc-category .mc-map-picker::after { content: none; }
html body .mc-category .mc-map-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin: 0; padding: 0 14px; border: 1px solid transparent; border-radius: 11px; background: var(--mc-raised); color: var(--mc-text); font: inherit; text-align: left; cursor: pointer; }
.mc-category .mc-map-trigger > svg { flex: 0 0 17px; color: var(--mc-muted); }
.mc-category .mc-map-caption { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-category .mc-map-chevron { width: 7px; height: 7px; margin: 0 3px 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.mc-category .mc-map-trigger[aria-expanded="true"] { border-color: var(--mc-line-strong); background: var(--mc-hover); }
.mc-category .mc-map-trigger[aria-expanded="true"] .mc-map-chevron { transform: translateY(3px) rotate(225deg); }
.mc-category .mc-map-options { position: absolute; inset: calc(100% + 8px) 0 auto; z-index: 30; max-height: 284px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--mc-line-strong); border-radius: 13px; background: #191e27; box-shadow: 0 14px 36px #0007; scrollbar-width: thin; scrollbar-color: var(--mc-line-strong) transparent; }
html body .mc-category .mc-map-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; margin: 0; padding: 9px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--mc-text); font: inherit; font-weight: 600; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
html body .mc-category .mc-map-option:hover, html body .mc-category .mc-map-option:focus-visible { background: var(--mc-hover); outline: none; }
html body .mc-category .mc-map-option[aria-selected="true"] { background: #a5b4cb24; color: #d9e4f5; }
.mc-category .mc-map-option[aria-selected="true"]::after { content: '\2713'; margin-left: auto; color: var(--mc-accent); }
html body .mc-category .mc-map-trigger:focus-visible, html body .mc-category .mc-tile-actions :is(a, button):focus-visible { outline: 2px solid var(--mc-accent); outline-offset: 3px; }
.mc-category .mc-availability-filter { min-height: 44px; padding: 0 14px; }
.mc-category .mc-result-count { font-variant-numeric: tabular-nums; }
.mc-category .mc-category-servers, .mc-category .mc-category-group-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mc-category .mc-category-group { margin-bottom: 26px; }
.mc-category .mc-category-group-title { align-items: center; gap: 9px; margin-bottom: 12px; line-height: 22px; }
.mc-category .mc-category-group-title small { padding: 0 7px; border: 1px solid var(--mc-line); border-radius: 6px; background: var(--mc-bg); font-variant-numeric: tabular-nums; }
html body .mc-category .mc-server-tile { gap: 14px; min-height: 100px; padding: 12px 10px 12px 16px; border-radius: 14px; transition: border-color .2s, background-color .2s; }
.mc-category .mc-server-tile .mc-server-map { opacity: .48; }
html body .mc-category .mc-server-tile h3 { margin-bottom: 12px; line-height: 1.35; }
.mc-category .mc-tile-meta { gap: 12px; }
html body .mc-category .mc-tile-players { min-width: 62px; font-variant-numeric: tabular-nums; }
.mc-category .mc-tile-map { padding-left: 12px; border-left: 1px solid #ffffff20; }
.mc-category .mc-tile-actions { flex-basis: 34px; gap: 6px; }
html body .mc-category .mc-tile-actions :is(a, button) { width: 34px; height: 34px; border: 1px solid #ffffff0a; background: #ffffff0d; }
@container mc-category (max-width: 1180px) {
    .mc-category .mc-category-servers, .mc-category .mc-category-group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container mc-category (max-width: 900px) {
    .mc-category .mc-category-servers, .mc-category .mc-category-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container mc-category (max-width: 580px) {
    .mc-category .mc-category-servers, .mc-category .mc-category-group-grid { grid-template-columns: 1fr; }
    .mc-category .mc-map-filter.mc-map-picker { flex: 1 1 100%; width: 100%; }
    .mc-category .mc-availability-filter { flex: 1 1 auto; justify-content: space-between; }
    .mc-category .mc-result-count { width: 100%; margin: 0; padding: 2px 6px; }
}

                                                                          
:is(#monitoring_card, .mc-category) .mc-game-nav { justify-content: center; gap: 8px; margin: 0 0 18px; }
html body :is(#monitoring_card, .mc-category) .mc-game-switch { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 18px; margin: 0; border: 1px solid var(--mc-line, #303743); border-radius: 11px; background: var(--mc-raised, #1d232d); color: var(--mc-text, #e3e7ee); font: inherit; font-size: 13px; line-height: 1.3; font-weight: 800; text-decoration: none; cursor: pointer; }
html body :is(#monitoring_card, .mc-category) .mc-game-switch:hover { background: var(--mc-hover, #2c3542); }
html body :is(#monitoring_card, .mc-category) .mc-game-switch.active { background: var(--mc-selected, #303b4a); border-color: var(--mc-line-strong, #566780); box-shadow: inset 0 -2px var(--mc-accent, #a5b4cb); }
:is(#monitoring_card, .mc-category) .mc-game-switch:focus-visible { outline: 2px solid var(--mc-accent, #a5b4cb); outline-offset: 3px; }
html body :is(#monitoring_card, .mc-category) .mc-game-logo { display: block; flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }

.mc-category .mc-submode-filter[hidden] { display: none !important; }
.mc-category .mc-category-servers > .mc-server-tile[hidden] { display: none !important; }
.mc-category .mc-category-servers { align-items: start; }

#monitoring_card .mc-mode-placeholder-slide {
    pointer-events: auto;
}
#monitoring_card .mc-mode-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .03);
    border-radius: 16px;
    background-color: var(--mid-panel, #171c24);
    cursor: pointer;
}
#monitoring_card .mc-mode-placeholder::before {
    content: '';
    position: absolute;
    background-size: 3rem;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../../../files/images/cs2-placeholder.svg');
    width: 100%;
    height: 100%;
    inset: 0;
    opacity: .1;
    transform: rotateY(0deg);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: transform .85s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
}
#monitoring_card .mc-mode-placeholder:hover::before {
    opacity: .5;
    transform: rotateY(180deg);
}
@media (prefers-reduced-motion: reduce) {
    #monitoring_card .mc-mode-placeholder::before {
        transition: transform .85s cubic-bezier(.4, 0, .2, 1), opacity .35s ease !important;
    }
}

.mc-players-modal .modal-dialog {width:calc(100% - 32px);max-width:1060px;}
.mc-players-modal .modal-body {padding:18px;}
.mc-match-score {display:flex;align-items:center;justify-content:center;gap:32px;padding:18px 12px 24px;}
.mc-match-score > span:first-child,.mc-match-score > span:last-child {font-size:18px;font-weight:800;white-space:nowrap;}
.mc-match-score b {font-size:32px;padding:0 10px;}
.mc-team-t {color:#deb777;}
.mc-team-ct {color:#a5c3e0;}
.mc-match-map {min-width:0;text-align:center;font-weight:700;overflow-wrap:anywhere;}
.mc-match-map small {display:block;margin-top:5px;font-size:12px;color:#98a3b3;font-weight:400;}
.mc-player-team {margin-bottom:16px;border:1px solid #2b3340;border-radius:12px;overflow:hidden;background:#151a22;}
.mc-player-team h5 {display:flex;gap:10px;align-items:center;margin:0;padding:12px 14px;font-size:14px;font-weight:700;background:#1d232d;}
.mc-player-team h5 span {margin-left:auto;border-radius:6px;background:#11161d;padding:3px 8px;font-size:12px;color:#a6b2c4;}
.mc-player-team-2 h5 {color:#deb777;}
.mc-player-team-3 h5 {color:#a5c3e0;}
.mc-player-table-scroll {overflow:auto;max-width:100%;overscroll-behavior-inline:contain;}
.mc-players-modal .mc-player-table {width:100%;margin:0;border-collapse:collapse;font-size:13px;}
.mc-players-modal .mc-player-table th {padding:10px 12px;font-weight:500;color:#98a3b3;text-align:center;border-bottom:1px solid #2b3340;white-space:nowrap;}
.mc-players-modal .mc-player-table td {padding:11px 12px;text-align:center;color:#d8dde6;border-bottom:1px solid #252d39;white-space:nowrap;}
.mc-players-modal .mc-player-table th:first-child,.mc-players-modal .mc-player-table td:first-child {text-align:left;}
.mc-players-modal .mc-player-table tr:last-child td {border-bottom:0;}
.mc-players-modal .mc-player-table tbody tr:hover {background:#1d2530;}
.mc-players-modal .mc-player-table .mc-player-name {min-width:160px;max-width:290px;white-space:normal;overflow-wrap:anywhere;font-weight:600;}
.mc-player-name a {color:#e0e5ed;text-decoration:none;}
.mc-player-name a:hover {color:#aec3de;}
.mc-steam-link {margin-left:6px;color:#9cadc4;}
.mc-player-name small {display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;}
.mc-player-badge {font-size:10px;font-weight:600;line-height:1.4;color:#a7bad5;background:#263143;border-radius:4px;padding:2px 5px;}
.mc-player-empty,.mc-player-loading {padding:20px;text-align:center;color:#98a3b3;margin:0;}
.mc-player-loading button {background:#a8b8cf;color:#11161d;border:0;border-radius:7px;padding:6px 12px;margin-left:8px;}
.mc-players-basic-note {font-size:12px;color:#98a3b3;margin-bottom:12px;}
.mc-players-modal .mc-rcon-select {max-width:160px;}
@media(max-width:600px) {
 .mc-players-modal .modal-dialog {width:calc(100% - 16px);margin:8px auto;}
 .mc-players-modal .modal-body {padding:10px;}
 .mc-match-score {gap:8px;padding:12px 4px 18px;}
 .mc-match-score b {font-size:26px;padding:0 4px;}
 .mc-players-modal .mc-player-table td,.mc-players-modal .mc-player-table th {padding:10px 8px;}
 .mc-players-modal .mc-player-table .mc-player-name {min-width:130px;max-width:180px;}
}

html body .mc-players-modal { z-index: 2147483630 !important; color: var(--mc-text); }
html body .mc-players-modal *, html body .mc-players-modal *::before, html body .mc-players-modal *::after { box-sizing: border-box; }
html body .mc-players-modal .modal-dialog { width: calc(100% - 40px); max-width: 1000px; margin: 7vh auto 28px; }
html body .mc-players-modal .modal-content { margin: 0; border: 1px solid var(--mc-line-strong) !important; border-radius: 18px; background: var(--mc-bg) !important; color: var(--mc-text) !important; box-shadow: 0 24px 64px #0007 !important; }
html body .mc-players-modal .modal-header { align-items: center; gap: 20px; padding: 22px 24px; background: transparent; border-bottom: 1px solid var(--mc-line); }
html body .mc-players-modal .modal-title { margin: 0; color: var(--mc-text); font-size: 22px; line-height: 1.35; font-weight: 800; }
html body .mc-players-modal .modal-header p { margin: 7px 0 0; color: var(--mc-muted); font-size: 13px; line-height: 1.5; }
html body .mc-players-modal .modal-header .close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-width: 40px; padding: 0; margin: 0; border: 1px solid var(--mc-line); border-radius: 11px; background: var(--mc-raised); color: var(--mc-text); opacity: 1; text-shadow: none; float: none; transition: background .2s ease, border-color .2s ease; }
html body .mc-players-modal .close svg { width: 18px; height: 18px; }
html body .mc-players-modal .modal-header .close:hover { background: var(--mc-hover); border-color: var(--mc-line-strong); }
html body .mc-players-modal .modal-body { min-width: 0; padding: 22px 24px; background: transparent; max-height: calc(86dvh - 120px); overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--mc-line-strong) var(--mc-bg-soft); }
html body .mc-players-modal .mc-players-basic-note { margin: 0 0 14px; color: var(--mc-muted); font-size: 13px; line-height: 1.5; }
html body .mc-players-modal .mc-player-table-scroll { border: 1px solid var(--mc-line); border-radius: 12px; background: var(--mc-bg-soft); scrollbar-color: var(--mc-line-strong) var(--mc-bg-soft); }
html body .mc-players-modal .mc-player-table { width: 100%; font-size: 14px; line-height: 1.5; }
html body .mc-players-modal .mc-player-table th { padding: 13px 16px; color: var(--mc-muted); background: var(--mc-raised); border-bottom: 1px solid var(--mc-line); font-size: 12px; font-weight: 700; }
html body .mc-players-modal .mc-player-table td { padding: 14px 16px; color: var(--mc-text); background: transparent; border-bottom: 1px solid var(--mc-line); font-size: 14px; }
html body .mc-players-modal .mc-player-table tbody tr:hover { background: var(--mc-raised); }
html body .mc-players-modal .mc-player-table th:first-child, html body .mc-players-modal .mc-player-table td:first-child { text-align: left; }
html body .mc-players-modal .mc-player-table .mc-player-name { font-weight: 700; }
html body .mc-players-modal .mc-player-name a { color: var(--mc-text); }
html body .mc-players-modal .mc-player-name a:hover, html body .mc-players-modal .mc-steam-link { color: var(--mc-accent); }
html body .mc-players-modal .mc-player-team { margin: 0 0 16px; border: 1px solid var(--mc-line); border-radius: 12px; background: var(--mc-bg-soft); }
html body .mc-players-modal .mc-player-team:last-child { margin-bottom: 0; }
html body .mc-players-modal .mc-player-team h5 { padding: 14px 16px; background: var(--mc-raised); font-size: 14px; }
html body .mc-players-modal .mc-player-team h5 span { background: var(--mc-bg-soft); color: var(--mc-text); }
html body .mc-players-modal .mc-player-team .mc-player-table-scroll { border: 0; border-radius: 0; }
html body .mc-players-modal .mc-player-badge { color: var(--mc-accent); background: var(--mc-selected); font-size: 11px; padding: 3px 7px; border-radius: 5px; }
html body .mc-players-modal :is(.mc-no-data,.mc-player-empty,.mc-player-loading) { min-height: 110px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0; padding: 24px; color: var(--mc-text); background: var(--mc-bg-soft); border: 0; border-radius: 10px; font-size: 14px; line-height: 1.6; font-weight: 500; }
html body .mc-players-modal .mc-player-loading button { margin: 0; padding: 9px 14px; border-radius: 9px; background: var(--mc-accent); color: var(--mc-on-accent); font: inherit; font-weight: 700; }
html body .mc-players-modal .mc-match-score { padding: 4px 0 22px; }
html body .mc-players-modal .mc-match-map { color: var(--mc-text); }
html body .mc-players-modal .mc-match-map small { color: var(--mc-muted); font-size: 13px; }
@media (max-width: 600px) {
 html body .mc-players-modal .modal-dialog { width: calc(100% - 24px); margin: 16px auto; }
 html body .mc-players-modal .modal-header { padding: 16px; gap: 12px; }
 html body .mc-players-modal .modal-title { font-size: 18px; }
 html body .mc-players-modal .modal-header p { font-size: 12px; }
 html body .mc-players-modal .modal-body { padding: 16px; max-height: calc(100dvh - 160px); }
 html body .mc-players-modal .mc-player-table :is(th,td) { padding: 12px 10px; }
 html body .mc-players-modal .mc-match-score { gap: 8px; }
}

html body .mc-players-modal .modal-content { max-height: 86dvh; }
html body .mc-players-modal .modal-header { flex-shrink: 0; }
html body .mc-players-modal .modal-header > div { flex: 1; min-width: 0; }
html body .mc-players-modal .modal-header .close { position: static !important; flex: 0 0 40px; }
html body .mc-players-modal .modal-title { font-size: 22px !important; color: var(--mc-text) !important; }
html body .mc-players-modal .modal-body { flex: 1 1 auto; min-height: 0; }
html body .mc-players-modal .mc-player-table th { color: var(--mc-muted) !important; }
html body .mc-players-modal .mc-player-name a { color: var(--mc-text) !important; }
html body .mc-players-modal .mc-player-name a:hover { color: var(--mc-accent) !important; }
@media (max-width: 600px) {
 html body .mc-players-modal .modal-content { max-height: calc(100dvh - 32px); }
 html body .mc-players-modal .modal-title { font-size: 18px !important; }
}
