/* Echo Flow：平涂水面 + 干净线稿。颜色全部来自天光（light.css），不写死。 */
:root {
  --serif: "Echo Serif", "Songti SC", "Noto Serif SC", STSong, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  --pad: 18px;
  --kb: 0px;
  --lw: 1.4px;
  --shallow: color-mix(in srgb, var(--ink) 7%, var(--page));
  --hair: color-mix(in srgb, var(--ink) 18%, var(--page));
  --bad: color-mix(in srgb, #C23B32 78%, var(--ink));
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { height: 100%; background: var(--page); color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html[data-dark="1"] { color-scheme: dark; }
body { height: 100%; overflow: hidden; background: var(--page); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
#app { position: fixed; inset: 0; overflow: hidden; background: var(--page); }
ul, ol { list-style: none; }
h1, h2, h3, b { font-weight: 600; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; outline: 0; appearance: none; -webkit-appearance: none; }
button { cursor: pointer; touch-action: manipulation; }
textarea { resize: none; display: block; width: 100%; }
img, svg, video { display: block; }
[hidden] { display: none !important; }
::placeholder { color: var(--muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
textarea:focus-visible, input:focus-visible { outline: 0; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.serif { font-family: var(--serif); font-weight: 300; }
b.serif, h1.serif, h2.serif { font-weight: 600; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.offscreen { position: fixed; left: -9999px; }
.dim { color: var(--muted); }
.mt { font: 500 10.5px/1.5 var(--mono); letter-spacing: .09em; color: var(--muted); font-variant-numeric: tabular-nums; }
.quiet, .hint { color: var(--muted); font-size: 13.5px; }
.bad { color: var(--bad) !important; }

/* ---- 按钮：线稿边；按下去沉一点，像按进水里 ---- */
.btn { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; border: var(--lw) solid var(--accent); background: var(--accent); color: var(--onAccent); font-weight: 600; white-space: nowrap; transition: transform .12s, opacity .2s; }
.btn.sec { background: transparent; border-color: var(--edge); color: var(--ink); font-weight: 500; }
.btn.sm { min-height: 40px; padding: 0 15px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn:active { transform: translateY(2px); }
.btn:disabled { opacity: .45; }
.txt { min-height: 44px; padding: 0 6px; color: var(--accent); font-size: 14px; white-space: nowrap; }
.txt.warn, .txt.armed, .armed { color: var(--bad); font-weight: 600; }
.ib { width: 44px; height: 44px; display: grid; place-items: center; flex: none; color: inherit; border-radius: 50%; }
.ib:active { transform: translateY(2px); }
.ib.sm { width: 40px; height: 36px; color: var(--muted); }
.shk { animation: shk .42s cubic-bezier(.36, .07, .19, .97); }
@keyframes shk { 0%, 100% { translate: 0; } 15% { translate: -8px; } 32% { translate: 7px; } 48% { translate: -5px; } 64% { translate: 3px; } 80% { translate: -1px; } }

/* ---- 页面 ---- */
.page { position: absolute; inset: 0; background: var(--page); overflow: hidden; display: flex; flex-direction: column; }
.page.moving { will-change: transform, clip-path; box-shadow: -14px 0 30px color-mix(in srgb, var(--ink) 16%, transparent); }
.scroll { flex: 1; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 2px; padding: calc(var(--st) + 4px) 8px 4px; min-height: calc(var(--st) + 52px); background: var(--page); }
.bar-t { flex: 1; min-width: 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-r { display: flex; }
.top { position: relative; z-index: 3; display: flex; align-items: center; gap: 4px; padding: calc(var(--st) + 6px) 8px 6px var(--pad); }
.brand { font-size: 17px; font-weight: 600; letter-spacing: .02em; margin-right: auto; white-space: nowrap; }
.tabs { display: flex; }
.tabs a { min-height: 44px; min-width: 52px; padding: 0 12px; display: grid; place-items: center; font-size: 15px; position: relative; }
.tabs a.on { font-weight: 600; }
.tabs a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 6px; background: currentColor; -webkit-mask: url("../art/tick.svg") center / 100% 100% no-repeat; mask: url("../art/tick.svg") center / 100% 100% no-repeat; }

/* ---- 舞台：此刻的河 ---- */
.stage { -webkit-user-select: none; user-select: none; touch-action: pan-y; cursor: grab; position: relative; height: clamp(470px, 65svh, 640px); overflow: hidden; isolation: isolate; color: var(--onSky); background: var(--w3); }
.scene { position: absolute; inset: 0; z-index: -2; }
.art.scene svg { position: absolute; left: 0; top: -22px; width: 100%; max-width: none; height: auto; aspect-ratio: 832 / 1024; }
/* 活水（js/liquid.js 每帧算形状）：上沿、近岸、水珠 */
.liq { overflow: visible; pointer-events: none; }
.liq-top, .liq-low, .liq-drops { position: absolute; left: 0; width: 100%; z-index: -1; }
.liq-top { top: 0; height: calc(var(--st) + 78px); }
.liq-low { bottom: 0; height: 46%; }
.sea { position: absolute; left: 0; width: 100%; z-index: -1; pointer-events: none; }
.liq-drops { top: 0; height: 100%; }
.liq .b { fill: color-mix(in oklab, var(--sky1) 55%, var(--sea1)); opacity: .62; }
.liq .f { fill: color-mix(in oklab, var(--sky1) 72%, var(--sea1)); }
.liq-low .b { fill: color-mix(in oklab, var(--w1) 40%, var(--sea1)); opacity: .85; }
.liq-low .fl { fill: var(--sea2); }
.liq .gl { fill: none; stroke: var(--light); stroke-width: 1.8; opacity: .6; stroke-linecap: round; stroke-dasharray: 46 30 90 64 18 120; }
.liq-top .gl { stroke: color-mix(in oklab, var(--sky2) 30%, var(--sea1)); opacity: .7; stroke-width: 2; }
.liq path { transition: fill 1.6s, stroke 1.6s; }
.dp { display: none; fill: var(--sea1); stroke: var(--rim); stroke-width: 1; }
.dp.on { display: inline; }
.dp.t { fill: color-mix(in oklab, var(--sky1) 72%, var(--sea1)); stroke: none; }
.slot { transform-origin: 50% 100%; }
#lamp-reflect { transform-box: view-box; transform-origin: 50% 50%; transform: scaleX(1.09); }
.dock-w.liq { height: 22px; }
.scene svg * { transition: fill 1.6s, stroke 1.6s; }
/* 水线由 liquid.js 定；basin 的底边就是水线，水面以下切掉，交给 sea.js 折射着画 */
.basin { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; z-index: 1; }
.slot { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.hit { position: absolute; left: 0; top: 0; z-index: 2; touch-action: none; cursor: grab; }
.hit:active { cursor: grabbing; }
.hit[hidden] { display: none; }
.film { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: visible; }
.film path { fill: var(--sea1); stroke: var(--rim); stroke-width: 1.2; }
/* 海的颜色：没人晃的时候就是这个。跟着天光走，但一直是清的蓝 */
:root { --sea1: #5fbfd4; --sea2: #15608e; --glint: #ffe4b8; --rim: #fff4e0; }
:root[data-light="dawn"] { --sea1: #8fd3df; --sea2: #2b6f96; --glint: #fff3e6; --rim: #f6fdff; }
:root[data-light="day"] { --sea1: #59d3e2; --sea2: #0b6b9b; --glint: #ffffff; --rim: #f2feff; }
:root[data-light="dusk"] { --sea1: #5fbfd4; --sea2: #15608e; --glint: #ffe4b8; --rim: #fff4e0; }
:root[data-light="evening"] { --sea1: #4ba8e2; --sea2: #174a94; --glint: #d9f1ff; --rim: #d8f0ff; }
:root[data-light="night"] { --sea1: #3486d2; --sea2: #103a7c; --glint: #cfe9ff; --rim: #b9defc; }
/* 画里的河也往这个蓝靠 */
.stage #water path[fill="var(--w1)"] { fill: color-mix(in oklab, var(--w1) 48%, var(--sea1)); }
.stage #water path[fill="var(--w2)"] { fill: color-mix(in oklab, var(--w2) 55%, var(--sea1)); }
.stage #water path[fill="var(--w3)"] { fill: color-mix(in oklab, var(--w3) 60%, var(--sea1)); }
.float { pointer-events: none; display: block; text-align: left; transform-origin: 50% 100%; -webkit-user-select: none; user-select: none; }
.bob { display: block; transform-origin: 50% 100%; rotate: -.8deg; }
.fl-pic { display: block; position: relative; border: 1.6px solid var(--lineart); background: var(--onNear); padding: 5px 5px 22px; }
.fl-pic .cov { width: 124px; height: 148px; }
.fl-pic.wide .cov { width: 168px; height: 116px; }
.fl-pic.wide { padding: 0 5px 14px; }
.fl-n { display: block; width: 168px; padding: 6px 2px 7px; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--lineart); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-slip { position: relative; display: block; width: min(248px, 64vw); padding: 18px 18px 62px; background: var(--onNear); color: var(--lineart); border: 1.6px solid var(--lineart); font-size: 17px; line-height: 1.65; }
.fl-slip span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.rings { position: absolute; left: 50%; width: 430px; height: 160px; margin-left: -215px; z-index: 0; overflow: visible; transition: opacity .18s; pointer-events: none; }
.rings.fade { opacity: 0; }
.sr { fill: none; stroke-width: 2.4; transform-box: fill-box; transform-origin: 50% 50%; }
.sr.none { stroke: var(--onNear); stroke-width: 1.4; stroke-dasharray: 3 7; }
.sr.grow { animation: sr 1.3s var(--ease) both; }
@keyframes sr { from { transform: scale(.16); opacity: 0; } 25% { opacity: 1; } to { transform: none; } }
.under { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; padding: 0 var(--pad) 14px; display: flex; align-items: flex-end; gap: 12px; z-index: 2; pointer-events: none; color: var(--onNear); }
.stage:active { cursor: grabbing; }
.say { flex: 1; min-width: 0; pointer-events: auto; cursor: auto; -webkit-user-select: text; user-select: text; }
.under { text-shadow: 0 1px 8px color-mix(in srgb, var(--sea2) 70%, transparent), 0 0 2px color-mix(in srgb, var(--sea2) 60%, transparent); }
.say-q { font-size: 17.5px; line-height: 1.55; font-weight: 300; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.say-q.dim { color: inherit; opacity: .86; }
.say-e { font-size: 14.5px; max-width: 18em; }
.say .mt { color: inherit; opacity: .92; margin-top: 4px; display: flex; gap: 12px; }
.let { pointer-events: auto; white-space: nowrap; color: inherit; margin-bottom: -9px; position: relative; }
.let::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 9px; border-bottom: 1px solid currentColor; opacity: .55; }
.shore { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 33%; z-index: -1; }
.shore .fl { fill: var(--near); }
.shore .ln { fill: none; stroke: var(--lineart); stroke-width: 2; vector-effect: non-scaling-stroke; }
/* 水面的光带各自慢慢漂（有出处：水在流）；云更慢 */
.scene .rf { animation: rf 9s ease-in-out infinite alternate; }
.scene .rf:nth-child(3n) { animation-duration: 12.7s; animation-delay: -5s; }
.scene .rf:nth-child(3n + 1) { animation-duration: 15.1s; animation-delay: -8s; }
@keyframes rf { from { transform: translateX(-9px); } to { transform: translateX(15px); } }
.scene .cloud { animation: cloud 47s ease-in-out infinite alternate; }
.scene #cloud-b { animation-duration: 63s; animation-delay: -20s; }
@keyframes cloud { from { transform: translateX(-18px); } to { transform: translateX(40px); } }
@keyframes reed { from { transform: rotate(-1.1deg); } to { transform: rotate(1.6deg); } }
.asleep *, .stage.asleep * { animation-play-state: paused !important; }
html[data-light="day"] .scene #lamp, html[data-light="dawn"] .scene #lamp { opacity: 0; }

/* ---- 筛选 / 搜索 ---- */
.below { position: relative; padding: 0 0 calc(150px + var(--sb)); min-height: 60svh; }
.filter { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; padding: 8px 0 4px 8px; background: var(--page); transition: padding .2s; }
.deep .filter { padding-top: calc(var(--st) + 6px); }
.chips { flex: 1; display: flex; overflow-x: auto; scrollbar-width: none; padding-right: 12px; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 26px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 26px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 10px; color: var(--muted); font-size: 14.5px; white-space: nowrap; position: relative; }
.chip.on { color: var(--ink); font-weight: 600; }
.chip.on::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 6px; height: 6px; background: var(--accent); -webkit-mask: url("../art/tick.svg") center / 100% 100% no-repeat; mask: url("../art/tick.svg") center / 100% 100% no-repeat; }
.f-search { display: none; flex: 1; align-items: center; gap: 10px; padding-left: 10px; color: var(--muted); }
.q { flex: 1; min-width: 0; min-height: 44px; font-size: 17px; font-weight: 300; color: var(--ink); }
.q::-webkit-search-cancel-button { display: none; }
.searching .stage { display: none; }
.searching .filter { padding-top: calc(var(--st) + 8px); border-bottom: 1px solid var(--hair); padding-right: 12px; }
.searching .filter .f-open, .searching .chips { display: none; }
.searching .f-search { display: flex; }
.count { padding: 10px var(--pad) 4px; font-size: 13px; color: var(--muted); }
.count:empty { display: none; }
mark { color: inherit; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--ring-dusk) 46%, transparent) 58% 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---- 墙：河从中间流下来 ---- */
.wall.none .river { display: none; }
.wall { position: relative; margin: 6px 14px 0; transition: opacity .2s; }
.loading .wall { opacity: .55; }
.river { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none; }
.river .bd { fill: var(--water); }
.river .ln { fill: none; stroke: var(--edge); stroke-width: 1.1; opacity: .62; }
.river .gl { fill: none; stroke: var(--page); stroke-width: 1.3; stroke-linecap: round; opacity: .8; }
.wl { position: relative; }
.wc { position: absolute; left: 0; top: 0; }
.wa { display: block; min-height: 44px; transition: transform .16s var(--ease); }
.wa:active { transform: translateY(2px) rotate(-.4deg); }
.wp { position: relative; display: block; overflow: hidden; border: var(--lw) solid var(--edge); background: var(--shallow); }
.wp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.wp.broken, .wc-no { display: grid; place-items: center; gap: 6px; padding: 18px 8px; color: var(--muted); text-align: center; }
.wc-no .ic { margin: auto; }
.wk { position: absolute; right: 6px; bottom: 6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--page); border: var(--lw) solid var(--edge); color: var(--ink); }
.wt { display: block; padding-top: 7px; }
.wt > span { display: block; }
.k-text .wt { padding-top: 0; }
.wq { font-size: 17px; line-height: 1.62; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; overflow-wrap: anywhere; }
.k-text .wq { border-top: var(--lw) solid var(--edge); padding-top: 9px; }
.wh { font-size: 15.5px; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.we { font-size: 14.5px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 84%, var(--page)); margin-top: 3px; padding-left: 10px; position: relative; overflow-wrap: anywhere; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.we::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 5px; width: 2px; border-radius: 1px; background: var(--c); }
.wo { font-size: 12.5px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.wm { display: flex !important; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.wv { display: inline-grid; }
.wr { position: absolute; left: 0; top: 0; width: 28px; height: 28px; pointer-events: none; }
.wr::before { content: ""; position: absolute; left: 14px; top: 14px; transform: translate(-50%, -50%); width: calc(9px + var(--d, 0) * 4.8px); height: calc(9px + var(--d, 0) * 4.8px); border-radius: 50%; background: var(--page); }
.wr::after { content: ""; position: absolute; top: 13.3px; left: 28px; width: var(--tick, 0); height: var(--lw); background: var(--edge); opacity: .7; }
.wr.l::after { left: auto; right: 28px; }
.wr .rip { position: relative; }
.rip { overflow: visible; }
.rip .dot { fill: var(--ink); }
.rip .dot.none { fill: var(--page); stroke: var(--ink); stroke-width: 1.4; }
.rip .rg { fill: none; stroke-width: 2; transform-box: fill-box; transform-origin: 50% 50%; }
.wr .rg { transform: scale(.2); opacity: 0; }
.wr.in .rg { transform: none; opacity: 1; transition: transform .8s var(--ease), opacity .3s; }
.wr.in .rg:nth-child(3) { transition-delay: .1s; } .wr.in .rg:nth-child(4) { transition-delay: .2s; } .wr.in .rg:nth-child(5) { transition-delay: .3s; }
.rip.grow .rg { animation: sr .9s var(--ease) both; }
.wmth { position: absolute; left: 0; top: 0; width: 16px; padding: 4px 0; background: var(--page); writing-mode: vertical-rl; text-align: center; font: 500 10px/16px var(--mono); letter-spacing: .06em; color: var(--muted); }
.tail { position: absolute; left: 0; width: 1px; height: 1px; }

/* ---- 没送到 ---- */
.unsent { margin: 14px var(--pad) 4px; border: var(--lw) dashed var(--edge); border-radius: 8px; padding: 12px 14px 4px; }
.unsent header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.unsent h2 { font-size: 15px; }
small { font-size: 12.5px; color: var(--muted); }
.us { padding: 10px 0 2px; border-top: 1px solid var(--hair); margin-top: 8px; }
.us-t { display: grid; gap: 2px; overflow-wrap: anywhere; }
.us-b { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }

/* ---- 底部：岸。东西从这里放下去 ---- */
.dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; transform: translateY(calc(var(--kb) * -1)); }
.dock-w { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: 16px; margin-bottom: -1px; }
.dock-w .fl, .sheet-w path:first-child { fill: var(--surface); }
.dock-w .ln, .sheet-w .ln { fill: none !important; stroke: var(--edge); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.dock-in { position: relative; background: var(--surface); padding: 4px 12px calc(var(--sb) + 10px); }
.kb .dock-in { padding-bottom: 8px; }
.dock-r { position: absolute; inset: -60px 0 0; pointer-events: none; }
.dock-r i { position: absolute; top: 60px; width: 60px; height: 20px; margin: -10px -30px; border-radius: 50%; border: 2.4px solid; animation: splash 1.3s var(--ease) both; }
@keyframes splash { from { transform: scale(.2); opacity: 1; } to { transform: scale(5); opacity: 0; border-width: .6px; } }
.cap-row { display: flex; align-items: flex-end; gap: 2px; }
.cap { flex: 1; min-width: 0; font-size: 17px; line-height: 24px; padding: 12px 4px 12px 8px; font-weight: 300; max-height: 168px; }
.cap-b { display: flex; align-items: center; }
.cap-b .ib { color: var(--muted); }
.drop { width: 46px; height: 46px; margin-left: 4px; border-radius: 50%; display: grid; place-items: center; border: var(--lw) solid var(--edge); color: var(--muted); transition: background .25s, color .25s, border-color .25s, transform .12s; }
.drop.on { background: var(--accent); border-color: var(--accent); color: var(--onAccent); }
.drop:active { transform: translateY(3px); }
.dock.slim .dock-in { border-top: var(--lw) solid var(--hair); padding-top: 10px; }
.just { border-bottom: 1px solid var(--hair); padding: 6px 4px 8px; margin-bottom: 2px; }
.j-h { display: flex; align-items: center; gap: 10px; }
.j-th img, .j-th .cov { width: 40px; height: 40px; object-fit: cover; border: var(--lw) solid var(--edge); }
.j-t { flex: 1; min-width: 0; }
.j-t b { display: block; font-size: 15px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.j-s { display: block; line-height: 1.4; }
.j-x { color: var(--muted); margin-right: -8px; }
.j-l { display: flex; align-items: flex-end; gap: 8px; padding-left: 2px; }
.feel { font-size: 17px; line-height: 25px; padding: 9px 0 8px 4px; font-weight: 300; }
.demo { position: fixed; right: 0; top: 42%; z-index: 40; writing-mode: vertical-rl; background: var(--ink); color: var(--page); font-size: 10px; letter-spacing: .2em; padding: 7px 2px; opacity: .55; pointer-events: none; }

/* ---- 状态 ---- */
.state { padding: 46px 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--muted); }
.state h2 { font: 600 18px/1.5 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.state p { max-width: 21em; }
.state.empty { padding-top: 26px; }
.ld { fill: none; stroke: var(--accent); stroke-width: 1.5; animation: ld 2.4s ease-out infinite; }
@keyframes ld { from { transform: scale(.1); opacity: 1; } to { transform: none; opacity: 0; } }
.pud { position: relative; width: 250px; height: 112px; margin: 6px 0; }
.pud-r { position: absolute; inset: -4px 0; width: 250px; height: 120px; overflow: visible; }
.pud-r ellipse { fill: none; stroke: var(--light); stroke-width: 2; animation: pud 6.4s ease-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
.pud-r ellipse + ellipse { animation-delay: .5s; stroke-width: 1.4; }
@keyframes pud { 0% { transform: scale(.82); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.06); opacity: 0; } }
.pud-c { position: absolute; left: 35px; top: 16px; width: 180px; height: 80px; border-radius: 50%; overflow: hidden; border: 1.6px solid var(--lineart); transform: scaleY(-1); isolation: isolate; background: var(--sky2); }
.pud-c .art.scene svg { width: 300px; left: -10px; top: -62px; }
.pud.bend .art.scene svg { left: -112px; }
#toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--sb) + 104px + var(--kb)); transform: translate(-50%, 14px); max-width: calc(100vw - 40px); display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--page); padding: 10px 16px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#toast.on button { pointer-events: auto; min-height: 36px; padding: 0 4px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* ---- 底部面板 ---- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; justify-content: flex-end; }
.shade { position: absolute; inset: 0; background: color-mix(in srgb, var(--lineart) 58%, transparent); }
.sheet { position: relative; background: var(--surface); max-height: calc(100% - var(--st) - 60px - var(--kb)); margin-top: 14px; display: flex; flex-direction: column; padding-bottom: calc(var(--sb) + 14px); transform-origin: 50% 100%; margin-bottom: var(--kb); }
.kb .sheet { padding-bottom: 10px; }
.sheet::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 60px; background: var(--surface); }
.sheet-w { position: absolute; left: 0; bottom: 100%; width: 100%; height: 14px; margin-bottom: -1px; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 2px var(--pad); }
.sheet-h h2 { font: 600 17px/1.4 var(--serif); }
.sheet-b { overflow: hidden auto; overscroll-behavior: contain; padding: 0 var(--pad) 6px; min-height: 0; }
.sheet-b.has-foot { display: flex; flex-direction: column; overflow: hidden; }
.sheet-f { padding-top: 10px; }
.q-row { display: flex; align-items: center; gap: 10px; color: var(--muted); border-bottom: 1px solid var(--hair); flex: none; }
.p-list { overflow: hidden auto; min-height: 120px; max-height: 60svh; overscroll-behavior: contain; }
.has-foot .p-list { height: 60svh; flex: 1 1 auto; }
.p-list > .quiet { padding: 34px 8px; text-align: center; }
.row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 9px 0; text-align: left; }
.row:active:not(.flat) { opacity: .7; }
.p-row { border-bottom: 1px solid var(--hair); }
.r-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.r-t b { font-size: 15.5px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.r-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cov { display: block; overflow: hidden; background: var(--shallow); color: var(--muted); flex: none; }
.cov img { width: 100%; height: 100%; object-fit: cover; }
.cov.noimg { display: grid; place-items: center; }
.ch { font-size: 22px; line-height: 1; color: var(--ink); }
.row .cov, .fe-a .cov { width: 46px; height: 46px; border: var(--lw) solid var(--edge); }
.p-c { width: 26px; height: 26px; border-radius: 50%; border: var(--lw) solid var(--edge); display: grid; place-items: center; color: transparent; }
.on > .p-c { background: var(--accent); border-color: var(--accent); color: var(--onAccent); }
.p-new { display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--hair); padding-top: 8px; }
.ask { padding: 2px 0 8px; }
.ask .row { min-height: 52px; padding: 4px 0; }
.thr { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; margin-left: 11px; }
.ed { font-size: 17px; line-height: 1.65; padding: 10px 0; border-bottom: var(--lw) solid var(--edge); margin-bottom: 12px; }
.ed-b { display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
.mn .row { min-height: 52px; border-bottom: 1px solid var(--hair); }
.mn .row:last-child { border: 0; }
.row.warn { color: var(--bad); }

/* ---- 一件东西 ---- */
.it { padding-bottom: calc(var(--sb) + 60px); }
.hero { position: relative; z-index: 2; padding: 4px var(--pad) 0; }
.hero.dip { margin-bottom: calc(var(--dip, 0) * -1px); }
.hero.k-text { margin-bottom: 10px; }
.m-img { display: block; margin: 0 auto; max-width: 78%; border: var(--lw) solid var(--edge); background: var(--shallow); cursor: zoom-in; }
.m-img img { max-height: 56svh; min-height: 90px; width: auto; max-width: 100%; margin: 0 auto; }
.m-bad { padding: 30px; text-align: center; color: var(--muted); border: var(--lw) dashed var(--hair); }
.m-vid video { width: 100%; max-height: 60svh; background: #000; border: var(--lw) solid var(--edge); }
.m-vid { text-align: right; }
.m-cov { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.m-cov .cov { width: min(86%, 340px); aspect-ratio: 1.6; border: var(--lw) solid var(--edge); }
.m-cov.sq .cov { width: min(58%, 230px); aspect-ratio: 1; }
.m-none { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0 4px; }
.m-ic { width: 74px; height: 74px; display: grid; place-items: center; border: var(--lw) solid var(--edge); border-radius: 50%; color: var(--muted); }
.m-words { padding: 6px 4px 0; }
.m-words h2 { font-size: 20px; margin-bottom: 6px; }
.m-text { font-size: 25px; line-height: 1.62; white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 300; }
.m-text.long { font-size: 18.5px; line-height: 1.85; }
.m-words .txt { margin-left: -6px; }
.pl { width: 100%; display: flex; align-items: center; gap: 12px; }
.pl-b { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; border: var(--lw) solid var(--edge); }
.pl-m { flex: 1; min-width: 0; }
.pl-r { width: 100%; height: 30px; cursor: pointer; background: linear-gradient(var(--accent), var(--accent)) 0 50% / var(--p, 0%) 2px no-repeat, linear-gradient(var(--hair), var(--hair)) 0 50% / 100% 2px no-repeat; }
.pl-r::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--page); border: 4px solid var(--accent); }
.pl-t { display: flex; justify-content: space-between; align-items: center; min-height: 30px; }
.ttl { position: relative; z-index: 2; padding: 4px var(--pad) 14px; }
.ttl h2 { font-size: 21px; line-height: 1.45; overflow-wrap: anywhere; }
.ttl h2:empty { display: none; }
.ttl-s { color: var(--muted); font-size: 13.5px; }
.ttl-s { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.ttl-s span:empty { display: none; }
.ttl-s .txt { margin-left: -2px; padding: 0 2px; min-height: 40px; font-size: 13.5px; display: inline-flex; align-items: center; }
.desc { margin-top: 6px; font-size: 14.5px; color: color-mix(in srgb, var(--ink) 82%, var(--page)); overflow-wrap: anywhere; white-space: pre-wrap; }
.ocr { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.ocr summary { min-height: 36px; line-height: 36px; cursor: pointer; }
.ocr p { white-space: pre-wrap; overflow-wrap: anywhere; }

/* 感受：一层层的水 */
.layers { position: relative; margin-top: 0; padding: var(--far, 0px) 0 26px; overflow: hidden; }
.ly-w { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.ly-w .bd { fill: color-mix(in srgb, var(--c) 22%, var(--page)); }
html[data-dark="1"] .ly-w .bd { fill: color-mix(in srgb, var(--c) 26%, var(--page)); }
.ly-w .rg { fill: none; stroke-width: 2.2; }
.ly-w .still { fill: none; stroke: var(--edge); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; }
.ly-now, .ly { position: relative; }
.ly-now { padding: 8px 22px 6px; }
.ly-in { font-size: 19px; line-height: 1.6; padding: 6px 0 8px; font-weight: 300; border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); margin-bottom: 10px; }
.ly-in:focus { border-color: var(--ink); }
.ly-in::placeholder { color: color-mix(in srgb, var(--ink) 66%, var(--page)); }
.ly-f { display: flex; align-items: center; justify-content: space-between; }
.ly-f .mt { display: flex; align-items: center; gap: 8px; }
.ly-f .mt::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--now); }
.ly-i { padding: calc(18px + var(--gp, 0px) * .5) 22px calc(20px + var(--gp, 0px) * .5); }
.ly-t { font-size: 18.5px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.ly-d { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 8px; }
.ly-d .mt { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; color: color-mix(in srgb, var(--ink) 76%, var(--page)); }
.ly-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.ly-x { display: flex; align-items: center; }
.ly-x .ib { color: color-mix(in srgb, var(--ink) 66%, var(--page)); }
.ly-s { color: color-mix(in srgb, var(--ink) 76%, var(--page)); }

.facts { padding: 14px var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.orig { color: var(--muted); font-size: 13.5px; display: grid; }
.fx h3 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.fx .btn.sec { margin-top: 8px; }
.in { min-height: 44px; min-width: 0; flex: 1; font-size: 16px; }
.mo { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--hair); color: var(--muted); }
.mo .in { color: var(--ink); font-size: 17px; }
.tg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; border-bottom: 1px solid var(--hair); }
.tag { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; }
.tag button { width: 30px; height: 40px; display: grid; place-items: center; color: var(--muted); }
.tg .in { flex: 1 0 86px; }
.ln-i { padding: 4px 0 2px; }
.why { font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.ln-r { display: flex; align-items: center; gap: 10px; }
.ln-r .row { flex: 1; min-width: 0; padding: 4px 0; min-height: 52px; }
.nr { display: flex; gap: 14px; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scrollbar-width: none; }
.nr::-webkit-scrollbar { display: none; }
.nr-i { flex: none; width: 118px; display: flex; flex-direction: column; align-items: flex-start; }
.nr-c .cov { width: 118px; height: 118px; border: var(--lw) solid var(--edge); }
.nr-c .txtc { padding: 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink); background: transparent; text-align: left; overflow: hidden; }
.nr-i small { margin-top: 6px; line-height: 1.4; }
.nr-i .txt { margin-left: -6px; min-height: 40px; }
.mini { fill: none; stroke: var(--w3); stroke-width: 2.4; stroke-linecap: round; flex: none; }
.fl-row b { font-size: 16px; overflow-wrap: anywhere; }
.fl-row { min-height: 50px; }
.opt { display: flex; align-items: center; gap: 16px; }
.opt div { flex: 1; display: grid; }
.sw { width: 54px; height: 32px; border-radius: 16px; border: var(--lw) solid var(--edge); position: relative; flex: none; transition: background .2s; }
.sw::before { content: ""; position: absolute; inset: -8px; }
.sw::after { content: ""; position: absolute; left: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: var(--lw) solid var(--edge); background: var(--surface); transition: left .22s var(--ease), background .2s; }
.sw[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.sw[aria-checked="true"]::after { left: 27px; background: var(--onAccent); border-color: var(--onAccent); }

/* ---- 流 ---- */
.top.plain { color: var(--ink); }
.fw-list { padding: 4px 0 calc(150px + var(--sb)); }
.fw { display: block; padding: 16px var(--pad) 18px; position: relative; }
.fw + .fw { border-top: 1px solid var(--hair); }
.fw:active { opacity: .75; }
.fw-t { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
.fw-t b { font-size: 19px; line-height: 1.45; overflow-wrap: anywhere; }
.fw-t .mt { flex: none; }
.fw-n { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14.5px; color: color-mix(in srgb, var(--ink) 80%, var(--page)); margin-top: 2px; }
.fw-s { width: calc(100% + var(--pad) * 2); margin: 8px calc(var(--pad) * -1) 0; height: 46px; }
.w-o { fill: none; stroke: var(--edge); stroke-width: 2.4; stroke-linejoin: round; }
.w-f { fill: var(--water); }
.w-o.t, .w-f.t { fill: none; stroke-linecap: butt; }
.w-f.t { stroke: var(--water); }
.gl { fill: none; stroke: var(--page); stroke-width: 1.4; stroke-linecap: round; opacity: .85; }
.tr { fill: none; stroke: var(--edge); stroke-width: 1.3; stroke-dasharray: 1.5 5; stroke-linecap: round; }
.fw-c { display: flex; gap: 8px; margin-top: 8px; }
.fw-c .cov { width: 64px; height: 64px; border: var(--lw) solid var(--edge); }
.fw-h { padding: 22px var(--pad) 2px; font-size: 13px; font-weight: 500; color: var(--muted); border-top: 1px solid var(--hair); }
.fp { padding-bottom: calc(110px + var(--sb)); }
.fp-h { padding: 4px var(--pad) 14px; }
.fp-n { font-size: 25px; line-height: 1.4; font-weight: 600; }
.fp-o { font-size: 16px; line-height: 1.65; padding: 4px 0 6px; }
.fp-b { position: relative; padding: 14px var(--pad) 0 48px; overflow: hidden; }
.fp-s { position: absolute; left: 0; top: 0; pointer-events: none; }
.fe-l { position: relative; display: grid; gap: 14px; }
.fe { position: relative; display: flex; gap: 8px; align-items: flex-start; }
.fe.drag { z-index: 3; }
.fe.drag .fe-c { background: var(--surface); border-color: var(--edge); border-radius: 6px; }
.fe-u { width: 44px; height: 44px; flex: none; margin: 8px 0 0 -4px; display: grid; place-items: center; position: relative; color: transparent; }
.fe-u::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: var(--lw) solid var(--edge); background: var(--page); transition: background .25s, border-color .25s; }
.fe-u .ic { position: relative; width: 16px; stroke-width: 2.2; }
.fe-u[aria-checked="true"] { color: var(--ink); }
.fe-u[aria-checked="true"]::before { background: var(--water); border-color: var(--edge); }
.fe-u:active::before { transform: translateY(2px); }
.fe-c { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; border: var(--lw) solid transparent; border-bottom-color: var(--hair); padding: 6px 0 2px 4px; }
.fe-a { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 50px; }
.fe-g { color: var(--muted); touch-action: none; cursor: grab; align-self: center; }
.fe-x { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 6px; padding-right: 8px; }
.fe-n { font-size: 15px; line-height: 24px; padding: 10px 0; }
.fe-x .txt { color: var(--muted); font-size: 13px; }
.fe-x .txt.armed { color: var(--bad); }
.fp-e { position: relative; padding: 70px 0 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.fp-b.none { padding: 0 var(--pad); }
.fp-b.none .fp-e { padding-top: 0; align-items: center; }
.fp-b.none .fp-c, .fp-b.none .btn.sec { display: none; }
.fp-c { font: 600 44px/1 var(--serif); display: flex; align-items: baseline; gap: 10px; }
.fp-c .mt { font-size: 12px; }
.sea .fp-e { padding-top: 110px; padding-bottom: 60px; }
.sea .fp-e .mt, .sea .fp-e .txt:not(.armed) { color: var(--ink); }
.odo { display: inline-flex; font-variant-numeric: tabular-nums; }
.odo .rc { display: inline-block; height: 1em; line-height: 1; overflow: hidden; }
.odo .rs { display: flex; flex-direction: column; transition: transform .6s var(--ease); }
.odo .rs b { display: block; height: 1em; font: inherit; line-height: 1; }

/* ---- 设置 / 说明 / 回收站 ---- */
.set, .sc, .tr-l { padding: 6px var(--pad) calc(var(--sb) + 50px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.tr-l { gap: 4px; }
.st-l { font-size: 25px; line-height: 1.3; font-weight: 300; display: flex; align-items: baseline; gap: 8px; }
.st-l .odo { font-weight: 600; font-size: 40px; }
.st-r svg { width: calc(100% + var(--pad) * 2); margin: 10px calc(var(--pad) * -1) 4px; height: 34px; }
.sl { fill: none; stroke-width: 15; vector-effect: non-scaling-stroke; }
.sl.o { stroke: var(--edge); stroke-width: 17.4; } .sl.a { stroke: var(--water); } .sl.b { stroke: var(--w3); } .sl.c { stroke: var(--accent); stroke-width: 5; }
.st-g { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 10px; }
.st-g dt { font-size: 13px; color: var(--muted); }
.st-g dt::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--w3); }
.st-g div:nth-child(2) dt::before { background: var(--water); }
.st-g div:nth-child(3) dt::before { background: var(--accent); }
.st-g dd { font-size: 24px; font-weight: 600; line-height: 1.4; }
.bar-q { height: 3px; background: var(--hair); margin: 12px 0 4px; }
.bar-q i { display: block; height: 100%; background: var(--edge); }
.tilt-p { margin-top: 10px; }
.tilt-p .seg { grid-template-columns: 1fr 1fr; }
.sky5 { display: grid; grid-template-columns: repeat(5, 1fr); margin: 12px 0 14px; }
.sky5 span { display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.sky5 i { width: 22px; height: 22px; border-radius: 50%; }
.sky5 .on { color: var(--ink); font-weight: 600; }
.sky5 .on i { box-shadow: 0 0 0 3px var(--page), 0 0 0 4.4px var(--edge); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--lw) solid var(--edge); border-radius: 8px; overflow: hidden; }
.seg button { min-height: 44px; font-size: 14.5px; }
.seg button + button { border-left: var(--lw) solid var(--edge); }
.seg .on { background: var(--ink); color: var(--page); font-weight: 600; }
.set .row { border-bottom: 1px solid var(--hair); }
.row-b { display: flex; }
.row-b .txt { margin-left: -6px; text-align: left; white-space: normal; }
.key { border: var(--lw) solid var(--edge); border-radius: 8px; padding: 12px 14px 8px; margin-top: 10px; display: grid; gap: 6px; }
.key code { font: 500 14px/1.6 var(--mono); overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.key-b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.key .armed { white-space: normal; text-align: left; }
.code { font-size: 42px; font-weight: 600; letter-spacing: .08em; line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.7; }
.sc { gap: 14px; }
.scs { border-top: 1px solid var(--hair); }
.scs summary { min-height: 54px; padding: 12px 0; font-size: 17px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.scs summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scs summary::-webkit-details-marker { display: none; }
.scs summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 6px 4px 0; border: solid var(--accent); border-width: 0 1.6px 1.6px 0; rotate: 45deg; transition: rotate .25s var(--ease); }
.scs[open] summary::after { rotate: 225deg; margin-bottom: -6px; }
.scs > p { margin: 10px 0; color: color-mix(in srgb, var(--ink) 84%, var(--page)); }
.steps { display: grid; gap: 14px; counter-reset: n; padding-bottom: 18px; }
ol.steps > li { counter-increment: n; position: relative; padding-left: 36px; }
ol.steps > li::before { content: counter(n); position: absolute; left: 0; top: 0; font: 600 18px/1.4 var(--serif); color: var(--accent); }
ul.steps > li { padding-left: 14px; border-left: 2px solid var(--hair); }
.steps p { overflow-wrap: anywhere; }
.steps ul { margin-top: 6px; display: grid; gap: 6px; }
.steps ul li { padding-left: 12px; border-left: 2px solid var(--hair); }
.steps ul .d2, .steps ul .d3 { margin-left: 14px; }
.cp { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; min-height: 32px; padding: 1px 8px; border: 1px solid var(--edge); border-radius: 5px; text-align: left; vertical-align: middle; margin: 2px; }
.cp code { font: 500 12.5px/1.5 var(--mono); overflow-wrap: anywhere; min-width: 0; }
.cp:active { background: var(--shallow); }

/* ---- 配对 ---- */
.pair { position: fixed; inset: 0; z-index: 45; overflow: hidden; background: var(--w3); color: var(--onNear); display: flex; flex-direction: column; justify-content: flex-end; }
.pair .scene { inset: 0; z-index: 0; }
.pair .art.scene svg { top: 0; }
.pair .shore { height: 52%; z-index: 0; }
.pair-in { position: relative; padding: 0 26px calc(var(--sb) + 8svh + var(--kb) * .72); display: grid; gap: 10px; }
.pair h1 { font-size: 32px; line-height: 1.2; }

.pt { display: block; font-size: 16.5px; margin-bottom: 20px; }
.pcs { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.pc-in { position: absolute; inset: 0; width: 100%; opacity: 0; font-size: 20px; z-index: 2; letter-spacing: 2em; cursor: text; }
.pc { display: grid; justify-items: center; }
.pc b { font: 600 30px/44px var(--serif); height: 44px; }
.pc svg { width: 100%; height: 20px; overflow: visible; }
.pc ellipse { fill: none; stroke: currentColor; stroke-width: 1.5; transform-box: fill-box; transform-origin: 50% 50%; opacity: .62; transform: scale(.72); transition: transform .8s var(--ease), opacity .3s; }
.pc ellipse + ellipse { opacity: 0; transition-delay: .12s; }
.pc.on ellipse { transform: none; opacity: 1; }
.pc.on ellipse + ellipse { opacity: .6; }
.pcs:focus-within .pc:not(.on) ellipse:first-child { opacity: .85; }
.pm { min-height: 24px; font-size: 14.5px; }
.ph { font-size: 13.5px; opacity: .92; }

/* ---- 全屏看 ---- */
.viewer { position: fixed; inset: 0; z-index: 70; background: rgb(10 13 20 / calc(.97 * var(--fade, 1))); display: grid; place-items: center; overflow: hidden; touch-action: none; color: #fff; }
.vw-i { max-width: 100vw; max-height: 100svh; will-change: transform; -webkit-user-select: none; user-select: none; }
.vw-v { max-width: 100vw; max-height: 100svh; width: 100%; }
.vw-x { position: absolute; right: 10px; top: calc(var(--st) + 8px); background: rgb(10 13 20 / .62); color: #fff; }

/* ---- 电脑上：手机一样的一条，居中 ---- */
@media (min-width: 700px) {
  #app, .pair { max-width: 560px; margin: 0 auto; box-shadow: 0 0 0 1px var(--hair); }
  .sheet-wrap { max-width: 560px; margin: 0 auto; }
  html { background: var(--shallow); }
  .art.scene svg { top: -140px; }
  body { background: var(--shallow); }
}
@media (max-width: 374px) { :root { --pad: 15px; } .brand { font-size: 15.5px; } .tabs a { min-width: 44px; padding: 0 9px; } .m-text { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wr .rg { transform: none; opacity: 1; }
}
