.statistics-mode-nav,
.statistics-subnav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.statistics-mode-nav {
    border-bottom: 1px solid rgba(218, 174, 71, .24);
    margin: 0 0 16px;
    padding-bottom: 14px;
}

.statistics-subnav {
    margin: 0 0 18px;
}

.statistics-realm-picker {
    margin-left: auto;
}

.statistics-mode-nav .nav-link,
.statistics-subnav .nav-link,
#realm-changer {
    background: rgba(4, 18, 37, .78);
    border: 1px solid rgba(218, 174, 71, .28);
    color: rgba(242, 226, 182, .78);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    min-height: 38px;
    padding: 9px 14px;
    text-transform: uppercase;
}

.statistics-mode-nav .nav-link.active,
.statistics-mode-nav .nav-link:hover {
    background: linear-gradient(135deg, #9a6213, #e4b849);
    color: #07172b;
}

.statistics-subnav .nav-link.active,
.statistics-subnav .nav-link:hover {
    background: linear-gradient(135deg, #184f70, #40a7ca);
    color: #fff0bf;
}

.nice_table {
    border-collapse: collapse;
    width: 100%;
}

.nice_table th,
.nice_table td {
    border-bottom: 1px solid rgba(218, 174, 71, .16);
    padding: 12px 10px;
    text-align: left;
}

.nice_table tbody tr:nth-child(-n+3) {
    background: linear-gradient(90deg, rgba(218, 172, 63, .1), transparent);
}

.nice_table img {
    height: 20px;
    width: 20px;
}

.stat-value {
    color: #f1c75d;
    font-weight: 700;
    white-space: nowrap;
}

.statistics-empty {
    padding: 34px 14px !important;
    text-align: center !important;
}

@media (max-width: 720px) {
    .statistics-realm-picker {
        flex-basis: 100%;
        margin-left: 0;
    }

    #realm-changer {
        max-width: 100%;
        width: 100%;
    }

    .statistics-mode-content {
        overflow-x: auto;
    }

    .nice_table {
        min-width: 620px;
    }
}
