body {
    margin: 0;
    padding: 0 16px;
    background-color: black;
    color: white;
    font-family: "Times New Roman", serif;
    transition: filter 1s ease;
}

body.sleeping {
    filter: grayscale(100%) brightness(20%);
}

#city {
    font-size: clamp(40px, 12vw, 100px);
    text-align: center;
    margin: 0.4em 0 0;
    overflow-wrap: anywhere;
}

#since {
    font-size: 20px;
    text-align: center;
    min-height: 1.2em;
}

#map-frame {
    position: relative;
    width: min(800px, 100%);
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    display: none;
}

#map-frame.visible {
    display: block;
}

#map {
    position: absolute;
    inset: -5px;
}

/* Fades the map edges into the black background. */
#map-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 2px 2px 50px 50px black;
}

#stats {
    width: 100%;
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    display: block;
    max-height: 150px;
    overflow-y: auto;
}

#stats th {
    text-align: left;
    padding-right: 1em;
}

#stats tr.me {
    color: yellow;
}
