.table-responsive::-webkit-scrollbar {
    height: 8px;
    width: 8px
}

.table-responsive::-webkit-scrollbar-track {
    background: #0c1a1a;
    border-radius: 10px
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #0f8;
    border-radius: 10px;
    box-shadow: 0 0 10px #0f8
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #0fa
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.status-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 10px
}

.status-value.online {
    color: #00ff55 !important
}

.status-value.maintenance {
    color: #ff0000 !important
}

.online-table {
    width: 100%;
    border: 1px solid #45F882;
    border-collapse: collapse;
    color: #fff
}

.online-table th,
.online-table td {
    padding: 6px;
    border: 1px solid #45F882
}

.online-table th {
    color: #fff;
    text-align: center
}

.online-table td.text-left {
    padding-left: 8px
}

.campus-sg b {
    color: brown
}

.campus-mp b {
    color: #40f
}

.campus-ph b {
    color: #8b8200
}

.clean-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0
}

.clean-table td,
.clean-table th {
    padding: 6px
}

.text-center {
    text-align: center
}

.btn-group {
    display: inline-flex;
    gap: 10px
}

.btn-neon {
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    color: #eaffea;
    background: rgb(0 0 0 / .6);
    border: 1px solid #fff0;
    letter-spacing: .5px;
    box-shadow: 0 0 6px rgb(0 255 128 / .4), inset 0 0 6px rgb(0 255 128 / .2);
    transition: all 0.25s ease;
    user-select: none
}

.btn-upcoming {
    border-color: #2cff8f;
    box-shadow: 0 0 6px rgb(44 255 143 / .6), 0 0 14px rgb(44 255 143 / .4), inset 0 0 6px rgb(44 255 143 / .2)
}

.btn-counter {
    border-color: #ffd24c;
    color: #fff6d5;
    box-shadow: 0 0 6px rgb(255 210 76 / .6), 0 0 14px rgb(255 210 76 / .4), inset 0 0 6px rgb(255 210 76 / .2)
}

.btn-neon:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgb(0 255 170 / .8), 0 0 22px rgb(0 255 170 / .6)
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 6px rgb(44 255 143 / .4)
    }
    50% {
        box-shadow: 0 0 14px rgb(44 255 143 / .8)
    }
    100% {
        box-shadow: 0 0 6px rgb(44 255 143 / .4)
    }
}

.btn-upcoming {
    animation: pulse 2s infinite
}

.character-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.character-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.character-card {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgb(10 15 18 / .65);
    border: 2px solid #fff0;
    background-image: linear-gradient(rgb(10 15 18 / .96), rgb(10 15 18 / .96)), linear-gradient(135deg, #1effa3 0%, #5cff8a 55%, #e6ff6a 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform .2s ease, box-shadow .2s ease
}

.character-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgb(30 255 163 / .18)
}

.character-card.active {
    background-image: linear-gradient(rgb(14 20 24 / .96), rgb(14 20 24 / .96)), linear-gradient(135deg, #00ff99, #6dff6d);
    box-shadow: 0 4px 18px rgb(0 255 153 / .25)
}

.char-avatar {
    width: 72px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #050708;
    border: 1px solid rgb(255 255 255 / .08)
}

.char-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.char-log {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    background: #050708;
    border: 1px solid rgb(255 255 255 / .08)
}

.char-log img {
    width: 50px;
    height: 50px;
    object-fit: cover
}

.char-info {
    flex: 1;
    color: #cfd8dc
}

.char-info h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #b7ff5a
}

.char-info p {
    margin: 2px 0;
    font-size: 13px;
    color: #bfc7cc
}

.char-info span {
    color: #fff
}

.char-info small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #7f8c8d
}

.text-default {
    color: #ff774f !important
}

.text-primary {
    color: #2b6ad9 !important
}

.text-success {
    color: #2bd964 !important
}

.text-info {
    color: #2bd7d9 !important
}

.text-warning {
    color: #eb8324 !important
}

.text-danger {
    color: #d92b4c !important
}

.text-mute {
    color: rgb(60 7 50 / .65) !important
}

.label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: unset;
    max-width: fit-content;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    border: 1px solid;
    background: rgb(0 0 0 / .35);
    white-space: nowrap
}

.label-primary {
    color: #0f9;
    border-color: rgb(0 255 153 / .4);
    box-shadow: 0 0 10px rgb(0 255 153 / .25)
}

.label-info {
    color: #3ab0ff;
    border-color: rgb(58 176 255 / .45);
    box-shadow: 0 0 10px rgb(58 176 255 / .25)
}

.label-warning {
    color: #ffc107;
    border-color: rgb(255 193 7 / .45);
    box-shadow: 0 0 10px rgb(255 193 7 / .25)
}

.label-danger {
    color: #ff4d4f;
    border-color: rgb(255 77 79 / .5);
    box-shadow: 0 0 10px rgb(255 77 79 / .3)
}

.label-purple {
    color: #9C27B0;
    border-color: rgb(156 39 176 / 52%);
    box-shadow: 0 0 10px rgb(156 39 176 / 35%)
}

.ranking-table-wrapper {
    background: #fff0
}

.rank-table {
    width: 100%;
    background: #0b0e13 !important;
    color: #fff !important;
    border-radius: 14px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border-color: transparent !important
}

.rank-table thead th {
    background: #ff0101ad !important;
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
    padding: 15px 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important
}

.rank-table tbody tr {
    background: linear-gradient(180deg, #141922, #0f131a) !important;
    transition: all 0.3s ease
}

.rank-table tbody tr:nth-child(even) {
    background: linear-gradient(180deg, #141922, #0f131a) !important
}

.rank-table tbody tr:hover {
    background: linear-gradient(180deg, #10251b, #0b1b14);
    box-shadow: inset 0 0 25px rgb(0 255 132 / .18)
}

.rank-table td {
    text-align: center;
    vertical-align: middle;
    padding: 14px 10px;
    color: #e6e6e6 !important;
    border-bottom: 1px solid rgb(255 255 255 / .06) !important;
    border-color: transparent !important
}

.icon-xs {
    width: 14px
}

.icon-sm {
    width: 22px
}

.icon-md {
    width: 38px
}

.rank-table td[data-label="Rank"] {
    font-weight: 800;
    color: #00ff84 !important
}

@media (max-width:991px) {
    .rank-table thead {
        display: none
    }
    .rank-table,
    .rank-table tbody,
    .rank-table tr,
    .rank-table td {
        display: block;
        width: 100%
    }
    .rank-table tr {
        background: linear-gradient(180deg, #11161c, #0c1016);
        border-radius: 16px;
        margin-bottom: 18px;
        padding: 14px 16px;
        box-shadow: 0 12px 28px rgb(0 0 0 / .45)
    }
    .rank-table td {
        text-align: right;
        padding: 10px 0;
        border: none !important;
        position: relative;
        font-size: 14px
    }
    .rank-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        color: #9aa0a6
    }
    .rank-table td[data-label="Rank"] {
        text-align: center;
        font-size: 22px;
        padding-bottom: 12px
    }
    .rank-table td[data-label="Rank"]::before {
        display: none
    }
}

.rank-table>:not(caption)>*>* {
    background-color: transparent !important
}

.rank-table tbody tr {
    background: linear-gradient(180deg, #12161d, #0c1016)
}

.rank-table tbody tr:nth-child(even) {
    background: linear-gradient(180deg, #141922, #0f131a)
}

.rank-pagination {
    width: 100%;
    margin-top: 20px
}

.rank-pagination nav {
    display: flex !important;
    justify-content: center
}

.rank-pagination ul.pagination {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px
}

@media (max-width:991px) {
    .ranking-table-wrapper {
        overflow: visible !important
    }
}

@media (max-width:768px) {
    .rank-pagination,
    .rank-pagination nav,
    .rank-pagination .pagination {
        display: flex !important;
        justify-content: center
    }
}

.hex-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 50px;
    flex-wrap: wrap;
    margin-bottom: 120px
}

.hex-btn {
    position: relative;
    width: 56px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: #0b0e13;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)
}

.hex-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: #fff0;
    clip-path: inherit;
    border: 2px solid #fff
}

.hex-btn span {
    position: relative;
    z-index: 2
}

.hex-btn:hover::before {
    border-color: #45F882
}

.hex-btn:hover {
    color: #45F882;
    box-shadow: 0 0 14px rgb(69 248 130 / .55)
}

.hex-btn.active {
    background: linear-gradient(180deg, #45F882, #1fbf6a);
    color: #000;
    box-shadow: 0 0 18px rgb(69 248 130 / .8);
    pointer-events: none
}

.hex-btn.active::before {
    border-color: #45F882
}

.hex-dots {
    font-size: 20px;
    color: #fff;
    padding: 0 6px
}

@media (max-width:768px) {
    .hex-btn {
        width: 46px;
        height: 40px;
        font-size: 13px
    }
}

.rank-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 60px;
    margin-bottom: 120px
}

.pg-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1a202b, #0e1218);
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 10px;
    color: #cfd3da;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s ease
}

.pg-btn:hover {
    background: linear-gradient(180deg, #10251b, #0b1b14);
    color: #45F882;
    box-shadow: 0 0 12px rgb(69 248 130 / .35)
}

.pg-btn.active {
    background: linear-gradient(180deg, #45F882, #1fbf6a);
    color: #000;
    pointer-events: none;
    box-shadow: 0 0 15px rgb(69 248 130 / .6)
}

.pg-dots {
    color: #888;
    padding: 0 6px;
    font-weight: 700
}

@media (max-width:768px) {
    .pg-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px
    }
}

select.form-control {
    background-color: #0f172a !important;
    color: #e5e7eb !important;
    border: 1px solid #22c55e;
    border-radius: 10px;
    padding: 10px 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none
}

select.form-control option {
    background-color: #0f172a;
    color: #e5e7eb
}

select.form-control option:checked {
    background-color: #22c55e !important;
    color: #000 !important
}

select.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(34 197 94 / .4)
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e5e7eb' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px
}

.custom-file-upload {
    width: 100%;
    padding: 14px 18px;
    background: #0b1320;
    border: 1px solid #0f9;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: block
}

.custom-file-upload:hover {
    background: #0f1b30
}

.custom-file-upload input[type="file"] {
    display: none
}

#file-label {
    opacity: .8
}

.swal-dark-input {
    background: #1e1e1e !important;
    color: #ffffff !important;
    border: 1px solid #00ff88 !important;
    border-radius: 8px !important;
    text-align: center;
    font-size: 18px;
    font-weight: 700
}

.swal-dark-input:focus {
    background: #1e1e1e !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 2px rgb(0 255 136 / .4) !important;
    outline: none !important
}

.swal-dark-input::placeholder {
    color: #888
}

.custom-file-upload {
    display: block;
    padding: 14px;
    border: 1px solid #00ff99;
    border-radius: 8px;
    background: #0b1220;
    color: #fff;
    cursor: pointer;
}

.custom-file-upload:hover {
    border-color: #00ffaa;
}

.custom-file-upload input[type="file"] {
    display: none;
}

.news-content * {
    color: #ffffff !important;
}