body {
    font-family: sans-serif;
    margin: 10px 25px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

header .title {
    display: flex;
    align-items: center;
    gap: 4px;
}

header .right {
    text-align: right;
}

header h1 {
    margin: 0;
}

header .muted {
    color: #666;
    font-weight: normal;
}

footer {
    margin-top: 20px;
    color: #555;
    font-size: 12px;
}

main {
    display: grid;
    gap: 5px;
    grid-template-columns: 5fr 1fr;
}

.new-buttons {
    display: flex;
    gap: 5px;
}

.new-button {
    padding: 10px;
}

#nm-list {

}

#nm-list section {
    margin-bottom: 5px;
    display: grid;
    grid-template-columns: .05fr 1fr 1fr .3fr;
    align-items: center;
    padding-left: 10px;
    background-color: #3D9970;
    color: white;
    transition: .1s linear background-color;
}

#nm-list section:hover,
#nm-list section.missing_reqs:hover {
    background-color: rgba(61, 153, 112, 0.9);
}

#nm-list section.missing_reqs {
    background-color: #3D9970D2;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(61, 153, 112, 0.47),
        rgba(61, 153, 112, 0.47) 10px,
        #3D9970 10px,
        #3D9970 20px
    );
}

#nm-list section.popped {
    background-color: #b5443a;
    color: #63f0fd;
}

#nm-list section.popped:hover {
    background-color: rgba(181, 68, 58, 0.9);
}

#nm-list section div.button {
    height: 100%;
}

img {
    vertical-align: middle;
}

h3.nm-info {
    margin: 0;
    display: inline-block;
}

.spawn-info {
    display: inline-block;
    font-size: 14px;
    opacity: .6;
}

.badge {
    font-size: 12px;
    font-weight: bold;
    border: 1px solid white;
    vertical-align: middle;
    padding: 1px 6px;
    border-radius: 10px;
    font-family: monospace;
}

small.badge {
    font-size: 10px;
}

.popped .badge {
    border-color: #63f0fd;
}

.action button {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background-color: #005ba4;
    color: #daffbe;
    font-size: 18px;
    text-transform: uppercase;
}

button.reset {
    background-color: tomato;
}

button.action:hover {
    cursor: pointer;
}

.needs_pwd {
    display: none !important;
}

.needs_pwd.shown {
    display: block !important;
}

.action.shown {
    height: 100%;
}

section .meta {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.progress-container {
    width: 50%;
    display: inline-block;
    background-color: tomato;
    height: 10px;
    position: relative;
}

.progress-bar {
    background-color: #63f0fd;
    height: 10px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}

span#password {
    font-family: monospace;
    background-color: black;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 1px 4px;
}

.hidden {
    display: none;
}

.copyable {
    color: blue;
    text-decoration: underline;
}

.copyable:hover {
    cursor: pointer;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
}

.time {
    font-size: 20px;
    font-weight: bold;
}

.weather-list {
    display: flex;
    align-items: center;
    gap: 3px;
}

.weather {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #555;
}

.fairies .map {
    position: relative;
}

.fairies .fairy-dot {
    position: absolute;
    vertical-align: top;
    margin-top: -9px;
    margin-left: -3px;
}

.fairy-marker {
    font-weight: bold;
    font-size: 12px;
}

.fairy-a {
    color: #cf0e43;
}

.fairy-b {
    color: gold;
}

.fairy-c {
    color: aqua;
}

.fairy-list {
    margin-top: 5px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
}

.fairy-list > div {
    display: flex;
    justify-content: space-between;
}

.fairy-list .note {
    font-weight: normal;
    color: #555;
    font-size: 14px;
}

.fairy-dot.unclaimed:hover {
    cursor: pointer;
}

.despawn-note {
    color: tomato;
    font-size: 10px;
    font-weight: normal;
    margin-bottom: 5px;
}

summary {
    font-size: 12px;
}

summary:hover {
    cursor: pointer;
}