/* OSL Open Source Lifestyle · baseassumption.com
   10-22 改版：「地平线」。上面是空的天，一颗 Astra Star，下面是封面那种深海青。
   空出来的地方本身就是内容：nothing is missing。只做这一种外观（品牌色固定），颜色全部用变量。 */
:root {
  color-scheme: light;
  --sky: #dfe9eb;        /* 晨雾天色 */
  --paper: #f5f6f2;      /* 纸面 */
  --mist: #e9eeec;       /* 浅一层的面 */
  --ink: #16262c;        /* 深海墨 */
  --ink-2: #51636a;      /* 次要文字 */
  --line: #ccd7d8;       /* 细线 */
  --sea: #0f3a3e;        /* 封面的深海青 */
  --sea-2: #0a2a2d;
  --sea-ink: #e8f0ee;    /* 深色上的字 */
  --sea-muted: #9fb8b6;
  --star: #7fe3dd;       /* 封面上的青色星，只给星星用 */
  --gold: #d9b26a;       /* 封面金，只在夜色里用 */
  --serif: "Newsreader", "Songti SC", "Noto Serif SC", "Hiragino Mincho ProN", "Yu Mincho", "AppleMyungjo", "Noto Serif KR", Georgia, serif;
  --sans: "Albert Sans", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: max(20px, calc((100vw - var(--wrap)) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--gutter); }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.015em; }
.star { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; background: none; color: inherit;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease; white-space: nowrap; }
.btn-sea { background: var(--sea); color: var(--sea-ink); }
.btn-sea:hover { background: var(--sea-2); }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--sea); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: color-mix(in srgb, var(--sea-ink) 40%, transparent); color: var(--sea-ink); }
.btn-ghost:hover { border-color: var(--sea-ink); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.go { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- 导航（整条铺满） ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 28px;
  padding-block: 14px; padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.is-home .nav, .is-mist .nav { background: color-mix(in srgb, var(--sky) 82%, transparent); }
.is-night .nav { background: color-mix(in srgb, var(--sea-2) 85%, transparent); color: var(--sea-ink); border-bottom-color: color-mix(in srgb, var(--sea-muted) 25%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.brand .star { color: var(--sea); width: 18px; height: 18px; }
.is-night .brand .star { color: var(--star); }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); padding-block: 6px; border-bottom: 1px solid transparent; }
.is-night .nav-links a { color: var(--sea-muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: inherit; border-bottom-color: currentColor; }
.is-night .nav-links a:hover, .is-night .nav-links a[aria-current] { color: var(--sea-ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-talk { text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 18px; border-radius: 999px; background: var(--sea); color: var(--sea-ink); white-space: nowrap; }
.nav-talk:hover { background: var(--sea-2); }
.is-night .nav-talk { background: var(--paper); color: var(--sea); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); padding: 8px 2px; white-space: nowrap; }
.is-night .lang summary { color: var(--sea-muted); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; display: grid; padding: 6px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgb(15 58 62 / .14); }
.lang-menu a { padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--mist); }
.lang-menu a[aria-current] { color: var(--sea); font-weight: 600; }

/* ---------- 首页：天 / 地平线 / 海 ---------- */
.hero { display: grid; grid-template-rows: 1fr auto; min-height: calc(100svh - 64px); }
.sky { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding: 18vh var(--gutter) 9vh; background: linear-gradient(180deg, var(--sky) 0%, #edf1ee 78%, #f3efe4 100%); }
.sky .star { width: 26px; height: 26px; color: var(--sea); margin-bottom: 36px; animation: rise 1.6s ease-out both; filter: drop-shadow(0 0 14px rgb(127 227 221 / .9)); }
.sky h1 { font-size: clamp(3.2rem, 9.5vw, 8.4rem); line-height: .98; font-weight: 300; letter-spacing: -0.035em; max-width: 12ch; }
.sky .lede { margin: 34px 0 0; max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
/* 地平线：页面加载时从中间画开，全站唯一的动画 */
.sea { position: relative; background: linear-gradient(180deg, var(--sea) 0%, var(--sea-2) 100%); color: var(--sea-ink);
  padding: 44px var(--gutter) 52px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.sea::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #f3d9a4 50%, transparent);
  transform-origin: center; animation: horizon 1.4s .3s ease-out both; }
.sea .actions { justify-content: center; }
.sea .fine { margin: 0; font-size: 14px; color: var(--sea-muted); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes horizon { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 三种进入方式：不是卡片，是三栏 */
.ways { padding-block: 104px 96px; }
.way-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.way { display: flex; flex-direction: column; gap: 12px; padding: 28px 32px 8px 0; text-decoration: none; }
.way + .way { padding-left: 32px; border-left: 1px solid var(--line); }
.way h3 { font-family: var(--serif); font-size: 2rem; letter-spacing: -0.01em; }
.way p { margin: 0; color: var(--ink-2); max-width: 30ch; }
.way .go { margin-top: auto; padding-top: 10px; font-size: 15px; }
.way:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* 一段对话的样子 */
.sample { background: var(--mist); padding: 112px var(--gutter); }
.sample-in { max-width: 44rem; margin: 0 auto; }
.kicker { display: block; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-bottom: 40px; }
.sample-q { margin: 0 0 28px; font-size: 1.15rem; }
.sample-q span, .sample-a span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.sample-a { margin: 0 0 44px; padding-left: 22px; border-left: 2px solid var(--sea); }
.sample-a p { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.4; letter-spacing: -0.01em; }

/* 夜色：书和故事 */
.night { background: radial-gradient(900px 600px at 25% 30%, #17494c 0%, transparent 70%), var(--sea-2); color: var(--sea-ink); padding: 112px var(--gutter); }
.is-night { background: var(--sea-2); }
.is-night main .night { min-height: calc(100svh - 64px); display: flex; align-items: center; }
.night-in { width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.cover { margin: 0; max-width: 360px; justify-self: center; }
.cover img { border-radius: 4px; box-shadow: 0 50px 90px rgb(0 0 0 / .45), 0 0 0 1px rgb(217 178 106 / .25); }
.night-copy h1, .night-copy h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; font-weight: 300; }
.night-lede { margin: 20px 0 0; font-size: 1.15rem; color: var(--gold); max-width: 34ch; }
.talk { margin: 36px 0; display: grid; gap: 14px; max-width: 34rem; }
.talk div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: baseline; }
.talk dt { font-size: 13px; font-weight: 600; color: var(--sea-muted); }
.talk dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.talk div:nth-child(even) dt { color: var(--star); }
.book-p { color: var(--sea-muted); max-width: 46ch; margin: 0 0 28px; }

/* 延伸阅读 */
.further { padding-block: 72px; }
.further-link { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 40px; align-items: baseline; padding-block: 28px; border-block: 1px solid var(--line); text-decoration: none; }
.further-link .kicker { margin: 0; }
.further-text { color: var(--ink-2); max-width: 60ch; }

/* ---------- 文章阅读页 ---------- */
.essay-head { padding-block: 96px 56px; max-width: calc(52rem + 2 * var(--gutter)); }
.essay-head h1, .talk-head h1, .one-head h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.02; font-weight: 300; letter-spacing: -0.03em; }
.lede-ink { margin: 24px 0 0; font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); max-width: 40rem; }
.meta { margin: 20px 0 0; font-size: 15px; color: var(--ink-2); }
.note { margin: 12px 0 0; font-size: 15px; color: var(--sea); }
.reading { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 72px; padding-bottom: 120px; border-top: 1px solid var(--line); }
.toc { position: sticky; top: 84px; align-self: start; max-height: calc(100svh - 104px); overflow: auto; padding-top: 32px; }
.toc summary { list-style: none; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; cursor: pointer; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: ch; }
.toc a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 40rem; padding-top: 24px; font-family: var(--serif); font-size: 1.24rem; line-height: 1.72; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.15; font-weight: 400; margin: 72px 0 24px; scroll-margin-top: 90px; }
.prose h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 40px 0 10px; letter-spacing: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 + h3 { margin-top: 0; }
.prose > h2:first-child { margin-top: 40px; }
.end { margin-top: 80px; padding: 36px 0 0; border-top: 1px solid var(--ink); font-family: var(--sans); font-size: 17px; }
.end p { color: var(--ink-2); margin: 0 0 20px; }

/* ---------- 对话页 ---------- */
.is-mist { background: var(--sky); }
.talk-head { padding-block: 80px 40px; text-align: center; }
.talk-head .lede-ink { margin-inline: auto; }
.chat { max-width: calc(46rem + 2 * var(--gutter)); margin: 0 auto; }
.msgs { background: var(--paper); border-radius: 20px 20px 0 0; padding: 32px clamp(20px, 4vw, 44px) 12px; min-height: 340px; max-height: 62svh; overflow-y: auto;
  border: 1px solid var(--line); border-bottom: 0; }
.msg { margin-bottom: 26px; }
.msg .who { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.msg p { margin: 0; }
.maverick p:not(.source) { font-family: var(--serif); font-size: 1.32rem; line-height: 1.55; }
.msg.reader { margin-left: auto; max-width: 85%; background: var(--mist); border-radius: 16px; padding: 12px 16px; width: fit-content; }
.msg.reader .who { color: var(--sea); }
.waiting p { color: var(--ink-2); font-style: italic; }
.source { margin-top: 10px !important; font-size: 13.5px; color: var(--ink-2); }
.source::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--ink-2); vertical-align: middle; margin-right: 8px; }
.msg-link { display: inline-block; margin-top: 10px; color: var(--sea); font-weight: 600; font-size: 15px; }
.ask-form { display: flex; gap: 10px; align-items: flex-end; background: var(--paper); border: 1px solid var(--line); border-top: 1px solid var(--line);
  border-radius: 0 0 20px 20px; padding: 14px; }
.ask-form textarea { flex: 1; min-width: 0; resize: none; border: 0; background: transparent; font: inherit; font-size: 17px; line-height: 1.5; color: var(--ink); padding: 10px 8px; }
.ask-form textarea:focus { outline: none; }
.ask-form:focus-within { border-color: var(--sea); }
.chat-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 18px 4px 0; }
.starters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.starters span { font-size: 14px; color: var(--ink-2); margin-right: 4px; }
.starters button { font: inherit; font-size: 14px; color: var(--ink); background: color-mix(in srgb, var(--paper) 70%, transparent); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.starters button:hover { border-color: var(--sea); }
.quota { margin: 0; font-size: 13.5px; color: var(--ink-2); align-self: center; }
.connect { max-width: calc(46rem + 2 * var(--gutter)); margin: 0 auto; padding-block: 104px 120px; }
.connect h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; font-weight: 300; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.copy-row code, .field-row code { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; font: 500 14.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; color: var(--sea); }
.steps { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 6px; color: var(--ink); }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; color: var(--sea); }
.facts { list-style: none; margin: 44px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--ink-2); font-size: 15.5px; }
.facts strong { color: var(--ink); font-weight: 600; }

/* ---------- Maverick ONE ---------- */
.one-head { padding-block: 96px 56px; max-width: calc(48rem + 2 * var(--gutter)); }
.one-head > .star { width: 24px; height: 24px; color: var(--sea); margin-bottom: 28px; }
.one-head .one-status, .one-head .field-row { max-width: 40rem; }
.one-head .actions { margin-top: 32px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan { border-top: 1px solid var(--ink); }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px 32px 0; }
.plan + .plan { padding-left: 32px; border-left: 1px solid var(--line); }
.plan h3 { font-size: 15px; font-weight: 600; }
.plan .price { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.plan p { margin: 0; color: var(--ink-2); max-width: 32ch; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan:nth-child(2) .price { color: var(--sea); }
.one-msg { min-height: 1.5em; margin: 16px 0 0; color: var(--sea); font-size: 15px; }
.one-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 24px; }
.more-item { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); min-width: 0; }
.more-item h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 400; }
.more-item p { margin: 0; color: var(--ink-2); }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; width: 100%; margin: 6px 0 0; }
.field-row input { flex: 1 1 180px; min-width: 0; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.field-row input:focus { outline: none; border-color: var(--sea); }
.one-status { margin: 4px 0 0; color: var(--sea); font-size: 15px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.fine-ink { color: var(--ink-2); font-size: 14px; padding-block: 24px 96px; margin: 0; }

/* ---------- 页脚 ---------- */
.foot { padding: 56px var(--gutter) 64px; border-top: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-size: 15px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: center; margin-bottom: 20px; color: var(--ink); }
.foot-top nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-top nav a { text-decoration: none; color: var(--ink-2); }
.foot-top nav a:hover { color: var(--ink); }
.foot p { margin: 0 0 8px; max-width: 62ch; }
.foot .small { font-size: 13px; }

/* 中日韩：标题不压字距，引文不用斜体 */
:lang(zh) h1, :lang(ja) h1, :lang(ko) h1, :lang(zh) h2, :lang(ja) h2, :lang(ko) h2 { letter-spacing: 0; }
:lang(zh) .sky h1, :lang(ja) .sky h1, :lang(ko) .sky h1 { font-size: clamp(2.8rem, 8vw, 6.6rem); line-height: 1.12; font-weight: 400; max-width: none; }
:lang(zh) .waiting p, :lang(ja) .waiting p, :lang(ko) .waiting p { font-style: normal; }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: 6px 16px; padding-block: 10px 0; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; gap: 20px; padding-bottom: 8px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-talk { padding: 8px 14px; font-size: 14px; }
  .lang summary span { display: none; }
  .hero { min-height: calc(100svh - 96px); }
  .way-row, .plans, .one-more { grid-template-columns: 1fr; }
  .way, .way + .way, .plan, .plan + .plan { padding: 24px 0; border-left: 0; }
  .way + .way, .plan + .plan { border-top: 1px solid var(--line); }
  .night-in { grid-template-columns: 1fr; }
  .cover { max-width: 240px; }
  .reading { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; max-height: none; padding-top: 20px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .toc summary { font-size: 15px; color: var(--ink); display: flex; justify-content: space-between; margin-bottom: 0; }
  .toc summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--ink-2); }
  .toc details[open] summary::after { content: "−"; }
  .toc details[open] ol { margin-top: 12px; }
  .further-link { grid-template-columns: 1fr; }
  .msgs { max-height: none; min-height: 280px; }
}
@media (max-width: 440px) {
  .brand span { display: none; }
  .ask-form { flex-direction: column; align-items: stretch; }
  .sky { padding-top: 12vh; }
}

/* 技巧包：付费页里唯一的一块深色，和首页的海同色 */
.skill-band { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 56px; align-items: center;
  margin: 40px 0 0; padding-block: 48px; background: linear-gradient(180deg, var(--sea), var(--sea-2)); color: var(--sea-ink); }
.skill-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; font-weight: 300; }
.skill-copy p { margin: 14px 0 0; color: var(--sea-muted); max-width: 52ch; }
.skill-act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.skill-msg { margin: 0; min-height: 1.4em; font-size: 14.5px; color: var(--star); max-width: 40ch; }
@media (max-width: 900px) { .skill-band { grid-template-columns: 1fr; } }

/* ---------- 花体：Maverick 的手写 ----------
   只用在他「说话」或「落款」的地方，正文永远是衬线和无衬线。Pinyon Script 字面很小，至少 28px 才好读。 */
:root { --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", "Edwardian Script ITC", cursive; }
.script { font-family: var(--script); font-weight: 400; font-style: normal; letter-spacing: 0; line-height: 1.1; color: var(--sea); }
.h1-script { font-family: var(--script) !important; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.05 !important;
  font-size: clamp(4.2rem, 12.5vw, 11rem) !important; max-width: none !important; padding-bottom: .08em; }
.script.epi { display: block; font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 14px; }
.script.epi-left { display: block; font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 10px; }
.script.epi-left.big { font-size: clamp(3.4rem, 7vw, 5.6rem); margin-bottom: 4px; }
.talk-head .script.epi { margin-bottom: 6px; }

/* 引言条 */
.quote-band { padding: 96px var(--gutter) 104px; text-align: center; border-top: 1px solid var(--line); }
.quote-band figure { margin: 0 auto; max-width: 62rem; }
.quote-band blockquote { margin: 0; }
.q-script { display: block; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.25; }
.q-tr { margin: 22px 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink-2); }
.quote-band figcaption { margin-top: 26px; font-size: 13.5px; color: var(--ink-2); }

/* 对话落款 */
.sample-a .script.sign { display: block; font-size: 2.2rem; margin-top: 14px; }

/* 故事里的人名 */
.talk dt.script-dt { font-family: var(--script); font-size: 1.75rem; font-weight: 400; line-height: 1; color: var(--sea-muted); }
.talk div:nth-child(even) dt.script-dt { color: var(--star); }
:lang(zh) .talk div:nth-child(odd) dt.script-dt, :lang(ja) .talk div:nth-child(odd) dt.script-dt, :lang(ko) .talk div:nth-child(odd) dt.script-dt { font-family: var(--sans); font-size: 13px; font-weight: 600; }

/* 文章：章节手写标签、首字下沉、结尾签名 */
.prose .ch-label { margin: 80px 0 2px; }
.prose .ch-label:first-child { margin-top: 32px; }
.prose .ch-label .script { font-size: 2.1rem; }
.prose .ch-label + h2 { margin-top: 0; }
.prose h2 + p::first-letter, .prose h2 + h3 + p::first-letter { float: left; font-size: 4.1em; line-height: .82; padding: .06em .1em 0 0; color: var(--sea); font-weight: 300; }
.prose .fin { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 88px 0 0; }
.prose .fin .star { width: 18px; height: 18px; color: var(--sea); }
.prose .fin .script { font-size: 3rem; }

/* 页脚签名 */
.foot-sign .script { font-size: 2.6rem; color: var(--sea); }
.foot-sign { margin: 8px 0 12px; }

/* 登录 */
.nav-signin { font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav-signin:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.is-night .nav-signin { color: var(--sea-muted); }
.login-box { margin-top: 40px; max-width: 26rem; display: grid; gap: 14px; }
.gbtn { min-height: 44px; }
.or { display: flex; align-items: center; gap: 14px; margin: 6px 0; color: var(--ink-2); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login .field-row input { flex: 1 1 200px; }
.login .fine-ink { padding: 6px 0 0; }
.acct { margin: 22px 0 0; font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.acct a { color: var(--sea); font-weight: 600; }
@media (max-width: 440px) { .nav-signin { font-size: 14px; } }

/* ---------- 个人中心 ---------- */
.acct-block { padding-block: 48px; border-top: 1px solid var(--line); }
.acct-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; margin-bottom: 24px; }
.acct-block h2 .sub { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin-left: 10px; letter-spacing: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin-bottom: 28px; border-top: 1px solid var(--ink); }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 24px 4px 0; }
.tile + .tile { padding-left: 24px; border-left: 1px solid var(--line); }
.tv { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tk { font-size: 14px; color: var(--ink-2); }
.skill-msg.ink { color: var(--sea); }
.chart { margin: 8px 0 0; position: relative; }
.chart figcaption { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.bars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; align-items: end; height: 160px; border-bottom: 1px solid var(--line); }
.bar { height: 100%; display: flex; align-items: flex-end; cursor: default; padding: 0 1px; }
.bar i { display: block; width: 100%; background: var(--sea); border-radius: 4px 4px 0 0; }
.bar:hover i, .bar:focus i { background: var(--sea-2); }
.bar:focus { outline: none; }
.bar:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.bar-axis { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.tip { position: absolute; top: 24px; min-width: 160px; background: var(--ink); color: var(--paper); font-size: 13px; padding: 7px 10px; border-radius: 8px; pointer-events: none; }
.empty { color: var(--ink-2); font-size: 15px; margin: 12px 0 0; }
.table-view { margin-top: 20px; }
.table-view summary { cursor: pointer; font-size: 14px; color: var(--sea); }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.acct-block table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.acct-block th { text-align: left; font-weight: 600; font-size: 13.5px; color: var(--ink-2); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.acct-block td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.acct-block .num { text-align: right; }
.acct-block .fine-ink { padding: 20px 0 0; }
@media (max-width: 600px) { .tile + .tile { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .tiles { grid-template-columns: 1fr; } }
