/* Matteo · 新手版 — 纸页与批注
   设计语言：暖纸底、墨色字、一支朱砂笔、一支荧光笔。数字和英文用 Fraunces，中文用各平台系统字体，批注用楷体。 */
@font-face { font-family: "Fraunces"; src: url("/n/fonts/fraunces.woff2?v=1") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/n/fonts/fraunces-italic.woff2?v=1") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --paper: #F4EFE6; --paper-2: #EBE4D7; --paper-3: #E3DACA; --card: #FFFCF6; --card-2: #FBF7EF;
  --ink: #1B1A17; --ink-2: #48443D; --ink-3: #847D71; --ink-4: #B3AB9D;
  --line: rgba(27, 26, 23, .09); --line-2: rgba(27, 26, 23, .16);
  --cinnabar: #E14A2B; --cinnabar-2: #C23A1E; --cinnabar-soft: #F9E1D8;
  --marker: #FFE16A; --marker-soft: rgba(255, 225, 106, .62);
  --sage: #55755F; --sage-soft: #DFE8DD; --amber: #C98A1E; --amber-soft: #F6E7C7; --sky: #3F6888; --sky-soft: #DCE6EE; --plum: #78568A; --plum-soft: #EADFF0;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --serif: "Fraunces", "Songti SC", "Noto Serif SC", Georgia, serif;
  --hand: "LXGW WenKai GB Screen", "LXGW WenKai", "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", var(--serif);
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-1: 0 1px 0 rgba(255,255,255,.8) inset, 0 1px 2px rgba(27,26,23,.05), 0 6px 18px -10px rgba(27,26,23,.16);
  --shadow-2: 0 1px 0 rgba(255,255,255,.8) inset, 0 2px 4px rgba(27,26,23,.05), 0 22px 48px -24px rgba(27,26,23,.32);
  --shadow-3: 0 30px 80px -30px rgba(27,26,23,.45), 0 2px 6px rgba(27,26,23,.08);
  --ease: cubic-bezier(.2,.75,.15,1); --ease-out: cubic-bezier(.16,1,.3,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --side: 248px; --top-safe: env(safe-area-inset-top, 0px); --bottom-safe: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; background: var(--paper); color: var(--ink); font: 15px/1.6 var(--sans); letter-spacing: .005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .38; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--marker); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cinnabar); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum", "tnum"; letter-spacing: -.01em; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.hand { font-family: var(--hand); letter-spacing: .02em; }
.muted { color: var(--ink-3); }
.hl { background: linear-gradient(transparent 58%, var(--marker-soft) 58%, var(--marker-soft) 92%, transparent 92%); padding: 0 .12em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- 外壳 ---------- */
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: var(--side) 1fr; min-height: 100dvh; }
.side { position: sticky; top: 0; height: 100dvh; padding: 26px 18px 20px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,252,246,.55), rgba(255,252,246,0)); }
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 10px 26px; }
.seal { width: 30px; height: 30px; border-radius: 8px; background: var(--cinnabar); color: #FFF4EC; display: grid; place-items: center; font: 600 15px/1 var(--hand); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 14px -6px rgba(225,74,43,.7); transform: rotate(-4deg); }
.brand b { font: italic 500 25px/1 var(--serif); letter-spacing: -.02em; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 500; transition: background .25s var(--ease), color .25s; }
.nav a .ico { width: 20px; height: 20px; opacity: .85; }
.nav a:hover { background: rgba(27,26,23,.045); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--cinnabar); }
.nav .count { margin-left: auto; font: 500 12px/1 var(--serif); color: var(--ink-3); }
.side-write { margin: 18px 0 10px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.me-chip { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; transition: background .2s; }
.me-chip:hover { background: rgba(27,26,23,.045); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--sans); color: #fff; background: conic-gradient(from 210deg, var(--cinnabar), var(--amber), var(--sage), var(--sky), var(--cinnabar)); flex: none; }
.me-chip small { display: block; color: var(--ink-3); font-size: 12px; line-height: 1.3; }
.me-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 1.3; }
.main { position: relative; min-width: 0; padding: 40px clamp(20px, 4vw, 64px) 120px; }
.page { max-width: 1180px; margin: 0 auto; }
.topbar { display: none; }
.tabbar { display: none; }

/* ---------- 排版 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: italic 400 15px/1 var(--serif); color: var(--ink-3); letter-spacing: 0; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.h1 { margin: 12px 0 0; font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.h1 .it { font-weight: 400; letter-spacing: -.02em; }
.h2 { margin: 0; font-weight: 750; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.h3 { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.35; letter-spacing: -.012em; }
.lead { margin: 14px 0 0; max-width: 62ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; text-wrap: pretty; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.section { margin-top: 64px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head p { margin: 4px 0 0; color: var(--ink-3); font-size: 14px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 按钮 ---------- */
.btn { --bg: var(--ink); --fg: #FFF9F0; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 10px 24px -12px rgba(27,26,23,.55); transition: transform .35s var(--spring), box-shadow .3s var(--ease), background .25s; isolation: isolate; overflow: hidden; }
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--spring); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 16px 30px -14px rgba(27,26,23,.6); }
.btn:hover .ico-go { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.accent { --bg: var(--cinnabar); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 12px 26px -12px rgba(225,74,43,.75); }
.btn.accent:hover { --bg: var(--cinnabar-2); }
.btn.ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { --bg: rgba(27,26,23,.04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.soft { --bg: var(--card); --fg: var(--ink); box-shadow: var(--shadow-1); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; gap: 7px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn.block { width: 100%; }
.btn .spin { animation: spin 1s linear infinite; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.link:hover { color: var(--cinnabar); border-color: currentColor; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background .2s, color .2s, transform .3s var(--spring); }
.icon-btn:hover { background: rgba(27,26,23,.06); color: var(--ink); }
.icon-btn:active { transform: scale(.92); }
.icon-btn .ico { width: 20px; height: 20px; }

/* ---------- 标签 / chip ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; background: rgba(27,26,23,.06); color: var(--ink-2); white-space: nowrap; }
.tag .ico { width: 13px; height: 13px; }
.tag.c { background: var(--cinnabar-soft); color: var(--cinnabar-2); }
.tag.s { background: var(--sage-soft); color: var(--sage); }
.tag.a { background: var(--amber-soft); color: #8F5F0E; }
.tag.k { background: var(--sky-soft); color: var(--sky); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 550; transition: all .25s var(--ease); white-space: nowrap; }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(27,26,23,.3); }
.chip[aria-pressed="true"] { background: var(--ink); color: #FFF9F0; box-shadow: 0 8px 18px -10px rgba(27,26,23,.6); }
.chip .n { font: 500 12px/1 var(--serif); opacity: .6; }
.scroller { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 4px; scroll-snap-type: x proximity; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }

/* ---------- 卡片 ---------- */
.card { position: relative; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.paper-edge { position: relative; }
.paper-edge::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(27,26,23,.05); }

/* 第一周：选题 + 爆款 */
.week { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.topic-card { display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-1); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.topic-no { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.topic-no .num { font-size: 44px; line-height: .8; font-weight: 300; font-style: italic; color: var(--cinnabar); }
.topic-title { font-size: 19px; font-weight: 750; line-height: 1.38; letter-spacing: -.015em; text-wrap: balance; min-height: 2.76em; }
.topic-why { margin: 8px 0 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }
.pair { margin-top: 18px; padding: 12px; border-radius: 20px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: start; }
.pair .cover { aspect-ratio: 3/4; border-radius: 12px; }
.pair-label { font: italic 400 13px/1 var(--serif); color: var(--ink-3); margin-bottom: 6px; }
.pair-author { font-weight: 650; font-size: 14px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.pair-author span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair-plays { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.trick { margin-top: 10px; font: 15px/1.5 var(--hand); color: var(--ink); }
.topic-actions { display: flex; gap: 8px; align-items: center; margin-top: 18px; padding-top: 2px; }
.topic-actions .btn { flex: 1; }

/* 封面 */
.cover { position: relative; overflow: hidden; background: var(--paper-3); isolation: isolate; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), opacity .6s; opacity: 0; }
.cover img.on { opacity: 1; }
.cover .poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; color: #fff; background: var(--pg, linear-gradient(160deg, #3F6888, #1B1A17)); }
.cover .poster q { quotes: "“" "”"; font: italic 500 13px/1.25 var(--serif); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.cover .poster small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.cover.has-img .poster { opacity: 0; transition: opacity .5s; }
.cover .plat { position: absolute; left: 8px; top: 8px; z-index: 2; height: 20px; padding: 0 7px; border-radius: 99px; background: rgba(27,26,23,.55); color: #fff; font-size: 10.5px; font-weight: 600; display: flex; align-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); letter-spacing: .03em; }

/* 爆款网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 22px 18px; }
.vcard { display: flex; flex-direction: column; text-align: left; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out); }
.vcard:hover { transform: translateY(-5px) rotate(-.25deg); box-shadow: var(--shadow-2); }
.vcard:hover .cover img { transform: scale(1.04); }
.vcard .cover { aspect-ratio: 4/5; }
.vcard .cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(transparent, rgba(15,13,10,.72)); z-index: 1; pointer-events: none; }
.vstats { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 12.5px; font-weight: 600; }
.vstats b { font: 500 22px/1 var(--serif); letter-spacing: -.02em; }
.vstats span { display: inline-flex; align-items: center; gap: 4px; opacity: .92; }
.vstats .ico { width: 14px; height: 14px; }
.vbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.vhook { font: italic 400 16px/1.38 var(--serif); color: var(--ink); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vwhy { font: 13.5px/1.55 var(--hand); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vmeta { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding-top: 4px; }
.vmeta .who { margin-left: auto; font-size: 12px; color: var(--ink-3); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-dot { position: absolute; right: 10px; top: 10px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--marker); color: var(--ink); box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.saved-dot .ico { width: 15px; height: 15px; }

/* 市场水位条 */
.pulse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-1); overflow: hidden; margin-bottom: 30px; }
.pulse > div { padding: 22px 24px; position: relative; }
.pulse > div + div::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.pulse b { display: block; font: 300 40px/1 var(--serif); letter-spacing: -.03em; }
.pulse b em { font-style: italic; font-size: .5em; color: var(--ink-3); margin-left: 3px; }
.pulse span { display: block; margin-top: 8px; color: var(--ink-3); font-size: 13px; }
.pulse .note { grid-column: 1 / -1; padding: 12px 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); background: var(--card-2); }

/* ---------- 结构条（爆款拆解） ---------- */
.structure { display: flex; gap: 4px; margin: 4px 0 0; }
.structure i { height: 6px; border-radius: 99px; background: var(--c); flex: var(--w, 1); opacity: .9; }
.parts { display: flex; flex-direction: column; gap: 0; }
.part { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-top: 1px dashed var(--line-2); }
.part:first-child { border-top: 0; }
.part-name { display: flex; flex-direction: column; gap: 4px; }
.part-name b { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.part-name b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent); }
.part-name small { font: italic 400 12.5px/1 var(--serif); color: var(--ink-3); }
.part p { margin: 0; font-size: 14.5px; line-height: 1.65; }
.part p + p { margin-top: 6px; font: 14px/1.6 var(--hand); color: var(--ink-2); }
.p-hook { --c: var(--cinnabar); } .p-problem { --c: var(--amber); } .p-turn { --c: var(--sage); } .p-proof { --c: var(--sky); } .p-cta { --c: var(--plum); } .p-other { --c: var(--ink-4); }

/* ---------- 抽屉 ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(27,26,23,.32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .45s var(--ease); }
.scrim.on { opacity: 1; }
.drawer { position: fixed; z-index: 61; top: 12px; right: 12px; bottom: 12px; width: min(620px, calc(100vw - 24px)); background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-3); display: flex; flex-direction: column; overflow: hidden; transform: translateX(calc(100% + 24px)); transition: transform .6s var(--ease-out); }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px 22px; }
.drawer-head .h3 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 24px; -webkit-overflow-scrolling: touch; }
.drawer-foot { display: flex; gap: 10px; padding: 14px 18px calc(14px + var(--bottom-safe)); border-top: 1px solid var(--line); background: rgba(244,239,230,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.drawer-foot .btn { flex: 1; }
.grab { display: none; }

.detail-hero { display: grid; grid-template-columns: 168px 1fr; gap: 20px; align-items: start; margin: 6px 0 22px; }
.detail-hero .cover { aspect-ratio: 9/14; border-radius: 18px; box-shadow: var(--shadow-2); }
.detail-hero .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; margin-top: 14px; }
.detail-hero .stats b { display: block; font: 400 24px/1 var(--serif); letter-spacing: -.02em; }
.detail-hero .stats span { font-size: 12px; color: var(--ink-3); }
.quote-big { position: relative; margin: 0; font: italic 400 21px/1.4 var(--serif); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.quote-big::before { content: "“"; position: absolute; left: -.5em; top: -.12em; color: var(--cinnabar); font-size: 1.6em; line-height: 1; }
.quote-zh { margin-top: 8px; font: 15px/1.6 var(--hand); color: var(--ink-2); }
.block { margin-top: 26px; }
.block-title { display: flex; align-items: center; gap: 8px; font: italic 400 15px/1 var(--serif); color: var(--ink-3); margin-bottom: 10px; }
.block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lines { display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: 44px 1fr; gap: 12px; font-size: 14px; }
.line .t { font: 500 12px/1.9 var(--serif); color: var(--ink-4); }
.line p { margin: 0; line-height: 1.55; }
.line p + p { color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }

/* ---------- 输入 ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-weight: 650; font-size: 14px; }
.field > small { color: var(--ink-3); font-size: 13px; margin-top: -4px; }
.input, .textarea { width: 100%; border: 0; outline: 0; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 rgba(255,255,255,.7); padding: 14px 16px; font-size: 16px; line-height: 1.55; transition: box-shadow .25s var(--ease); }
.input { height: 54px; padding: 0 18px; }
.input:focus, .textarea:focus { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 5px rgba(27,26,23,.06); }
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.paste { display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.paste .ico { color: var(--ink-3); width: 20px; height: 20px; }
.paste input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; height: 44px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.switch { position: relative; width: 50px; height: 30px; border-radius: 99px; background: var(--paper-3); transition: background .3s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .4s var(--spring); }
.toggle[aria-checked="true"] .switch { background: var(--sage); }
.toggle[aria-checked="true"] .switch::after { transform: translateX(20px); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.choice { position: relative; text-align: left; padding: 22px 20px 20px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); transition: all .35s var(--ease-out); display: flex; flex-direction: column; gap: 10px; min-height: 170px; }
.choice:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(27,26,23,.28), var(--shadow-2); }
.choice[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink), var(--shadow-2); }
.choice[aria-pressed="true"]::after { content: ""; position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23fff' d='M232.5 79.5l-128 128a12 12 0 01-17 0l-56-56a12 12 0 0117-17L96 182 215.5 62.5a12 12 0 0117 17z'/%3E%3C/svg%3E") center/12px no-repeat; }
.choice .ico { width: 30px; height: 30px; color: var(--cinnabar); }
.choice > div { display: flex; flex-direction: column; gap: 6px; }
.choice b { font-size: 17px; letter-spacing: -.01em; }
.choice span { color: var(--ink-3); font-size: 13.5px; line-height: 1.55; }
.choice.mini { min-height: 0; padding: 16px 18px; flex-direction: row; align-items: center; gap: 12px; }
.choice.mini .ico { width: 22px; height: 22px; }

/* ---------- 引导 ---------- */
.onb { position: relative; z-index: 1; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.onb-art { position: sticky; top: 0; height: 100dvh; padding: 36px; display: flex; flex-direction: column; justify-content: flex-start; background: var(--ink); color: #F4EFE6; overflow: hidden; }
.onb-art .brand b { color: #F4EFE6; }
.onb-art .big { font-weight: 800; font-size: clamp(34px, 3.9vw, 58px); line-height: 1.12; letter-spacing: -.035em; max-width: 13em; text-wrap: balance; }
.onb-art .big .it { color: var(--marker); }
.onb-art .sub { margin-top: 18px; color: rgba(244,239,230,.6); max-width: 34em; font-size: 15px; }
.onb-art > .onb-text { position: relative; margin-top: auto; margin-bottom: 34px; }
.onb-steps { display: flex; gap: 8px; }
.onb-steps i { height: 3px; flex: 1; border-radius: 99px; background: rgba(244,239,230,.16); overflow: hidden; position: relative; }
.onb-steps i::after { content: ""; position: absolute; inset: 0; background: var(--marker); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .8s var(--ease-out); }
.onb-form { padding: 64px clamp(24px, 5vw, 80px) 48px; display: flex; flex-direction: column; justify-content: center; max-width: 720px; }
.onb-form .h1 { font-size: clamp(30px, 3.4vw, 44px); }
.onb-body { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.onb-nav { display: flex; gap: 10px; margin-top: 34px; align-items: center; }
.onb-nav .btn.lg { min-width: 180px; }
.floaters { position: absolute; inset: 0; pointer-events: none; }
.floater { position: absolute; width: 138px; border-radius: 18px; background: #26241F; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06); padding: 10px; animation: drift 14s ease-in-out infinite; }
.floater .cover { aspect-ratio: 3/4; border-radius: 12px; }
.floater p { margin: 8px 2px 2px; color: rgba(244,239,230,.75); font: italic 12.5px/1.35 var(--serif); }
@keyframes drift { 0%, 100% { transform: translate3d(0,0,0) rotate(var(--r, -4deg)); } 50% { transform: translate3d(0,-14px,0) rotate(calc(var(--r, -4deg) * -1)); } }

/* ---------- 进度（写稿 / 排周） ---------- */
.progress { max-width: 640px; margin: 7vh auto 0; text-align: center; }
.pen { position: relative; width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-2); display: grid; place-items: center; }
.pen .ico { width: 34px; height: 34px; color: var(--cinnabar); animation: write 1.6s var(--ease) infinite; }
@keyframes write { 0%, 100% { transform: translate(-3px, 2px) rotate(-8deg); } 50% { transform: translate(4px, -2px) rotate(6deg); } }
.steps { margin: 30px auto 0; display: flex; flex-direction: column; gap: 4px; text-align: left; max-width: 420px; }
.step { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 16px; color: var(--ink-4); transition: all .5s var(--ease); }
.step .dot { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px currentColor; }
.step .dot .ico { width: 14px; height: 14px; opacity: 0; }
.step.now { color: var(--ink); background: var(--card); box-shadow: var(--shadow-1); }
.step.now .dot { box-shadow: none; background: conic-gradient(var(--cinnabar) var(--a, 30%), var(--paper-3) 0); animation: ring 1.2s linear infinite; }
.step.now .dot::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--card); grid-area: 1/1; }
.step.done { color: var(--ink-2); }
.step.done .dot { background: var(--sage); color: #fff; box-shadow: none; }
.step.done .dot .ico { opacity: 1; }
.step small { display: block; color: var(--ink-3); font-size: 12.5px; }
.elapsed { margin-top: 18px; font: italic 14px/1 var(--serif); color: var(--ink-3); }
@keyframes ring { to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 写内容 ---------- */
.write { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 34px; align-items: start; }
.write-src { position: sticky; top: 28px; }
.src-card { padding: 18px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-1); }
.src-card .row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.src-card .cover { aspect-ratio: 3/4; border-radius: 14px; }
.doc { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-2); position: relative; }
.doc::before { content: ""; position: absolute; left: clamp(22px, 3vw, 40px); right: clamp(22px, 3vw, 40px); top: 0; height: 4px; border-radius: 0 0 6px 6px; background: repeating-linear-gradient(90deg, var(--cinnabar) 0 18px, transparent 18px 26px); opacity: .9; }
.doc-title { font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.03em; margin: 6px 0 0; text-wrap: balance; }
.source-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.source-line a { color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.hook-compare { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.hook-compare > div { padding: 18px 20px; }
.hook-compare > div:first-child { background: var(--card-2); }
.hook-compare > div + div { background: #FFFDF8; position: relative; }
.hook-compare small { display: block; font: italic 13px/1 var(--serif); color: var(--ink-3); margin-bottom: 10px; }
.hook-compare p { margin: 0; font: italic 400 17px/1.45 var(--serif); letter-spacing: -.01em; }
.hook-compare .zh { margin-top: 8px; font: 14px/1.55 var(--hand); font-style: normal; color: var(--ink-2); }
.scribble { position: relative; display: inline; }
.scribble svg { position: absolute; left: -6%; top: -18%; width: 112%; height: 136%; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--cinnabar); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900); animation: draw 1.4s .4s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.shots { margin-top: 30px; display: flex; flex-direction: column; }
.shot { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.shot-n { font: italic 300 34px/1 var(--serif); color: var(--ink-4); letter-spacing: -.03em; }
.shot-visual { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.shot-visual .ico { margin-top: 3px; width: 15px; height: 15px; flex: none; }
.vo { margin: 0; font-size: 16.5px; line-height: 1.6; letter-spacing: -.003em; }
.vo-zh { margin: 6px 0 0; font: 14.5px/1.6 var(--hand); color: var(--ink-2); }
.onscreen { display: inline-flex; margin-top: 10px; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: #FFF9F0; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
mark.flag { background: linear-gradient(transparent 8%, var(--marker) 8%, var(--marker) 94%, transparent 94%); color: inherit; padding: 0 .1em; border-radius: 3px; cursor: help; }
.kv { margin-top: 30px; display: grid; gap: 18px; }
.kv-item { padding: 18px 20px; border-radius: 20px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.kv-item h4 { margin: 0 0 8px; font: italic 400 14px/1 var(--serif); color: var(--ink-3); display: flex; align-items: center; justify-content: space-between; }
.kv-item p { margin: 0; white-space: pre-wrap; line-height: 1.65; }
.kv-item .zh { margin-top: 8px; color: var(--ink-2); font: 14px/1.6 var(--hand); }
.hashtags { display: flex; flex-wrap: wrap; gap: 6px; }
.hashtags span { font-weight: 600; color: var(--sky); font-size: 14px; }
.flags { margin-top: 26px; padding: 18px 20px; border-radius: 20px; background: #FFF6CF; box-shadow: inset 0 0 0 1px rgba(201,138,30,.25); }
.flags h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.flags ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.flags li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 13.5px; line-height: 1.55; }
.flags li b { background: var(--marker); padding: 0 6px; border-radius: 4px; font-weight: 650; }
.tips { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tips li { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; }
.tips li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--sage); }
.doc-actions { position: sticky; bottom: 18px; z-index: 5; margin-top: 26px; display: flex; gap: 10px; padding: 10px; border-radius: 999px; background: rgba(27,26,23,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-3); }
.doc-actions .btn.ghost { --fg: #F4EFE6; box-shadow: inset 0 0 0 1px rgba(244,239,230,.22); }
.doc-actions .btn.ghost:hover { --bg: rgba(244,239,230,.08); }
.doc-actions .btn.accent { margin-left: auto; }

/* ---------- 排期 ---------- */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { min-height: 168px; padding: 12px; border-radius: 20px; background: rgba(255,252,246,.55); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; transition: background .3s; }
.day.today { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow-1); }
.day-h { display: flex; align-items: baseline; justify-content: space-between; color: var(--ink-3); font-size: 12px; }
.day-h b { font: 400 26px/1 var(--serif); color: var(--ink); letter-spacing: -.03em; }
.day.today .day-h b { color: var(--cinnabar); }
.slot { text-align: left; padding: 10px 11px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-1); font-size: 13px; font-weight: 600; line-height: 1.4; transition: transform .35s var(--spring); display: flex; flex-direction: column; gap: 6px; }
.slot:hover { transform: translateY(-2px); }
.slot .st { font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); }
.slot .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--amber)); }
.st-待拍摄 { --c: var(--amber); } .st-已拍摄 { --c: var(--sky); } .st-已发布 { --c: var(--sage); }
.list { display: flex; flex-direction: column; gap: 10px; }
.row-item { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-1); text-align: left; transition: transform .4s var(--ease-out); }
.row-item:hover { transform: translateX(3px); }
.row-item .date { width: 54px; text-align: center; }
.row-item .date b { display: block; font: 400 26px/1 var(--serif); letter-spacing: -.03em; }
.row-item .date small { color: var(--ink-3); font-size: 11.5px; }
.row-item .t { font-weight: 650; line-height: 1.4; }
.row-item .s { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* ---------- 空状态 / 骨架 / 提示 ---------- */
.empty { padding: 56px 24px; text-align: center; border-radius: var(--r-xl); background: rgba(255,252,246,.6); box-shadow: inset 0 0 0 1.5px var(--line); border: 0; }
.empty .art { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow-1); color: var(--cinnabar); }
.empty .art .ico { width: 28px; height: 28px; }
.empty h3 { margin: 0; font-size: 19px; letter-spacing: -.015em; }
.empty p { margin: 8px auto 20px; color: var(--ink-3); max-width: 36em; }
.sk { position: relative; overflow: hidden; background: var(--paper-2); border-radius: 12px; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.toast-wrap { position: fixed; z-index: 90; left: 50%; bottom: calc(26px + var(--bottom-safe)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #FFF9F0; font-size: 14px; font-weight: 550; box-shadow: var(--shadow-3); animation: toast-in .5s var(--spring); max-width: calc(100vw - 32px); }
.toast .ico { width: 18px; height: 18px; color: var(--marker); flex: none; }
.toast.err .ico { color: #FF9C86; }
.toast button { color: var(--marker); font-weight: 700; margin-left: 6px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.banner { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-1); }
.banner .ico { width: 22px; height: 22px; color: var(--cinnabar); flex: none; }
.banner p { margin: 0; flex: 1; font-size: 14px; color: var(--ink-2); }

/* ---------- 首页 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-bottom: 36px; }
.positioning { margin-top: 18px; padding: 16px 20px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-1); display: flex; gap: 14px; align-items: flex-start; max-width: 760px; }
.positioning .ico { width: 22px; height: 22px; color: var(--cinnabar); flex: none; margin-top: 2px; }
.positioning p { margin: 0; line-height: 1.65; }
.positioning small { display: block; margin-top: 4px; font: 14px/1.55 var(--hand); color: var(--ink-3); }
.stats-strip { display: flex; gap: 28px; }
.stats-strip a { display: flex; flex-direction: column; gap: 2px; }
.stats-strip b { font: 300 34px/1 var(--serif); letter-spacing: -.03em; }
.stats-strip span { font-size: 12.5px; color: var(--ink-3); }
.more { margin-top: 18px; }
.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { background: rgba(27,26,23,.04); }
.more[open] summary .ico { transform: rotate(180deg); }
.more summary .ico { transition: transform .3s var(--ease); }
.mini-topics { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini-topic { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-1); text-align: left; transition: transform .4s var(--ease-out), box-shadow .4s; }
.mini-topic:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.mini-topic .cover { aspect-ratio: 3/4; border-radius: 12px; }
.mini-topic b { display: block; font-size: 14.5px; line-height: 1.4; }
.mini-topic small { display: block; margin-top: 3px; font: 13px/1.45 var(--hand); color: var(--ink-3); }
.mini-topic .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { padding: 20px; border-radius: 22px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.pillar .num { font: italic 300 30px/1 var(--serif); color: var(--cinnabar); }
.pillar b { display: block; margin-top: 12px; font-size: 16px; }
.pillar p { margin: 6px 0 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }

/* ---------- 我的 ---------- */
.settings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.panel { padding: 24px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 18px; }
.panel h3 { margin: 0; font-size: 18px; letter-spacing: -.015em; }
.product { padding: 14px 16px; border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.product b { display: block; }
.product p { margin: 4px 0 0; color: var(--ink-3); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 登录 ---------- */
.auth { position: relative; z-index: 1; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.auth-art { position: relative; background: var(--ink); color: #F4EFE6; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.code-inputs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.code-inputs input { height: 56px; text-align: center; font: 400 26px/1 var(--serif); border: 0; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); outline: 0; padding: 0; transition: box-shadow .2s, transform .3s var(--spring); }
.code-inputs input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.err-text { color: var(--cinnabar-2); font-size: 13.5px; min-height: 1.4em; }
.demo-flow { position: relative; margin: 0 auto; width: min(520px, 100%); }
.demo-card { position: relative; padding: 18px 20px; border-radius: 22px; background: #23211D; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 80px -40px rgba(0,0,0,.9); }
.demo-card.mine { margin-top: 64px; margin-left: 56px; background: #F4EFE6; color: var(--ink); transform: rotate(-1.2deg); }
.demo-card:not(.mine) { transform: rotate(.8deg); }
.demo-card small { display: block; font: italic 13px/1 var(--serif); opacity: .55; margin-bottom: 10px; }
.demo-card p { margin: 0; font: italic 400 19px/1.4 var(--serif); letter-spacing: -.01em; }
.demo-card .swap { display: inline-block; position: relative; color: var(--marker); }
.demo-card.mine .swap { color: var(--cinnabar); }
.demo-card.mine .swap::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 1px; height: 7px; background: var(--marker-soft); z-index: -1; border-radius: 2px; }
.demo-card.mine p { position: relative; z-index: 0; }
.demo-arrow { position: absolute; left: 22px; top: calc(50% - 30px); width: 56px; height: 64px; color: var(--marker); }

/* ---------- 动效 ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); }
.revealed { animation: reveal .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2,.75,.15,1); }
::view-transition-old(main) { animation: vt-out .25s ease both; }
::view-transition-new(main) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 平板 ---------- */
@media (max-width: 1180px) {
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week > :nth-child(3) { grid-column: 1 / -1; }
  .week > :nth-child(3) .pair { grid-template-columns: 82px 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  :root { --side: 84px; }
  .side { padding: 22px 12px; align-items: center; }
  .brand { padding: 2px 0 22px; }
  .brand b, .nav a span, .nav .count, .me-chip > div, .side-write .label { display: none; }
  .nav a { justify-content: center; padding: 12px; }
  .nav a[aria-current="page"]::after { right: 6px; top: 6px; }
  .side-write .btn { width: 52px; height: 52px; padding: 0; }
  .write { grid-template-columns: 1fr; }
  .write-src { position: static; }
  .settings { grid-template-columns: 1fr; }
  .onb, .auth { grid-template-columns: 1fr; }
  .onb-art { position: relative; height: auto; min-height: 0; padding: 22px 22px 26px; }
  .onb-art .big { font-size: 26px; margin-top: 22px; }
  .onb-art .sub, .floaters, .onb-art .demo { display: none; }
  .onb-art .brand { padding: 0; }
  .auth-art { min-height: 46vh; padding: 24px; }
  .days { grid-template-columns: repeat(7, minmax(110px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .day { scroll-snap-align: start; }
}

/* ---------- 手机 ---------- */
@media (max-width: 720px) {
  body { font-size: 15px; }
  .shell { display: block; }
  .side { display: none; }
  .topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--top-safe)) 16px 10px; background: rgba(244,239,230,.86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
  .topbar.scrolled { border-bottom-color: var(--line); }
  .topbar .brand { padding: 0; gap: 9px; flex: 1; }
  .topbar .brand b { display: inline; font-size: 22px; }
  .topbar .seal { width: 26px; height: 26px; font-size: 13px; border-radius: 7px; }
  .topbar .avatar { width: 32px; height: 32px; font-size: 13px; }
  .main { padding: 18px 16px calc(112px + var(--bottom-safe)); }
  .tabbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(10px + var(--bottom-safe)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 66px; padding: 0 6px; border-radius: 26px; background: rgba(255,252,246,.86); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); box-shadow: 0 18px 40px -18px rgba(27,26,23,.45), inset 0 0 0 1px rgba(27,26,23,.07); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink-3); font-size: 10.5px; font-weight: 600; padding: 6px 0; transition: color .2s; }
  .tabbar a .ico { width: 23px; height: 23px; transition: transform .35s var(--spring); }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar a[aria-current="page"] .ico { transform: translateY(-1px) scale(1.06); }
  .tabbar a.write-tab { color: #FFF9F0; }
  .tabbar a.write-tab i { width: 52px; height: 52px; border-radius: 18px; background: var(--cinnabar); display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(225,74,43,.8), inset 0 1px 0 rgba(255,255,255,.25); transform: translateY(-14px) rotate(-4deg); transition: transform .4s var(--spring); }
  .tabbar a.write-tab:active i { transform: translateY(-12px) rotate(0) scale(.94); }
  .tabbar a.write-tab span { display: none; }
  .h1 { font-size: 31px; }
  .lead { font-size: 15.5px; }
  .head { margin-bottom: 24px; }
  .section { margin-top: 46px; }
  .week { grid-template-columns: 1fr; gap: 16px; }
  .week > :nth-child(3) { grid-column: auto; }
  .topic-card { padding: 18px; border-radius: 26px; }
  .topic-title { min-height: 0; font-size: 18px; }
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .stats-strip { gap: 0; justify-content: space-between; padding: 14px 18px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-1); }
  .stats-strip b { font-size: 28px; }
  .mini-topics { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vcard { border-radius: 20px; }
  .vbody { padding: 11px 12px 13px; gap: 7px; }
  .vhook { font-size: 14.5px; }
  .vwhy { font-size: 12.5px; }
  .vstats b { font-size: 18px; }
  .vstats { left: 10px; bottom: 8px; gap: 8px; font-size: 11.5px; }
  .vmeta .who { display: none; }
  .pulse { grid-template-columns: repeat(2, 1fr); border-radius: 24px; }
  .pulse > div { padding: 16px 18px; }
  .pulse > div:nth-child(3)::before { display: none; }
  .pulse > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pulse b { font-size: 30px; }
  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: calc(100dvh - 44px - var(--top-safe)); border-radius: 28px 28px 0 0; transform: translateY(100%); }
  .drawer.on { transform: none; }
  .grab { display: block; width: 40px; height: 5px; border-radius: 99px; background: var(--paper-3); margin: 8px auto 0; }
  .drawer-head { padding: 6px 10px 8px 18px; }
  .drawer-body { padding: 4px 18px 22px; }
  .detail-hero { grid-template-columns: 118px 1fr; gap: 16px; }
  .quote-big { font-size: 18px; }
  .choice-grid { grid-template-columns: 1fr; gap: 10px; }
  .choice { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
  .choice > div { display: flex; flex-direction: column; gap: 3px; }
  .onb-form { padding: 26px 18px 40px; justify-content: flex-start; }
  .onb-nav { position: sticky; bottom: 0; margin: 26px -18px 0; padding: 12px 18px calc(12px + var(--bottom-safe)); background: linear-gradient(transparent, var(--paper) 30%); }
  .onb-nav .btn.lg { flex: 1; min-width: 0; }
  .hook-compare { grid-template-columns: 1fr; }
  .shot { grid-template-columns: 38px 1fr; gap: 12px; padding: 18px 0; }
  .shot-n { font-size: 26px; }
  .vo { font-size: 15.5px; }
  .doc { padding: 22px 18px; border-radius: 26px; }
  .doc-actions { bottom: calc(86px + var(--bottom-safe)); border-radius: 26px; flex-wrap: wrap; }
  .doc-actions .btn { flex: 1; }
  .doc-actions .btn.accent { margin-left: 0; flex-basis: 100%; order: -1; }
  .days { display: none; }
  .paste { padding-left: 16px; }
  .paste .btn { padding: 0 14px; }
  .auth-art { min-height: 0; padding: 22px 20px 30px; }
  .auth-art .demo-flow { display: none; }
  .code-inputs { gap: 5px; }
  .code-inputs input { height: 50px; font-size: 22px; border-radius: 12px; }
  .toast-wrap { bottom: calc(96px + var(--bottom-safe)); }
  .src-card .row { grid-template-columns: 80px 1fr; }
}
@media (max-width: 380px) {
  .grid { gap: 10px; }
  .h1 { font-size: 28px; }
  .tabbar a { font-size: 10px; }
}
@media (min-width: 721px) { .only-m { display: none !important; } }
@media (max-width: 720px) { .only-d { display: none !important; } }
