/* 碎碎念：纸和墨。设计语言沿用「审阅页」（D:\AI剪辑\审阅页\DESIGN.md）：
   暖白纸底、一种墨色、两级暖灰、两级发丝线；全站一种字，思源宋体子集 300 / 400。 */
:root {
  --ink: #141312;
  --paper: #fbfaf8;
  --text: #2b2825;
  --gray: #645f58;
  --rule: #e4ded6;
  --rule-2: #c9c2b8;
  --plate: #e8e3dc;
  --serif: "RS", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--paper);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  font: 400 17px/1.95 var(--serif);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
::selection { background: var(--ink); color: var(--paper); }
p, h1, h2, h3, ol, ul, dl, dd { margin: 0; }
p, dd, .row-title, .rec-x { text-wrap: pretty; }
ol, ul { list-style: none; padding: 0; }
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .34em;
  text-decoration-color: var(--rule-2);
  transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
}
a:hover { text-decoration-color: var(--ink); }
button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.n {
  margin-left: .42em;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

/* ---------- 版面 ---------- */
.frame {
  max-width: calc(560px + 2 * var(--pad));
  margin: 0 auto;
  padding: 24px var(--pad) calc(72px + env(safe-area-inset-bottom));
}

/* 信头：名字和副题同一基线，下面一行灰色等宽数字 */
.mast { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; }
.mast-title {
  font-weight: 300;
  font-size: clamp(34px, 10.5vw, 44px);
  line-height: 1.12;
  letter-spacing: .12em;
  color: var(--ink);
  text-decoration: none;
}
.mast-sub { font-size: 13px; line-height: 1.4; letter-spacing: .14em; color: var(--gray); }
.mast-meta {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: .05em;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

/* 三个栏目：字就是按钮，当前页在发丝线上压一道墨线 */
.nav {
  display: flex;
  gap: 26px;
  margin-top: 30px;
  border-bottom: 1px solid var(--rule);
}
.nav a {
  position: relative;
  padding: 6px 0 12px;
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--gray);
  text-decoration: none;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ink);
}

.sec { margin-top: 64px; }
.sec-first { margin-top: 44px; }
.h {
  font-weight: 300;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: .05em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 16px;
}

/* ---------- 这周录这三条 ---------- */
.pick { position: relative; padding: 24px 0 14px 2.1em; border-top: 1px solid var(--rule); }
.pick:last-child { border-bottom: 1px solid var(--rule); }
.pick-n {
  position: absolute;
  left: 0;
  top: 33px;
  font-size: 13px;
  line-height: 1;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}
.pick-title {
  font-weight: 300;
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: .03em;
  color: var(--ink);
  text-wrap: balance;
}
.pick-meta { margin-top: 8px; font-size: 13px; line-height: 1.7; letter-spacing: .06em; color: var(--gray); }
.pick-meta .row-st { margin-left: .9em; color: var(--ink); }
.pick-belief { margin-top: 10px; font-size: 16px; line-height: 1.85; color: var(--text); }
.lbl { margin-right: .7em; font-size: 13px; letter-spacing: .06em; color: var(--gray); }

/* 展开键：一个会转的加号 */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink);
}
.tg-i { position: relative; width: 9px; height: 9px; flex: none; }
.tg-i::before, .tg-i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 9px;
  height: 1px;
  background: currentColor;
  transition: transform .45s var(--ease);
}
.tg-i::after { transform: rotate(90deg); }
[aria-expanded="true"] > .tg-i::after { transform: rotate(0deg); }
.toggle-sm { margin-top: 2px; padding: 6px 0; font-size: 12.5px; color: var(--gray); }
.toggle-sm:hover { color: var(--ink); }

/* 展开的内容：高度从 0 长出来 */
.detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.detail.open { grid-template-rows: 1fr; }
.detail > .in { min-height: 0; overflow: hidden; }
.detail > .in > :first-child { margin-top: 14px; }
.row .detail > .in > :last-child { margin-bottom: 20px; }

/* 录前提纲：左边一列小字，右边是要讲的 */
.ol { font-size: 16px; border-bottom: 1px solid var(--rule); }
.ol-row {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  column-gap: 12px;
  padding: 11px 0 10px;
  border-top: 1px solid var(--rule);
}
.ol-row dt {
  padding-top: .5em;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--gray);
}
.ol-row dd { font-size: 16px; line-height: 1.8; color: var(--text); }
.ol-q {
  font-weight: 300;
  font-size: 18px !important;
  color: var(--ink) !important;
  text-indent: -1em;
  text-spacing-trim: space-all;
}
.ol-note dd { font-size: 15px; line-height: 1.85; color: var(--gray); }
.li { display: block; }
.tp-meta { font-size: 15px; line-height: 1.9; color: var(--gray); }
.tp-why { margin-top: 14px; font-size: 15px; line-height: 1.9; color: var(--gray); }
.tp-src { margin-top: 12px; font-size: 12.5px; letter-spacing: .04em; color: var(--gray); font-variant-numeric: tabular-nums; }
.tp-src a { color: var(--gray); }
.tp-point { margin-top: 2px; font-weight: 300; font-size: 18px; line-height: 1.8; letter-spacing: .03em; color: var(--ink); }
.tp-intent { margin-top: 10px; font-size: 15px; line-height: 1.9; color: var(--gray); }
.tp-content { margin-top: 16px; }
.seg { padding: 12px 0 10px 14px; border-left: 1px solid var(--rule-2); }
.seg + .seg { margin-top: 10px; }
.seg-h { font-size: 12.5px; line-height: 1.6; letter-spacing: .04em; color: var(--gray); }
.seg-lines { margin-top: 6px; }
.seg-l { display: grid; grid-template-columns: 3.1em minmax(0, 1fr); column-gap: 10px; padding: 2px 0; font-size: 14.5px; line-height: 1.8; color: var(--text); }
.seg-l .tm { padding-top: .45em; font-size: 11.5px; }
.seg-x { min-width: 0; overflow-wrap: anywhere; }
.seg .ph { width: min(100%, 260px); }
.asset-tag { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.7; color: var(--gray); }
.copy {
  margin-left: 1em;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--gray);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .34em;
  text-decoration-color: var(--rule-2);
}
.copy:hover { color: var(--ink); text-decoration-color: var(--ink); }
.copy-msg { margin-left: .8em; font-size: 12.5px; color: var(--ink); }
.tp-src a:hover { color: var(--ink); }

/* 状态：五个字，选中的是墨色，下面一道线 */
.status { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; }
.status button {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--gray);
  transition: color .3s var(--ease);
}
.status button:hover { color: var(--ink); }
.status button[aria-pressed="true"] { color: var(--ink); }
.status button::after {
  content: "";
  position: absolute;
  left: 0;
  right: .1em;
  bottom: 4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.status button[aria-pressed="true"]::after { transform: scaleX(1); }

/* ---------- 其余选题 ---------- */
.h + .colgrp { margin-top: 26px; }
.colgrp + .colgrp { margin-top: 36px; }
.colname {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 8px;
}
.rows { border-bottom: 1px solid var(--rule); }
.row { border-top: 1px solid var(--rule); }
.row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 16px;
  width: 100%;
  padding: 14px 0 13px;
  text-align: left;
}
.row-title { font-size: 17px; line-height: 1.65; color: var(--ink); }
.row-head:hover .row-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .34em; text-decoration-color: var(--rule-2); }
.row-st { font-size: 12px; letter-spacing: .08em; color: var(--gray); white-space: nowrap; }
.row-st[data-v="待定"], .row-st[data-v="待办"] { visibility: hidden; }
.row-sub { grid-column: 1; margin-top: 2px; font-size: 12.5px; line-height: 1.6; letter-spacing: .05em; color: var(--gray); }
.todo .row-st[data-v="在做"] { color: var(--ink); }
.more { margin-top: 16px; font-size: 14px; letter-spacing: .06em; }
.out-k { margin-right: .6em; font-size: 12px; letter-spacing: .06em; color: var(--gray); }
.pick-meta .row-st[data-v="待定"] { display: none; }
.sec > .fold:first-of-type { margin-top: 14px; }

.sec-tail { margin-top: 56px; }
.fold + .fold { margin-top: 6px; }
.fold > summary {
  display: flex;
  align-items: baseline;
  padding: 12px 0;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--gray);
  cursor: pointer;
  list-style: none;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "展开"; margin-left: auto; font-size: 12.5px; letter-spacing: .06em; }
.fold[open] > summary::after { content: "收起"; }
.fold > summary:hover { color: var(--ink); }
.fold .rows { margin-bottom: 18px; }

/* ---------- 想法 ---------- */
.th-index { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; letter-spacing: .08em; }
.th-index a { color: var(--gray); text-decoration: none; padding: 4px 0; }
.th-index a:hover { color: var(--ink); }
.thoughts { border-bottom: 1px solid var(--rule); }
.th { padding: 20px 0 18px; border-top: 1px solid var(--rule); }
.th-text { font-weight: 300; font-size: 19px; line-height: 1.75; letter-spacing: .03em; color: var(--ink); }
.th-quote {
  margin-top: 10px;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
  text-spacing-trim: space-all;
}
.th-meta { margin-top: 8px; font-size: 12.5px; letter-spacing: .04em; color: var(--gray); }
.th-meta a { color: var(--gray); }
.th-meta a:hover { color: var(--ink); }

/* ---------- 原话 ---------- */
.lead { font-size: 15px; line-height: 1.9; color: var(--gray); }
.link {
  margin-top: 6px;
  padding: 6px 0;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--gray);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .34em;
  text-decoration-color: var(--rule-2);
}
.link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.days { margin-top: 8px; }
.day { margin-top: 52px; }
.day-h { font-size: 19px; margin-bottom: 4px; }
.grp { padding: 20px 0 20px; border-top: 1px solid var(--rule); }
.grps { border-bottom: 1px solid var(--rule); }
.grp-sum { margin-bottom: 12px; font-size: 17px; line-height: 1.8; color: var(--ink); }
.msg {
  display: grid;
  grid-template-columns: 3.1em minmax(0, 1fr);
  column-gap: 12px;
  padding: 5px 0;
}
.tm {
  padding-top: .55em;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.mb { min-width: 0; font-size: 15px; line-height: 1.9; color: var(--text); overflow-wrap: anywhere; }
.kind { margin-right: .7em; font-size: 12px; letter-spacing: .08em; color: var(--gray); }
.dim { color: var(--gray); }
.rec-title { font-size: 15px; color: var(--text); }
.rec { margin-top: 6px; padding-left: 14px; border-left: 1px solid var(--rule); }
.rec-l {
  display: grid;
  grid-template-columns: 3.1em minmax(0, 1fr);
  column-gap: 10px;
  padding: 2px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
}
.rec-l .tm { padding-top: .45em; font-size: 11.5px; }
.rec-d { padding-left: 1.2em; }
.rec-x { min-width: 0; }
.mb > .detail > .in > .rec { margin-top: 0; }
.ph { display: block; width: min(100%, 240px); margin: 4px 0 2px; }
.ph img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
  background: var(--plate);
}
.rec .ph { width: min(100%, 180px); }
.ph-gone { font-size: 13px; color: var(--gray); }
.grp-out { margin-top: 12px; font-size: 13px; line-height: 1.9; letter-spacing: .03em; color: var(--gray); }
.grp-out a { color: var(--ink); }
.sep { color: var(--gray); }
.is-skip { display: none; }
.show-skip .is-skip { display: block; }
.show-skip .grp.is-skip { opacity: .62; }

/* ---------- 空的时候 ---------- */
.empty p { font-size: 16px; line-height: 1.95; color: var(--gray); }
.empty .empty-lead { font-weight: 300; font-size: 23px; color: var(--ink); margin-bottom: 10px; }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.95;
  color: var(--gray);
}
.foot-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.run-msg { font-size: 13px; color: var(--gray); }
.foot-out { margin-top: 18px; }

.btn-ghost, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  letter-spacing: .1em;
  transition: background-color .3s var(--ease), transform .2s var(--ease), opacity .3s var(--ease);
}
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { background: rgba(20, 19, 18, .045); }
.btn-ghost:active { background: rgba(20, 19, 18, .09); transform: translateY(1px); }
.btn { width: 100%; height: 56px; background: var(--ink); color: var(--paper); font-size: 16px; }
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn-ghost[disabled], .btn[disabled] { opacity: .5; cursor: default; transform: none; }

/* ---------- 登录 ---------- */
.p-login .frame { max-width: calc(400px + 2 * var(--pad)); }
.login {
  min-height: calc(100vh - 96px);
  min-height: calc(100svh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-lead { margin-top: 14px; font-size: 15px; line-height: 1.9; color: var(--gray); }
.lg { margin-top: 44px; }
.field {
  position: relative;
  display: block;
  padding: 8px 0 6px;
  border-bottom: 1px solid var(--rule-2);
  transition: border-color .3s var(--ease);
}
.field + .field { margin-top: 18px; }
.field:focus-within { border-color: var(--ink); }
.field-l { display: block; font-size: 12.5px; letter-spacing: .08em; color: var(--gray); }
.field input {
  display: block;
  width: 100%;
  padding: 4px 0 2px;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 22px/1.5 var(--serif);
  letter-spacing: .12em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field-code input { padding-right: 7em; }
.field-btn {
  position: absolute;
  right: 0;
  bottom: 8px;
  padding: 8px 0 8px 12px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.field-btn[disabled] { color: var(--gray); cursor: default; }
.lg .btn { margin-top: 34px; }
.lg-msg { min-height: 1.9em; margin-top: 12px; font-size: 13px; line-height: 1.9; color: var(--gray); }

/* ---------- 电脑：左边信头和栏目粘着，右边一栏 560 ---------- */
@media (min-width: 900px) {
  .frame {
    max-width: none;
    display: grid;
    grid-template-columns: 220px minmax(0, 560px);
    column-gap: clamp(64px, 7vw, 120px);
    justify-content: center;
    padding: 52px 48px 96px;
  }
  .side { position: sticky; top: 52px; align-self: start; }
  .mast-title { font-size: 44px; }
  .mast { flex-direction: column; row-gap: 6px; }
  .mast-meta { margin-top: 10px; }
  .nav { flex-direction: column; gap: 2px; margin-top: 44px; border-bottom: 0; }
  .nav a { padding: 7px 0 7px 18px; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 50%; bottom: auto; width: 9px; }
  .main > .sec-first, .main > .sec:first-child { margin-top: 6px; }
  .main > .th-index.sec-first { margin-top: 14px; }
  .p-login .frame { display: block; max-width: calc(400px + 2 * var(--pad)); }
  .pick-title { font-size: 25px; }
}

@media (max-height: 620px) and (max-width: 899px) {
  .login { min-height: 0; padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
