* {
  box-sizing: border-box;
}

body.changelog-body {
  background:
    radial-gradient(
        circle at 10px 10px,
        rgba(0, 0, 0, 0.02) 2px,
        transparent 2px
      )
      0 0 / 24px 24px,
    #f3f4f6;
  color: #111827;
}

.changelog-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.post-page {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.container {
  max-width: 800px;
  width: 100%;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.header p {
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.timeline {
  position: relative;
  border-left: 2px solid #d1d5db;
  padding-left: 20px;
}

.item {
  position: relative;
  margin-bottom: 40px;
}

.item:last-child {
  margin-bottom: 0;
}

.dot {
  position: absolute;
  left: -31px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #ffffff;
}

.green {
  background: #22c55e;
}

.red {
  background: #ef4444;
}

.blue {
  background: #3b82f6;
}

.purple {
  background: #a855f7;
}

.meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  background:
    radial-gradient(
      680px 240px at 8% -20%,
      rgba(102, 163, 255, 0.16),
      transparent 65%
    ),
    radial-gradient(
      560px 200px at 100% -35%,
      rgba(102, 163, 255, 0.14),
      transparent 62%
    ),
    var(--bg2);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

.card a {
  font-size: 14px;
  color: var(--accent4);
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

.post-card .post-content {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.post-card .post-content h2,
.post-card .post-content h3,
.post-card .post-content blockquote {
  margin-bottom: 12px;
}

.post-card .post-content p {
  margin-bottom: 10px;
}

.post-card .post-content ul,
.post-card .post-content ol {
  margin: 18px 0 18px 24px;
}

.post-card .post-content li + li {
  margin-top: 7px;
}

.post-card .post-content blockquote {
  border-left: 3px solid #93c5fd;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
}

.post-card .post-content img {
  display: none;
}

.related-simple {
  margin-top: 22px;
}

.related-simple h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text);
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--text);
}

.related-item strong {
  font-size: 14px;
  display: block;
  margin-bottom: 3px;
}

.related-item span {
  color: var(--text-muted);
  font-size: 12px;
}

.blog-empty {
  background:
    radial-gradient(
      680px 240px at 8% -20%,
      rgba(102, 163, 255, 0.16),
      transparent 65%
    ),
    radial-gradient(
      560px 200px at 100% -35%,
      rgba(102, 163, 255, 0.14),
      transparent 62%
    ),
    var(--bg2);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
}

.blog-empty p {
  color: var(--text-dim);
  margin: 8px 0 12px;
}

.blog-pagination {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #6b7280;
}

.blog-more {
  font-size: 14px;
  color: var(--accent4);
  text-decoration: none;
  font-weight: 500;
}

.blog-more:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .header h1 {
    font-size: 28px;
  }

  .container {
    padding: 0 10px;
  }

  .changelog-wrapper {
    padding: 24px 8px;
  }

  .post-page {
    padding: 24px 8px;
  }
}

