:root {
    color-scheme: dark;
    font-family: Inter, system-ui, sans-serif;
    background: #101216;
    color: #f4f5f7;
}

body {
    margin: 0;
    padding: 32px 18px;
}

main {
    max-width: 1100px;
    margin: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 24px;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.06em;
}

p {
    color: #9ea5b1;
}

.meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    color: #aeb5c1;
    font-size: 0.9rem;
}

.pill {
    border: 1px solid #39404c;
    border-radius: 999px;
    padding: 6px 10px;
}

.ok {
    color: #d6ff43;
}

.stale {
    color: #ffb86b;
}

.card {
    overflow: auto;
    border: 1px solid #2c313a;
    border-radius: 18px;
    background: #171a20;
}

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

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #2c313a;
}

th {
    color: #858d99;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

tr:last-child td {
    border: 0;
}

.game {
    font-weight: 800;
}

.time {
    color: #858d99;
    font-size: 0.82rem;
    margin-top: 5px;
}

.price {
    display: block;
    white-space: nowrap;
    margin: 5px 0;
}

.line {
    color: #d6ff43;
    font-variant-numeric: tabular-nums;
}

.price.changed {
    padding: 5px 8px;
    margin-left: -8px;
    border-radius: 8px;
    background: rgba(214, 255, 67, 0.1);
    animation: changed 1.5s ease-out;
}

.previous {
    display: block;
    color: #ffb86b;
    font-size: 0.75rem;
    margin-top: 2px;
}

@keyframes changed {
    0% {
        box-shadow: 0 0 0 4px rgba(214, 255, 67, 0.22);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(214, 255, 67, 0);
    }
}

.empty {
    padding: 40px;
    text-align: center;
    color: #9ea5b1;
}
