/* 数字漫刊风：清晰的品牌锚点 + 高密度内容索引。无外部 CSS 依赖。 */
:root {
  color-scheme: light;
  --blue: #2952e3;
  --blue-deep: #173ab7;
  --sky: #0284c7;
  --ink: #141824;
  --body: #181c26;
  --muted: #5c6375;
  --red: #e63946;
  --bg: #f4f6f9;
  --white: #fff;
  --line: #e2e6ee;
  --line-strong: #ccd4e0;
  --soft-blue: #eef3ff;
  --soft-red: #fff0f2;
  --soft-sky: #eef8fd;
  --radius: 9px;
  --radius-small: 5px;
  --site-width: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--body); line-height: 1.65; font-size: 14px; }
main { min-height: 55vh; }
h1,h2,h3,h4,p,ul,ol,dl { margin-top: 0; }
h1,h2,h3 { line-height: 1.28; letter-spacing: -.025em; }
h1 { font-size: clamp(30px, 4vw, 52px); }
h2 { font-size: clamp(20px, 2vw, 26px); }
h3 { font-size: 17px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button,input,select,textarea { font: inherit; }
button,a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
img { max-width: 100%; display: block; }
p { color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
::selection { background: #cbd8ff; color: var(--ink); }
.container { width: min(var(--site-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: -60px; left: 12px; background: #fff; color: var(--ink); padding: 10px 16px; border: 2px solid var(--blue); border-radius: 4px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--ink); color: white; }
.topline { color: #bcc5dc; background: #0c1221; border-bottom: 1px solid #2a3448; font-size: 11px; letter-spacing: .03em; }
.topline-inner { display: flex; justify-content: space-between; align-items: center; min-height: 31px; gap: 12px; }
.masthead { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; color: white; }
.brand:hover { color: white; }
.brand > img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #252e44; border: 1px solid #455172; }
.brand-copy { display: grid; gap: 0; }
.brand-copy strong { font-size: 24px; font-weight: 850; line-height: 1.3; white-space: nowrap; letter-spacing: -.035em; }
.brand-copy small { font-size: 10px; color: #aeb9d5; letter-spacing: .03em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-left: auto; }
.site-nav a { font-size: 13px; color: #c8d2e7; border-radius: 5px; padding: 10px 13px; transition: color .18s, background .18s; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: #293651; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--red); }
.header-cta { border: 1px solid #606d87; color: white; white-space: nowrap; padding: 10px 14px; font-size: 12px; border-radius: 5px; font-weight: 700; }
.header-cta:hover { color: white; background: #2b3b63; border-color: #8393b3; }
.header-cta span { color: #ff727d; margin-left: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 5px; font-weight: 750; font-size: 13px; padding: 11px 19px; min-height: 43px; border: 1px solid transparent; line-height: 1.35; text-align: center; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--red); color: white; border-color: var(--red); }
.button-primary:hover { background: #c52937; border-color: #c52937; color: white; }
.button-outline { border-color: #7785a2; color: #fff; background: transparent; }
.button-outline:hover { background: #2a3855; border-color: #b7c3db; color: white; }
.button-ghost { background: white; border-color: var(--line-strong); color: var(--blue-deep); }
.button-ghost:hover { color: var(--blue); background: var(--soft-blue); border-color: var(--blue); }
.button-light { color: var(--ink); background: white; }
.button-light:hover { color: var(--blue); background: #f7f9ff; }
.hero { background: #182135; background-image: radial-gradient(circle at 85% 2%, #293f74 0, transparent 39%), linear-gradient(112deg, #141824, #1a2741 76%); color: white; border-top: 1px solid #293751; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); gap: 40px; padding-top: 38px; padding-bottom: 40px; align-items: stretch; }
.hero-main { align-self: center; max-width: 790px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; color: #a9c8ff; font-weight: 700; font-size: 12px; letter-spacing: .12em; margin-bottom: 15px; }
.pulse { width: 8px; height: 8px; background: var(--red); border-radius: 100%; box-shadow: 0 0 0 5px rgba(230,57,70,.13); }
.hero h1 { color: white; font-size: clamp(30px, 3.7vw, 52px); line-height: 1.23; letter-spacing: -.05em; margin: 0 0 17px; font-weight: 900; }
.hero h1 em { font-size: .75em; font-style: normal; color: #8daaff; font-weight: 760; letter-spacing: -.04em; }
.hero-main > p { color: #bcc7da; max-width: 640px; font-size: 14px; line-height: 1.95; margin-bottom: 21px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-chips span { border: 1px solid #43516f; border-radius: 4px; color: #bfcee8; font-size: 11px; padding: 4px 11px; background: rgba(255,255,255,.02); }
.hero-side { border: 1px solid #4b5875; background: rgba(255,255,255,.045); border-radius: 6px; padding: 18px; align-self: center; }
.hero-side-title { color: #b1c0de; font-size: 12px; font-weight: 750; border-bottom: 1px solid #45536e; padding: 0 0 12px; }
.hero-side a { display: flex; align-items: center; gap: 13px; padding: 14px 2px; border-bottom: 1px solid #33415b; font-size: 13px; color: #eef3ff; }
.hero-side a:last-child { border-bottom: 0; padding-bottom: 3px; }
.hero-side a strong { font-size: 18px; color: #94a5c4; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-side a span { flex: 1; }
.hero-side a b { color: #ff6f7e; font-weight: normal; }
.hero-side a:hover span { color: #9db9ff; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 306px; gap: 22px; align-items: start; margin-top: 28px; }
.primary-column, .sidebar { min-width: 0; display: grid; gap: 22px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.catalog, .recommendations, .updates { padding: 23px; }
.section-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 21px; }
.section-heading h2 { font-size: 24px; font-weight: 850; letter-spacing: -.035em; color: var(--ink); margin: 3px 0 8px; }
.section-heading p { margin: 0; color: #737d8e; line-height: 1.75; }
.eyebrow { color: var(--blue); display: inline-block; font-weight: 800; font-size: 11px; letter-spacing: .08em; }
.eyebrow.light { color: #9db9ff; }
.result-count { flex: 0 0 auto; white-space: nowrap; margin-top: 21px; font-size: 11px; font-weight: 760; color: #758098; background: #f4f6f9; padding: 6px 9px; border: 1px solid var(--line); border-radius: 4px; }
.filter-panel { background: #f7f9fc; border: 1px solid var(--line); padding: 16px 18px; border-radius: 5px; margin-bottom: 19px; }
.filter-panel > label { display: block; color: var(--ink); font-weight: 800; margin-bottom: 7px; font-size: 12px; }
.search-row { display: flex; gap: 8px; }
.search-row input { min-width: 0; flex: 1; height: 42px; padding: 9px 13px; color: var(--ink); border: 1px solid #cfd7e4; border-radius: 5px; outline-offset: 2px; background: #fff; }
.search-row input::placeholder { color: #8993a5; }
.search-row input:focus { border-color: var(--blue); }
.search-row button { min-height: 42px; padding: 10px 21px; background: var(--blue); border-color: var(--blue); }
.search-row button:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.filter-row { display: grid; gap: 12px; margin-top: 16px; }
.filter-row fieldset { display: grid; grid-template-columns: 75px minmax(0, 1fr); gap: 8px; align-items: start; }
.filter-row legend { float: left; width: 75px; font-size: 12px; line-height: 28px; font-weight: 800; color: #4c5566; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips a { display: inline-block; padding: 4px 10px; color: #606b7e; background: #fff; border: 1px solid #e4e8f0; border-radius: 4px; font-size: 11px; line-height: 1.55; }
.filter-chips a:hover { color: var(--blue); border-color: #aac1fd; }
.filter-chips a.active { color: var(--blue); background: #ebf0ff; border-color: #9eaff4; font-weight: 800; }
.filter-feedback { padding: 8px 0 0; border-top: 1px dashed var(--line-strong); margin: 11px 0 0; font-size: 12px; }
.filter-feedback a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.work-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; transition: border-color .17s, transform .17s; }
.work-card:hover { border-color: #a3b6ee; transform: translateY(-2px); }
.cover-frame { position: relative; aspect-ratio: 5 / 6.8; overflow: hidden; background: linear-gradient(145deg,#e0e7f5,#cdd5e5); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.corner { position: absolute; z-index: 1; top: 9px; left: 9px; padding: 3px 8px; border-radius: 3px; background: rgba(20,24,36,.87); color: #fff; font-size: 10px; letter-spacing: .03em; }
.work-body { padding: 11px 10px 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; min-height: 21px; margin-bottom: 6px; }
.tag { font-size: 10px; font-weight: 600; color: #126fa4; background: #eaf7ff; border-radius: 3px; padding: 2px 6px; line-height: 1.35; }
.work-card h3 { font-size: 14px; font-weight: 850; color: #1f2735; line-height: 1.45; height: 2.9em; margin-bottom: 7px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.work-summary { font-size: 11px; line-height: 1.7; min-height: 5.1em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 9px; color: #637084; }
.work-meta { color: #8992a0; font-size: 10px; font-variant-numeric: tabular-nums; border-top: 1px solid #edf0f4; padding: 7px 0 6px; margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 11px; font-weight: 800; line-height: 1.4; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { text-align: center; padding: 45px 15px; border: 1px dashed #b9c4d6; border-radius: 6px; }
.empty-state h3 { color: var(--ink); font-size: 20px; }
.empty-state p { font-size: 13px; }
.recommend-list { border-top: 1px solid var(--line); }
.recommend-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) 32px; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); align-items: start; }
.recommend-item:last-child { border-bottom: none; padding-bottom: 0; }
.recommend-index { font-size: 25px; font-weight: 900; line-height: 1.1; color: #c6cddd; font-variant-numeric: tabular-nums; }
.recommend-item h3 { font-size: 16px; margin: 0 0 7px; color: var(--ink); }
.recommend-item p { margin-bottom: 6px; font-size: 12px; line-height: 1.8; }
.recommend-item small { color: var(--sky); font-size: 11px; }
.arrow-circle { align-self: center; border-radius: 100%; display: grid; place-items: center; width: 29px; height: 29px; background: #f0f3f9; color: #54647e; font-size: 15px; }
.arrow-circle:hover { background: var(--blue); color: #fff; }
.update-table { width: 100%; }
.update-head, .update-row { display: grid; grid-template-columns: minmax(125px,1.7fr) minmax(100px,1.2fr) minmax(94px,.8fr) 86px; gap: 12px; align-items: center; }
.update-head { color: #7c8798; background: #f5f7fb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; padding: 10px 13px; }
.update-row { font-size: 12px; padding: 13px; border-bottom: 1px solid #edf0f4; color: #7a8494; }
.update-row:last-child { border-bottom: 0; }
.update-row strong { font-weight: 800; color: #333a4b; }
.update-row .state { color: #b0505b; font-weight: 700; }
.update-row a { font-weight: 760; color: var(--blue); font-size: 11px; }
.update-row a:hover { text-decoration: underline; }
.sidebar { gap: 20px; }
.rank-panel { padding: 20px 18px 12px; }
.aside-title h2 { font-size: 20px; margin: 3px 0 8px; font-weight: 880; }
.aside-title p { font-size: 11px; line-height: 1.8; margin-bottom: 15px; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: grid; grid-template-columns: 35px minmax(0,1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.rank-number { font-size: 24px; font-weight: 900; line-height: 1.1; color: #bec6d3; font-variant-numeric: tabular-nums; }
.rank-number.top { color: var(--red); }
.rank-info h3 { font-size: 13px; color: #242c3b; margin: 0 0 6px; }
.rank-info p { font-size: 11px; line-height: 1.7; color: #687589; margin-bottom: 7px; }
.rank-info small { font-size: 10px; color: #8b93a3; }
.sidebar-callout { background: linear-gradient(135deg,#233db0,#162860); color: white; border-radius: 7px; padding: 23px; border: 1px solid #3e55ab; }
.sidebar-callout .eyebrow { color: #a8c6ff; }
.sidebar-callout h2 { font-size: 21px; margin: 11px 0; color: white; }
.sidebar-callout p { color: #cdd7f5; font-size: 12px; line-height: 1.9; }
.sidebar-callout .button { margin-top: 5px; width: 100%; font-size: 12px; }
.mini-guide { padding: 19px 19px 9px; }
.mini-guide h2 { font-size: 16px; margin-bottom: 10px; }
.mini-guide a { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 10px 0; color: #455269; font-size: 12px; }
.mini-guide a:hover, .mini-guide a span { color: var(--blue); }
.reading-options { padding-block: 34px 54px; }
.option-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 19px; }
.option-grid article { border: 1px solid var(--line); border-radius: 7px; background: white; padding: 25px 27px; }
.option-icon { display: grid; place-items: center; font-size: 26px; font-weight: 900; color: var(--blue); background: var(--soft-blue); border: 1px solid #dbe5ff; width: 48px; height: 48px; border-radius: 8px; margin-bottom: 14px; }
.option-grid h3 { font-size: 19px; margin: 0 0 8px; color: #1c2434; }
.option-grid p { max-width: 540px; font-size: 12px; line-height: 1.9; min-height: 4.8em; margin-bottom: 17px; }
.option-grid a { color: var(--blue); font-size: 12px; font-weight: 800; }
.site-footer { background: #141824; color: #e6ebf4; padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(140px,.8fr) minmax(160px,.8fr); gap: 60px; padding-bottom: 39px; }
.footer-brand { font-weight: 860; font-size: 22px; color: #fff; }
.footer-brand span { font-size: 14px; font-weight: 550; color: #a3baf4; }
.footer-grid p { color: #a8b2c4; font-size: 12px; line-height: 1.9; max-width: 440px; margin: 13px 0 0; }
.footer-grid h2 { font-size: 13px; color: #fff; font-weight: 800; margin: 5px 0 14px; }
.footer-grid > div:not(:first-child) a { display: block; font-size: 12px; color: #b8c3d7; margin-bottom: 9px; }
.footer-grid a:hover, .footer-bottom a:hover { color: white; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #344054; min-height: 60px; color: #8f9aaf; font-size: 11px; }
.footer-bottom a { color: #c1cce0; }
/* 下载页：信息结构独立于首页。 */
.download-main .container { max-width: 1210px; }
.breadcrumb { display: flex; gap: 11px; align-items: center; color: #798395; font-size: 12px; padding: 18px 0; }
.breadcrumb a { color: #4052a0; }
.breadcrumb a:hover { text-decoration: underline; }
.download-hero { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.7fr); gap: 36px; align-items: center; background: linear-gradient(113deg,#141824 0%,#1d325d 78%,#29498e 100%); border-radius: 10px; color: #fff; padding: clamp(25px,4vw,52px); }
.download-hero h1 { color: white; font-weight: 900; font-size: clamp(29px,4.3vw,48px); margin: 12px 0 18px; }
.download-hero p { max-width: 650px; color: #c7d4ec; font-size: 14px; line-height: 2; }
.download-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.download-hero-note { background: rgba(255,255,255,.075); border: 1px solid #627398; border-radius: 8px; padding: 25px; }
.download-hero-note strong { display: block; font-size: 20px; margin-bottom: 12px; }
.download-hero-note p { font-size: 12px; line-height: 2; margin-bottom: 18px; }
.download-hero-note span { display: block; font-size: 10px; color: #9fbbf4; border-top: 1px solid #4d5b7e; padding-top: 12px; }
.device-section, .offline-section, .compare-section, .faq-section { margin-top: 37px; }
.step-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.step-grid article { background: white; border: 1px solid var(--line); border-radius: 7px; padding: 20px 20px 22px; }
.step-index { display: inline-flex; align-items: center; color: var(--red); font-variant-numeric: tabular-nums; font-weight: 850; font-size: 25px; margin-bottom: 17px; letter-spacing: -.02em; }
.step-grid h3 { color: var(--ink); font-size: 17px; margin-bottom: 9px; }
.step-grid p { color: #697588; font-size: 12px; line-height: 1.95; margin: 0; }
.offline-section { padding: 29px; }
.offline-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(270px,.8fr); gap: 28px; }
.offline-flow { counter-reset: flow; border-left: 2px solid #dce6ff; margin-left: 14px; }
.offline-flow > div { position: relative; padding: 0 0 23px 26px; }
.offline-flow > div:last-child { padding-bottom: 0; }
.offline-flow > div::before { counter-increment: flow; content: counter(flow); position: absolute; left: -16px; top: 0; border-radius: 50%; background: var(--blue); border: 3px solid white; color: white; display: grid; place-items: center; width: 29px; height: 29px; font-size: 11px; font-weight: 750; }
.offline-flow b { display: block; margin-bottom: 5px; color: #27324a; font-size: 14px; }
.offline-flow p { font-size: 12px; margin: 0; max-width: 620px; line-height: 1.85; }
.offline-note { background: #f2f5fb; border: 1px solid #e2e8f4; border-radius: 7px; padding: 23px; align-self: start; }
.offline-note h3 { color: #193b99; font-size: 17px; margin-bottom: 11px; }
.offline-note p { font-size: 12px; line-height: 1.95; }
.offline-note p:last-child { margin-bottom: 0; }
.compare-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.compare-scroll table { border-collapse: collapse; min-width: 600px; width: 100%; text-align: left; font-size: 13px; }
.compare-scroll th, .compare-scroll td { padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-scroll tr:last-child th, .compare-scroll tr:last-child td { border-bottom: 0; }
.compare-scroll thead th { background: #eaf0ff; color: #283f89; font-weight: 800; }
.compare-scroll tbody th { width: 23%; color: #2e3648; background: #f9fafc; font-weight: 770; }
.compare-scroll tbody td { color: #586478; }
.faq-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 12px; }
.faq-grid details { border: 1px solid var(--line); border-radius: 7px; background: white; padding: 17px 19px; }
.faq-grid summary { cursor: pointer; font-weight: 770; color: #2c3548; font-size: 13px; padding-right: 13px; }
.faq-grid details[open] { border-color: #9aaef0; }
.faq-grid details p { margin: 13px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: #657186; font-size: 12px; line-height: 1.9; }
.download-end { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin: 36px 0 54px; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.download-end h2 { margin: 5px 0 7px; font-size: 22px; }
.download-end p { font-size: 12px; margin-bottom: 0; }
.download-end .button { flex: 0 0 auto; }
/* 作品资料页明确只展示编辑信息，不假装托管作品章节。 */
.work-main .container { max-width: 1120px; }
.work-detail { display: grid; grid-template-columns: minmax(200px,310px) minmax(0,1fr); gap: 35px; padding: 30px; }
.detail-cover { background: #e6eaf3; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; align-self: start; }
.detail-cover img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; }
.detail-body h1 { margin: 5px 0 14px; font-size: clamp(29px,3.2vw,41px); font-weight: 900; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.detail-tags span { background: var(--soft-blue); color: #3154ad; border: 1px solid #d8e1ff; padding: 5px 9px; border-radius: 4px; font-size: 11px; }
.detail-body h2 { font-size: 17px; font-weight: 820; border-left: 3px solid var(--blue); padding-left: 11px; margin: 21px 0 9px; }
.detail-body p { line-height: 2; font-size: 14px; margin-bottom: 0; }
.info-callout { color: #5c6576; border: 1px solid #dee6f4; border-left: 3px solid #7791d4; background: #f8faff; padding: 14px 17px; margin-top: 24px; font-size: 12px; line-height: 1.9; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.related { padding-bottom: 54px; margin-top: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.related-card { min-width: 0; display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 11px; background: white; border: 1px solid var(--line); border-radius: 6px; padding: 10px; align-items: center; }
.related-card:hover { border-color: #9db5ff; }
.related-card img { width: 64px; height: 90px; object-fit: cover; border-radius: 3px; background: #d8deeb; }
.related-card strong { display: block; font-size: 13px; line-height: 1.5; margin-bottom: 6px; }
.related-card small { font-size: 10px; color: #74819a; line-height: 1.6; display: block; }
.error-panel { text-align: center; padding-block: 100px 125px; }
.error-num { font-size: clamp(90px, 20vw, 180px); line-height: 1; letter-spacing: -.09em; color: #d6ddeb; font-weight: 900; }
.error-panel h1 { color: #283044; font-size: clamp(25px, 4vw, 36px); margin: 16px 0; }
.error-panel p { margin-bottom: 26px; }
.error-panel .button { margin: 0 5px 8px; }
/* 强化对比度和低端设备渲染稳定性。 */
@media (min-width: 1450px) {
  .hero-layout { padding-top: 44px; padding-bottom: 45px; }
  .content-layout { margin-top: 33px; }
  .work-grid { gap: 16px; }
}
@media (max-width: 1180px) {
  .masthead { gap: 16px; }
  .brand-copy strong { font-size: 21px; }
  .site-nav a { padding: 9px 8px; font-size: 12px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 278px; gap: 16px; }
  .catalog,.recommendations,.updates { padding: 18px; }
  .work-grid { gap: 10px; }
  .work-body { padding: 10px 8px; }
  .footer-grid { gap: 30px; }
  .step-grid { gap: 10px; }
  .step-grid article { padding: 17px; }
}
@media (max-width: 990px) {
  .masthead { flex-wrap: wrap; padding-block: 13px; gap: 7px 16px; }
  .brand { margin-right: auto; }
  .site-nav { order: 3; width: 100%; margin-left: 0; padding-top: 7px; border-top: 1px solid #36435b; }
  .site-nav a { flex: 1; text-align: center; padding: 9px 4px; }
  .hero-layout { gap: 20px; grid-template-columns: minmax(0,1fr) 265px; }
  .hero-main > p { line-height: 1.8; }
  .content-layout { grid-template-columns: minmax(0,1fr) 260px; }
  .work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .rank-panel { padding: 17px 14px; }
  .sidebar-callout { padding: 18px; }
  .filter-row fieldset { display: block; }
  .filter-row legend { float: none; width: auto; line-height: 1.4; margin-bottom: 7px; }
  .step-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .download-hero { grid-template-columns: minmax(0,1fr) 255px; gap: 20px; }
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .topline-inner { min-height: 27px; font-size: 10px; }
  .topline-inner span:last-child { display: none; }
  .masthead { min-height: auto; }
  .brand > img { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 20px; }
  .header-cta { font-size: 11px; padding: 9px 10px; }
  .site-nav { display: flex; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; gap: 4px; }
  .site-nav a { flex: 0 0 auto; white-space: nowrap; padding: 9px 10px; }
  .hero-layout { display: block; padding-top: 28px; padding-bottom: 27px; }
  .hero h1 { font-size: 36px; }
  .hero-side { margin-top: 25px; padding: 13px; }
  .hero-side a { display: inline-flex; border-bottom: 0; padding: 7px 10px; border: 1px solid #475777; border-radius: 4px; margin: 3px; }
  .hero-side a strong { font-size: 12px; }
  .hero-side a b { display: none; }
  .content-layout { display: block; margin-top: 17px; }
  .primary-column { gap: 17px; }
  .sidebar { margin-top: 17px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .rank-panel { grid-row: span 2; }
  .catalog,.recommendations,.updates { padding: 18px; }
  .work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rank-list li { gap: 7px; }
  .rank-info p { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .reading-options { padding-block: 25px 35px; }
  .option-grid { gap: 13px; }
  .option-grid article { padding: 20px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .download-hero { display: block; padding: 28px; }
  .download-hero-note { margin-top: 25px; }
  .offline-layout { display: block; }
  .offline-note { margin-top: 25px; }
  .faq-grid { display: block; }
  .faq-grid details { margin-bottom: 9px; }
  .work-detail { grid-template-columns: 220px minmax(0,1fr); gap: 22px; padding: 20px; }
}
@media (max-width: 530px) {
  .brand-copy small { font-size: 9px; }
  .brand-copy strong { font-size: 18px; }
  .brand { gap: 7px; }
  .brand > img { width: 36px; height: 36px; }
  .header-cta { font-size: 10px; padding: 7px 8px; }
  .hero h1 { font-size: 30px; }
  .hero-main > p { font-size: 12px; }
  .hero-actions .button { flex: 1; }
  .hero-chips span { font-size: 10px; }
  .hero-side a { font-size: 11px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 21px; }
  .section-heading p { font-size: 11px; }
  .result-count { display: none; }
  .catalog,.recommendations,.updates { padding: 13px; }
  .filter-panel { padding: 13px; }
  .filter-chips a { padding: 5px 8px; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .work-body { padding: 9px; }
  .work-summary { min-height: 5.1em; }
  .update-head, .update-row { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) 76px; gap: 7px; padding: 12px 6px; }
  .update-head span:nth-child(2), .update-row span:nth-child(2) { display: none; }
  .update-row { font-size: 11px; }
  .update-row a { font-size: 10px; text-align: right; }
  .sidebar { display: grid; grid-template-columns: 1fr; }
  .rank-list li { grid-template-columns: 40px 1fr; }
  .rank-info p { -webkit-line-clamp: 2; }
  .option-grid { display: block; }
  .option-grid article { margin-bottom: 12px; }
  .option-grid p { min-height: 0; }
  .footer-grid { gap: 18px; }
  .footer-brand { font-size: 19px; }
  .footer-bottom { font-size: 10px; gap: 9px; }
  .download-hero { padding: 23px 19px; }
  .download-hero h1 { font-size: 29px; }
  .download-hero p { font-size: 12px; }
  .download-hero-actions { display: grid; }
  .step-grid { display: grid; grid-template-columns: 1fr; }
  .step-grid article { padding: 19px; }
  .step-index { margin-bottom: 8px; }
  .offline-section { padding: 18px; }
  .compare-scroll th, .compare-scroll td { padding: 12px 14px; }
  .download-end { display: block; padding: 21px; }
  .download-end .button { margin-top: 17px; }
  .work-detail { display: block; padding: 18px; }
  .detail-cover { width: min(240px,100%); margin-bottom: 23px; }
  .detail-body h1 { font-size: 30px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { grid-template-columns: 56px 1fr; }
  .related-card img { width: 56px; height: 78px; }
}
@media (max-width: 360px) {
  :root { --gutter: 11px; }
  .header-cta { display: none; }
  .brand-copy strong { font-size: 19px; }
  .search-row input { width: 0; }
  .search-row button { padding-inline: 11px; }
  .work-grid { gap: 7px; }
  .work-body { padding-inline: 7px; }
  .recommend-item { grid-template-columns: 30px minmax(0,1fr) 26px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  :root { --bg: #fff; }
  body { font-size: 12pt; background: #fff; color: #000; }
  .topline, .site-nav, .header-cta, .hero-actions, .hero-side, .filter-panel, .sidebar-callout, .site-footer, .skip-link { display: none !important; }
  .site-header, .hero { background: #fff !important; color: #000; border: 0; }
  .brand, .hero h1, .hero-main > p { color: #000 !important; }
  .content-layout { display: block; }
  .sidebar { display: block; }
  .panel { break-inside: avoid; border-color: #bbb; }
  .work-grid { grid-template-columns: repeat(3,1fr); }
  a { text-decoration: none; }
  .cover-frame { background: #eee; }
  .download-hero { background: #fff; color: #000; }
  .download-hero h1, .download-hero p { color: #000; }
  .step-grid { grid-template-columns: repeat(2,1fr); }
}
