/* 欧灵官网首页（11-15 改版）。页面顺序照卖家的问题排：能不能一个人做 → 上架引擎做出什么 → 工坊做出什么 → 我要做什么 → 省下什么 → 店和钱安不安全。
   依据 Refactoring UI：间距只取尺度 4 8 12 16 24 32 48 64 96 128（ch03 p60–64）；字级 12–48 取字级表（ch04 p88–93）；字重只用 400／600；
   每屏只有一颗实心主按钮（ch02 p52–54）；标签比值淡（ch02 p38–44）；卡片少用框线，用底色差与阴影分层（ch08 p207–210）；
   照片放固定容器、整张显示（ch07 p181–190）。根字级跟 App 同一套：1920 宽 100% ＝16px，浏览器缩 80% ＝20px。 */
html { font-size: clamp(16px, 0.8333vw, 20px); }
:root {
  --blue: #1f5fff; --blue-700: #1747c2; --blue-100: #dfe8ff; --blue-50: #eef3ff;
  --ink: #141a24; --muted: #5a6472; --line: #e6eaf0; --band: #f6f8fb; --surface: #fff; --panel: #f1f4f8;
  --teal: #12a88a; --teal-100: #dcf6ef; --teal-700: #0b6e5b; --amber-100: #fff1d6; --amber-700: #8a5a00;
  --shadow: 0 1px 0.1875rem rgba(20,26,36,.06), 0 0.5rem 1.5rem rgba(20,26,36,.06);
  --shadow-lg: 0 1px 0.1875rem rgba(20,26,36,.08), 0 1.5rem 3rem rgba(20,26,36,.12);
}
* { box-sizing: border-box; margin: 0; }
body { font-family: "MiSans VF", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; font-size: 1.125rem; line-height: 1.6; }
a { color: inherit; }
.wrap { width: 75rem; margin: 0 auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: #fff; color: var(--ink); padding: 0.5rem 1rem; border-radius: 0.5rem; box-shadow: var(--shadow); }
.skip:focus { top: 1rem; }
:where(a, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 0.1875rem; }

/* ---------- 首屏 ---------- */
.page { position: relative; overflow: hidden; background: #f6f9ff; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--dx), var(--dy)); } }
.grain { position: absolute; inset: 0; opacity: .05; pointer-events: none; mix-blend-mode: soft-light; }
nav { position: relative; z-index: 3; height: 4.5rem; width: 75rem; margin: 0 auto; display: flex; align-items: center; gap: 3rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.links { display: flex; gap: 2rem; font-size: 1rem; }
.links a, .right a, .fcols a { text-decoration: none; }
.links a:hover { color: var(--blue-700); }
.right { margin-left: auto; display: flex; align-items: center; gap: 1rem; font-size: 1rem; }
.login { padding: 0.5rem 0.75rem; }
.login:hover { color: var(--blue-700); }
.join { padding: 0.5rem 1.5rem; border-radius: 999px; border: 1px solid var(--line); background: #ffffffb3; }
.join:hover { border-color: var(--blue); color: var(--blue-700); }
.brand, .links a, .right a, .right button, .lang a, .login, .join, .btn, .btn2 { white-space: nowrap; }

.hero { position: relative; z-index: 2; text-align: center; padding: 4rem 1rem 0; }
h1 { font-size: 3.75rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; word-break: keep-all; }
.hl { color: var(--blue-700); }
.hero .sub { font-size: 1.25rem; color: var(--muted); margin: 1.5rem auto 0; max-width: 30em; text-wrap: balance; word-break: keep-all; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }
.has-acct { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0 0.5rem; color: var(--muted); }
.has-acct a { color: var(--blue-700); font-weight: 600; text-decoration: none; }

/* ---------- 通用 ---------- */
section.s { padding: 8rem 0; }
section.s.band { background: var(--band); }
.eyebrow { font-size: 1rem; font-weight: 600; color: var(--blue-700); }
h2 { font-size: 2.25rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; margin-top: 0.75rem; text-wrap: balance; word-break: keep-all; }
.center { text-align: center; }
.lead { font-size: 1.25rem; color: var(--muted); margin-top: 1rem; max-width: 30em; text-wrap: pretty; }
.center .lead { margin-left: auto; margin-right: auto; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; text-wrap: balance; }
.desc { color: var(--muted); margin-top: 0.5rem; text-wrap: pretty; }
.btn, .btn2 { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 1rem 2rem; font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.btn { background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-700); }
.btn2 { border: 1px solid var(--line); background: var(--surface); padding: 0.75rem 1.5rem; }
.btn2:hover { border-color: var(--blue); color: var(--blue-700); }
.btn2 svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 3rem; height: 3rem; flex: none; border-radius: 0.875rem; background: var(--blue-50); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.ico svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.note { font-size: 0.875rem; color: var(--muted); }

/* ---------- 两个产品：上下排，各占一整段，左文右图／左图右文 ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 6rem; align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); }
.feature.flip .ftxt { order: 2; }
.ftxt .btn2 { margin-top: 2rem; }
.points { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0.75rem; }
.points li { display: flex; gap: 0.75rem; align-items: flex-start; }
.points svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; color: var(--teal); fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

/* 核心（第一屏）：你贴的那条链接 → 欧灵备好的俄文商品卡。
   链接那格压平、半透明（次要，ch02 p33–37 削弱竞争元素）；商品卡用最高一级阴影（ch06 p157–160 越高越吸睛），视线落在结果上。 */
.core { position: relative; z-index: 2; padding: 4rem 0 6rem; }
.src { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.75rem 1rem 0.75rem 0.75rem; border-radius: 1rem; background: #ffffffb3; box-shadow: inset 0 0 0 1px #ffffff; }
.src picture { display: block; width: 3rem; height: 3rem; border-radius: 0.5rem; overflow: hidden; }
.src img { display: block; width: 100%; height: 100%; object-fit: cover; }
.src-url { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; min-width: 0; }
.src-url svg { flex: none; width: 1.125rem; height: 1.125rem; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.src-url span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-meta { display: flex; gap: 0.75rem; font-size: 0.875rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.src-tag { font-size: 0.875rem; font-weight: 600; color: var(--blue-700); background: var(--blue-50); padding: 0.25rem 0.75rem; border-radius: 999px; white-space: nowrap; }
.via { display: flex; justify-content: center; height: 3.5rem; position: relative; }
.via::before { content: ""; position: absolute; left: 50%; top: 0.25rem; bottom: 0.25rem; width: 2px; margin-left: -1px; background: var(--blue-100); }
.via span { position: relative; align-self: center; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.875rem 0.25rem 0.625rem; border-radius: 999px; background: var(--blue); color: #fff; font-size: 0.875rem; font-weight: 600; }
.via svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.pcard { background: var(--surface); border-radius: 1.5rem; box-shadow: var(--shadow-lg); padding: 2rem; display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem 2rem; }
.pcard .shot { aspect-ratio: 1 / 1; border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px rgba(20,26,36,.06); overflow: hidden; }
.pcard .shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pcard .ptitle { font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.nowrap { white-space: nowrap; }
.pcard .price { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pcard dl { margin-top: 1rem; display: grid; grid-template-columns: 4rem minmax(0, 1fr); font-size: 1rem; }
.pcard dt, .pcard dd { padding: 0.5rem 0; border-top: 1px solid var(--line); }
.pcard dt { color: var(--muted); font-size: 0.875rem; padding-top: 0.625rem; }
.pcard dd { margin: 0; }
.pcard .pfoot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 1rem; background: var(--teal-100); color: var(--teal-700); font-weight: 600; }
.chip svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.tag { font-size: 0.875rem; color: var(--muted); }

/* 工坊：同一件商品的处理前后 */
.ba { background: var(--surface); border-radius: 1.5rem; box-shadow: var(--shadow-lg); padding: 1.5rem; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ba figure { margin: 0; }
.ba .img { position: relative; aspect-ratio: 1 / 1; border-radius: 1rem; overflow: hidden; background: var(--panel); }
.ba .img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba .after-img { box-shadow: inset 0 0 0 1px rgba(20,26,36,.06); }
.ba .lab { position: absolute; right: 0.75rem; top: 0.75rem; font-size: 1rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: #141a24b3; color: #fff; }
.ba .after-img .lab { background: var(--blue); }
.ba figcaption { margin-top: 0.75rem; font-size: 1rem; color: var(--muted); text-wrap: balance; }
.ba-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.demo-tag { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--amber-100); color: var(--amber-700); font-size: 0.875rem; font-weight: 600; flex: none; }

/* ---------- 一步开始 ---------- */
.one { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.flow { list-style: none; padding: 0; background: var(--surface); border-radius: 1.5rem; box-shadow: var(--shadow); padding: 2rem; display: grid; gap: 0; }
.flow li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; position: relative; padding: 0 1rem 1.5rem; }
.flow li:last-child { padding-bottom: 0; }
.flow li:not(:last-child):not(.you)::before { content: ""; position: absolute; left: 2.25rem; top: 2.5rem; bottom: 0.25rem; width: 2px; margin-left: -1px; background: var(--line); }
.flow .dot { width: 2.5rem; height: 2.5rem; border-radius: 999px; display: grid; place-items: center; background: var(--panel); color: var(--muted); font-size: 1rem; font-weight: 600; }
/* 卖家自己做的只有这一格：整格上色、字放大，其余三步保持灰阶（ch02 p33–37） */
.flow li.you { grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; padding: 1rem; margin-bottom: 1.5rem; border-radius: 1rem; background: var(--blue-50); }
.flow .you .dot { background: var(--blue); color: #fff; }
.flow .you b { font-size: 1.25rem; padding-top: 0; }
.flow .you .who { margin-top: 0; }
.flow .dot svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow b { display: block; font-weight: 600; padding-top: 0.375rem; }
.flow span { display: block; color: var(--muted); font-size: 1rem; margin-top: 0.25rem; }
.flow .split { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.flow .split i { font-style: normal; font-size: 0.875rem; padding: 0.125rem 0.625rem; border-radius: 999px; background: var(--teal-100); color: var(--teal-700); }
.flow .split i.wait { background: var(--amber-100); color: var(--amber-700); }
.flow .ozon .dot { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.flow .who { font-size: 0.875rem; font-weight: 600; color: var(--blue-700); }

/* ---------- 优势 ---------- */
.adv { display: grid; grid-template-columns: minmax(0, 1fr) 26rem; gap: 6rem; margin-top: 4rem; align-items: center; max-width: 66rem; margin-left: auto; margin-right: auto; }
.adv ul { list-style: none; padding: 0; display: grid; gap: 2rem; }
.adv li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; }
.adv li h3 { padding-top: 0.25rem; }
.adv li .desc { margin-top: 0.25rem; }
.calc { background: var(--surface); border-radius: 1.5rem; box-shadow: var(--shadow); padding: 2rem; font-size: 1rem; }
.calc .ct { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.calc .ct b { font-weight: 600; font-size: 1.125rem; }
.calc .r { display: flex; justify-content: space-between; padding: 0.5rem 0; color: var(--muted); }
.calc .r span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc .total { border-top: 1px solid var(--line); margin-top: 0.5rem; padding-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.calc .total b { font-size: 1.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc .note { margin-top: 1rem; }

/* ---------- 店铺安全与资金 ---------- */
.safe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 4rem; }
.qa { background: var(--surface); border-radius: 1.5rem; box-shadow: var(--shadow); padding: 2rem; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.25rem; }
/* 问题是标签，答案才是重点：问题小而淡，答案用标题字级（ch02 p38–44 标签比值淡；语意上问题仍是 h3） */
.qa h3 { font-size: 1rem; font-weight: 400; color: var(--muted); }
.qa .ans { font-size: 1.25rem; line-height: 1.4; font-weight: 600; color: var(--ink); margin-top: 0.25rem; text-wrap: balance; }
.qa p { color: var(--muted); margin-top: 0.75rem; text-wrap: pretty; }

/* ---------- 收尾 ---------- */
#cta { padding: 6rem 0; }
.closing { text-align: center; padding: 4rem 2rem; border-radius: 2rem; background: var(--blue-50); }
.closing h2 { margin-top: 0; }
.closing .lead { margin-left: auto; margin-right: auto; }

/* ---------- 页尾 ---------- */
footer { background: var(--band); padding: 4rem 0 3rem; }
.fcols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.fcols h4 { font-size: 1rem; font-weight: 600; }
.fcols p { font-size: 1rem; color: var(--muted); margin-top: 0.75rem; }
.fcols a:hover { color: var(--ink); }
.fbase { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-size: 1rem; color: var(--muted); }
.fbase .icp { color: inherit; text-decoration: underline; text-underline-offset: 0.1875rem; }

/* 语言入口 */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 0.1875rem; border: 1px solid var(--line); border-radius: 999px; background: #ffffffb3; font-size: 1rem; line-height: 1; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: 2rem; padding: 0 0.5rem; border-radius: 999px; text-decoration: none; }
.lang a[aria-current] { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.fbase .lang { background: #fff; }

/* 主题切换钮 */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: #ffffffb3; color: var(--ink); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun, .theme-toggle .i-moon, .theme-toggle .i-auto { display: none; }
.theme-toggle[data-pref="light"] .i-sun, .theme-toggle[data-pref="dark"] .i-moon, .theme-toggle[data-pref="auto"] .i-auto { display: block; }

/* 进场：卡片轻轻上移，系统要求减少动态时不动 */
.rise { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } }
@media (prefers-reduced-motion: reduce) { .blob, .rise { animation: none !important; } }

/* ---------- 窄屏 ---------- */
@media (max-width: 1280px) {
  .wrap, nav { width: auto; margin-left: 2rem; margin-right: 2rem; }
  .feature, .feature.flip { gap: 4rem; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); }
  .feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
  .adv { grid-template-columns: 1fr; }
  .calc { max-width: 30rem; }
}
@media (max-width: 960px) {
  .links, .nav-lang { display: none; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
  section.s { padding: 4rem 0; }
  .hero { padding: 3rem 1rem 0; }
  .core { padding: 3rem 0 4rem; }
  #cta { padding: 4rem 0; }
  .feature, .feature.flip, .one { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .feature.flip .ftxt { order: 0; }
  .safe { grid-template-columns: 1fr; }
  .adv { margin-top: 3rem; }
  .safe { margin-top: 3rem; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .fbase { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
@media (max-width: 600px) {
  .wrap, nav { margin-left: 1rem; margin-right: 1rem; }
  nav { gap: 1rem; }
  .login { display: none; }
  .right { gap: 0.5rem; }
  h1 { font-size: 2.25rem; }
  .hero .sub { font-size: 1.125rem; }
  .hero-actions { flex-direction: column; gap: 1rem; }
  .pcard { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; }
  .pcard .shot { max-width: 12rem; }
  .pcard .pfoot { flex-direction: column; align-items: flex-start; }
  .ba { padding: 1rem; }
  .ba-pair { gap: 0.5rem; }
  .ba .lab { right: 0.5rem; top: 0.5rem; font-size: 0.875rem; padding: 0.125rem 0.5rem; }
  .ba-foot { flex-direction: column; align-items: flex-start; }
  .flow, .calc, .qa { padding: 1.5rem; }
  .flow { padding: 1rem; }
  .flow li.you { grid-template-columns: 2.5rem minmax(0, 1fr); row-gap: 0.25rem; }
  .flow .you .who { grid-column: 2; }
  .src { grid-template-columns: 3rem minmax(0, 1fr); }
  .src-tag { grid-column: 1 / -1; justify-self: start; }
  .closing { padding: 3rem 1.5rem; border-radius: 1.5rem; }
  .qa { grid-template-columns: 1fr; gap: 1rem; }
  .qa h3 { padding-top: 0; }
}

/* ---------- 深色模式（html[data-theme="dark"]，由 /site-assets/theme.js 设定；键 ozon-pilot.theme 与 App 一致）。
   色值事先定好（ch05 p129–132）；较亮＝较近：页底 #0b1019、段落带 #0f141d、卡片 #131925（ch06 p149–172）；商品照片不调色，只把容器底压暗（ch07 p181–190）。 */
:root[data-theme="dark"] {
  --blue: #2b6af0; --blue-700: #a3bdff; --blue-100: rgba(43, 106, 240, .3); --blue-50: rgba(43, 106, 240, .16);
  --ink: #e8ecf3; --muted: #a3adbb; --line: #263041; --band: #0f141d; --surface: #131925; --panel: #1a2231;
  --teal-100: rgba(18, 168, 138, .18); --teal-700: #6fe0c4; --amber-100: rgba(240, 170, 40, .16); --amber-700: #f5c76b;
  --shadow: 0 1px 0.1875rem rgba(0,0,0,.4), 0 0.5rem 1.5rem rgba(0,0,0,.3); --shadow-lg: 0 1px 0.1875rem rgba(0,0,0,.5), 0 1.5rem 3rem rgba(0,0,0,.4);
  color-scheme: dark;
}
:root[data-theme="dark"] body { background: #0b1019; }
:root[data-theme="dark"] .page { background: radial-gradient(60% 45% at 50% 0%, #17306b 0%, #0d1320 70%); }
:root[data-theme="dark"] .blob { display: none; }
:root[data-theme="dark"] .grain { opacity: .03; }
:root[data-theme="dark"] :is(.join, .lang, .theme-toggle) { background: rgba(19, 25, 37, .7); }
:root[data-theme="dark"] .skip, :root[data-theme="dark"] .fbase .lang { background: var(--surface); }
:root[data-theme="dark"] .brand svg { fill: #6f9bff; }
:root[data-theme="dark"] .ico { color: #8fb0ff; }
:root[data-theme="dark"] :is(.pcard, .ba, .flow, .calc, .qa) { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
:root[data-theme="dark"] .pcard .shot { background: #e9ecf1; }
:root[data-theme="dark"] .src { background: rgba(19, 25, 37, .7); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .src-url svg { color: #8fb0ff; }

/* 繁中页：系统字型（小米没有繁中官方切片） */
:root:lang(zh-TW) body, :root:lang(zh-TW) button { font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
/* 英文页：字较长，页首收紧；英文段落不用 keep-all */
:root:lang(en) nav { gap: 1.5rem; }
:root:lang(en) .links { gap: 1.25rem; }
:root:lang(en) .right { gap: 0.75rem; }
:root:lang(en) :is(h2, .hero .sub) { word-break: normal; }
:root:lang(en) .pcard dl { grid-template-columns: 5.5rem minmax(0, 1fr); }
@media (max-width: 1280px) { :root:lang(en) .links { display: none; } }
