:root {
  --green: #07c160;
  --green-dark: #06ad56;
  --ink: #111318;
  --text: #2b2f36;
  --muted: #8a8f99;
  --light: #a3a8b0;
  --line: #eef0f2;
  --bg: #f6f7f8;
  --white: #ffffff;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .5px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark.small { width: 36px; height: 36px; font-size: 18px; }

.brand-text { font-size: 18px; }

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: #5b626c;
}

.site-nav a { position: relative; padding: 4px 0; }

.site-nav a:hover { color: var(--ink); }

.site-nav a.active { color: var(--ink); font-weight: 600; }

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

.header-right { margin-left: auto; }

.badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid #e3e6ea;
  border-radius: 999px;
  padding: 5px 12px;
  background: #fff;
}

#app {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 72px;
  min-height: 60vh;
}

.hero {
  padding: 64px 0 40px;
}

.hero-date {
  font-size: 12px;
  color: var(--light);
  letter-spacing: .5px;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -.5px;
}

.hero p {
  margin: 14px 0 0;
  font-size: 16px;
  color: #6b7280;
  max-width: 560px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .18s ease;
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: #e3e6ea;
}
.btn-ghost:hover { border-color: #c9ced6; }

.section {
  margin-top: 44px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
}

.section-more {
  font-size: 13px;
  color: var(--muted);
}

.section-more:hover { color: var(--green); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.entry-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid #f0f1f3;
  transition: .18s ease;
}

.entry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 19, 24, .06);
}

.entry-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.entry-title::before {
  content: "";
  width: 6px;
  height: 18px;
  border-radius: 3px;
  background: var(--green);
}

.entry-desc {
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
}

.entry-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--light);
}

.timeline {
  max-width: 780px;
}

.group-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 26px 0 10px;
}

.group-label { font-size: 16px; font-weight: 700; }
.group-count { font-size: 12px; color: var(--light); }

.row { display: flex; align-items: stretch; }

.date {
  width: 56px;
  flex-shrink: 0;
  padding-top: 14px;
  text-align: right;
  font-size: 12px;
  color: #b3b8c0;
}

.rail { position: relative; width: 22px; flex-shrink: 0; }

.rail::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #dfe3e8;
}

.group .row:last-child .rail::before { bottom: auto; height: 22px; }

.dot {
  position: absolute;
  left: 6px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cdeedb;
}

.card {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 18px;
  margin: 0 0 12px 4px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f1f3;
  transition: .16s ease;
}

.card:hover {
  border-color: #e2e6ea;
  box-shadow: 0 8px 22px rgba(17, 19, 24, .05);
}

.card-body { flex: 1; min-width: 0; }

.card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.card-digest {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cover {
  width: 132px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f1f3;
}

.list-foot {
  padding: 28px 0 8px;
  text-align: center;
  font-size: 13px;
  color: var(--light);
}

.list-foot button {
  border: 1px solid #dfe3e8;
  background: #fff;
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 13px;
  cursor: pointer;
}

.article {
  max-width: 780px;
  padding-top: 40px;
}

.article-back {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  gap: 6px;
  margin-bottom: 18px;
}

.article-back:hover { color: var(--green); }

.article-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: -.3px;
}

.article-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--light);
  display: flex;
  gap: 12px;
  align-items: center;
}

.article-meta .tag {
  color: var(--green);
  background: #eaf9f0;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
}

.article-divider {
  height: 1px;
  background: var(--line);
  margin: 26px 0 8px;
}

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  word-break: break-word;
}

.article-body p { margin: 0 0 1.25em; }
.article-body img { border-radius: 8px; display: block; margin: 1.6em auto .6em; }

.article-foot {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.copy-link {
  cursor: pointer;
  color: var(--green);
}

.about-page { max-width: 780px; padding-top: 48px; }

.about-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-brand .brand-mark { width: 56px; height: 56px; border-radius: 16px; font-size: 26px; }

.about-name { font-size: 24px; font-weight: 700; }
.about-tagline { margin-top: 4px; color: var(--muted); font-size: 14px; }

.about-block {
  margin-top: 34px;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
  border: 1px solid #f0f1f3;
}

.about-block h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.about-block p {
  margin: 0 0 10px;
  color: #5b626c;
  font-size: 14px;
  line-height: 1.85;
}

.about-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid #f2f3f5;
  font-size: 14px;
}

.about-row:first-of-type { border-top: 0; }
.about-row .value { color: var(--muted); }

.state {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.state button {
  margin-top: 16px;
  border: 1px solid #dfe3e8;
  background: #fff;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  cursor: pointer;
}

.skeleton { max-width: 780px; }
.sk-card {
  height: 112px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f0f1f3, #f7f8f9, #f0f1f3);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin-bottom: 12px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-weight: 700; font-size: 15px; }
.footer-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #5b626c;
  margin-left: auto;
}

.footer-links a:hover { color: var(--green); }

.footer-copy {
  width: 100%;
  font-size: 12px;
  color: #b0b5bd;
}

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 10px 16px 8px;
  }
  .brand { margin-right: auto; }
  .site-nav {
    order: 3;
    width: 100%;
    gap: 18px;
    padding-bottom: 4px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex-shrink: 0; font-size: 13px; }
  .header-right { display: none; }
  #app { padding: 0 16px 56px; }
  .hero { padding: 32px 0 20px; }
  .hero h1 { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 16px; gap: 12px; }
  .card-cover { width: 96px; height: 72px; }
  .date { width: 44px; font-size: 11px; }
  .article { padding-top: 28px; }
  .article-title { font-size: 26px; }
  .footer-links { margin-left: 0; }
}
