body {
    font-family: arial,helvetica,sans-serif;
    background: #EEF2FF;
    margin: 0;
    padding: 8px;
}

.header {
    background: #D6DAF0;
    padding: 8px;
    border: 1px solid #B7C5D9;
    margin-bottom: 8px;
}

.header h1 {
    color: #AF0A0F;
    font-size: 24px;
    margin: 0;
    margin-bottom: 8px;
    text-align: center;
}

.boards-nav {
    font-size: 13px;
}

.boards-nav a {
    color: #34345C;
    text-decoration: none;
}

.boards-nav a:hover {
    color: #ff0000;
}

.content {
    background: #fff;
    border: 1px solid #B7C5D9;
    padding: 8px;
}

.welcome-section h2 {
    color: #AF0A0F;
    font-size: 20px;
    margin-top: 0;
}

.board-list {
    margin-top: 16px;
}

.board {
    margin-bottom: 8px;
}

.board a {
    color: #34345C;
    text-decoration: none;
    font-weight: bold;
}

.board a:hover {
    color: #ff0000;
}

.description {
    color: #707070;
    font-size: 13px;
    margin-left: 8px;
}

.thread {
    background: #F0E0D6;
    border: 1px solid #D9BFB7;
    padding: 8px;
    margin-bottom: 8px;
}

.post {
    margin-bottom: 8px;
}

.post-info {
    color: #117743;
    font-size: 13px;
}

.post-image {
    float: left;
    margin-right: 16px;
    margin-bottom: 8px;
    max-width: 250px;
}

.post-content {
    margin-left: 266px;
}

.clear {
    clear: both;
}

.post-form {
    background: #F0E0D6;
    border: 1px solid #D9BFB7;
    padding: 8px;
    margin-bottom: 16px;
}

.post-form input[type="text"],
.post-form textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 4px;
}

.post-form button {
    background: #D6DAF0;
    border: 1px solid #B7C5D9;
    padding: 4px 8px;
    cursor: pointer;
}

.post-form button:hover {
    background: #B7C5D9;
}

footer {
    text-align: center;
    font-size: 12px;
    color: #707070;
    margin-top: 16px;
}

.replies {
    margin-left: 40px;
}

.greentext {
    color: #789922;
}

.post-number {
    color: #000;
    text-decoration: none;
}

.post-number:hover {
    color: #ff0000;
}

.site-logo {
    max-width: 200px;
    display: block;
    margin: 0 auto 10px;
}

.home-button {
    color: #34345C;
    text-decoration: none;
    margin-right: 10px;
}

.home-button:hover {
    color: #ff0000;
}

.rules-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.rules-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close-rules {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-rules:hover {
    color: black;
}

.rules-content ul {
    list-style-type: none;
    padding: 0;
}

.rules-content li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #F0E0D6;
    border: 1px solid #D9BFB7;
}

.site-buttons {
    text-align: center;
    margin-top: 10px;
}

.site-buttons button {
    margin: 0 10px;
    background: #D6DAF0;
    border: 1px solid #B7C5D9;
    padding: 4px 8px;
    cursor: pointer;
}

.site-buttons button:hover {
    background: #B7C5D9;
}

.unapproved-tag {
    background-color: #ff9999;
    color: white;
    padding: 2px 4px;
    margin-left: 10px;
    font-size: 10px;
}

.unapproved-post {
    border: 1px solid #D9BFB7;
    background-color: #F0E0D6;
    padding: 10px;
    margin-bottom: 10px;
}

.unapproved-image {
    max-width: 300px;
    margin: 10px 0;
}

.unapproved-post button {
    margin-right: 10px;
    background: #D6DAF0;
    border: 1px solid #B7C5D9;
    padding: 4px 8px;
    cursor: pointer;
}

.unapproved-post button:hover {
    background: #B7C5D9;
}

.pinned-thread {
    background: #FFF5E6 !important;
    border: 1px solid #FFD700 !important;
}

.pinned-indicator {
    color: #FF6600;
    font-weight: bold;
    margin-bottom: 8px;
}