body {
    background-color: #1d1f21;
    color: #c5c8c6;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.container {
    flex-grow: 1;
    padding: 8px;
}

a {
    color: #81a2be;
    text-decoration: none;
}

a:hover {
    color: #cc6666;
}

hr {
    border: none;
    border-top: 1px solid #282a2e;
    height: 0;
}

.admin-bar {
    text-align: right;
    font-size: 10pt;
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.header-logo h1 {
    color: #cc6666;
    text-align: center;
    font-size: 24pt;
    letter-spacing: -2px;
    margin: 10px 0;
}

.board-header {
    text-align: center;
}

.board-title {
    color: #cc6666;
    font-size: 20pt;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.board-subtitle {
    font-size: 10pt;
    font-weight: bold;
    margin-bottom: 10px;
}

.post-form-container {
    text-align: center;
}

table.post-form {
    margin: 0 auto;
    text-align: left;
}

.post-label {
    background-color: #282a2e;
    color: #c5c8c6;
    font-weight: bold;
    padding: 2px 5px;
    border: 1px solid #373b41;
}

input[type="text"], input[type="password"], textarea {
    background-color: #282a2e;
    color: #c5c8c6;
    border: 1px solid #373b41;
    font-family: arial, helvetica, sans-serif;
}

textarea {
    width: 300px;
    height: 100px;
}

.thread {
    clear: both;
    margin-top: 10px;
}

.file-info {
    font-size: 8pt;
    margin: 2px 20px;
}

.thumb {
    float: left;
    margin: 2px 20px;
    border: none;
    max-width: 250px;
    max-height: 250px;
}

.post.op {
    display: block;
}

.reply-container {
    margin-top: 4px;
    margin-bottom: 8px;
    padding-left: 20px;
}

.post.reply {
    background-color: #282a2e;
    border: 1px solid #373b41;
    border-radius: 0;
    padding: 6px 10px;
    display: table;
}

.name {
    color: #b5bd68;
    font-weight: bold;
}

.name.admin {
    color: #cc6666;
}

.subject {
    color: #81a2be;
    font-weight: bold;
}

.datetime {
    margin: 0 4px;
}

.post-message {
    margin: 15px 20px 15px 30px;
    font-size: 10pt;
}

.box {
    border: 1px solid #373b41;
    margin-bottom: 20px;
    background-color: #282a2e;
}

.box-title {
    background-color: #373b41;
    padding: 2px 5px;
    font-weight: bold;
    border-bottom: 1px solid #282a2e;
}

.box-content {
    padding: 10px;
}

.error {
    color: #cc6666;
    font-weight: bold;
    font-size: 14pt;
    text-align: center;
}

.greentext {
    color: #789922;
}

.cnp-word {
    cursor: pointer;
    border-bottom: 1px dashed currentColor;
    transition: color 0.1s;
}
.cnp-word:hover {
    color: #cc6666;
}

.poster-id {
    background-color: #373b41;
    color: #c5c8c6;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.85em;
    font-family: monospace;
    margin-left: 4px;
    opacity: 0.8;
}
