body {
    font-family: serif;
    line-height: 150%;
}

main {
    width: min(70ch, 100% - 2rem);
    margin-inline: auto;
    margin-top: 24px;
    margin-bottom: 24px;
}

h1 {
    font-size: 1.25em;
}

.status-card {
    display: block;
    margin-bottom: 4px;
}

.time, .text {
    display: inline-block;
    vertical-align: top;
}

.time {
    width: 180px;
    white-space: nowrap;
}

.time a {
    color: inherit;
    text-decoration: none;
}

.text {
    width: calc(100% - 190px);
}

.text p {
    display: inline;
    margin: 0;
}

.text p img {
    max-width: 320px;
    max-height: 240px;
    display: block;
    margin-top: 4px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
}

input[type="password"], textarea, button {
    font-family: serif;
    box-sizing: border-box;
}

input[type="password"] {
    width: 100%;
    max-width: 250px;
    padding: 4px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 4px;
    resize: vertical;
}

button {
    padding: 4px 12px;
    cursor: pointer;
}

.nav a {
    color: inherit;
}

.form-group {
    margin-bottom: 4px;
}

.result-box {
    word-break: break-all;
}

.pagination {
    margin-top: 12px;
    display: block;
}

.pagination .page-link {
    color: inherit;
    margin-right: 8px;
    text-decoration: none;
}

.pagination .page-link.active {
    text-decoration: underline;
    pointer-events: none;
}

@media (max-width: 600px) {
    .time, .text {
        display: block;
        width: 100%;
    }

    .text p {
        display: block;
    }

    .text p img {
        width: 100%;
        max-width: 100%;
        max-height: none;
        height: auto;
        display: block;
        margin-top: 4px;
    }
}