/* 改版样稿（2026-10-22）：免费层《时序一瞥》。颜色沿用两页分享卡定稿；一种强调色；手机优先。 */
:root {
  --paper: #F6F4EF;
  --ink: #26231F;
  --muted: #726C61;
  --line: #D9D2C5;
  --accent: #8A3B2A;
  --soft: #EEE4DC;
  --card: #FBFAF7;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --col: 560px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---- 顶栏：只有品牌 ---- */
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 14px 20px; background: rgba(246, 244, 239, .92); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 19px; letter-spacing: .12em; }
.tag-proto { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 10px; }

main { max-width: var(--col); margin: 0 auto; padding: 0 20px; }

/* ---- 首页：一张图、一句话、一个表单、一个按钮。图只负责氛围，标题是 HTML 文字 ---- */
.v2-hero { position: relative; margin: 0 -20px 28px; }
.hero-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 100%; }  /* 手机竖版：只裁顶上的空纸 */
.hero-copy { position: absolute; top: 7%; left: 0; right: 0; padding: 0 24px; text-align: center; }
.headline { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.32; letter-spacing: .04em; }
/* 四个词＝网站四件事，暗合春夏秋冬：明事（做决定）· 识人（感情与关系）· 阅己（看自己）· 知序（大运流年）。
   字体只裁这 8 个字（scripts/build_v2_fonts.py，Noto Serif SC，SIL OFL 1.1），每台设备长得一样。
   间隔用朱色小方格（用户 2026-10-22 定） */
@font-face { font-family: "V2Four"; src: url("/fonts/v2-four.woff2") format("woff2"); font-weight: 300 500; font-display: swap; }
.four { display: flex; justify-content: center; align-items: center; gap: 13px; margin: 4px 0 0; font-family: "V2Four", var(--serif); font-weight: 400; font-size: 21px; line-height: 1.6; letter-spacing: .26em; color: var(--muted); }
.four span { margin-right: -.26em; }   /* 抵掉字距在词尾多出的空 */
.four i { flex: none; width: 6px; height: 6px; border: 1px solid var(--accent); opacity: .8; }
@media (min-width: 641px) { .four { justify-content: flex-start; gap: 15px; margin-top: 12px; font-size: 25px; } }
@media (min-width: 641px) {
  /* 桌面：横版主图放宽到 1200px，标题排在左侧留白里；四边淡出接上页面底色 */
  .v2-hero { width: min(1200px, calc(100vw - 32px)); left: 50%; transform: translateX(-50%); margin: 0 0 36px; }
  .hero-pic img { aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
    mask-composite: intersect; }
  .hero-copy { top: 24%; left: 7%; right: auto; width: 38%; padding: 0; text-align: left; }
}
.birth { display: grid; gap: 0; border-top: 1px solid var(--line); }
/* 每一栏：小字标签在上、输入在下，整行宽度都给输入（2026-10-23 用户嫌左右并排太局促） */
.row { display: block; padding: 16px 0 10px; border-bottom: 1px solid var(--line); }
.row .k { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; margin-bottom: 4px; font-size: 14px; letter-spacing: .06em; color: var(--muted); }
.row input, .row select { width: 100%; height: 46px; padding: 0; border: 0; background: transparent; font-size: 19px; outline: none; -webkit-appearance: none; appearance: none; }
.row select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.row input:focus, .row select:focus { box-shadow: 0 1px 0 var(--accent); }
.seg { display: flex; gap: 12px; padding: 4px 0 6px; }
.seg button { min-width: 84px; height: 42px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: 17px; cursor: pointer; }
.seg button[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
/* 出生日期：公历/农历小切换在标签同一行的右侧；农历是年、月、日三格 */
.date-box { min-width: 0; }
.lunar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.lunar input, .lunar select { min-width: 0; }
.cal { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; letter-spacing: 0; }
.cal button { border: 0; background: transparent; padding: 4px 14px; font-size: 13px; line-height: 1.6; white-space: nowrap; color: var(--muted); cursor: pointer; }
.cal button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
/* 通用小按钮组（婚否、决定类别、时间） */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: 15px; cursor: pointer; }
.chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.err { margin: 14px 0 0; color: var(--accent); font-size: 15px; }
.primary { display: block; width: 100%; height: 56px; margin-top: 28px; border: 0; border-radius: 99px; background: var(--accent); color: #fff; font-size: 18px; letter-spacing: .12em; cursor: pointer; transition: transform .15s ease, opacity .15s; }
.primary:active { transform: scale(.98); }
.primary:disabled { opacity: .6; }
.fine { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.minor { display: flex; justify-content: center; gap: 10px; margin: 26px 0 64px; font-size: 14px; color: var(--muted); }
.minor a, .link { color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); font-size: inherit; }

/* ---- 第二屏：你最想先知道什么 ---- */
.intent { min-height: calc(100vh - 140px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0 80px; }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: .3em; color: var(--muted); }
.q { margin: 10px 0 30px; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.35; }
.choices { display: grid; gap: 12px; }
.choices button { height: 58px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); font-size: 18px; text-align: left; padding: 0 22px; cursor: pointer; transition: border-color .2s, background .2s; }
.choices button:hover, .choices button:focus-visible { border-color: var(--ink); outline: none; }
.choices button[aria-expanded="true"] { border-color: var(--ink); }
.marital { margin: -10px 0 22px; }
.marital .k, .decide .k, .focus-body .k { display: block; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.marital small { margin-left: 4px; font-size: 12px; }
/* 阅读页表单里的「你现在」：和上下各栏一样留上边距、带分隔线（首页那块在问题屏里，仍用上面的 -10px） */
.birth .marital { margin: 0; padding: 16px 0 16px; border-bottom: 1px solid var(--line); }
.birth .marital .k { margin-bottom: 12px; letter-spacing: .06em; }
/* 从兑换码邮件的链接打开：出生资料随订单附上 */
.order-note { margin: 6px 0 4px; font-size: 17px; }
.order-note .link { margin-left: 12px; font-size: 13px; }
.decide { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.decide .k:not(:first-child), .focus-body .chips + .k { margin-top: 16px; }
.decide .primary { margin-top: 18px; }
.skip { margin: 22px auto 0; display: block; }
.wait { min-height: 1.8em; }

/* ---- 结果页：一屏一件事，滚动时淡入 ---- */
.result { padding-bottom: 40px; }
.sec { padding: 56px 0; border-bottom: 1px solid var(--line); }
.sec:last-child { border-bottom: 0; }
.label { margin: 0 0 14px; font-size: 13px; letter-spacing: .3em; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.who { text-align: center; padding-top: 32px; }
.art { width: min(78vw, 320px); margin: 0 auto 26px; }
.art img { display: block; width: 100%; height: auto; border-radius: 28px; }
.who h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 34px; letter-spacing: .08em; color: var(--accent); }
.who .line { margin: 6px 0 18px; color: var(--muted); }
.tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.tags span { border: 1px solid var(--line); border-radius: 99px; padding: 2px 16px; font-size: 15px; }

.text { margin: 0; font-size: 18px; line-height: 1.9; }
.quote { margin: 0; padding-left: 18px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 20px; line-height: 1.9; }

.curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.curve .cap { margin: 14px 0 0; font-size: 16px; }
.curve .cap b { color: var(--accent); font-weight: 600; }
.more { display: inline-block; margin-top: 10px; color: var(--accent); background: none; border: 0; padding: 0; font-size: 15px; cursor: pointer; }

.focus h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.4; }
.locked { position: relative; margin-top: 18px; }
.bar-line { height: 14px; margin: 12px 0; border-radius: 7px; background: linear-gradient(90deg, #E7E0D4, #EFEAE1); filter: blur(1.5px); }
.bar-line:nth-child(2) { width: 92%; } .bar-line:nth-child(3) { width: 78%; } .bar-line:nth-child(4) { width: 85%; }
.lock-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
/* 你最关心的：一排切换、白话理由、锁住的问题标题、决定的年度信号 */
.tabs { display: flex; gap: 8px; margin: 0 0 26px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: 14px; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--accent); }
.tabs-hint { margin: -18px 0 22px; color: #B3261E; font-size: 13px; font-weight: 600; line-height: 1.6; }   /* 还能点别的方框（2026-10-24） */
.focus h3.long { font-size: 23px; line-height: 1.5; }
.why { margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.health-note { margin: 10px 0 0; padding: 10px 12px; border-left: 2px solid var(--line); font-size: 13px; color: var(--muted); }
.locks { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.locks li { display: flex; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.locks .lock { font-size: 13px; opacity: .7; }
.year-row { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.year-row .y { font-family: var(--serif); font-size: 18px; }
.year-row p { grid-column: 1 / -1; margin: 0; font-size: 16px; }
.year-row.target .y { color: var(--accent); }
.tone { align-self: center; padding: 1px 10px; border-radius: 99px; font-size: 13px; border: 1px solid; }
.tone-good { color: #4F725E; border-color: #B9CDBE; }
.tone-flat { color: var(--muted); border-color: var(--line); }
.tone-care { color: var(--accent); border-color: #DDB9AE; }
.link.alt { display: block; margin: 14px auto 0; }

.review .ask { display: flex; gap: 10px; margin-top: 18px; }
.review .ask button { height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 99px; background: transparent; cursor: pointer; font-size: 15px; }
.review .reply { margin: 14px 0 0; font-size: 15px; color: var(--muted); }

.book { text-align: center; }
/* 书封：配图做底，书名是 HTML 文字，排在圆环下方的留白里 */
.cover { position: relative; width: 188px; margin: 0 auto 22px; border-radius: 4px 12px 12px 4px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(38, 35, 31, .35); }
.cover img { display: block; width: 100%; height: auto; }
.cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: rgba(38, 35, 31, .06); }
.cover .cover-title { position: absolute; left: 0; right: 0; top: 60%; text-align: center; font-family: var(--serif); font-size: 19px; letter-spacing: .32em; text-indent: .32em; }
.teacher-pic { display: block; margin: 0 auto 20px; max-width: 520px; }
.teacher-pic img { display: block; width: 100%; height: auto; border-radius: 16px; }
.book h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: .06em; }
.book .sub { margin: 6px 0 26px; color: var(--muted); }
.toc { list-style: none; margin: 0 0 30px; padding: 0; text-align: left; border-top: 1px solid var(--line); }
.toc li { display: grid; grid-template-columns: 36px 1fr; gap: 4px 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.toc .no { font-family: var(--serif); color: var(--accent); }
.toc .t { font-size: 16px; }
.toc .d { grid-column: 2; font-size: 14px; color: var(--muted); line-height: 1.6; }
.price { margin: 0; font-family: var(--serif); font-size: 30px; }
.price small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 6px; }
.subtle-row { display: flex; justify-content: center; gap: 18px; margin-top: 16px; font-size: 14px; }

.share .btns { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ghost { height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; cursor: pointer; font-size: 15px; }
.share .msg { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

.teacher { text-align: center; }
.teacher p { margin: 0 0 16px; }

.foot { max-width: var(--col); margin: 0 auto; padding: 30px 20px 60px; text-align: center; font-size: 12px; color: var(--muted); }
.foot p { margin: 4px 0; }

/* ---- 底部弹层 ---- */
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet-back { position: absolute; inset: 0; background: rgba(38, 35, 31, .35); animation: fade .25s ease; }
.sheet-card { position: relative; width: 100%; max-width: 560px; max-height: 86vh; overflow: auto; margin: 0 auto; padding: 30px 24px 34px; background: var(--paper); border-radius: 22px 22px 0 0; animation: rise .3s ease; }
.sheet-card h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 24px; }
.sheet-card p { margin: 0 0 12px; }
.sheet-x { position: absolute; right: 14px; top: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; color: var(--muted); cursor: pointer; }
.code-row { display: flex; gap: 10px; margin-top: 8px; }
.code-row input { flex: 1; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; letter-spacing: .15em; }
.note { font-size: 13px; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }

/* ---- 电脑：首页左右排，结果页加宽留白 ---- */
@media (min-width: 900px) {
  .headline { font-size: 52px; }
  .sec { padding: 72px 0; }
  .sheet { align-items: center; }
  .sheet-card { border-radius: 22px; }
}

/* ---- 英文页（FengFlow，v2_en.html / bazi_en.html / rules_en.html，2026-10-23）：英文站定稿色板（深青）与字体；
        标题 Georgia 一类衬线、正文系统无衬线，不引外部字体（见 15_英文站展示改版设计说明.md 第三节） ---- */
html[lang="en"] {
  --paper: #F7F5F0;
  --ink: #243B37;
  --muted: #68736B;
  --line: #D6D9CF;
  --accent: #1F5F5B;
  --soft: #E3ECE5;
  --card: #FFFFFF;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html[lang="en"] body { line-height: 1.6; }
html[lang="en"] .bar { background: rgba(247, 245, 240, .92); }
html[lang="en"] .brand { letter-spacing: .04em; }
html[lang="en"] .headline { font-weight: 400; letter-spacing: 0; line-height: 1.18; }
html[lang="en"] .four { font-family: var(--serif); font-size: 13px; font-variant: small-caps; text-transform: lowercase; letter-spacing: .14em; gap: 10px; }
html[lang="en"] .four span { margin-right: -.14em; font-size: 17px; }
html[lang="en"] .row .k, html[lang="en"] .eyebrow, html[lang="en"] .label { letter-spacing: .04em; }
html[lang="en"] .q, html[lang="en"] .who h2, html[lang="en"] .focus h3, html[lang="en"] .book h2 { font-weight: 400; letter-spacing: 0; }
html[lang="en"] .focus h3.long { font-size: 22px; }
html[lang="en"] .cover .cover-title { font-size: 14px; letter-spacing: .16em; text-indent: .16em; text-transform: uppercase; }
html[lang="en"] .choices button { font-size: 17px; }
@media (min-width: 641px) {
  html[lang="en"] .four { font-size: 15px; }
  html[lang="en"] .four span { font-size: 20px; }
}
html[lang="en"] .primary { letter-spacing: .02em; }
@media (min-width: 641px) { html[lang="en"] .hero-copy { width: 46%; } }

/* 弹层里的表单（书的上线通知、老师细批），提交到 POST /api/inquiry */
.sheet-form { display: grid; gap: 12px; margin-top: 14px; }
.sheet-form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.sheet-form input, .sheet-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 16px; color: var(--ink); }
.sheet-form textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.sheet-form input:focus, .sheet-form textarea:focus { outline: none; border-color: var(--accent); }
.sheet-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sheet-form .primary { margin-top: 4px; }
.form-err { margin: 0; color: var(--accent); font-size: 14px; }
.form-ok { margin: 6px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--soft); color: var(--ink); }

/* ---- 顶部目录（2026-10-23）：电脑上四个入口排在右侧；手机上收成一个"目录"按钮，点开从顶栏下面展开（<details>，不用脚本） ---- */
.nav-wide { display: none; gap: 28px; font-size: 15px; letter-spacing: .08em; }
.nav-wide a, .nav-menu nav a { color: var(--muted); text-decoration: none; }
.nav-wide a { padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-wide a:hover { color: var(--ink); }
.nav-wide a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-menu summary { list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 9px; margin-right: -9px; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary i { display: block; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-menu[open] summary i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-menu[open] summary i:nth-child(2) { opacity: 0; }
.nav-menu[open] summary i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 4px 20px 12px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(38, 35, 31, .06); }
.nav-menu nav a { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; letter-spacing: .06em; }
.nav-menu nav a:first-child { border-top: 0; }
.nav-menu nav a[aria-current="page"] { color: var(--ink); }
@media (min-width: 760px) { .nav-wide { display: flex; } .nav-menu { display: none; } }
html[lang="en"] .nav-wide, html[lang="en"] .nav-menu nav a { letter-spacing: .02em; }

/* ---- 书、老师、关于三页（2026-10-23）：和排盘规则页同一版式，正文一栏 ---- */
.page { max-width: var(--col); margin: 0 auto; padding: 8px 20px 0; }
.page .eyebrow { margin: 18px 0 4px; }
.page h1 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.35; letter-spacing: .04em; }
.page .lead { margin: 0 0 26px; color: var(--muted); }
.page h2 { margin: 34px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: .04em; }
.page p { margin: 0 0 12px; }
.page .card { margin: 0 0 18px; padding: 22px 22px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.chapters { margin: 0; padding: 0; list-style: none; counter-reset: ch; }
.chapters li { counter-increment: ch; display: grid; grid-template-columns: 2.2em 1fr; padding: 10px 0; border-top: 1px solid var(--line); }
.chapters li:first-child { border-top: 0; }
.chapters li::before { content: counter(ch); font-family: var(--serif); color: var(--accent); }
.chapters b { font-weight: 600; }
.chapters span { display: block; color: var(--muted); font-size: 15px; }
.terms { margin: 0; padding-left: 1.2em; }
.terms li + li { margin-top: 6px; }
.steps4 { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps4 li { counter-increment: st; position: relative; padding-left: 2.2em; }
.steps4 li::before { content: counter(st); position: absolute; left: 0; top: .15em; width: 1.5em; height: 1.5em; border: 1px solid var(--accent); border-radius: 50%; font-size: 13px; line-height: 1.45em; text-align: center; color: var(--accent); }
.price-line { font-family: var(--serif); font-size: 22px; letter-spacing: .04em; }
.price-line small { margin-left: 8px; font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0; }
.page a.primary { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.page-form textarea { min-height: 140px; }
html[lang="en"] .page h1, html[lang="en"] .page h2 { letter-spacing: .01em; }

/* ---- 阅读《时序之书》（/book/read，2026-10-23）：上面一排按钮，下面是整本书（iframe，书自带排版） ---- */
.reader-bar { position: sticky; top: 64px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; max-width: 700px; margin: 0 auto; padding: 10px 20px; background: rgba(246, 244, 239, .94); }
.reader-bar .ghost { width: auto; margin: 0; padding: 8px 18px; }
.reader-bar .fine { margin: 0; }
.reader-bar .pdf-link { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
#bookFrame { display: block; width: 100%; max-width: 700px; min-height: 80vh; margin: 0 auto; border: 0; background: var(--paper); }
.order-steps { margin: 0 0 16px; padding-left: 1.3em; }
.order-steps li + li { margin-top: 4px; }
.sheet-form .cp-field { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.sheet-form select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 16px; color: var(--ink); }
/* 下单后的微信付款码（2026-10-23） */
.pay-box { margin-top: 6px; }
/* 「付款时请备注邮箱」：标红加粗（对账全靠这一句，2026-10-23） */
.pay-remark { margin: 12px 0 0; padding: 10px 14px; border: 1px solid #E8B4AA; border-radius: 10px; background: #FBEDEA; color: #B3261E; font-weight: 600; font-size: 15px; line-height: 1.6; word-break: break-all; }
.hl-red { color: #B3261E; font-weight: 600; }
.pay-qr { display: block; width: 220px; height: 220px; margin: 12px auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; object-fit: contain; }
.pay-box a.pay-link { display: flex; align-items: center; justify-content: center; text-decoration: none; margin-top: 14px; }   /* 英文书的 PayPal 按钮（2026-10-24） */
.intent .place-note { text-align: left; margin: -4px 0 18px; }   /* 城市框没点选、自动取第一项时的说明（2026-10-23 晚，体检 21 号第 2 条） */

/* Public synthetic sample excerpts; native details work without JavaScript. */
#sample-preview { scroll-margin-top: 90px; margin: 30px 0; }
.sample-page { border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; overflow: hidden; background: var(--card); }
.sample-page > summary { padding: 16px; cursor: pointer; font-weight: 600; }
.sample-page summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.sample-page figure { margin: 0 16px 16px; }
.sample-page img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.sample-page figcaption { font-size: 14px; padding-top: 8px; color: var(--muted); }
.sample-text { margin: 16px; font-size: 15px; }
