* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  color: #1a1a1a;
  background: #f5f5f5;
  line-height: 1.5;
}

/* Header */
header {
  border-bottom: 2px solid #ff4757;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
header h1 {
  margin: 0;
  font-size: 1.6rem;
}
header h1 a {
  color: #ff4757;
  text-decoration: none;
}
header h1 a:hover {
  text-decoration: underline;
}
.tagline {
  margin: 0.25rem 0 0.75rem;
  color: #666;
  font-size: 0.9rem;
}
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: #ff4757;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover {
  background: #e03e4e;
}

/* Quick Nav */
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
}
.quick-nav a {
  color: #ff4757;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  transition: background 0.2s;
}
.quick-nav a:hover {
  background: #fff0f1;
}

/* Forum Sections */
.forum-section {
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}
.section-cover {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Posts */
.post {
  padding: 1rem;
  border-top: 1px solid #f0f0f0;
}
.post:first-of-type {
  border-top: none;
}
.post-cover {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.post h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #1a1a1a;
}
.post .meta {
  font-size: 0.8rem;
  color: #999;
  margin: 0 0 0.5rem;
}
.post .body {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* Footer */
footer {
  margin-top: 2rem;
  background: #1a1a2e;
  color: #ccc;
  border-radius: 8px;
  overflow: hidden;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #333;
}
.footer-col p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #aaa;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.4rem;
}
.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #ff4757;
}

.footer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #16213e;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff4757;
}
.stat-label {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.2rem;
}

.footer-notice {
  padding: 1rem 1.5rem;
  border-top: 1px solid #2a2a4a;
}
.footer-notice p {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 0.3rem;
}
.footer-notice strong {
  color: #ff4757;
}

.footer-bottom {
  padding: 1rem 1.5rem;
  border-top: 1px solid #2a2a4a;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 0.2rem;
}
.footer-bottom a {
  color: #ff4757;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-nav {
    gap: 0.3rem;
  }
  .quick-nav a {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
}
