:root{--bg:#f4f2eb;--surface:#faf8f1;--text:#191916;--muted:#747169;--line:#d9d4ca;--line-strong:#b7afa2;--accent:#9a4e32;--accent-soft:#efe2da;--max:1120px;--rail:108px;--gap:28px;--shadow:0 18px 50px rgba(31,24,18,.07)}
html[data-theme="dark"]{--bg:#11110f;--surface:#171713;--text:#f0eee8;--muted:#aaa59b;--line:#302e29;--line-strong:#565148;--accent:#d88c6d;--accent-soft:#2d211c;--shadow:0 18px 50px rgba(0,0,0,.28)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;line-height:1.68;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{-webkit-tap-highlight-color:transparent;touch-action:manipulation;font:inherit}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{background:var(--accent-soft)}.container{width:min(calc(100% - 48px),var(--max));margin:0 auto}.lang-en{display:none!important}html[data-lang="en"] .lang-zh{display:none!important}html[data-lang="en"] .lang-en{display:revert!important}
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.nav{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:baseline;gap:9px;min-height:44px;padding:0 8px;margin-left:-8px;border-radius:9px}.brand-cn{font-weight:790;letter-spacing:.02em;font-size:15px}.brand-en{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);font-size:10px;letter-spacing:.05em}.nav-links{display:flex;align-items:center;gap:25px}.nav-links a{font-size:12px;color:var(--muted)}.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--text)}.nav-links a[aria-current="page"]::after{content:"";display:block;height:1px;margin-top:3px;background:currentColor;opacity:.45}.nav-actions{display:flex;align-items:center;gap:3px}.menu-toggle,.lang-toggle,.theme-toggle{border:0;background:transparent;color:var(--muted);cursor:pointer;min-height:42px}.menu-toggle,.theme-toggle{width:42px;display:grid;place-items:center}.lang-toggle{min-width:42px;padding:0 8px;font-size:11px;font-weight:700}.menu-toggle{display:none;font-size:20px}
.page-grid,.hero-grid{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);gap:var(--gap);align-items:start}.page-rail,.hero-rail,.page-main,.hero-main{min-width:0}
.home-hero{padding:88px 0 82px;border-bottom:1px solid var(--line)}.hero-rail{display:flex;flex-direction:column;gap:7px;padding-top:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--accent);font-size:9px;letter-spacing:.12em}.hero-brand{display:grid;grid-template-columns:auto auto auto auto auto auto auto auto;gap:7px;align-items:center;width:max-content;margin-bottom:28px}.hero-brand .char-index{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px;color:var(--accent);transform:translateY(-9px)}.hero-brand b{font-size:24px;font-weight:760;letter-spacing:.08em}.hero-main h1{margin:0;font-size:clamp(50px,6.2vw,78px);line-height:1.04;letter-spacing:-.058em;font-weight:760}.hero-main h1 span{color:var(--muted);font-weight:550}.topic-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:27px;color:var(--muted);font-size:13px}.topic-line i{font-style:normal;color:var(--line-strong)}.hero-copy{max-width:610px;margin:27px 0 0;color:var(--muted);font-size:16px}.hero-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:25px}.hero-links a,.text-link{font-size:13px;border-bottom:1px solid var(--line);padding-bottom:2px}.hero-links a:hover,.text-link:hover{color:var(--accent);border-color:var(--accent)}
.section{padding:70px 0;border-bottom:1px solid var(--line)}.section-soft{background:color-mix(in srgb,var(--surface) 42%,transparent)}.section-last{border-bottom:0}.section-label{display:flex;flex-direction:column;gap:7px;padding-top:4px;color:var(--muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.section-label span:first-child{color:var(--accent);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.start-list{border-top:1px solid var(--text)}.start-row{display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:24px;align-items:start;padding:25px 0;border-bottom:1px solid var(--line)}.start-type{padding-top:4px;color:var(--accent);font:9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em}.start-row h2{margin:0 0 6px;font-size:24px;letter-spacing:-.03em}.start-row p{margin:0;max-width:650px;color:var(--muted);font-size:13px}.start-row>span{color:var(--muted);font-size:12px;white-space:nowrap}.start-row:hover h2{color:var(--accent)}
.featured-project{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;padding:30px 0 34px;border-top:1px solid var(--text);border-bottom:1px solid var(--line)}.mini-label{color:var(--accent);font:9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.11em}.featured-project h2{margin:14px 0 6px;font-size:clamp(36px,4vw,52px);line-height:1;letter-spacing:-.052em}.project-tagline{margin:0 0 12px!important;color:var(--text)!important;font-size:15px!important}.featured-project p{margin:0;max-width:650px;color:var(--muted);font-size:14px}.external-arrow{font-size:19px;color:var(--muted)}.secondary-project{display:grid;grid-template-columns:220px minmax(0,1fr) auto;gap:24px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.secondary-project strong{display:block;margin-top:4px;font-size:18px}.secondary-project p{margin:0;color:var(--muted);font-size:13px}.secondary-project>span{color:var(--muted)}.more-link{display:inline-block;margin-top:20px}
.theme-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--text)}.theme-grid a{min-height:190px;padding:23px 25px 25px 0;border-bottom:1px solid var(--line)}.theme-grid a:nth-child(even){padding-left:25px;border-left:1px solid var(--line)}.theme-grid>a>span{font:9px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--accent)}.theme-grid h3{margin:36px 0 8px;font-size:22px;letter-spacing:-.03em}.theme-grid p{margin:0;max-width:38ch;color:var(--muted);font-size:13px}.theme-grid a:hover h3{color:var(--accent)}.manifesto blockquote{margin:0 0 24px;font-size:clamp(31px,4vw,46px);line-height:1.25;letter-spacing:-.045em;font-weight:590}.manifesto p{max-width:690px;margin:0 0 20px;color:var(--muted);font-size:14px}
.inner-hero{padding:58px 0 48px;border-bottom:1px solid var(--line)}.inner-kicker{padding-top:8px;color:var(--accent);font:9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.11em}.inner-hero h1{margin:0 0 13px;font-size:clamp(46px,5vw,62px);line-height:1;letter-spacing:-.052em}.inner-hero p{margin:0;max-width:700px;color:var(--muted);font-size:15px}.content-section{padding:30px 0 78px}.content-row{padding:30px 0 34px;border-bottom:1px solid var(--line)}.content-row:first-child{border-top:1px solid var(--text)}.row-index{padding-top:5px;color:var(--accent);font:9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em}.content-row h2{margin:0 0 10px;font-size:28px;letter-spacing:-.035em}.content-row p{margin:0 0 14px;max-width:720px;color:var(--muted);font-size:14px}.status{display:inline-block;margin-top:3px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px}.about-big{font-size:clamp(32px,4vw,46px)!important;line-height:1.14!important;letter-spacing:-.045em!important}
.project-list{border-top:1px solid var(--text)}.project-row{display:grid;grid-template-columns:112px minmax(0,1fr) 170px;gap:28px;padding:32px 0 35px;border-bottom:1px solid var(--line)}.project-meta{display:flex;flex-direction:column;gap:7px;padding-top:5px;color:var(--muted);font:9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}.project-meta span:first-child{color:var(--text);font-weight:700}.project-copy h2{margin:0;font-size:36px;letter-spacing:-.045em}.project-copy p{margin:0 0 11px;max-width:650px;color:var(--muted);font-size:13px}.project-side{display:flex;flex-direction:column;align-items:flex-end;gap:26px;padding-top:4px;color:var(--muted);font-size:10px}.project-side strong{font-size:17px;font-weight:400}.project-row:hover .project-copy h2{color:var(--accent)}
.platform-list{border-top:1px solid var(--text)}.platform-list a{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:28px;align-items:start;padding:31px 0;border-bottom:1px solid var(--line)}.platform-index{color:var(--accent);font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.platform-list h2{margin:0 0 8px;font-size:27px;letter-spacing:-.035em}.platform-list p{margin:0;max-width:680px;color:var(--muted);font-size:13px}.platform-list strong{font-size:17px;color:var(--muted);font-weight:400}.platform-list a:hover h2{color:var(--accent)}
.links-page{min-height:100vh;display:grid;place-items:center;padding:40px 0}.links-shell{width:min(calc(100% - 32px),620px)}.links-wordmark{font-size:15px;font-weight:780}.links-wordmark span{margin-left:8px;color:var(--muted);font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.links-head h1{margin:38px 0 10px;font-size:clamp(37px,7vw,56px);line-height:1.08;letter-spacing:-.05em}.links-head p{margin:0 0 27px;color:var(--muted)}.links-list{border-top:1px solid var(--text)}.links-list a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.links-list strong{display:block;font-size:15px}.links-list span{grid-column:1;color:var(--muted);font-size:11px}.links-list em{grid-column:2;grid-row:1 / span 2;align-self:center;font-style:normal;color:var(--muted)}.links-actions{display:flex;gap:4px;justify-content:flex-end;margin-top:18px}
.footer{padding:30px 0 42px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.footer-inner{display:flex;justify-content:space-between;gap:22px;align-items:center}.footer-inner strong{color:var(--text);font-weight:700}.footer-dot{margin:0 5px}.footer-links{display:flex;gap:17px;align-items:center}.footer a:hover{color:var(--text)}
@media(max-width:820px){.menu-toggle{display:grid}.nav-links{display:none;position:absolute;top:62px;right:16px;width:180px;padding:8px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow);flex-direction:column;gap:2px}.nav-links.open{display:flex}.nav-links a{display:flex;align-items:center;min-height:46px;padding:0 13px;border-radius:9px;font-size:14px}.nav-links a[aria-current="page"]{background:var(--accent-soft)}.nav-links a[aria-current="page"]::after{display:none}.page-grid,.hero-grid{grid-template-columns:1fr;gap:8px}.hero-rail,.page-rail.inner-kicker{padding-top:0}.hero-rail{flex-direction:row;gap:12px}.section-label{flex-direction:row;gap:12px}.project-row{grid-template-columns:92px minmax(0,1fr)}.project-side{grid-column:2;align-items:flex-start;flex-direction:row}}
@media(max-width:560px){.container{width:min(calc(100% - 30px),var(--max))}.nav{min-height:58px}.brand-cn{font-size:14px}.brand-en{display:none}.nav-links{top:58px;right:14px}.home-hero{padding:48px 0 50px}.hero-brand{margin-bottom:22px;gap:5px}.hero-brand b{font-size:21px}.hero-main h1{font-size:clamp(42px,11.2vw,50px);line-height:1.07}.topic-line{margin-top:22px}.hero-copy{font-size:14px;line-height:1.72}.section{padding:48px 0}.start-row{grid-template-columns:1fr auto;gap:8px 14px;padding:22px 0}.start-type{grid-column:1 / -1}.start-row h2{font-size:21px}.start-row>span{grid-column:2;grid-row:2 / span 2}.featured-project{padding:25px 0 28px}.featured-project h2{font-size:39px}.secondary-project{grid-template-columns:1fr auto;gap:8px}.secondary-project p{grid-column:1}.secondary-project>span{grid-column:2;grid-row:1 / span 2}.theme-grid{grid-template-columns:1fr}.theme-grid a,.theme-grid a:nth-child(even){min-height:auto;padding:22px 0;border-left:0}.theme-grid h3{margin-top:27px}.inner-hero{padding:38px 0 31px}.inner-hero h1{font-size:42px}.content-section{padding:20px 0 58px}.content-row{padding:23px 0 26px}.project-row{display:block;padding:25px 0 28px}.project-meta{flex-direction:row;flex-wrap:wrap;margin-bottom:18px}.project-copy h2{font-size:33px}.project-side{margin-top:17px}.platform-list a{grid-template-columns:44px minmax(0,1fr) auto;gap:12px;padding:24px 0}.platform-list h2{font-size:22px}.footer-inner{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}


/* =======================================================
   v2 — brand alignment + single-column start rows
   ======================================================= */

/* Brand group: visually centered in the full header height. */
.brand{
  align-items:center;
  align-self:stretch;
  min-height:62px;
  gap:9px;
}
.brand-cn{
  display:block;
  line-height:1;
}
.brand-en{
  display:block;
  line-height:1;
  transform:translateY(1px);
}

/* "Start here" already sits inside the page's main column.
   Do not create a second rail inside each row. */
.start-row{
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
}
.start-content{
  min-width:0;
}
.start-type{
  padding-top:0;
  margin-bottom:8px;
}
.start-destination{
  align-self:center;
}
.start-row h2{
  margin:0 0 6px;
}

/* Slightly widen the actual usable main column feel without changing the
   editorial one-rail structure. */
@media(min-width:821px){
  .page-grid,
  .hero-grid{
    grid-template-columns:96px minmax(0,1fr);
    gap:24px;
  }
}

/* Mobile header centering remains exact when height drops to 58px. */
@media(max-width:560px){
  .brand{
    min-height:58px;
  }
  .start-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
  }
  .start-type{
    grid-column:auto;
  }
  .start-row>span{
    grid-column:auto;
    grid-row:auto;
  }
}


/* =======================================================
   v3 — Chinese headline wrapping / copy consistency
   ======================================================= */

/* Explicit semantic lines avoid Chinese widow/orphan characters. */
.hero-slogan .hero-line-primary,
.hero-slogan .hero-line-secondary,
.links-slogan .links-line-primary,
.links-slogan .links-line-secondary{
  display:block;
}

/* Desktop keeps both lines strong and stable. */
.hero-slogan .hero-line-secondary{
  color:var(--muted);
  font-weight:550;
}

/* Links page uses the same slogan hierarchy as the main site. */
.links-slogan{
  text-wrap:balance;
}
.links-slogan .links-line-secondary{
  color:var(--muted);
  font-weight:560;
}

/* Prevent the previous generic h1 span rule from styling the primary line. */
.hero-main .hero-slogan .hero-line-primary{
  color:var(--text);
  font-weight:760;
}

/* Mobile: second Chinese line is deliberately smaller so it fits as one
   coherent line instead of leaving "界。" / "事。" alone. */
@media(max-width:560px){
  .hero-main .hero-slogan{
    font-size:clamp(40px,11vw,48px);
  }

  .hero-main .hero-slogan .hero-line-primary{
    white-space:nowrap;
  }

  .hero-main .hero-slogan .hero-line-secondary{
    margin-top:5px;
    font-size:clamp(26px,8vw,32px);
    line-height:1.16;
    letter-spacing:-.045em;
    white-space:nowrap;
  }

  html[data-lang="en"] .hero-main .hero-slogan .hero-line-secondary{
    white-space:normal;
    font-size:.72em;
  }

  .links-head .links-slogan{
    font-size:clamp(40px,11vw,50px);
    line-height:1.06;
  }

  .links-head .links-slogan .links-line-primary{
    white-space:nowrap;
  }

  .links-head .links-slogan .links-line-secondary{
    display:block;
    margin-top:6px;
    font-size:clamp(26px,8vw,31px);
    line-height:1.16;
    letter-spacing:-.045em;
    white-space:nowrap;
  }

  html[data-lang="en"] .links-head .links-slogan .links-line-primary,
  html[data-lang="en"] .links-head .links-slogan .links-line-secondary{
    white-space:normal;
  }
}

/* Ultra-narrow phones: still keep the Chinese secondary line intact. */
@media(max-width:340px){
  .hero-main .hero-slogan .hero-line-secondary,
  .links-head .links-slogan .links-line-secondary{
    font-size:25px;
  }
}


/* =======================================================
   v4 — clearer CharSeq wordmark
   ======================================================= */

.brand-en{
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.045em;
  color:color-mix(in srgb,var(--text) 58%,var(--muted));
  transform:translateY(.5px);
}

/* Keep the English/domain mark visible on phones too.
   It stays secondary, but should not disappear. */
@media(max-width:560px){
  .brand{
    gap:7px;
  }

  .brand-cn{
    font-size:14px;
  }

  .brand-en{
    display:block;
    font-size:10px;
    font-weight:600;
    letter-spacing:.035em;
    color:var(--muted);
    transform:translateY(.5px);
  }
}


/* =======================================================
   v5 — clearer bilingual brand balance
   ======================================================= */

.brand{
  gap:10px;
}

.brand-cn{
  font-size:15px;
  font-weight:790;
}

.brand-en{
  display:block;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:13px;
  line-height:1;
  font-weight:650;
  letter-spacing:.025em;
  color:color-mix(in srgb,var(--text) 72%,var(--muted));
  transform:translateY(.4px);
}

/* Mobile: still secondary, but no longer tiny. */
@media(max-width:560px){
  .brand{
    gap:8px;
  }

  .brand-cn{
    font-size:14px;
  }

  .brand-en{
    display:block;
    font-size:11.5px;
    font-weight:650;
    letter-spacing:.02em;
    color:color-mix(in srgb,var(--text) 65%,var(--muted));
  }
}

/* v6 — local platform icons + 3-category system */
.platform-icon{display:inline-block;flex:0 0 auto;width:15px;height:15px;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;vertical-align:-2px}
.icon-zhihu{-webkit-mask-image:url("icons/zhihu.svg");mask-image:url("icons/zhihu.svg")}
.icon-xhs{-webkit-mask-image:url("icons/xiaohongshu.svg");mask-image:url("icons/xiaohongshu.svg")}
.icon-bilibili{-webkit-mask-image:url("icons/bilibili.svg");mask-image:url("icons/bilibili.svg")}
.social-links a{display:inline-flex;align-items:center;gap:6px}
.social-links a em{font-style:normal;color:var(--muted)}
.social-links .platform-icon{width:14px;height:14px;color:var(--muted)}
.social-links a:hover .platform-icon{color:var(--accent)}
.theme-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.theme-grid-three a,.theme-grid-three a:nth-child(even){min-height:205px;padding:23px 24px 25px;border-left:1px solid var(--line)}
.theme-grid-three a:first-child{border-left:0;padding-left:0}
.theme-grid-three a:last-child{padding-right:0}
.platform-index{display:flex;align-items:center;gap:9px}
.platform-index .platform-icon{width:17px;height:17px;color:var(--text)}
.links-list strong{display:flex;align-items:center;gap:8px}
.links-list strong .platform-icon{width:15px;height:15px;color:var(--muted)}
.text-link .platform-icon{width:13px;height:13px;margin-right:5px}
.text-link em{font-style:normal}
@media(max-width:820px){
.theme-grid-three{grid-template-columns:1fr}
.theme-grid-three a,.theme-grid-three a:nth-child(even),.theme-grid-three a:first-child,.theme-grid-three a:last-child{min-height:auto;padding:22px 0;border-left:0}
}


/* =======================================================
   v7 — real SVG files imported as <img>
   Source assets: Simple Icons
   ======================================================= */

/* The previous mask approach is intentionally retired. */
.platform-svg{
  display:inline-block;
  flex:0 0 auto;
  width:15px;
  height:15px;
  object-fit:contain;
  opacity:.68;
  vertical-align:-2px;
}

/* Simple Icons SVG files are monochrome black by default.
   In the site's manual dark mode, invert them to light. */
html[data-theme="dark"] .platform-svg{
  filter:invert(1);
  opacity:.78;
}

/* Homepage social row */
.social-links a{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.social-links .platform-svg{
  width:14px;
  height:14px;
}
.social-links a:hover .platform-svg{
  opacity:1;
}

/* Elsewhere metadata rail */
.platform-index .platform-svg{
  width:17px;
  height:17px;
  opacity:.82;
}

/* Links page */
.links-list strong .platform-svg{
  width:15px;
  height:15px;
}

/* Technical Zhihu link */
.text-link .platform-svg{
  width:13px;
  height:13px;
  margin-right:5px;
}

/* Old mask placeholders are no longer used. */
.platform-icon{
  display:none!important;
}


/* =======================================================
   v8 — final social icon scale + simplified homepage
   ======================================================= */

/* Base imported Simple Icons SVG */
.platform-svg{
  width:18px;
  height:18px;
  opacity:.82;
}

/* Main homepage platform row: easy to recognize at a glance */
.social-links .platform-svg{
  width:18px;
  height:18px;
  opacity:.86;
}
.social-links a{
  gap:7px;
}

/* Elsewhere is intentionally the strongest platform-identity page */
.platform-index .platform-svg{
  width:20px;
  height:20px;
  opacity:.92;
}

/* Link hub also prioritizes platform recognition */
.links-list strong .platform-svg{
  width:20px;
  height:20px;
  opacity:.9;
}

/* Inline platform CTAs are slightly smaller */
.platform-text-link .platform-svg,
.text-link .platform-svg{
  width:17px;
  height:17px;
  opacity:.82;
}

/* Brand English name is a secondary brand, not a tiny annotation */
.brand-en{
  font-size:13px;
  font-weight:650;
  letter-spacing:.02em;
}
.links-wordmark span{
  font-size:12px;
  font-weight:650;
  letter-spacing:.02em;
}

@media(max-width:560px){
  .brand-en{
    font-size:11.5px;
  }

  .social-links .platform-svg{
    width:18px;
    height:18px;
  }

  .platform-index .platform-svg,
  .links-list strong .platform-svg{
    width:19px;
    height:19px;
  }
}


/* =======================================================
   v9 Astro — Markdown content system + final homepage polish
   ======================================================= */

/* Homepage platform shortcuts are icon-only: identity without clutter. */
.social-icon-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:24px;
}
.social-icon-link{
  display:inline-grid;
  place-items:center;
  width:40px;
  height:40px;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--muted);
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.social-icon-link .platform-svg{
  width:20px;
  height:20px;
  opacity:.84;
}
.social-icon-link:hover{
  border-color:var(--line-strong);
  background:var(--surface);
  transform:translateY(-1px);
}
.social-icon-link:hover .platform-svg{opacity:1}

/* Visitor-facing homepage description. */
.hero-copy{max-width:720px}

/* Dynamic content lists */
.entry-list{
  margin-top:22px;
  border-top:1px solid var(--line);
}
.entry-row{
  display:grid;
  grid-template-columns:112px minmax(0,1fr) auto;
  gap:22px;
  align-items:start;
  padding:20px 0 22px;
  border-bottom:1px solid var(--line);
}
.entry-meta{
  padding-top:4px;
  color:var(--muted);
  font:9px ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.entry-main h3{
  margin:0 0 5px;
  font-size:20px;
  letter-spacing:-.025em;
}
.entry-main p{
  margin:0;
  max-width:680px;
  color:var(--muted);
  font-size:12.5px;
}
.entry-arrow{color:var(--muted);font-size:13px}
.entry-row:hover .entry-main h3{color:var(--accent)}
.entry-row:hover .entry-arrow{color:var(--accent)}

.latest-section{padding-top:54px;padding-bottom:54px}
.latest-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:15px;
}
.latest-head h2{margin:0;font-size:27px;letter-spacing:-.035em}
.latest-head a{font-size:12px;color:var(--muted)}

/* Article */
.article-shell{padding:58px 0 86px}
.article-grid{display:grid;grid-template-columns:96px minmax(0,760px);gap:24px;align-items:start}
.article-rail{
  padding-top:7px;
  color:var(--accent);
  font:9px ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.article-head{padding-bottom:30px;border-bottom:1px solid var(--line)}
.article-head h1{
  margin:0 0 14px;
  font-size:clamp(38px,5vw,58px);
  line-height:1.08;
  letter-spacing:-.05em;
}
.article-summary{margin:0;max-width:680px;color:var(--muted);font-size:15px}
.article-meta{display:flex;flex-wrap:wrap;gap:8px 13px;margin-top:19px;color:var(--muted);font-size:11px}
.article-tag{padding:3px 7px;border:1px solid var(--line);border-radius:999px}
.article-body{padding-top:32px;font-size:16px;line-height:1.9}
.article-body > :first-child{margin-top:0}
.article-body h2{margin:2.2em 0 .65em;font-size:28px;line-height:1.3;letter-spacing:-.035em}
.article-body h3{margin:1.8em 0 .55em;font-size:21px;letter-spacing:-.025em}
.article-body p,.article-body ul,.article-body ol,.article-body blockquote{margin:1.15em 0}
.article-body ul,.article-body ol{padding-left:1.3em}
.article-body blockquote{padding-left:18px;border-left:2px solid var(--accent);color:var(--muted)}
.article-body code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:var(--surface);padding:.12em .34em;border-radius:4px}
.article-body pre{overflow:auto;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:8px;line-height:1.6}
.article-body pre code{padding:0;background:none}
.article-body img{max-width:100%;height:auto;border-radius:6px}
.article-body a{border-bottom:1px solid var(--line)}
.article-body a:hover{color:var(--accent);border-color:var(--accent)}
.article-back{display:inline-block;margin-top:36px;font-size:13px;border-bottom:1px solid var(--line)}

/* Category header helper */
.category-intro{max-width:720px}
.category-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px}
.platform-text-link{display:inline-flex;align-items:center;gap:7px}
.platform-text-link .platform-svg{width:18px;height:18px;opacity:.84}
.platform-text-link em{font-style:normal}

@media(max-width:820px){
  .article-grid{grid-template-columns:1fr;gap:8px}
  .article-rail{padding-top:0}
  .entry-row{grid-template-columns:94px minmax(0,1fr) auto}
}
@media(max-width:560px){
  .social-icon-link{width:42px;height:42px}
  .social-icon-link .platform-svg{width:20px;height:20px}
  .entry-row{grid-template-columns:1fr auto;gap:6px 12px}
  .entry-meta{grid-column:1/-1}
  .article-shell{padding:38px 0 60px}
  .article-head h1{font-size:38px}
  .article-body{font-size:15px;line-height:1.85}
}


/* =======================================================
   v10 — compact single-column mobile nav + scalable archives
   ======================================================= */

.archive-parent{
  margin:0 0 12px!important;
  font-size:11px!important;
}
.archive-parent a{color:var(--muted)}
.archive-parent a:hover{color:var(--accent)}
.archive-empty{
  margin-top:20px!important;
  color:var(--muted);
  font-size:12px!important;
}
.archive-empty-large{
  margin-top:0!important;
  padding:26px 0;
  border-top:1px solid var(--text);
  border-bottom:1px solid var(--line);
}
.archive-empty-large p{margin:0!important}
.category-actions + .entry-list{margin-top:20px}

@media(max-width:820px){
  /* Keep the navigation vertical, but size the panel to its content.
     Tap targets remain comfortable without a large empty card. */
  .nav-links{
    top:58px;
    right:16px;
    width:max-content;
    min-width:138px;
    max-width:min(176px,calc(100vw - 28px));
    padding:6px;
    gap:0;
    border-radius:13px;
    align-items:stretch;
  }
  .nav-links a{
    width:100%;
    min-height:44px;
    padding:0 18px;
    border-radius:8px;
    white-space:nowrap;
  }
}

@media(max-width:560px){
  .nav-links{
    top:58px;
    right:14px;
    min-width:136px;
    padding:5px;
  }
  .nav-links a{
    min-height:44px;
    padding:0 17px;
    font-size:14px;
  }
}


/* =======================================================
   v13 — single-axis editorial entry list
   ======================================================= */

/*
  Entry metadata, title and summary share one content axis.
  Do not reintroduce a separate date/type column: it wastes
  horizontal space and creates a second indentation inside
  the page's existing editorial rail.
*/
.entry-list{
  margin-top:14px;
}

.entry-row{
  position:relative;
  display:block;
  padding:18px 36px 20px 0;
  border-bottom:1px solid var(--line);
}

.entry-meta{
  margin:0 0 7px;
  padding:0;
  color:var(--muted);
  font:12.5px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.015em;
  text-transform:none;
}

.entry-main h3{
  margin:0 0 5px;
  font-size:19px;
  line-height:1.35;
  letter-spacing:-.02em;
}

.entry-main p{
  margin:0;
  max-width:720px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

.entry-arrow{
  position:absolute;
  right:2px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  font-size:14px;
}

@media(max-width:820px){
  .entry-row{
    display:block;
    padding:17px 32px 19px 0;
  }
  .entry-meta{
    margin-bottom:6px;
    font-size:12px;
  }
}

@media(max-width:560px){
  .entry-list{
    margin-top:10px;
  }
  .entry-row{
    display:block;
    padding:16px 28px 18px 0;
  }
  .entry-meta{
    grid-column:auto;
    font-size:12px;
  }
  .entry-main h3{
    font-size:18px;
  }
  .entry-main p{
    font-size:13.5px;
    line-height:1.6;
  }
  .entry-arrow{
    right:0;
    font-size:13px;
  }
}


/* =======================================================
   v14 — automatic Markdown table of contents
   ======================================================= */

/* Only reserve the third column when an article actually has a TOC. */
@media(min-width:1041px){
  .article-grid.has-toc{
    grid-template-columns:96px minmax(0,760px) minmax(160px,200px);
    gap:24px;
  }
}

.article-main{
  min-width:0;
}

/* Let anchor jumps clear the sticky site header. */
.article-body h2,
.article-body h3{
  scroll-margin-top:90px;
}

/* Desktop TOC */
.article-toc-desktop{
  display:none;
}

@media(min-width:1041px){
  .article-toc-desktop{
    display:block;
    position:sticky;
    top:92px;
    align-self:start;
    max-height:calc(100vh - 118px);
    overflow:auto;
    padding:3px 0 10px 18px;
    border-left:1px solid var(--line);
    scrollbar-width:thin;
  }
}

.toc-label{
  margin-bottom:12px;
  color:var(--accent);
  font:10px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.article-toc ol{
  list-style:none;
  margin:0;
  padding:0;
}

.article-toc li{
  margin:0;
  padding:0;
}

.article-toc li + li{
  margin-top:8px;
}

.article-toc a{
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
  transition:color .15s ease;
}

.article-toc a:hover,
.article-toc a:focus-visible{
  color:var(--text);
}

.article-toc .toc-depth-3{
  padding-left:13px;
}

.article-toc .toc-depth-3 a{
  font-size:11.5px;
  color:color-mix(in srgb,var(--muted) 88%,transparent);
}

/* Inline / mobile TOC.
   Hidden on wide desktop where the sticky TOC is visible. */
.article-toc-inline{
  display:block;
  margin:22px 0 2px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.article-toc-inline summary{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:46px;
  cursor:pointer;
  color:var(--text);
  font-size:13px;
  list-style:none;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}

.article-toc-inline summary::-webkit-details-marker{
  display:none;
}

.article-toc-inline summary::after{
  content:"＋";
  margin-left:auto;
  color:var(--muted);
  font-size:15px;
  line-height:1;
}

.article-toc-inline[open] summary::after{
  content:"−";
}

.toc-count{
  color:var(--muted);
  font:10px ui-monospace,SFMono-Regular,Menlo,monospace;
}

.article-toc-inline nav{
  padding:0 0 15px;
}

.article-toc-inline li + li{
  margin-top:7px;
}

.article-toc-inline a{
  font-size:13px;
}

.article-toc-inline .toc-depth-3 a{
  font-size:12.5px;
}

@media(min-width:1041px){
  .article-toc-inline{
    display:none;
  }
}

@media(max-width:1040px){
  /* Do not leave a phantom third column when the sticky TOC moves inline. */
  .article-grid.has-toc{
    grid-template-columns:96px minmax(0,760px);
    gap:24px;
  }
}

@media(max-width:820px){
  .article-grid.has-toc{
    grid-template-columns:1fr;
    gap:8px;
  }
}

@media(max-width:560px){
  .article-toc-inline{
    margin-top:18px;
  }

  .article-toc-inline summary{
    min-height:44px;
    font-size:13px;
  }
}


/* =======================================================
   v15 — desktop typography hierarchy + refined sticky TOC
   ======================================================= */

/*
  Small rail text was drifting into "microtype".
  Keep numbers / technical kickers small, but make human-readable
  section labels legible on desktop.
*/
@media(min-width:821px){
  .section-label{
    gap:8px;
  }

  .section-label > span:first-child{
    font-size:10px;
    line-height:1.3;
    letter-spacing:.1em;
  }

  .section-label > .lang-zh,
  .section-label > .lang-en{
    font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
    font-size:12.5px;
    line-height:1.45;
    letter-spacing:.015em;
    text-transform:none;
  }

  /* Article identity such as “思考与创作” is a real navigation label,
     not decorative overline text. */
  .article-rail{
    padding-top:6px;
    font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
    font-size:12.5px;
    line-height:1.5;
    letter-spacing:.015em;
    text-transform:none;
    font-weight:520;
  }

  .inner-kicker{
    font-size:10.5px;
    line-height:1.45;
  }

  .row-index{
    font-size:10.5px;
  }

  /* Main explanatory copy should not read like UI caption text. */
  .start-row p{
    font-size:14px;
    line-height:1.7;
  }

  .content-row p,
  .featured-project p,
  .manifesto p{
    font-size:14.5px;
    line-height:1.75;
  }

  .article-summary{
    font-size:16px;
    line-height:1.72;
  }

  .article-meta{
    font-size:12px;
    line-height:1.5;
  }

  .article-body{
    font-size:17px;
    line-height:1.88;
  }

  .article-body h2{
    font-size:30px;
    line-height:1.28;
  }

  .article-body h3{
    font-size:22px;
    line-height:1.35;
  }
}

/*
  v14 started the 3-column article layout too early.
  Only genuinely wide desktops get the floating right TOC.
*/
@media(min-width:1200px){
  .article-grid.has-toc{
    grid-template-columns:96px minmax(0,760px) minmax(170px,190px);
    gap:24px;
  }

  .article-toc-desktop{
    display:block;
    position:sticky;
    top:92px;
    align-self:start;
    max-height:calc(100vh - 116px);
    overflow:auto;
    padding:2px 0 10px 17px;
    border-left:1px solid var(--line);
    scrollbar-width:thin;
  }

  .article-toc-inline{
    display:none;
  }
}

/* Between phone/tablet and true wide desktop, keep the TOC inline.
   This avoids crushing the 700–760px reading column. */
@media(min-width:821px) and (max-width:1199px){
  .article-grid.has-toc{
    grid-template-columns:96px minmax(0,760px);
    gap:24px;
  }

  .article-toc-desktop{
    display:none;
  }

  .article-toc-inline{
    display:block;
  }
}

/* Override the earlier v14 wide-TOC breakpoint. */
@media(min-width:1041px) and (max-width:1199px){
  .article-toc-desktop{
    display:none!important;
  }

  .article-toc-inline{
    display:block!important;
  }
}

/* TOC is navigation, so its typography can be compact but not tiny. */
@media(min-width:1200px){
  .toc-label{
    margin-bottom:13px;
    font-size:10.5px;
  }

  .article-toc a{
    position:relative;
    font-size:12.5px;
    line-height:1.48;
    transition:color .15s ease, transform .15s ease;
  }

  .article-toc .toc-depth-3 a{
    font-size:12px;
  }

  .article-toc a[aria-current="location"]{
    color:var(--text);
    font-weight:620;
  }

  .article-toc a[aria-current="location"]::before{
    content:"";
    position:absolute;
    left:-18px;
    top:.72em;
    width:7px;
    height:1px;
    background:var(--accent);
  }
}

@media(max-width:1199px){
  .article-toc-inline summary{
    font-size:13.5px;
  }

  .article-toc-inline a{
    font-size:13.5px;
  }

  .article-toc-inline .toc-depth-3 a{
    font-size:13px;
  }
}

/* On narrow screens, rails collapse into normal text flow.
   Keep them readable rather than restoring 9px microtype. */
@media(max-width:820px){
  .article-rail{
    font-size:12px;
    line-height:1.45;
    letter-spacing:.02em;
  }

  .section-label{
    font-size:11px;
  }

  .section-label > .lang-zh,
  .section-label > .lang-en{
    font-size:12px;
    letter-spacing:.01em;
  }
}
