* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: #222; background: #fff; font-size: 14px; }
a { color: inherit; text-decoration: none; }
.inner { max-width: 960px; margin: 0 auto; padding: 0 16px; }

.site-head { background: #3b4890; color: #fff; }
.site-head .inner { display: flex; align-items: baseline; gap: 12px; padding: 14px 16px; }
.logo { font-size: 22px; font-weight: 800; }
.tagline { font-size: 12px; opacity: .8; }

.site-foot { border-top: 1px solid #e5e5e5; margin-top: 48px; color: #888; font-size: 12px; }
.site-foot .inner { padding: 16px; }

.intro { padding: 24px 0 8px; }
.intro h1 { margin: 0 0 8px; font-size: 22px; }
.intro p { margin: 0; color: #555; line-height: 1.6; }

.section-title { font-size: 16px; margin: 24px 0 8px; padding-bottom: 8px; border-bottom: 2px solid #3b4890; }
.gallery-list { list-style: none; margin: 0; padding: 0; }
.gallery-list li a { display: flex; flex-direction: column; gap: 4px; padding: 14px 4px; border-bottom: 1px solid #eee; }
.gallery-list li a:hover strong { text-decoration: underline; }
.gallery-list span { color: #777; font-size: 13px; }

.gall-title { padding: 20px 0 10px; }
.gall-title h1 { margin: 0 0 4px; font-size: 20px; color: #3b4890; }
.gall-title p { margin: 0; color: #777; font-size: 13px; }

table.list { width: 100%; border-collapse: collapse; border-top: 2px solid #3b4890; }
table.list th, table.list td { padding: 9px 6px; border-bottom: 1px solid #eee; }
table.list th { background: #f7f7f7; font-weight: 600; font-size: 13px; }
.c-num, .c-date, .c-rec { text-align: center; color: #888; white-space: nowrap; width: 70px; }
.c-writer { width: 150px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-title a:hover { text-decoration: underline; }
.reply-count { color: #d33; font-size: 12px; margin-left: 4px; }
.empty { text-align: center; color: #999; padding: 32px 0 !important; list-style: none; }

.pager { display: flex; justify-content: center; gap: 16px; padding: 16px 0; }
.pager a { color: #3b4890; }

.back { display: inline-block; margin: 16px 0 8px; color: #3b4890; font-size: 13px; }
.post-title { margin: 0; padding: 10px 0; font-size: 20px; border-bottom: 2px solid #3b4890; }
.post-meta { display: flex; gap: 12px; color: #777; font-size: 12px; padding: 8px 0 16px; }
.post-body { white-space: pre-wrap; word-break: break-word; line-height: 1.8; font-size: 15px; min-height: 80px; }
.votes { display: flex; justify-content: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid #e5e5e5; }
.votes .up b { color: #3b4890; }
.votes .down b { color: #d33; }

.comments h2 { font-size: 15px; margin: 20px 0 8px; }
.comments ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ddd; }
.comments li { padding: 10px 4px; border-bottom: 1px solid #eee; }
.c-head { font-size: 12px; margin-bottom: 4px; }
.c-time { color: #999; margin-left: 8px; }
.c-body { white-space: pre-wrap; word-break: break-word; line-height: 1.6; }

@media (max-width: 600px) {
  .c-num, .c-writer { display: none; }
}
