body {
    margin: 0px;
    background-color: black;
    color: white;
    font-family: monospace;
}

body > * {
    padding: 10px;
}

header {
    position: sticky;
    top: 0px;
    margin: 0px;
    padding: 5px 0px 5px 15px;
    background-color: #470909d0;
    backdrop-filter: blur(3px);
}

footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background-color: black;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

footer > * {
    background-color: black;
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
    margin: 0px 2px 0px 2px;
    box-sizing: border-box;
    font-family: monospace;
    font-size: larger;
}

button[disabled] {
    color: grey;
}

#statusMessage {
    right: 10px;
    bottom: 50px;
    position: fixed;
}

#actionBox {
    width: 100%;
}

footer > button {
    width: fit-content;
}
footer > button:hover {
    background-color: darkred;
}

.event {
    font-size: larger;
    margin: 5px;
}
.event.join, .event.leave, .event.notice {
    color: yellow;
}
.event.join::before {
    content: "[+] ";
    color: green;
}
.event.join::after {
    content: " joined the game";
}
.event.leave::before {
    content: "[-] ";
    color: red;
}
.event.leave::after {
    content: " left the game";
}
.event.notice::before {
    content: "[i] ";
    color: cyan;
}
.event.action::before {
    content: "❱ ";
    font-weight: bolder;
}
.event.command {
    font-size: normal;
    color: lightgrey;
}
.event.command::before {
    content: "❱ /";
}
