:root {
    --background: #1b1d18;
    --background-light: #252820;

    --panel: #2b2f26;
    --panel-dark: #20231d;

    --border: #4b5341;
    --border-light: #68745a;

    --text: #d7dacd;
    --muted: #929989;

    --green: #a7bd73;
    --green-bright: #c7dd8c;

    --link: #9db9c7;
    --link-hover: #d3e8f2;
}


* {
    box-sizing: border-box;
}


html {
    background: var(--background);
}


body {
    margin: 0;

    background:
        linear-gradient(
            to bottom,
            #262a21 0,
            #1b1d18 360px
        );

    color: var(--text);

    font-family:
        Verdana,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;
}


a {
    color: var(--link);
    text-decoration: none;
}


a:hover {
    color: var(--link-hover);
}


.page {
    width: min(1180px, calc(100% - 30px));

    margin: 0 auto;
}


/* HEADER */

.site-header {
    min-height: 92px;

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

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


.logo {
    color: var(--green-bright);

    font-size: 27px;
    font-weight: bold;

    letter-spacing: 5px;
}


.subtitle {
    margin-top: 6px;

    color: var(--muted);

    font-size: 11px;
}


nav {
    display: flex;
    gap: 25px;

    font-size: 11px;
    font-weight: bold;
}


/* SERVER */

.server-panel {
    padding: 58px 35px 62px;

    text-align: center;

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


.eyebrow {
    margin-bottom: 8px;

    color: var(--green);

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 2px;
}


.server-panel h1 {
    margin: 8px 0 12px;

    color: #eef0e8;

    font-size: clamp(20px, 3vw, 30px);

    font-weight: normal;
}


.server-description {
    max-width: 640px;

    margin: 0 auto;

    color: var(--muted);

    line-height: 1.7;
}


.server-address {
    margin: 30px auto 22px;

    color: var(--green-bright);

    font-family:
        "Courier New",
        monospace;

    font-size: clamp(20px, 4vw, 30px);

    font-weight: bold;

    letter-spacing: 1px;
}


.server-actions {
    display: flex;
    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;
}


.button {
    display: inline-block;

    padding: 10px 18px;

    border:
        1px solid #82955d;

    background:
        linear-gradient(
            #667847,
            #4b5b35
        );

    color: #f0f4e5;

    font-family: inherit;

    font-size: 11px;
    font-weight: bold;

    cursor: pointer;
}


.button:hover {
    background:
        linear-gradient(
            #758a50,
            #586a3d
        );

    color: white;
}


.button.secondary {
    border-color: #59645a;

    background:
        linear-gradient(
            #42483e,
            #343a32
        );
}


#copy-message {
    height: 18px;

    margin-top: 12px;

    color: var(--green);

    font-size: 11px;
}


/* PANELS */

.panel {
    margin: 24px 0;

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

    background: var(--panel);
}


.panel-heading {
    min-height: 76px;

    padding: 17px 20px;

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

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

    background:
        var(--panel-dark);
}


.panel-heading h2 {
    margin: 0;

    color: #e4e7dc;

    font-size: 18px;
    font-weight: normal;
}


.stat {
    color: var(--green-bright);

    font-size: 20px;

    text-align: right;
}


.stat span {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1px;
}


/* TABLES */

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


table {
    width: 100%;

    border-collapse: collapse;
}


th {
    padding: 11px 14px;

    background: #30352a;

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

    color: #9fa891;

    font-size: 9px;
    font-weight: bold;

    letter-spacing: 1px;

    text-align: left;
}


td {
    padding: 12px 14px;

    border-bottom:
        1px solid #3a3f34;

    color: #c8ccbf;
}


tbody tr:hover {
    background: #33382d;
}


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


.player {
    color: var(--green-bright);

    font-weight: bold;
}


.runtime {
    color: #e7eadf;

    font-family:
        "Courier New",
        monospace;

    font-weight: bold;
}


.rank {
    width: 50px;

    color: var(--muted);
}


.number {
    font-family:
        "Courier New",
        monospace;

    font-weight: bold;
}


.empty {
    padding: 30px;

    color: var(--muted);

    text-align: center;
}


/* PAGINATION */

.pagination {
    padding: 14px 18px;

    display: flex;
    justify-content: space-between;

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

    background: var(--panel-dark);

    color: var(--muted);

    font-size: 10px;
}


.disabled {
    opacity: .35;
}


/* MAP SELECTOR */

.map-selector {
    padding: 18px 20px;

    display: flex;
    align-items: center;

    gap: 15px;

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


.map-selector label {
    color: var(--muted);

    font-size: 9px;
    font-weight: bold;

    letter-spacing: 1px;
}


.map-selector select {
    width: min(500px, 100%);

    padding: 9px 10px;

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

    background: #191c17;

    color: var(--text);

    font-family: inherit;
}


.selected-map {
    padding: 14px 20px;

    display: flex;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;

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

    background: #262a22;

    color: var(--muted);

    font-size: 11px;
}


.selected-map strong {
    color: var(--green-bright);

    font-size: 14px;
}


/* FOOTER */

footer {
    padding: 35px 10px 55px;

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

    color: #737a6b;

    font-size: 10px;

    text-align: center;

    letter-spacing: 1px;
}


/* MOBILE */

@media (max-width: 650px) {

    .site-header {
        padding: 18px 0;

        align-items: flex-start;
    }

    .subtitle {
        display: none;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        gap: 12px;
    }

    .server-panel {
        padding:
            40px 15px;
    }

    .panel-heading {
        align-items: flex-start;
    }

    .stat {
        font-size: 15px;
    }

    .map-selector {
        align-items: stretch;
        flex-direction: column;
    }

}

/* TEXT CONTENT PANELS */

.content-panel {
    margin: 24px 0;

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

    background: var(--panel);
}


.content-heading {
    padding: 17px 20px;

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

    background: var(--panel-dark);
}


.content-heading h2 {
    margin: 0;

    color: #e4e7dc;

    font-size: 18px;
    font-weight: normal;
}


.content-body {
    padding: 20px 24px;

    color: #c8ccbf;

    line-height: 1.7;
}


.content-body p {
    margin: 0 0 16px;
}


.content-body p:last-child {
    margin-bottom: 0;
}


.content-body h3 {
    margin: 24px 0 8px;

    color: var(--green-bright);

    font-size: 14px;
    font-weight: normal;
}


.content-body strong {
    color: #e4e7dc;
}


.content-body ul {
    margin: 12px 0 16px;
    padding-left: 25px;
}


.content-body li {
    margin: 6px 0;
}