* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8f9fa;
  color: #1a1a1a;
  line-height: 1.6;
}
header {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 20px 40px;
}
header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
header p {
  margin-top: 8px;
  color: #666;
  font-size: 1.05rem;
}
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}
.post {
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background 0.15s;
}
.post:hover { background: #f5f5f5; }
.post.expanded { background: #f0f4ff; }
.post:last-child { border-bottom: none; }
.post .meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 4px;
}
.post h2 {
  font-size: 1.25rem;
  font-weight: 600;
}
.post h2 a {
  color: #1a1a1a;
  text-decoration: none;
}
.post h2 a:hover { color: #3b82f6; }
.post .desc {
  margin-top: 4px;
  color: #555;
  font-size: 0.95rem;
}
.tags {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.tags span {
  font-size: 0.8rem;
  background: #eef0f2;
  padding: 2px 10px;
  border-radius: 12px;
  color: #555;
}
footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
  color: #999;
  font-size: 0.85rem;
}
.post-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  display: none;
  line-height: 1.7;
}
.post-content h1,
.post-content h2,
.post-content h3 {
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  font-weight: 600;
}
.post-content h1:first-child,
.post-content h2:first-child,
.post-content h3:first-child { margin-top: 0; }
.post-content h1 { font-size: 1.4rem; }
.post-content h2 { font-size: 1.2rem; }
.post-content h3 { font-size: 1.1rem; }
.post-content p { margin-bottom: 0.8em; color: #333; }
.post-content code {
  background: #eef0f2;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.post-content pre {
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1em;
}
.post-content pre code { background: none; padding: 0; color: inherit; }
.post-content blockquote {
  border-left: 3px solid #3b82f6;
  padding-left: 16px;
  margin-left: 0;
  margin-bottom: 0.8em;
  color: #666;
}
.post-content img { max-width: 100%; border-radius: 8px; margin: 0.8em 0; }
.post-content ul,
.post-content ol { padding-left: 1.5em; margin-bottom: 0.8em; }
.expand-hint {
  font-size: 0.8rem;
  color: #3b82f6;
  margin-top: 8px;
  display: inline-block;
}
