:root {
    color-scheme: dark;
    font-family: Menlo, Consolas, monospace;
    background: #302117 url("/dirt.svg") repeat;
    background-size: 96px;
    color: #f4f1e8;
}

body {
    box-sizing: border-box;
    min-height: 100vh;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 2rem 1rem;
}

main {
    box-sizing: border-box;
    width: min(100%, 33rem);
}

h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.75rem, 6vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.06em;
    text-align: center;
    text-shadow: 3px 3px #13100d;
}

.status, .edition {
    border: 2px solid #090807;
}

.status {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
    background: #181612;
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.8rem;
    box-shadow: inset 0 0 0 2px #35312a, 0 3px #120e0b;
}

p {
    margin: 0;
}

.state {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: bold;
    color: #ecd794;
}

.state::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    background: currentColor;
    flex: none;
}

.state.online {
    color: #a9e18f;
}

.state.offline {
    color: #f5a69b;
}

.editions {
    display: grid;
    gap: 0.7rem;
}

.edition {
    background: #35322e;
    box-shadow: inset 2px 2px #5e5952, inset -2px -2px #24211e, 0 3px #120e0b;
    padding: 0.9rem;
}

h2 {
    font-size: 1rem;
    margin: 0 0 0.55rem;
    text-shadow: 2px 2px #181512;
}

dl {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.25rem 0.8rem;
    margin: 0;
    font-size: 0.875rem;
}

dt {
    color: #c6bfb6;
}

dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.note {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: center;
}
