:root {
  --l2-green: #06C755;
  --l2-green-dark: #05a848;
  --l2-ink: #1a1a1a;
  --l2-text: #333;
  --l2-muted: #777;
  --l2-line: #e8e8e8;
  --l2-bg: #f4f6f5;
  --l2-max: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--l2-text);
  background: #fff;
  line-height: 1.7;
}
a { color: var(--l2-green-dark); text-decoration: none; }
a:hover { color: var(--l2-green); }
img { max-width: 100%; height: auto; display: block; }

.l2-skip { position: absolute; left: -9999px; }
.l2-skip:focus { left: 12px; top: 12px; z-index: 99; padding: 8px 12px; background: var(--l2-green); color: #fff; }

.l2-container { width: 100%; max-width: var(--l2-max); margin: 0 auto; padding: 0 20px; }
.l2-container--article { max-width: 780px; }

.l2-header {
  position: sticky; top: 0; z-index: 30;
  background: #fff;
  box-shadow: 0 1px 0 var(--l2-line);
}
.l2-header__inner { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.l2-brand { display: flex; align-items: center; gap: 8px; color: var(--l2-ink); font-weight: 800; font-size: 20px; }
.l2-brand:hover { color: var(--l2-ink); }
.l2-brand__mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--l2-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.l2-nav { display: flex; gap: 4px; flex: 1; }
.l2-nav a { padding: 8px 12px; color: var(--l2-text); font-size: 14px; border-radius: 8px; }
.l2-nav a:hover { background: var(--l2-bg); color: var(--l2-ink); }
.l2-header__dl {
  margin-left: auto; background: var(--l2-green); color: #fff !important;
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.l2-nav-toggle {
  display: none; margin-left: auto; flex-direction: column; gap: 5px;
  border: 0; background: none; padding: 8px; cursor: pointer;
}
.l2-nav-toggle span { width: 20px; height: 2px; background: #111; display: block; }

.l2-hero {
  background: linear-gradient(180deg, #e9f9ef 0%, #fff 70%);
  padding: 56px 0 40px; text-align: center;
}
.l2-hero__kicker {
  display: inline-block; margin: 0 0 12px; padding: 4px 12px;
  background: #d8f5e4; color: var(--l2-green-dark); border-radius: 999px; font-size: 12px; font-weight: 700;
}
.l2-hero__title { margin: 0 0 12px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; color: var(--l2-ink); }
.l2-hero__lead { margin: 0 auto 28px; max-width: 640px; color: var(--l2-muted); }
.l2-hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.l2-hero__actions--page { margin-bottom: 32px; }

.l2-dl {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 180px; padding: 14px 22px; border-radius: 10px;
  font-weight: 700; color: #fff !important;
}
.l2-dl--android { background: #3ddc84; }
.l2-dl--ios { background: #111; }
.l2-dl--pc { background: #06C755; }
.l2-dl:hover { opacity: .92; color: #fff !important; }

.l2-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 999px; background: var(--l2-green); color: #fff !important; font-weight: 700; font-size: 14px;
}

.l2-section { padding: 56px 0; }
.l2-section--gray { background: var(--l2-bg); }
.l2-section--green { background: #0f3d24; color: #e9f6ee; }
.l2-head { text-align: center; margin-bottom: 32px; }
.l2-head h2, h2.l2-head, .l2-head { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--l2-ink); margin: 0 0 8px; }
.l2-head p { margin: 0 auto; max-width: 620px; color: var(--l2-muted); }
.l2-head--row { display: flex; align-items: baseline; justify-content: space-between; text-align: left; }
.l2-head--row h2 { margin: 0; }
.l2-head--light h2, .l2-head--light { color: #fff; }
.l2-head--light p { color: rgba(255,255,255,.78); }
.l2-more { font-size: 14px; color: var(--l2-muted); }

.l2-svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.l2-svc__card {
  background: #fff; border: 1px solid var(--l2-line); border-radius: 16px; overflow: hidden;
}
.l2-svc__card h3 { margin: 16px 20px 8px; font-size: 18px; }
.l2-svc__card p { margin: 0 20px 12px; color: var(--l2-muted); font-size: 14px; }
.l2-svc__card a { display: inline-block; margin: 0 20px 18px; font-size: 13px; font-weight: 700; }
.l2-svc__art { height: 140px; }
.l2-svc__art--a { background: linear-gradient(135deg, #b8f0cc, #4ecf80); }
.l2-svc__art--b { background: linear-gradient(135deg, #b9e4ff, #4aa8e8); }
.l2-svc__art--c { background: linear-gradient(135deg, #ffe6a8, #f0b429); }
.l2-svc__art--d { background: linear-gradient(135deg, #e0c4ff, #9b6dff); }

.l2-hot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.l2-hot__card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--l2-line); }
.l2-hot__card a { color: inherit; display: block; }
.l2-hot__media { aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.l2-hot__media img { width: 100%; height: 100%; object-fit: cover; }
.l2-hot__body { padding: 12px 14px 16px; }
.l2-hot__body time { font-size: 12px; color: var(--l2-muted); }
.l2-hot__body h3 { margin: 4px 0 6px; font-size: 15px; line-height: 1.4; }
.l2-hot__body p {
  margin: 0; font-size: 13px; color: var(--l2-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.l2-news { display: flex; flex-direction: column; gap: 16px; }
.l2-news__item {
  display: grid; grid-template-columns: 220px 1fr; gap: 18px;
  padding: 16px; background: #fff; border: 1px solid var(--l2-line); border-radius: 14px;
}
.l2-news__thumb { display: block; border-radius: 10px; overflow: hidden; background: #eee; aspect-ratio: 16/10; }
.l2-news__thumb img { width: 100%; height: 100%; object-fit: cover; }
.l2-news__body h2, .l2-news__body h3 { margin: 0 0 8px; font-size: 18px; }
.l2-news__body h2 a, .l2-news__body h3 a { color: var(--l2-ink); }
.l2-news__body h2 a:hover, .l2-news__body h3 a:hover { color: var(--l2-green-dark); }
.l2-news__body p {
  margin: 0 0 10px; color: var(--l2-muted); font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.l2-news__foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.l2-news__body time { color: var(--l2-muted); font-size: 13px; }

.l2-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.l2-mini article {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 20px;
}
.l2-mini h3 { margin: 0 0 8px; font-size: 16px; color: #fff; }
.l2-mini p { margin: 0; font-size: 13px; color: rgba(255,255,255,.75); }

.l2-rand { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.l2-rand article {
  background: #fff; border-radius: 12px; border: 1px solid var(--l2-line); padding: 18px;
}
.l2-rand a { color: inherit; display: block; }
.l2-rand__tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: #fff;
  background: var(--l2-green); border-radius: 4px; padding: 2px 6px; margin-bottom: 8px;
}
.l2-rand h3 { margin: 0 0 8px; font-size: 15px; }
.l2-rand p {
  margin: 0 0 8px; font-size: 13px; color: var(--l2-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.l2-rand time { font-size: 12px; color: var(--l2-muted); }

.l2-links { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; }
.l2-links a { color: var(--l2-muted); font-size: 14px; }

.l2-pagehead { padding: 40px 0 8px; background: var(--l2-bg); }
.l2-pagehead h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); }
.l2-pagehead p { margin: 8px 0 0; color: var(--l2-muted); }
.l2-crumb { font-size: 13px; color: var(--l2-muted); margin-bottom: 20px; }
.l2-crumb a { color: var(--l2-muted); }
.l2-crumb span { margin: 0 8px; }

.l2-wrap { background: var(--l2-bg); padding: 28px 0 40px; }
.l2-post {
  background: #fff; border-radius: 16px; padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(16, 48, 32, .06);
}
.l2-post h1 {
  margin: 0 0 14px; font-size: clamp(24px, 3vw, 32px); line-height: 1.35;
  padding-left: 14px; border-left: 5px solid var(--l2-green);
}
.l2-post__meta { display: flex; gap: 14px; color: var(--l2-muted); font-size: 13px; margin-bottom: 16px; }
.l2-post__lead {
  margin: 0 0 24px; padding: 14px 16px; background: #f3fbf6;
  border-radius: 10px; color: #456; font-size: 15px;
}
.l2-post__body { font-size: 16px; line-height: 1.9; }
.l2-post__body h2, .l2-post__body h3 { margin: 1.5em 0 .7em; }
.l2-post__body p { margin: 0 0 1em; }
.l2-post__body img { border-radius: 10px; margin: 14px 0; }
.l2-post__source { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--l2-line); font-size: 13px; color: var(--l2-muted); word-break: break-all; }

.l2-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.l2-pn a {
  display: block; padding: 14px; background: #fff; border-radius: 12px;
  color: inherit; border: 1px solid var(--l2-line);
}
.l2-pn em { display: block; font-style: normal; font-size: 12px; color: var(--l2-muted); margin-bottom: 4px; }

.l2-rec { list-style: none; margin: 0; padding: 0; counter-reset: rec; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.l2-rec li { counter-increment: rec; background: #fff; border-radius: 12px; border: 1px solid var(--l2-line); }
.l2-rec a { display: block; padding: 14px 16px 14px 48px; color: inherit; position: relative; }
.l2-rec a::before {
  content: counter(rec, decimal-leading-zero);
  position: absolute; left: 14px; top: 14px; color: var(--l2-green); font-weight: 800;
}
.l2-rec h3 { margin: 0 0 4px; font-size: 15px; }
.l2-rec time { font-size: 12px; color: var(--l2-muted); }

.l2-dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.l2-dl-card { text-align: center; padding: 28px 18px; border: 1px solid var(--l2-line); border-radius: 14px; }
.l2-dl-card h2 { margin: 0 0 8px; font-size: 18px; }
.l2-dl-card p { margin: 0 0 18px; color: var(--l2-muted); font-size: 14px; }
.l2-tips { margin-top: 36px; padding: 22px; background: var(--l2-bg); border-radius: 12px; }
.l2-tips h2 { margin: 0 0 8px; font-size: 18px; }
.l2-tips ul { margin: 0; padding-left: 18px; color: var(--l2-muted); }

.l2-pages { margin-top: 24px; text-align: center; }
.l2-pages a, .l2-pages span {
  display: inline-block; padding: 6px 12px; margin: 0 3px;
  border: 1px solid var(--l2-line); border-radius: 8px; font-size: 14px; color: var(--l2-text);
}
.l2-empty { text-align: center; padding: 64px 16px; color: var(--l2-muted); }
.l2-empty h1 { margin: 0 0 10px; color: var(--l2-ink); }

.l2-footer { background: #15251c; color: #9bb5a6; padding: 40px 0 20px; font-size: 13px; }
.l2-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.l2-footer__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.l2-footer__desc { margin: 0; line-height: 1.6; }
.l2-footer__title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.l2-footer a { display: block; color: #9bb5a6; margin-bottom: 8px; }
.l2-footer a:hover { color: #fff; }
.l2-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.l2-footer__bottom p { margin: 0 0 6px; }
.l2-footer__meta { font-size: 12px; opacity: .8; }

@media (max-width: 960px) {
  .l2-hot, .l2-mini, .l2-rand, .l2-dl-grid, .l2-rec { grid-template-columns: 1fr 1fr; }
  .l2-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .l2-nav-toggle { display: flex; }
  .l2-header__dl { display: none; }
  .l2-nav {
    display: none; position: absolute; left: 0; right: 0; top: 62px;
    flex-direction: column; background: #fff; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--l2-line);
  }
  .l2-nav.is-open { display: flex; }
  .l2-svc, .l2-hot, .l2-mini, .l2-rand, .l2-dl-grid, .l2-rec, .l2-pn, .l2-footer__grid { grid-template-columns: 1fr; }
  .l2-news__item { grid-template-columns: 1fr; }
}
