:root {
  --ink: #16302b;
  --primary: #0f5c4e;
  --primary-deep: #0a3d34;
  --accent: #e8912d;
  --accent-soft: #fdf3e3;
  --paper: #f6f5f1;
  --card: #fff;
  --line: #e3e1d9;
  --muted: #6b7a76;
  --red: #b7463e;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); line-height: 1.75; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(22, 48, 43, .09); background: rgba(246, 245, 241, .94); backdrop-filter: blur(14px); }
.site-header-inner { display: flex; width: min(100% - 40px, 1000px); min-height: 66px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 22px; }
.site-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 800; }
.site-brand b, .site-brand small { display: block; line-height: 1.3; }
.site-brand b { font-size: 14px; }
.site-brand small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.desktop-nav { display: flex; align-self: stretch; align-items: center; gap: 25px; color: #53625e; font-size: 13px; font-weight: 700; }
.desktop-nav a { position: relative; display: flex; height: 100%; align-items: center; transition: color .2s ease; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; transform: scaleX(0); background: var(--primary); content: ""; transition: transform .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary); }
.desktop-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid #cbd9d4; border-radius: 9px; background: #fff; color: var(--primary); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.icon-button:hover { border-color: var(--primary); background: #f0f6f3; transform: translateY(-1px); }
.icon-button svg { width: 17px; height: 17px; }
.share-button { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; border: 1px solid #cbd9d4; border-radius: 9px; background: #fff; padding: 0 14px; color: var(--primary); font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.share-button:hover { border-color: var(--primary); background: #f0f6f3; transform: translateY(-1px); }
.share-button svg { width: 16px; height: 16px; }

.page { width: min(100% - 40px, 860px); margin: 0 auto; padding: 28px 0 70px; }
.masthead { position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, var(--primary-deep), var(--primary) 62%, #157a60); padding: 34px 36px 29px; color: #fff; box-shadow: 0 18px 42px rgba(10, 61, 52, .14); }
.masthead::after, .masthead::before { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); content: ""; }
.masthead::after { top: -80px; right: -70px; width: 270px; height: 270px; }
.masthead::before { right: 38px; bottom: -115px; width: 210px; height: 210px; }
.masthead-grid { position: absolute; inset: 0; opacity: .05; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent 25%, #000); }
.kicker { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; letter-spacing: 2px; }
.kicker .brand { font-weight: 700; }
.kicker .date { flex: none; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; background: rgba(255,255,255,.12); padding: 4px 14px; font-size: 12px; letter-spacing: 1px; }
.masthead h1 { position: relative; z-index: 2; margin: 16px 0 3px; font-size: 40px; font-weight: 800; letter-spacing: 6px; line-height: 1.35; }
.subtitle, .description { position: relative; z-index: 2; margin: 0; }
.subtitle { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; opacity: .9; }
.description { margin-top: 5px; font-size: 13px; letter-spacing: 3px; opacity: .75; }
.issue-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.tag { border-radius: 99px; background: var(--accent); padding: 4px 12px; color: #3a2405; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.tag.ghost { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.14); color: #fff; }
.editor-line { position: absolute; z-index: 2; right: 36px; bottom: 30px; display: flex; flex-direction: column; align-items: flex-end; color: rgba(255,255,255,.73); font-size: 11px; letter-spacing: 1px; }

.publication-bar { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.publication-bar > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 9px; border-right: 1px solid var(--line); padding: 11px 14px; }
.publication-bar > div:last-child { border-right: 0; }
.publication-bar svg { grid-row: 1 / 3; width: 18px; height: 18px; align-self: center; color: var(--primary); }
.publication-bar span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.publication-bar b { font-size: 11.5px; line-height: 1.5; }
.discovery-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; margin-top: 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 11px 12px; }
.filter-row { display: flex; min-width: 0; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { min-height: 38px; flex: none; border: 1px solid #d8e1dd; border-radius: 8px; background: #f8faf8; padding: 0 12px; color: #65736e; font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.search-field { display: flex; width: 230px; height: 40px; align-items: center; gap: 7px; border: 1px solid #d8e1dd; border-radius: 8px; background: #fafbf9; padding: 0 5px 0 10px; color: var(--muted); }
.search-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,92,78,.08); }
.search-field > svg { width: 16px; height: 16px; flex: none; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-field input::placeholder { color: #929b98; }
.search-field button { display: none; width: 32px; height: 32px; flex: none; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.search-field button.show { display: grid; }
.search-field button:hover { background: #edf3f0; color: var(--primary); }
.search-field button svg { width: 15px; height: 15px; }
.result-status { grid-column: 1 / -1; min-height: 17px; border-top: 1px solid #eeeee9; padding-top: 7px; color: var(--muted); font-size: 10px; }

.section { margin-top: 27px; scroll-margin-top: 84px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-no { display: flex; width: 34px; height: 34px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 800; }
.sec-title { font-size: 19px; font-weight: 800; letter-spacing: 2px; }
.sec-title small { margin-left: 10px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 1px; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 22px 24px; box-shadow: 0 1px 3px rgba(22,48,43,.04); }
.card p { margin: 0; color: #3d4a46; font-size: 14px; }
.story-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 11.5px; }
.focus-lead { margin: 0 0 10px; font-size: 18px; font-weight: 800; line-height: 1.6; }
.focus-lead .hl { color: var(--primary); }
.takeaway { margin-top: 15px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-soft); padding: 12px 16px; color: #5a4322; font-size: 13px; line-height: 1.8; }
.takeaway b { color: #8a5a12; }
.badge { display: inline-flex; min-width: max-content; align-items: center; border: 1px solid #cfe0d8; border-radius: 6px; background: #eef4f1; padding: 2px 9px; color: var(--primary); font-size: 11px; font-weight: 800; }
.badge.hot { border-color: #f0d9b4; background: var(--accent-soft); color: #9a6414; }
.badge.warn { border-color: #f2d3d0; background: #fdeeee; color: var(--red); }

.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.card-heading h2 { margin: 2px 0 0; font-size: 16px; line-height: 1.55; }
.card-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.overline { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.sample-label { flex: none; border-radius: 6px; background: #f1f2ee; padding: 4px 8px; color: var(--muted); font-size: 10px; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 17px 0 7px; }
.stat { display: flex; min-height: 112px; flex-direction: column; align-items: center; justify-content: center; border-radius: 11px; background: linear-gradient(180deg, #0f5c4e, #0a3d34); padding: 12px 9px; text-align: center; color: #fff; }
.stat svg { width: 21px; height: 21px; margin-bottom: 7px; color: #ffd58a; stroke-width: 1.8; }
.stat strong { font-size: 14px; }
.stat span { margin-top: 3px; color: rgba(255,255,255,.72); font-size: 10.5px; line-height: 1.5; }
.news-list { margin: 12px 0 0; padding: 0; list-style: none; }
.news-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; border-bottom: 1px dashed var(--line); padding: 12px 0; }
.news-list li:last-child { border-bottom: 0; padding-bottom: 3px; }
.news-list b { display: block; color: var(--ink); font-size: 14px; line-height: 1.55; }
.news-list p { margin-top: 2px; color: #5e6b67; font-size: 12.5px; line-height: 1.7; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 7px; color: #87918d; font-size: 10px; }
.status-pill { border-radius: 99px; background: #f0f2ef; padding: 2px 7px; color: #69746f; font-weight: 700; }
.note { margin-top: 13px !important; border-top: 1px solid #eceae4; padding-top: 11px; color: var(--muted) !important; font-size: 11px !important; }
.peer-list li { grid-template-columns: auto 1fr auto; }
.status { align-self: center; border-radius: 99px; background: #f1f2ee; padding: 3px 8px; color: #7a8581; font-size: 10px; font-weight: 700; }

.table-intro { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.table-intro p { color: var(--ink); font-weight: 800; }
.table-intro span { color: var(--muted); font-size: 11px; }
.table-scroll { overflow-x: auto; border-radius: 8px 8px 0 0; outline: none; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; }
th { background: var(--primary); padding: 9px 10px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-align: center; }
th:first-child { border-radius: 8px 0 0; text-align: left; }
th:last-child { border-radius: 0 8px 0 0; }
td { border-bottom: 1px solid var(--line); padding: 9px 10px; color: #46534f; text-align: center; }
td:first-child { font-weight: 700; text-align: left; }
tr.key td { background: #f3faf6; color: var(--primary-deep); font-weight: 700; }
.data-state { border-radius: 5px; background: #f1f2ee; padding: 2px 7px; color: var(--muted); font-size: 10px; }
.insight { position: relative; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg,#0a3d34,#14584a); padding: 25px 27px; color: #eef6f2; box-shadow: 0 15px 30px rgba(10, 61, 52, .11); }
.quote-mark { display: block; height: 26px; color: var(--accent); font-family: Georgia, serif; font-size: 48px; line-height: .8; }
.insight p { margin: 7px 0 0; color: #e8f2ee; font-size: 15px; line-height: 1.95; }
.insight b { color: #ffd58a; }
.signature { margin-top: 14px; text-align: right; color: rgba(255,255,255,.7); font-size: 11.5px; letter-spacing: 1px; }
.signature span { color: #fff; font-weight: 700; }

.footer { margin-top: 31px; border-top: 2px solid var(--line); padding-top: 18px; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; color: var(--muted); }
.footer-main b { color: var(--ink); font-size: 12px; }
.footer-main p { margin: 4px 0 0; font-size: 11px; line-height: 1.75; }
.preview { display: flex; align-items: center; gap: 12px; margin-top: 15px; border-radius: 10px; background: #eaf2ee; padding: 12px 15px; color: #1e4a40; }
.preview svg { flex: none; width: 20px; height: 20px; }
.preview b, .preview p { display: block; margin: 0; font-size: 12px; }
.preview p { margin-top: 1px; color: #547069; }
.copyright { margin: 19px 0 0; color: #8c9692; font-size: 10px; text-align: center; }
.section.is-hidden { display: none; }
.empty-state { margin-top: 27px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 45px 20px; text-align: center; color: var(--muted); }
.empty-state[hidden] { display: none; }
.empty-state svg { width: 28px; height: 28px; margin: 0 auto 9px; color: #82918b; }
.empty-state b { display: block; color: var(--ink); font-size: 14px; }
.empty-state p { margin: 3px 0 13px; font-size: 12px; }
.empty-state button { min-height: 40px; border: 0; border-radius: 8px; background: var(--primary); padding: 0 14px; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }

.mobile-nav { display: none; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; transform: translate(-50%, 18px); border-radius: 8px; background: #17231f; padding: 10px 14px; color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  body { padding-bottom: calc(76px + var(--safe-bottom)); }
  .site-header-inner { width: calc(100% - 32px); min-height: 60px; }
  .desktop-nav { display: none; }
  .site-brand small { display: none; }
  .share-button span { display: none; }
  .share-button { width: 44px; justify-content: center; padding: 0; }
  .page { width: calc(100% - 28px); padding-top: 16px; padding-bottom: 34px; }
  .masthead { border-radius: 15px; padding: 25px 20px 23px; }
  .kicker { display: block; }
  .kicker .brand { display: block; font-size: 11px; }
  .kicker .date { display: inline-block; margin-top: 9px; padding: 3px 10px; font-size: 10px; }
  .masthead h1 { margin-top: 14px; font-size: clamp(29px, 9vw, 36px); letter-spacing: 3px; }
  .subtitle { font-size: 10px; letter-spacing: 1.5px; }
  .description { margin-top: 6px; font-size: 11px; letter-spacing: 2px; }
  .issue-bar { margin-top: 17px; }
  .tag { padding: 4px 9px; font-size: 10px; }
  .editor-line { position: relative; right: auto; bottom: auto; margin-top: 17px; align-items: flex-start; }
  .publication-bar { grid-template-columns: 1fr 1fr; }
  .publication-bar > div { border-bottom: 1px solid var(--line); }
  .publication-bar > div:nth-child(2) { border-right: 0; }
  .publication-bar > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .discovery-bar { grid-template-columns: 1fr; padding: 10px; }
  .search-field { grid-row: 1; width: 100%; height: 44px; }
  .search-field input { font-size: 16px; }
  .filter-row { grid-row: 2; }
  .result-status { grid-row: 3; }
  .section { margin-top: 24px; scroll-margin-top: 70px; }
  .sec-head { gap: 10px; }
  .sec-no { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }
  .sec-title { font-size: 17px; letter-spacing: 1px; }
  .sec-title small { margin-left: 6px; font-size: 9px; }
  .card { border-radius: 12px; padding: 17px 15px; }
  .focus-lead { font-size: 16px; }
  .card p { font-size: 13px; }
  .card-heading { gap: 10px; }
  .card-heading h2 { font-size: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 104px; }
  .peer-list li { grid-template-columns: auto 1fr; }
  .peer-list .status { display: none; }
  .news-list b { font-size: 13px; }
  .news-list p { font-size: 12px; }
  .market-card { padding-right: 0; }
  .market-card .table-intro, .market-card .takeaway { margin-right: 15px; }
  .table-scroll { border-radius: 8px 0 0; }
  .insight { padding: 23px 20px; }
  .insight p { font-size: 14px; }
  .footer-main { grid-template-columns: 1fr; gap: 12px; }
  .mobile-nav { position: fixed; z-index: 40; right: 10px; bottom: calc(8px + var(--safe-bottom)); left: 10px; display: flex; min-height: 60px; align-items: center; justify-content: space-around; border: 1px solid rgba(15,92,78,.16); border-radius: 14px; background: rgba(255,255,255,.96); padding: 5px 4px; box-shadow: 0 10px 32px rgba(22,48,43,.18); backdrop-filter: blur(15px); }
  .mobile-nav-item { display: flex; min-width: 64px; min-height: 48px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 9px; color: #7c8985; font-size: 10px; font-weight: 700; }
  .mobile-nav-item svg { width: 18px; height: 18px; }
  .mobile-nav-item.active { background: #eaf2ee; color: var(--primary); }
  .toast { bottom: calc(82px + var(--safe-bottom)); width: max-content; max-width: calc(100% - 32px); text-align: center; }
}

@media (max-width: 370px) {
  .page { width: calc(100% - 22px); }
  .sec-title small { display: block; margin: 1px 0 0; }
  .site-brand b { font-size: 13px; }
  .stats { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
