
:root {
    color-scheme: dark;

    --bg: #0b0b0c;
    --panel: #111113;
    --panel-2: #0e0e10;
    --line: #232327;

    --text: #e7e7e9;
    --muted: #85858d;
    --dim: #5f5f66;

    --accent: #ff0044;

    --radius: 6px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input {
    font: inherit;
}

.shell {
    width: min(
        1180px,
        calc(100% - 32px)
    );

    margin: 0 auto;

    padding:
        24px
        0
        48px;
}

.topbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding-bottom: 14px;

    border-bottom:
        1px
        solid
        var(--line);
}

.brand {
    display: flex;
    align-items: center;

    gap: 10px;
}

.brand-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0
        0
        14px
        rgba(255, 0, 68, .45);
}

.brand-name {
    font-size: 13px;
    font-weight: 700;

    letter-spacing: .08em;
}

.brand-sub {
    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;
}

.status {
    min-width: 74px;

    padding:
        6px
        8px;

    border:
        1px
        solid
        var(--line);

    border-radius: 4px;

    color: var(--muted);

    text-align: center;

    font-size: 11px;
}

.status.ok {
    border-color:
        rgba(255, 0, 68, .35);

    color:
        #ff4f7d;
}

.toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding:
        14px
        0;
}

.toolbar-left {
    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}

input,
button {
    height: 32px;

    border:
        1px
        solid
        #29292e;

    background:
        var(--panel-2);

    color:
        var(--text);

    border-radius:
        4px;

    outline:
        none;
}

input {
    padding:
        0
        10px;
}

button {
    padding:
        0
        12px;

    cursor:
        pointer;
}

input:focus,
button:hover {
    border-color:
        #3a3a40;
}

button:hover {
    color:
        #ffffff;
}

#adminKey {
    width: 150px;
}

.auto {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--muted);

    font-size: 11px;

    user-select: none;
}

.auto input {
    width: 13px;
    height: 13px;

    accent-color:
        var(--accent);
}

.toolbar-message {
    color: var(--dim);

    font-size: 11px;
}

.summary {
    display: flex;

    gap: 22px;

    padding:
        8px
        0
        18px;
}

.summary-item {
    display: flex;

    align-items: baseline;

    gap: 8px;
}

.summary-item span {
    color: var(--muted);

    font-size: 11px;
}

.summary-item strong {
    color: var(--accent);

    font-size: 14px;
}

.panel {
    overflow: hidden;

    border:
        1px
        solid
        var(--line);

    border-radius:
        var(--radius);

    background:
        var(--panel);
}

.panel-head {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding:
        14px
        14px;

    border-bottom:
        1px
        solid
        var(--line);
}

.panel-head h1 {
    margin: 0;

    font-size: 13px;
    font-weight: 600;
}

.panel-head p {
    margin:
        3px
        0
        0;

    color:
        var(--muted);

    font-size:
        10px;
}

#search {
    width:
        180px;
}

.table-wrap {
    overflow-x:
        auto;
}

table {
    width:
        100%;

    min-width:
        860px;

    border-collapse:
        collapse;
}

th,
td {
    padding:
        10px
        13px;

    border-bottom:
        1px
        solid
        #1d1d20;

    text-align:
        left;

    white-space:
        nowrap;

    font-size:
        11px;
}

th {
    background:
        #0f0f11;

    color:
        #73737b;

    font-weight:
        500;
}

tbody tr:last-child td {
    border-bottom:
        none;
}

tbody tr:hover td {
    background:
        #131316;
}

.user-main {
    color:
        var(--text);

    font-weight:
        500;
}

.user-sub {
    margin-top:
        3px;

    color:
        var(--dim);

    font-size:
        9px;
}

.game-main {
    color:
        #d0d0d4;
}

.muted {
    color:
        var(--muted);
}

.tag {
    display:
        inline-flex;

    align-items:
        center;

    height:
        20px;

    padding:
        0
        7px;

    border:
        1px
        solid
        rgba(255, 0, 68, .25);

    border-radius:
        4px;

    background:
        rgba(255, 0, 68, .06);

    color:
        #ff4f7d;

    font-size:
        9px;
}

.remove {
    height:
        26px;

    padding:
        0
        8px;

    color:
        var(--muted);

    font-size:
        10px;
}

.remove:hover {
    border-color:
        rgba(255, 0, 68, .35);

    color:
        #ff4f7d;
}

.empty {
    padding:
        34px
        12px;

    color:
        var(--dim);

    text-align:
        center;
}

@media (
    max-width: 700px
) {

    .shell {
        width:
            min(
                100% - 18px,
                1180px
            );
    }

    .toolbar,
    .panel-head {
        align-items:
            stretch;

        flex-direction:
            column;
    }

    .toolbar-message {
        min-height:
            14px;
    }

    #search {
        width:
            100%;
    }

    .summary {
        gap:
            14px;
    }

}
