* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; font-size: 14px; color: #333; background: #f5f5f5; }
.wrap { max-width: 960px; margin: 0 auto; padding: 10px; }
header { background: #2c5f8a; color: white; padding: 12px 20px; margin-bottom: 16px; }
header a { color: #cde; text-decoration: none; font-size: 13px; }
header h1 { font-size: 20px; margin-bottom: 4px; }
.breadcrumb { font-size: 12px; color: #aaa; margin-bottom: 12px; }
.breadcrumb a { color: #2c5f8a; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.category { margin-bottom: 20px; }
.cat-title { background: #2c5f8a; color: white; padding: 8px 12px; font-size: 15px; font-weight: bold; border-radius: 4px 4px 0 0; }
.forum-list { border: 1px solid #ddd; border-top: none; background: white; border-radius: 0 0 4px 4px; }
.forum-row { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid #eee; }
.forum-row:last-child { border-bottom: none; }
.forum-row:hover { background: #f9f9f9; }
.forum-info { flex: 1; }
.forum-name { font-size: 14px; font-weight: bold; }
.forum-name a { color: #2c5f8a; text-decoration: none; }
.forum-name a:hover { text-decoration: underline; }
.forum-desc { font-size: 12px; color: #777; margin-top: 3px; }
.forum-stats { font-size: 12px; color: #999; text-align: right; min-width: 120px; }
.topic-list { background: white; border: 1px solid #ddd; border-radius: 4px; }
.topic-row { display: flex; align-items: center; padding: 8px 12px; border-bottom: 1px solid #eee; }
.topic-row:last-child { border-bottom: none; }
.topic-row:hover { background: #f9f9f9; }
.topic-info { flex: 1; }
.topic-title { font-size: 13px; }
.topic-title a { color: #2c5f8a; text-decoration: none; }
.topic-title a:hover { text-decoration: underline; }
.topic-meta { font-size: 11px; color: #999; margin-top: 2px; }
.topic-stats { font-size: 11px; color: #999; text-align: right; min-width: 100px; }
.post { background: white; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 12px; }
.post-header { background: #eef3f8; padding: 8px 12px; border-bottom: 1px solid #ddd; display: flex; justify-content: space-between; font-size: 12px; color: #555; border-radius: 4px 4px 0 0; }
.post-author { font-weight: bold; color: #2c5f8a; }
.post-body { padding: 12px; font-size: 13px; line-height: 1.6; word-wrap: break-word; }
.post-body img { max-width: 100%; }
.pagination { margin: 12px 0; font-size: 13px; }
.pagination a { display: inline-block; padding: 4px 8px; margin: 2px; border: 1px solid #ddd; border-radius: 3px; color: #2c5f8a; text-decoration: none; background: white; }
.pagination a:hover, .pagination a.active { background: #2c5f8a; color: white; }
.search-box { background: white; border: 1px solid #ddd; border-radius: 4px; padding: 12px; margin-bottom: 16px; display: flex; gap: 8px; }
.search-box input { flex: 1; padding: 6px 10px; border: 1px solid #ccc; border-radius: 3px; font-size: 14px; }
.search-box button { padding: 6px 16px; background: #2c5f8a; color: white; border: none; border-radius: 3px; cursor: pointer; font-size: 14px; }
.notice { background: #fff8e1; border: 1px solid #ffe082; padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; font-size: 13px; color: #795548; }
.communities { background: #f0f4f8; border-bottom: 1px solid #dde; padding: 8px 0; margin-bottom: 16px; }
.communities a { color: #2c5f8a; text-decoration: none; font-size: 13px; font-weight: bold; }
.communities a:hover { text-decoration: underline; }
footer { text-align: center; font-size: 12px; color: #aaa; padding: 20px; margin-top: 20px; line-height: 1.8; }
.archive-intro { background: white; border: 1px solid #ddd; border-radius: 4px; padding: 20px 24px; margin-bottom: 20px; font-size: 14px; line-height: 1.7; color: #333; }
.archive-intro h2 { font-size: 18px; color: #2c5f8a; margin-bottom: 12px; }
.archive-intro h3 { font-size: 15px; color: #2c5f8a; margin: 16px 0 6px; }
.archive-intro p { margin-bottom: 8px; }
.archive-intro .warning { background: #fff8e1; border: 1px solid #ffe082; padding: 8px 12px; border-radius: 4px; font-size: 13px; color: #795548; margin: 10px 0; }
.btn-consult { display: inline-block; background: #2c5f8a; color: white; padding: 10px 20px; border-radius: 4px; text-decoration: none; font-weight: bold; margin-top: 6px; }
.btn-consult:hover { background: #1e4a6e; }
@media (max-width: 768px) {
  .wrap { padding: 8px; }
  header h1 { font-size: 16px; }
  .forum-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .forum-stats { text-align: left; min-width: unset; }
  .topic-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .topic-stats { text-align: left; min-width: unset; }
  .post-header { flex-direction: column; gap: 2px; }
  .communities .wrap { flex-direction: column; gap: 8px; }
  .search-box { flex-direction: column; }
  .archive-intro { padding: 14px 16px; }
}