body {
    background: transparent;
}

.board-section {
    margin-top: 12px;
}

.board-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
    margin: 0 0 14px;
    width: 100%;
    box-sizing: border-box;
}

.board-card-list {
    padding-top: 12px;
}

.board-form {
    padding: 0;
}

.board-form-row {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 8px;
    align-items: center;
}

.board-input {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 8px 10px;
    font-size: 13px;
    width: 100%;
}

.board-select {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    max-width: 190px;
    background-color: #ffffff;
    flex: 0 0 160px;
}

.category-cheer {
    background-color: #ff7a7a;
    color: #ffffff;
    border-color: rgba(255, 122, 122, 0.7);
}

.category-suggest {
    background-color: #4fa3ff;
    color: #ffffff;
    border-color: rgba(79, 163, 255, 0.7);
}

.category-request {
    background-color: #ffa24b;
    color: #ffffff;
    border-color: rgba(255, 162, 75, 0.7);
}

.category-chat {
    background-color: #7b77ff;
    color: #ffffff;
    border-color: rgba(123, 119, 255, 0.7);
}

.category-etc {
    background-color: #9e9e9e;
    color: #ffffff;
    border-color: rgba(158, 158, 158, 0.7);
}

.category-private {
    background-color: #111111;
    color: #ffffff;
    border-color: rgba(17, 17, 17, 0.7);
}

.board-form-row.compact .board-input {
    max-width: 250px;
}

.board-input-short {
    max-width: 140px;
    flex: 0 0 140px;
}

.board-content-input {
    max-width: none;
    flex: 1 1 auto;
}

.board-submit {
    border: none;
    border-radius: 8px;
    background: #0098b2;
    color: #ffffff;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 13px;
    flex: 0 0 60px;
    margin-left: auto;
}

.board-help {
    margin-top: 6px;
    font-size: 12px;
    color: #6b6b6b;
}

.board-help.error {
    color: #e24b4b;
}

.board-notice {
    margin-top: 8px;
    font-size: 12px;
    color: #7b8fa6;
}

.board-notice-header {
    margin-top: 2px;
}

.board-list {
    margin-top: 0;
}

.board-list-meta {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
}

.board-empty {
    padding: 12px 0;
    color: #666666;
}

.board-row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.board-row-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #202020;
    font-size: 13px;
}

.board-row-line {
    flex-wrap: nowrap;
}

.board-content-inline {
    margin-top: 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    align-self: center;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.board-like-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ff5c5c;
    font-size: 12px;
    white-space: nowrap;
    border: none;
    background: transparent;
    padding: 0;
}

.board-action-icon {
    border: none;
    background: transparent;
    color: #7b8fa6;
    font-size: 12px;
    padding: 2px 6px;
    cursor: pointer;
}

.board-seq {
    color: #ff5c5c;
}

.board-category {
    color: #2b2b2b;
}

.board-nickname {
    color: #6b6b6b;
    font-weight: 500;
    line-height: 1.2;
}

.board-content {
    margin-top: 6px;
    white-space: pre-wrap;
    color: #222222;
    font-size: 14px;
}

.board-private {
    color: #8a8a8a;
    font-style: italic;
}

.board-row-meta {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #7b8fa6;
}

.board-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1;
}

.pill-cheer { background: #ff7a7a; }
.pill-suggest { background: #4fa3ff; }
.pill-request { background: #ffa24b; }
.pill-chat { background: #7b77ff; }
.pill-etc { background: #9e9e9e; }
.pill-private { background: #111111; }

.board-row-panel {
    display: none;
    padding: 8px 0 4px;
}

.board-row-panel.open {
    display: block;
}

.board-like {
    border: none;
    background: transparent;
    color: #ff5c5c;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
}

.board-action-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.board-delete-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.board-unlock-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.board-delete-input {
    max-width: 140px;
}

.board-delete {
    border: none;
    border-radius: 8px;
    background: #efefef;
    padding: 6px 10px;
    font-weight: 600;
    font-size: 12px;
}

.board-date {
    color: #9a9a9a;
    font-size: 12px;
}

.board-comments {
    margin-top: 16px;
    border-top: none;
    padding-top: 12px;
}

.comment-item {
    padding: 0;
}

.comment-reply {
    padding-left: 16px;
    border-left: 2px solid rgba(0, 0, 0, 0.08);
    margin-left: 6px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6b6b6b;
}

.comment-content {
    margin-top: 0;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.25;
}

.comment-main .comment-content {
    margin-top: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
}

.comment-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.board-meta-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.comment-content-inline {
    margin-top: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
}

.comment-reply-toggle {
    border: none;
    background: transparent;
    color: #7b8fa6;
    font-size: 12px;
    padding: 2px 6px;
    cursor: pointer;
}

.comment-form,
.comment-reply-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.comment-input {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 6px 10px;
    font-size: 13px;
    flex: 1 1 140px;
}

.comment-password-input {
    max-width: 140px;
}

.comment-delete-form {
    display: none;
    gap: 8px;
    margin-top: 6px;
}

.comment-delete-form.open {
    display: flex;
}

.comment-action-icon {
    border: none;
    background: transparent;
    color: #7b8fa6;
    font-size: 12px;
    padding: 2px 6px;
    cursor: pointer;
}

.comment-content-input {
    flex: 2 1 220px;
}

.comment-submit {
    border: none;
    border-radius: 10px;
    background: #1f1f1f;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .board-form-row {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .board-form-row.compact.board-form-row-single {
        flex-wrap: wrap;
    }
    .board-field-category {
        flex: 0 0 100px;
        max-width: 100px;
        order: 1;
    }
    .board-field-nickname {
        flex: 0 0 95px;
        max-width: 95px;
        order: 2;
    }
    .board-field-password {
        flex: 0 0 80px;
        max-width: 80px;
        order: 3;
    }
    .board-field-content {
        flex: 1 1 auto;
        max-width: calc(100% - 60px);
        order: 4;
    }
    .board-field-submit {
        flex: 0 0 60px;
        margin-left: auto;
        order: 5;
    }
    .board-actions {
        align-items: flex-start;
    }
    .board-action-right {
        width: 100%;
        justify-content: space-between;
    }
    .board-row-line {
        flex-wrap: nowrap;
    }
    .board-content-inline {
        white-space: nowrap;
        flex-basis: auto;
    }
    .comment-content-inline {
        white-space: pre-wrap;
    }
}
