:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --ink: #212320;
  --line: #d9d9ce;
  --lime: #d6f36a;
  --sans: "HarmonyOS Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #6382f8; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1376px, calc(100% - 96px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 12px; color: white; background: #161c4b; }
.masthead { min-height: 96px; display: flex; align-items: center; gap: 24px; }
.wordmark, .footer-brand { font-family: Georgia, serif; font-size: clamp(40px, 4.8vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.07em; }
.wordmark span { font-weight: 400; }
.wordmark i { color: #a5c947; font-style: normal; }
.header-rss { margin-left: auto; font-size: 11px; font-weight: 650; }
.rss-icon { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 6px; border: 1px solid var(--ink); border-radius: 50%; font-size: 14px; }
.navigation { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(22px, 4vw, 55px); }
.nav-links a { display: block; padding: 15px 0; font-size: 13px; font-weight: 700; white-space: nowrap; }
.nav-links a:hover, .footer-right a:hover { color: #596c12; }
.nav-links a[aria-current="page"] { color: #526b21; box-shadow: inset 0 -3px #9cbd42; }
.signal-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #a9cb43; }
.latest-section { max-width: 1000px; margin-inline: auto; padding: 36px 0 88px; scroll-margin-top: 16px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.section-heading h1 { margin: 0; font-family: var(--sans); font-size: clamp(27px, 3vw, 34px); font-weight: 600; }
.feed-actions { display: flex; align-items: center; gap: 20px; }
.clear-filter { color: #526b21; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.search { display: flex; align-items: center; gap: 7px; padding: 4px 0 6px; border-bottom: 1px solid #c9cbc0; }
.search-icon { font-size: 22px; line-height: 1; }
.search input { width: 140px; padding: 4px 0; border: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search input::placeholder { color: #92948a; }
.story-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) 35px; gap: 11px; padding: 28px 0 27px; border-bottom: 1px solid var(--line); }
.story-index { padding-top: 1px; color: #a8aa9e; font-family: var(--sans); font-size: 12px; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #627e29; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.story-meta time { color: #777a70; font-size: 11px; font-weight: 500; }
.demo-badge { display: inline-block; padding: 3px 6px; background: #e4e9d0; color: #526333; font-size: 9px; font-weight: 700; line-height: 1; }
.story-main h2 { margin: 12px 0 8px; font-family: var(--sans); font-size: 21px; line-height: 1.45; overflow-wrap: anywhere; }
.story-main h2 a:hover { color: #5a7423; }
.story-main > p { max-width: 760px; margin: 0; color: #666a60; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.story-tags { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 17px; color: #777a70; font-size: 11px; }
.story-arrow { justify-self: end; font-size: 23px; line-height: 1; }
.story-arrow:hover { color: #658026; }
.empty-state { padding: 32px 4px; color: #777a70; font-size: 13px; }
.site-footer { padding: 55px 0 0; background: #22251e; color: #f4f5ec; }
.footer-grid { display: flex; justify-content: space-between; gap: 25px; padding-bottom: 42px; }
.footer-brand { font-size: 38px; }
.footer-brand span { color: var(--lime); }
.footer-grid > div:first-child p { margin: 18px 0 0; color: #b1b5a8; font-size: 11px; line-height: 1.9; }
.footer-right { text-align: right; }
.footer-right p { margin: 3px 0 19px; color: #a1a89a; font-size: 9px; letter-spacing: .11em; }
.footer-right a { display: inline-block; margin-left: 17px; color: #ebeddf; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px; border-top: 1px solid #51554a; color: #a6aa9c; font-size: 9px; letter-spacing: .1em; }
.article { padding-top: 30px; padding-bottom: 105px; }
.article-topline { display: flex; justify-content: space-between; gap: 15px; color: #86897e; font-size: 10px; letter-spacing: .08em; }
.article-topline a { color: var(--ink); font-weight: 700; }
.article-header { max-width: 760px; margin: 48px auto 0; padding-bottom: 35px; border-bottom: 1px solid var(--ink); }
.article-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #617b2c; font-size: 11px; font-weight: 700; }
.article-header h1 { margin: 24px 0 17px; font-family: var(--sans); font-size: clamp(34px, 4.7vw, 62px); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.article-deck { margin: 0; color: #72776b; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.article-byline { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.article-byline span + span { color: #898d82; font-weight: 500; }
.article-layout { max-width: 760px; margin: 40px auto 0; }
.article-toc { margin-bottom: 30px; }
.article-toc-disclosure { border-block: 1px solid var(--line); }
.article-toc-disclosure summary { padding: 12px 0; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.article-toc-nav { max-height: min(50vh, 400px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.article-toc-nav ol { margin: 0; padding: 0; list-style: none; }
.article-toc-nav > ol { padding-bottom: 12px; }
.article-toc-nav ol ol { padding-left: 14px; }
.article-toc-nav a { display: block; padding: 5px 8px 5px 12px; border-left: 2px solid transparent; color: #666b60; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.article-toc-nav a:hover { color: #526b21; }
.article-toc-nav a[aria-current="location"] { border-left-color: #8aaa35; color: #405b12; font-weight: 700; }
.article-body { min-width: 0; color: #3f443b; font-family: var(--sans); font-size: 16px; line-height: 2.1; overflow-wrap: anywhere; }
.article-body > :first-child { margin-top: 0; }
.article-body h2, .article-body h3 { scroll-margin-top: 24px; }
.article-body h2 { margin: 40px 0 12px; color: var(--ink); font-size: 24px; line-height: 1.5; }
.article-body h3 { color: var(--ink); font-size: 19px; }
.article-body p { margin: 0 0 20px; }
.article-body blockquote { margin: 25px 0; padding: 7px 0 7px 21px; border-left: 3px solid #a6c747; color: #697264; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body a:not(.back-link) { color: #485f18; text-decoration: underline; text-underline-offset: 4px; }
.article-body img { max-width: 100%; height: auto; }
.article-body pre { overflow: auto; padding: 18px; background: #e9ebdf; font-size: 13px; line-height: 1.6; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body th, .article-body td { padding: 8px 12px; border: 1px solid var(--line); text-align: left; }
.demo-notice { margin-bottom: 30px; padding: 14px 17px; background: #e7ecd6; color: #4e6033; font-family: var(--sans); font-size: 12px; line-height: 1.7; }
.source-list { margin-top: 44px; padding-top: 8px; border-top: 1px solid var(--line); }
.source-list ul { padding-left: 20px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; font-family: var(--sans); }
.article-tags span { padding: 5px 10px; border: 1px solid var(--line); color: #7b8073; font-size: 10px; }
.article-body .article-disclaimer { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); color: #777a70; font-family: var(--sans); font-size: 12px; line-height: 1.8; }
.back-link { display: inline-block; margin-top: 35px; font-family: var(--sans); font-size: 12px; font-weight: 700; }
@media (min-width: 900px) {
  .article.has-toc .article-header, .article.has-toc .article-layout { margin-left: max(220px, calc((100% - 760px) / 2)); margin-right: auto; }
  .article.has-toc .article-layout { position: relative; }
  .article-toc { position: absolute; top: 0; right: calc(100% + 28px); bottom: 0; width: 192px; margin: 0; }
  .article-toc-inner { position: sticky; top: 24px; }
  .article-toc-disclosure { border-top: 1px solid var(--ink); border-bottom: 0; }
  .article-toc-nav { max-height: calc(100vh - 100px); }
}
@media (max-width: 1000px) {
  .wrap { width: min(100% - 64px, 1376px); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 78px; }
  .wordmark { font-size: 43px; }
  .nav-links { gap: 0 20px; }
  .nav-links a { padding-block: 13px; }
  .latest-section { padding: 28px 0 70px; }
  .article { padding-bottom: 70px; }
  .article-header { margin-top: 40px; }
}
@media (max-width: 420px) {
  .header-rss { font-size: 0; }
  .rss-icon { margin-right: 0; font-size: 14px; }
  .nav-links { gap: 0 15px; }
  .nav-links a { font-size: 12px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 15px; }
  .feed-actions { justify-content: space-between; }
  .search { flex: 1; }
  .search input { width: 100%; min-width: 0; }
  .story-card { grid-template-columns: 28px minmax(0, 1fr) 22px; gap: 8px; }
  .story-main h2 { font-size: 19px; }
  .article-topline span { display: none; }
  .article-header h1 { font-size: 33px; }
  .footer-grid { flex-direction: column; }
  .footer-right { text-align: left; }
  .footer-right a { margin: 0 17px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
