:root[data-bs-theme="dark"] {
    --hub-border-color: #444;
}

body {
    padding-top: 70px;
}

.navbar-brand small {
    font-size: 0.7rem;
    opacity: 0.6;
}

.server-table th {
    white-space: nowrap;
    user-select: none;
}

.server-table th a {
    color: inherit;
    text-decoration: none;
}

.server-table th a:hover {
    color: var(--bs-link-color);
}

.hub-badge {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    margin-right: 4px;
    border: 1px solid var(--hub-border-color, #444);
    vertical-align: middle;
    cursor: default;
}

.inferred-sup {
    color: var(--bs-warning);
    font-weight: bold;
    text-decoration: none;
}
.inferred-sup:hover {
    color: var(--bs-warning);
    text-decoration: underline;
}

.filter-card .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.server-link-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
}

.launcher-card {
    height: 100%;
}

.launcher-card .card-body {
    display: flex;
    flex-direction: column;
}

.launcher-card .card-text {
    flex: 1;
}

@media (max-width: 768px) {
    .server-table {
        font-size: 0.875rem;
    }
    .hub-badge {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
    }
    .filter-card .row > div {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 600px) {
    .server-table th:nth-child(4),
    .server-table td:nth-child(4) {
        display: none;
    }
}

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 4px;
    color: var(--bs-secondary-color);
    text-decoration: none;
}

.favorite-btn.active {
    color: #ffc107;
}

.favorite-btn:hover {
    color: #ffc107;
}

.player-count {
    font-variant-numeric: tabular-nums;
}
