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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #1a1a1a;
  color: #f5f5f5;
  min-height: 100vh;
  font-size: 14px;
}

.top-bar {
  height: 50px;
  background: #262626;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.rss-btn {
  color: #a0a0a0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.rss-btn:hover {
  background: #333;
  color: #f5f5f5;
}

.logo {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 600;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Post list (index page) */
.post-list {
  display: flex;
  flex-direction: column;
}

.post-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #f5f5f5;
  border-radius: 8px;
  transition: background 0.15s;
}

.post-row:nth-child(even) {
  background: #272727;
}

.post-row:hover {
  background: #333;
}

.post-row-title {
  flex: 1;
}

.post-row-date {
  color: #a0a0a0;
  font-size: 13px;
  white-space: nowrap;
  margin-left: 16px;
}

/* Post page */
.post h1 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 600;
}

.post-date {
  color: #a0a0a0;
  font-size: 13px;
  display: block;
  margin-bottom: 32px;
}

.post-body {
  line-height: 1.7;
  font-size: 16px;
  color: #e0e0e0;
}

.post-body p {
  margin-bottom: 16px;
}

.post-body em {
  color: #a0a0a0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #2c2c2c;
}
::-webkit-scrollbar-thumb {
  background: #6b6b6b;
  border-radius: 6px;
}
