:root { --bg: #10141d; --ink: #e9ecf5; --muted: #adb7ca; --line: #333c4e; --panel: #1a2130; --accent: #8aafff; --pink: #ff91c7; --header: rgba(16,20,29,.96); }
[data-theme="light"] { --bg: #f7f7f5; --ink: #252733; --muted: #656b79; --line: #d9dde4; --panel: #fff; --accent: #245e92; --pink: #a02464; --header: rgba(247,247,245,.97); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0px; background: var(--bg); color: var(--ink); font: 17px / 1.8 "Microsoft YaHei", system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
.site-header { position: sticky; top: 0px; z-index: 100; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(14px); }
.site-header-inner { max-width: 1370px; padding: 16px 32px; margin: auto; display: flex; align-items: center; gap: 28px; }
.site-brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-brand img { width: 28px; height: 28px; border-radius: 5px; margin: 0px; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.site-nav a[aria-current] { color: var(--ink); font-weight: 700; }
.hd-r { display: flex; align-items: center; }
.hd-r button { width: 36px; height: 36px; display: grid; place-items: center; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.hd-r svg { width: 18px; height: 18px; }
.hd-r .moon { display: none; }
[data-theme="light"] .hd-r .moon { display: block; }
[data-theme="light"] .hd-r .sun { display: none; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 200; padding: 10px 20px; background: var(--panel); color: var(--ink); }
.skip-link:focus { top: 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 11px; font-size: 13px; color: var(--muted); margin: 0px 0px 30px; }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.site-footer { max-width: 1306px; margin: 50px auto 0px; padding: 25px 0px 35px; display: flex; gap: 22px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.research-index { max-width: 1120px; margin: 0px auto; padding: 45px 32px 70px; min-height: 65vh; }
.research-eyebrow { font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--pink); margin-top: 48px; }
.research-index h1 { font-size: 44px; line-height: 1.3; margin: 12px 0px 20px; }
.research-intro { color: var(--muted); max-width: 700px; margin: 0px 0px 45px; }
.research-card { display: grid; grid-template-columns: 1.6fr 1fr; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); text-decoration: none; color: var(--ink); overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.research-card:hover { border-color: var(--pink); transform: translateY(-2px); }
.research-card-copy { padding: 34px 38px; }
.research-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.research-meta span { color: var(--pink); font-weight: 700; }
.research-card h2 { font-size: 28px; line-height: 1.4; margin: 0px 0px 7px; }
.research-card p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 14px 0px 22px; }
.research-card .research-subtitle { font-size: 19px; color: var(--ink); margin: 0px 0px 18px; }
.read-link { font-size: 14px; font-weight: 700; color: var(--accent); }
.research-card-mark { background: linear-gradient(140deg, rgba(160, 36, 100, 0.13), rgba(36, 94, 146, 0.07)); display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 250px; gap: 18px; border-left: 1px solid var(--line); }
.research-card-mark > span { color: var(--pink); font-size: 78px; font-weight: 900; line-height: 1; letter-spacing: -4px; }
.research-card-mark small { color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.method-page { max-width: 1000px; margin: 40px auto 70px; padding: 0px 30px; }
.method-page h1 { font-size: 30px; line-height: 1.5; }
.method-page h2 { font-size: 23px; margin-top: 35px; }
.method-page table { border-collapse: collapse; font-size: 14px; display: block; overflow: auto; max-width: 100%; }
.method-page th, .method-page td { padding: 10px 13px; border: 1px solid var(--line); min-width: 90px; }
.method-page pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.method-page code { overflow-wrap: anywhere; }
.method-page p { overflow-wrap: anywhere; }
.method-page img { max-width: 100%; height: auto; }
@media (max-width: 980px) {
  .site-footer { margin-left: 22px; margin-right: 22px; }
  .site-header-inner { padding: 13px 22px; gap: 15px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 13px; }
  .research-index { padding: 30px 22px 50px; }
  .research-index h1 { font-size: 34px; }
  .research-card-copy { padding: 28px; }
  .research-card h2 { font-size: 24px; }
  .research-card-mark > span { font-size: 64px; }
}
@media (max-width: 600px) {
  .site-brand { font-size: 19px; }
  .site-nav a:first-child { display: none; }
  .site-header-inner { gap: 12px; }
  .research-card { grid-template-columns: 1fr; }
  .research-card-mark { min-height: 130px; flex-direction: row; gap: 28px; border-left: 0px; border-top: 1px solid var(--line); }
  .research-card-mark > span { font-size: 48px; }
  .research-card-mark small { max-width: 80px; line-height: 1.8; }
  .research-eyebrow { margin-top: 30px; }
  .research-card-copy { padding: 25px; }
  .research-intro { font-size: 16px; }
  .method-page { padding: 0px 22px; }
  .method-page h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .research-card { transition: none; }
  .research-card:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .breadcrumbs, .skip-link { display: none; }
  body { background: rgb(255, 255, 255); color: rgb(0, 0, 0); }
  .method-page { max-width: none; padding: 0px; }
}
.research-index .research-card + .research-card { margin-top: 24px; }