:root {
  color-scheme: light dark;
  --bg: #fcfcfb;
  --text: #0b0b0b;
  --muted: #6b6a65;
  --accent: #1baf7a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans TC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
.site-header {
  padding: 18px 24px 14px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.site-title {
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 4px 16px 18px;
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .site-nav {
    gap: 6px;
    padding: 4px 12px 16px;
  }
  .site-nav a {
    font-size: 0.8rem;
    padding: 9px 6px;
    gap: 3px;
  }
}
.site-nav a:hover {
  background: rgba(27,175,122,0.12);
  color: var(--text);
}
.site-nav a.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(27,175,122,0.35);
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}
.category-heading {
  font-size: 1.4rem;
  margin: 0 0 20px;
}
.post-list {
  display: grid;
  gap: 20px;
}
.post-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.post-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
}
.post-card-body { padding: 12px 12px 12px 0; }
.post-card h2 { margin: 0 0 4px; font-size: 1.1rem; }
.post-date { color: var(--muted); font-size: 0.85rem; }
.post-video {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  display: block;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: #000;
}
.post-cover-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: #000;
}
.post-body h2 { font-size: 1.2rem; }

.editor-pick {
  margin: 28px 0;
  padding: 16px 18px;
  background: #fff8ec;
  border: 1px solid #eda10055;
  border-left: 4px solid #eda100;
  border-radius: 10px;
}
.editor-pick-label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.editor-pick-title {
  margin: 0 0 6px;
  font-weight: 700;
}
.editor-pick-desc {
  margin: 0 0 12px;
  color: var(--text);
}
.editor-pick-cta {
  display: inline-block;
  text-decoration: none;
  color: #7a5200;
  font-weight: 600;
  border: 1px solid #eda100;
  border-radius: 8px;
  padding: 8px 14px;
}
.editor-pick-cta:hover { background: #eda10022; }

.post-hashtags { color: var(--accent); }
.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 24px;
  font-size: 0.85rem;
}
