:root {
    --bg: #080b08;
    --panel: #111711;
    --line: #253225;
    --text: #f2f7f2;
    --muted: #9da89d;
    --accent: #1ed760;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at top, #132013 0%, var(--bg) 40%);
    font-family: 'Montserrat', sans-serif;
}

.wrap {
    width: min(1400px, 96vw);
    margin: 28px auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

h1 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.02em;
}

.back-link {
    color: var(--accent);
    text-decoration: none;
    border: 1px solid #2f4030;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
}

.back-link:hover {
    background-color: #182318;
}

.meta {
    margin: 12px 0 16px;
    color: var(--muted);
}

.table-shell {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: auto;
    background: var(--panel);
    max-height: calc(100vh - 170px);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #1b261b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 10px;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    white-space: nowrap;
}

tbody tr:nth-child(even) {
    background: #0d130d;
}

.empty {
    color: #ffb5b5;
    border: 1px solid #5c2a2a;
    border-radius: 10px;
    padding: 10px 12px;
    display: inline-block;
}

@media (max-width: 900px) {
    h1 {
        font-size: 24px;
    }
}
