/* 布丁 Pudding 官网 · 奶油布丁主题（与 App 同一套配色），深色时换成焦糖可可 */
:root {
  --bg: #FFF8EC;
  --bg2: #FBEEDA;
  --surface: #FFFDF8;
  --ink: #3B2A1E;
  --sub: #7A6656;
  --dim: #A08C7C;
  --line: rgba(120, 80, 40, .12);
  --accent: #C97B3D;
  --accent-ink: #A9612A;
  --highlight: #EFAE57;
  --soft: #EE9A8C;
  --clean: #D9833E;
  --space: #5FA69C;
  --apps: #E07C7C;
  --care: #9A86CF;
  --shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -12px rgba(150, 95, 40, .22), 0 2px 6px rgba(150, 95, 40, .06);
  --jelly: cubic-bezier(.34, 1.56, .64, 1);
  --font-round: ui-rounded, "SF Pro Rounded", "Yuanti SC", -apple-system, "PingFang SC", sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1612; --bg2: #16110D; --surface: #271F19;
    --ink: #F6EBDD; --sub: #C2AE9C; --dim: #8F7C6C; --line: rgba(255, 220, 180, .1);
    --accent: #E8A462; --accent-ink: #F0B577; --highlight: #F5CF8A; --soft: #EE9F92;
    --clean: #E8A462; --space: #7CC3B9; --apps: #EE9493; --care: #B1A2E6;
    --shadow: 0 1px 0 rgba(255, 230, 200, .06) inset, 0 20px 44px -12px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  --bg: #1C1612; --bg2: #16110D; --surface: #271F19;
  --ink: #F6EBDD; --sub: #C2AE9C; --dim: #8F7C6C; --line: rgba(255, 220, 180, .1);
  --accent: #E8A462; --accent-ink: #F0B577; --highlight: #F5CF8A; --soft: #EE9F92;
  --clean: #E8A462; --space: #7CC3B9; --apps: #EE9493; --care: #B1A2E6;
  --shadow: 0 1px 0 rgba(255, 230, 200, .06) inset, 0 20px 44px -12px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.55; letter-spacing: -.005em; overflow-x: hidden; }
img { display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; }
.wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
main, nav, footer { position: relative; z-index: 2; }

/* 背景：几团慢慢漂的奶油色光 */
.blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blobs i { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 26s ease-in-out infinite alternate; will-change: transform; transform: translateZ(0); }
.blobs i:nth-child(1) { background: var(--highlight); top: -14vw; left: -10vw; }
.blobs i:nth-child(2) { background: var(--soft); top: 30vh; right: -16vw; opacity: .3; animation-delay: -8s; }
.blobs i:nth-child(3) { background: var(--space); bottom: -20vw; left: 20vw; opacity: .18; animation-delay: -16s; }
@keyframes drift { to { transform: translate(6vw, 4vh) scale(1.12); } }

/* 颜色小工具 */
.c-accent { --c: var(--accent); } .c-highlight { --c: var(--highlight); } .c-soft { --c: var(--soft); } .c-clean { --c: var(--clean); } .c-space { --c: var(--space); } .c-apps { --c: var(--apps); } .c-care { --c: var(--care); }

/* 按钮：果冻回弹 */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-size: 17px; font-weight: 650; color: #fff; background: linear-gradient(135deg, var(--highlight), var(--accent)); box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--accent) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .45s var(--jelly); }
.btn:hover { transform: translateY(-2px) scale(1.04); color: #fff; }
.btn:active { transform: scale(.94, .9); transition-duration: .1s; }
.btn-ghost { color: var(--ink); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--ink); }

/* 顶部导航 */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1140px, 100% - 24px); height: 56px; padding: 0 8px 0 12px; display: flex; align-items: center; gap: 22px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 72%, transparent); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; transition: height .45s var(--jelly), top .45s var(--jelly), box-shadow .3s; overflow: hidden; }
.nav.scrolled { top: 10px; height: 50px; }
.nav-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--highlight), var(--accent)); border-radius: 2px; pointer-events: none; }
.nav .brand { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 750; font-size: 17px; }
.nav .brand img { width: 34px; height: 34px; }
.nav .brand span { font-size: 13px; font-weight: 600; color: var(--dim); margin-left: 2px; }
.nav .links { display: flex; gap: 24px; margin-left: auto; }
.nav .links a { color: var(--sub); position: relative; padding: 4px 0; transition: color .25s; white-space: nowrap; }
.nav .links a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform .45s var(--jelly); }
.nav .links a:hover, .nav .links a.on { color: var(--ink); }
.nav .links a.on::after { transform: translateX(-50%) scale(1); }
.nav .buy { padding: 9px 20px; font-size: 14px; }

.kicker { font-size: 14px; font-weight: 700; color: var(--c, var(--accent)); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--sub); }
.muted { color: var(--sub); }
.hl { color: var(--accent); }
.foot { position: relative; overflow: hidden; margin-top: 40px; padding: 64px 0 0; font-size: 14px; color: var(--sub); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 70%, transparent) 30%); border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1fr auto auto; gap: 40px 96px; padding-bottom: 48px; }
.foot-brand .brand { display: inline-flex; align-items: center; gap: 10px; font: 800 22px/1 var(--font-round); letter-spacing: -.01em; color: var(--ink); }
.foot-brand .brand img { width: 36px; height: 36px; border-radius: 10px; }
.foot-brand .brand span { font-weight: 600; color: var(--dim); font-size: 14px; letter-spacing: .04em; }
.foot-brand p { margin: 14px 0 22px; font-size: 15px; line-height: 1.6; }
.foot-dl { font-size: 14px; padding: 10px 22px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; min-width: 96px; }
.foot-col b { font: 700 12px var(--font); color: var(--dim); letter-spacing: .12em; margin-bottom: 4px; }
.foot-col a { color: var(--ink); opacity: .78; transition: opacity .2s, color .2s, transform .35s var(--jelly); width: fit-content; }
.foot-col a:hover { opacity: 1; color: var(--accent-ink); transform: translateX(3px); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.foot-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.foot-meta a { color: var(--sub); transition: color .2s; }
.foot-meta a:hover { color: var(--accent-ink); }
.stat-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; color: var(--sub); cursor: pointer; }
.stat-toggle i { position: relative; width: 30px; height: 18px; border-radius: 999px; background: color-mix(in srgb, var(--dim) 35%, transparent); transition: background .3s; }
.stat-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .45s var(--jelly); }
.stat-toggle[aria-checked="true"] i { background: var(--space); }
.stat-toggle[aria-checked="true"] i::after { transform: translateX(12px); }
.foot-mark { font: 900 clamp(80px, 17vw, 240px)/.78 var(--font-round); letter-spacing: -.05em; text-align: center; margin-bottom: -.12em; color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }
@media (max-width: 760px) {
  .foot { padding-top: 48px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 36px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 88px; }
}

/* 浮现：弹进来 */
.rv { opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .6s ease, transform .8s var(--jelly); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* ———— 首屏：会眨眼、会被戳的布丁 ———— */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 110px 16px 60px; }
.pud { width: clamp(150px, 22vw, 220px); border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; animation: pud-in 1s var(--jelly) both; }
.pud svg { display: block; width: 100%; overflow: visible; }
.pud-shadow { fill: rgba(150, 95, 40, .16); transform-origin: 100px 160px; animation: shadow 3.2s ease-in-out infinite; }
.pud-body { transform-origin: 100px 152px; animation: wobble 3.2s ease-in-out infinite; }
.pud-eyes { transition: transform .25s ease-out; }
.pud-eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.pud.poke .pud-body { animation: squish .6s var(--jelly); }
.pud.dizzy .pud-body { animation: dizzy .9s ease-in-out; }
@keyframes pud-in { from { opacity: 0; transform: translateY(-60px) scale(1.1, .7); } 60% { opacity: 1; transform: translateY(0) scale(1.08, .9); } to { transform: none; } }
@keyframes wobble { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.025, .975); } }
@keyframes shadow { 50% { transform: scaleX(1.04); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes squish { 0% { transform: scale(1.18, .78); } 40% { transform: scale(.92, 1.1); } 70% { transform: scale(1.04, .97); } 100% { transform: none; } }
@keyframes dizzy { 25% { transform: rotate(-8deg); } 50% { transform: rotate(7deg); } 75% { transform: rotate(-4deg); } }
.bubble { margin-top: 6px; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); color: var(--sub); position: relative; transition: transform .4s var(--jelly); }
.bubble.pop { animation: pop .45s var(--jelly); }
@keyframes pop { from { transform: scale(.7); } }
.hero h1 { font-size: clamp(64px, 11vw, 150px); font-weight: 850; letter-spacing: -.04em; line-height: 1; margin-top: 18px; }
.hero h1 .h1-word { display: inline-flex; }
.hero h1 .h1-word i { font-style: normal; display: inline-block; animation: drop-in 1s var(--jelly) both; animation-delay: calc(.35s + var(--k, 0) * .12s); }
.hero h1 .h1-word i:nth-child(2) { --k: 1; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-.5em) scale(1.15, .7); } 55% { opacity: 1; transform: translateY(0) scale(.92, 1.08); } to { transform: none; } }
.hero h1 .h1-en { display: block; font-size: .24em; letter-spacing: .3em; font-weight: 700; color: var(--accent); margin-top: 10px; text-transform: uppercase; }
.hero .sub { font-size: clamp(24px, 3.4vw, 38px); font-weight: 750; letter-spacing: -.02em; margin-top: 20px; }
.hero .copy { font-size: clamp(16px, 1.9vw, 19px); color: var(--sub); margin-top: 10px; }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--dim); }
.br-m { display: none; }

/* ———— 叙事：左边固定的 App 窗口，右边滚动的章节 ———— */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.screen-col { position: sticky; top: 12vh; height: 76vh; display: flex; flex-direction: column; justify-content: center; }
.win { width: 100%; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow), 0 40px 80px -30px rgba(150, 95, 40, .35); overflow: hidden; }
.win-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #F08A80; }
.win-bar i:nth-child(2) { background: #F4C46A; } .win-bar i:nth-child(3) { background: #8CCB7E; }
.win-title { margin: 0 auto; padding-right: 50px; font-size: 12px; font-weight: 650; color: var(--sub); }
.win-body { position: relative; aspect-ratio: 4 / 3.1; max-height: calc(76vh - 40px); }
.vis { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px; opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .45s ease, transform .7s var(--jelly); pointer-events: none; }
.vis.on { opacity: 1; transform: none; }
.steps { padding: 10vh 0 20vh; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: .3; transition: opacity .5s ease; }
.step.on { opacity: 1; }
.step h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.step p { font-size: 17px; color: var(--sub); max-width: 470px; }
.step-num { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.progress { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 9px; }
.progress i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 25%, transparent); transition: all .45s var(--jelly); }
.progress i.on { height: 26px; border-radius: 4px; background: var(--accent); }

/* 窗口里的画面 */
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; font-size: 13px; }
.row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.row em { font-style: normal; font-weight: 650; color: var(--accent-ink); white-space: nowrap; }
.list { display: flex; flex-direction: column; gap: 7px; }
.vtitle { font-size: 20px; font-weight: 800; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }

.home-head { display: flex; align-items: center; gap: 14px; }
.home-head b { display: block; font-size: 17px; }
.home-head span { font-size: 13px; color: var(--sub); }
.mini-pud { animation: wobble 2.6s ease-in-out infinite; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nums div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.nums b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.nums span { font-size: 12px; color: var(--sub); }
.todo { display: flex; flex-direction: column; gap: 7px; }
.todo div { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13px; }
.todo p { flex: 1; font-weight: 600; }
.todo small { display: block; font-weight: 400; color: var(--dim); font-size: 12px; }
.todo em { font-style: normal; font-size: 12px; font-weight: 650; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); }

.chat { display: flex; flex-direction: column; gap: 12px; }
.chat .me { align-self: flex-end; background: var(--accent); color: #fff; padding: 9px 16px; border-radius: 18px 18px 4px 18px; font-size: 14px; font-weight: 600; }
.pud-say { display: flex; gap: 10px; align-items: flex-start; }
.pud-say > div { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 14px; font-size: 13px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 10px 0 12px; }
.plan-list li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--dim); }
.plan-list li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--dim); flex: none; }
.plan-list li.ck { color: var(--ink); }
.plan-list li.ck::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan-list b { margin-left: auto; font-variant-numeric: tabular-nums; }
.go { display: inline-block; font-weight: 650; color: #fff; background: var(--accent); padding: 7px 16px; border-radius: 999px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs span { font-size: 12px; padding: 5px 11px; border-radius: 999px; color: var(--sub); background: var(--bg); border: 1px solid var(--line); }
.tabs span.on { background: var(--accent); color: #fff; border-color: transparent; }
.row label { display: flex; align-items: center; gap: 9px; }
.cb { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--dim); }
.cb.on { border-color: var(--clean); background: var(--clean); }
.row.safe { color: var(--space); }
.row.safe b { color: var(--space); }

.tree { flex: 1; max-height: 300px; display: grid; gap: 5px; grid-template-columns: 2.2fr 1.4fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
.tree div { border-radius: 12px; padding: 10px 12px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; font-size: 12px; }
.tree b { font-size: 14px; }
.tree span { opacity: .9; }
.t1 { grid-row: 1 / 4; background: linear-gradient(160deg, #EFAE57, #D9833E); }
.t2 { grid-row: 1 / 3; background: linear-gradient(160deg, #F2A898, #E07C7C); }
.t3 { background: linear-gradient(160deg, #7DBDB3, #5FA69C); }
.t4 { background: linear-gradient(160deg, #B6A6E0, #9A86CF); }
.t5 { background: linear-gradient(160deg, #E8BE86, #C99A5B); }
.t6 { background: color-mix(in srgb, var(--dim) 45%, transparent); }

.drop { align-self: center; width: 72%; border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--sub); background: color-mix(in srgb, var(--accent) 5%, transparent); }
.drop img { animation: fall 2.8s var(--jelly) infinite; }
@keyframes fall { 0%, 10% { transform: translateY(-34px) scale(1.05); opacity: 0; } 35%, 80% { transform: none; opacity: 1; } 100% { transform: translateY(8px) scale(.6); opacity: 0; } }
.list.narrow { width: 82%; align-self: center; }

.diag { display: flex; flex-direction: column; gap: 8px; }
.diag .row span { display: flex; align-items: center; gap: 10px; }
.diag .row.ok em { color: var(--space); }

.vis[data-v="6"] { justify-content: flex-start; padding-top: 0; gap: 26px; }
.notch { align-self: center; width: 94%; background: #0E0B09; color: #F6EBDD; border-radius: 0 0 30px 30px; padding: 14px 20px 18px; box-shadow: 0 26px 50px -20px rgba(60, 30, 10, .55); }
.notch-tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 14px; }
.notch-tabs span { font-size: 11px; padding: 4px 10px; border-radius: 999px; color: #A8988A; }
.notch-tabs span.on { background: rgba(255, 255, 255, .12); color: #fff; }
.music { display: flex; align-items: center; gap: 14px; }
.cover { width: 54px; height: 54px; border-radius: 12px; background: linear-gradient(135deg, #F5CF8A, #E8A462 50%, #EE9F92); flex: none; }
.track { flex: 1; min-width: 0; }
.track b { display: block; font-size: 14px; }
.track span { font-size: 11px; color: #A8988A; }
.prog { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .14); margin-top: 8px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 40%; background: #F5CF8A; animation: prog 8s linear infinite; }
@keyframes prog { from { width: 18%; } to { width: 78%; } }
.ctrls { display: flex; gap: 10px; font-size: 14px; }
.ctrls .pp { color: #F5CF8A; }
.pills { display: flex; gap: 6px; margin-top: 14px; }
.pills span { flex: 1; text-align: center; font-size: 11px; padding: 7px 0; border-radius: 999px; background: rgba(255, 255, 255, .09); }
.peek { align-self: center; display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 6px 16px 6px 8px; font-size: 13px; font-weight: 600; animation: peek 3.4s var(--jelly) infinite; }
@keyframes peek { 0%, 12% { transform: translateY(-14px) scale(.85); opacity: 0; } 28%, 82% { transform: none; opacity: 1; } 100% { transform: translateY(-14px) scale(.85); opacity: 0; } }

.tl { display: flex; flex-direction: column; gap: 7px; }
.tl .day { font-size: 12px; font-weight: 700; color: var(--dim); margin-top: 4px; }
.tl em.done { color: var(--dim); }

/* 为什么卡：按症状 */
.sym { display: flex; gap: 6px; flex-wrap: wrap; }
.sym span { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--sub); }
.sym span.on { background: var(--accent); border-color: transparent; color: #fff; }
.diag .row span span { display: block; }
.diag .row small { display: block; font-size: 11px; color: var(--dim); font-weight: 400; }
.vis.on .diag .row { animation: check-in .6s var(--jelly) both; }
.vis.on .diag .row:nth-child(2) { animation-delay: .15s; } .vis.on .diag .row:nth-child(3) { animation-delay: .3s; } .vis.on .diag .row:nth-child(4) { animation-delay: .45s; }
@keyframes check-in { from { opacity: 0; transform: translateX(-14px) scale(.96); } }

/* 储存空间：三档比例条 + 空间增长 */
.tiers { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 3px; }
.tiers i { display: block; border-radius: 6px; }
.tiers i:nth-child(1) { flex: 3; background: var(--space); } .tiers i:nth-child(2) { flex: 2; background: var(--highlight); } .tiers i:nth-child(3) { flex: 4; background: color-mix(in srgb, var(--dim) 40%, transparent); }
.tier-keys { display: flex; gap: 14px; font-size: 12px; color: var(--sub); flex-wrap: wrap; }
.tier-keys span { display: inline-flex; align-items: center; gap: 6px; }
.tier-keys span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.grow { display: flex; flex-direction: column; gap: 7px; }
.grow .row b { color: var(--apps); }
.grow .bar { flex: 1; max-width: 120px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--apps) 14%, transparent); overflow: hidden; }
.grow .bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: var(--apps); }
.vis.on .grow .bar i { animation: grow-bar 1.4s var(--jelly) both .2s; }
@keyframes grow-bar { from { width: 0; } }
.grow .row span:first-child { flex: 1; }

/* ———— 1.1 新玩法：会动的演示卡（像 GIF 一样循环） ———— */
.fun-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fun { border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .5s var(--jelly), opacity .6s ease; }
.fun.in:hover { transform: translateY(-4px); }
.fun .stage { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 22%, var(--bg)), var(--bg2)); border-bottom: 1px solid var(--line); }
.fun .txt { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.fun h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.fun p { font-size: 14.5px; color: var(--sub); }
.fun .chips { margin-top: 4px; }
.fun .chips span { font-size: 12px; padding: 4px 11px; }
/* 演示画面里的小屏幕内容 */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px; background: linear-gradient(160deg, #FFF8EC, #FBE6C6); }
.mock i { display: block; height: 7px; border-radius: 4px; background: rgba(150, 95, 40, .22); }
.mock i:nth-child(1) { width: 40%; background: #E8A462; height: 9px; } .mock i:nth-child(2) { width: 86%; } .mock i:nth-child(3) { width: 70%; } .mock i:nth-child(4) { width: 78%; } .mock i:nth-child(5) { width: 52%; }
.mock b { position: absolute; right: 10px; bottom: 10px; width: 34%; height: 38%; border-radius: 8px; background: linear-gradient(135deg, #7DBDB3, #9A86CF); }

/* 合盖景深：屏幕合上时画面向后倒、变糊、变暗 */
.laptop { position: relative; width: 220px; height: 176px; perspective: 620px; perspective-origin: 50% -30%; }
.laptop::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, rgba(90, 55, 25, .28), transparent); }
/* 屏幕：以底边转轴为中心，开合 110° 时略向后仰，合到 30° 时朝前（朝键盘）倒下 */
.lid { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 54px; height: 104px; transform-origin: 50% 100%; border-radius: 9px 9px 2px 2px; background: linear-gradient(#352B23, #241C16); padding: 5px 5px 7px; box-shadow: 0 -1px 0 rgba(255, 255, 255, .08) inset; transform: rotateX(16deg); animation: lid-close 5.6s cubic-bezier(.45, 0, .3, 1) infinite; }
.lid .scr { position: relative; width: 100%; height: 100%; border-radius: 4px; overflow: hidden; perspective: 260px; background: #0E0B09; }
.lid .scr .mock { transform-origin: 50% 100%; animation: lid-depth 5.6s cubic-bezier(.45, 0, .3, 1) infinite; }
/* 键盘面：近大远小的梯形，带键盘和触控板 */
.base { position: absolute; left: 0; right: 0; bottom: 8px; height: 48px; clip-path: polygon(7.3% 0, 92.7% 0, 100% 100%, 0 100%); background:
    linear-gradient(#CDBDAC, #CDBDAC) 50% 82% / 26% 30% no-repeat,
    repeating-linear-gradient(90deg, rgba(60, 40, 25, .22) 0 9px, transparent 9px 11px) 50% 22% / 74% 34% no-repeat,
    linear-gradient(#E6DACB, #D2C2B1); }
.lip { position: absolute; left: 0; right: 0; bottom: 2px; height: 6px; border-radius: 0 0 8px 8px; background: linear-gradient(#BCAA97, #A28E78); }
.lip::after { content: ""; position: absolute; left: 50%; top: 0; width: 40px; height: 3px; transform: translateX(-50%); border-radius: 0 0 4px 4px; background: rgba(0, 0, 0, .15); }
@keyframes lid-close { 0%, 16% { transform: rotateX(16deg); } 50%, 64% { transform: rotateX(-62deg); } 92%, 100% { transform: rotateX(16deg); } }
@keyframes lid-depth { 0%, 16% { transform: none; filter: none; } 50%, 64% { transform: rotateX(38deg) scale(.86); filter: blur(4px) brightness(.45); } 92%, 100% { transform: none; filter: none; } }
.angle { position: absolute; right: 14px; bottom: 12px; font-size: 11px; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.angle span:nth-child(1) { visibility: hidden; }
.angle span:nth-child(n+2) { position: absolute; left: 9px; top: 2px; white-space: nowrap; }
.angle span:nth-child(2) { animation: ang-a 5.6s steps(1) infinite; } .angle span:nth-child(3) { opacity: 0; animation: ang-b 5.6s steps(1) infinite; }
@keyframes ang-a { 0%, 30% { opacity: 1; } 30.01%, 78% { opacity: 0; } 78.01%, 100% { opacity: 1; } }
@keyframes ang-b { 0%, 30% { opacity: 0; } 30.01%, 78% { opacity: 1; } 78.01%, 100% { opacity: 0; } }

/* 转头防窥 + 坐姿提醒 */
.guard { position: relative; width: 250px; height: 180px; }
.monitor { position: absolute; left: 0; top: 14px; width: 140px; height: 96px; border-radius: 9px; background: #2A221C; padding: 5px; }
.monitor .scr { position: relative; height: 100%; border-radius: 5px; overflow: hidden; }
.monitor .scr .mock { animation: guard-blur 8s ease-in-out infinite; }
.monitor::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 30px; height: 16px; transform: translateX(-50%); background: linear-gradient(#C9B8A6, #B09E8C); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.monitor .warn { position: absolute; inset: auto 8px 8px; z-index: 2; text-align: center; font-size: 10px; font-weight: 700; color: #fff; background: rgba(40, 25, 15, .7); border-radius: 999px; padding: 3px 0; opacity: 0; animation: guard-warn 8s ease-in-out infinite; }
.monitor .warn.w2 { animation-name: guard-warn2; }
.head { position: absolute; right: 18px; top: 34px; width: 78px; height: 84px; transform-origin: 50% 100%; animation: head-move 8s ease-in-out infinite; }
.head .face { position: absolute; inset: 0; border-radius: 46% 46% 42% 42%; background: linear-gradient(160deg, #FFE4C2, #F3C394); box-shadow: inset -6px -8px 0 rgba(180, 110, 50, .14); overflow: hidden; }
.head .hair { position: absolute; left: -4px; right: -4px; top: -6px; height: 34px; border-radius: 50% 50% 30% 30%; background: #5A3E2A; }
.head .eyes { position: absolute; left: 0; right: 0; top: 40px; display: flex; justify-content: center; gap: 16px; animation: eyes-move 8s ease-in-out infinite; }
.head .eyes i { width: 7px; height: 9px; border-radius: 50%; background: #3B2A1E; }
.head .pod { position: absolute; top: 44px; width: 10px; height: 16px; border-radius: 5px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.head .pod.l { left: -6px; } .head .pod.r { right: -6px; }
.body { position: absolute; right: 2px; top: 112px; width: 110px; height: 70px; border-radius: 50px 50px 0 0; background: linear-gradient(160deg, #EFAE57, #D9833E); }
.signal { position: absolute; right: 62px; top: 12px; font-size: 10px; font-weight: 700; color: var(--care); opacity: .9; }
@keyframes head-move { 0%, 8% { transform: none; } 18%, 34% { transform: rotate(-4deg) translateX(-2px) scaleX(.86); } 44%, 56% { transform: none; } 64%, 82% { transform: rotate(-9deg) translateY(-6px); } 92%, 100% { transform: none; } }
@keyframes eyes-move { 0%, 8% { transform: none; } 18%, 34% { transform: translateX(16px); } 44%, 56% { transform: none; } 64%, 82% { transform: translateY(-5px); } 92%, 100% { transform: none; } }
@keyframes guard-blur { 0%, 12% { filter: none; } 20%, 34% { filter: blur(5px) brightness(.6); } 42%, 60% { filter: none; } 68%, 82% { filter: blur(3px) brightness(.8); } 90%, 100% { filter: none; } }
@keyframes guard-warn { 0%, 18% { opacity: 0; } 22%, 34% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes guard-warn2 { 0%, 66% { opacity: 0; } 70%, 82% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* 菜单栏布丁表情 */
.mbar-demo { width: 86%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mbar { width: 100%; height: 38px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 14px; border-radius: 9px; background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12px; font-weight: 600; color: var(--sub); }
.mbar .face-ico { width: 34px; height: 28px; color: var(--ink); padding: 2px 4px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.mbar .face-ico .m { opacity: 0; }
.mbar .face-ico .m1 { animation: face1 7.5s steps(1) infinite; } .mbar .face-ico .m2 { animation: face2 7.5s steps(1) infinite; } .mbar .face-ico .m3 { animation: face3 7.5s steps(1) infinite; }
.mbar-pop { width: 78%; border-radius: 16px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12px; color: var(--sub); }
.mbar-pop .meter { height: 8px; border-radius: 4px; margin-top: 8px; background: color-mix(in srgb, var(--dim) 22%, transparent); overflow: hidden; }
.mbar-pop .meter i { display: block; height: 100%; border-radius: 4px; animation: meter 7.5s ease-in-out infinite; }
.mbar-pop b { color: var(--ink); font-variant-numeric: tabular-nums; position: relative; display: inline-block; min-width: 3.2em; }
.mbar-pop b span { position: absolute; left: 0; opacity: 0; }
.mbar-pop b span:nth-child(1) { position: static; animation: face1 7.5s steps(1) infinite; } .mbar-pop b span:nth-child(2) { animation: face2 7.5s steps(1) infinite; } .mbar-pop b span:nth-child(3) { animation: face3 7.5s steps(1) infinite; }
@keyframes face1 { 0%, 33.3% { opacity: 1; } 33.31%, 100% { opacity: 0; } }
@keyframes face2 { 0%, 33.3% { opacity: 0; } 33.31%, 66.6% { opacity: 1; } 66.61%, 100% { opacity: 0; } }
@keyframes face3 { 0%, 66.6% { opacity: 0; } 66.61%, 100% { opacity: 1; } }
@keyframes meter { 0%, 28% { width: 28%; background: var(--space); } 36%, 61% { width: 58%; background: var(--highlight); } 69%, 94% { width: 86%; background: var(--apps); } 100% { width: 28%; background: var(--space); } }
.faces-key { display: flex; gap: 12px; font-size: 11px; color: var(--dim); }

@media (max-width: 900px) { .fun-grid { grid-template-columns: 1fr; max-width: 520px; } }

/* ———— 工具箱小卡 ———— */
.sec { padding: 120px 0; }
.sec-head h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 820; letter-spacing: -.035em; line-height: 1.1; margin: 12px 0 44px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-height: 176px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--jelly), opacity .6s ease; }
.mini.in:hover { transform: translateY(-4px) scale(1.02); }
.mini .ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: color-mix(in srgb, var(--c) 16%, transparent); margin-bottom: 4px; }
.mini h3 { font-size: 17px; font-weight: 750; }
.mini p { font-size: 14px; color: var(--sub); }
.themes { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--sub); }
.themes span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.themes span::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }

/* ———— 想法墙 ———— */
.idea-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.idea-tabs { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.idea-tabs button { font: 600 13px var(--font); padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--sub); cursor: pointer; transition: background .3s, color .3s; }
.idea-tabs button.on { background: var(--accent); color: #fff; }
.idea-count { font-size: 13px; color: var(--dim); }
.idea-new { margin-left: auto; padding: 10px 22px; font-size: 15px; border: 0; cursor: pointer; font-family: var(--font); }
.ghost-btn { font: 650 14px var(--font); padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .4s var(--jelly); }
.ghost-btn:hover { transform: translateY(-1px); }
.idea-form { display: flex; flex-direction: column; gap: 12px; padding: 22px; margin-bottom: 16px; border-radius: 26px; background: linear-gradient(135deg, color-mix(in srgb, var(--highlight) 16%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: var(--shadow); animation: pop .45s var(--jelly); }
.idea-form[hidden] { display: none; }
.idea-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.idea-field em { font-style: normal; font-weight: 500; color: var(--dim); font-size: 12px; }
.idea-field input, .idea-field textarea, .cm-form textarea, .cm-form input { width: 100%; font: 15px/1.55 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; resize: vertical; }
.idea-field input:focus, .idea-field textarea:focus, .cm-form textarea:focus, .cm-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
::placeholder { color: var(--dim); }
.idea-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.idea-row .nick { flex: 1; min-width: 200px; }
.idea-acts { display: flex; gap: 8px; }
.idea-acts .btn { border: 0; cursor: pointer; font-family: var(--font); padding: 10px 22px; font-size: 15px; }
.idea-msg { font-size: 13px; color: var(--sub); min-height: 1em; }
.idea-msg.ok, .cm-msg.ok { color: var(--space); } .idea-msg.err, .cm-msg.err { color: var(--apps); }
.idea-tip { font-size: 12px; color: var(--dim); }
.idea-list { display: flex; flex-direction: column; gap: 10px; }
.idea-empty { text-align: center; color: var(--sub); padding: 40px 20px; border-radius: 24px; background: var(--surface); border: 1px dashed var(--line); }
.idea { display: flex; gap: 18px; padding: 20px 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: check-in .5s var(--jelly) both; }
.vote { display: flex; flex-direction: column; gap: 6px; flex: none; }
.vote button { display: flex; align-items: center; gap: 4px; min-width: 58px; justify-content: center; padding: 7px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--sub); font: 700 14px var(--font); font-variant-numeric: tabular-nums; cursor: pointer; transition: transform .4s var(--jelly), background .25s, color .25s, border-color .25s; }
.vote svg { width: 16px; height: 16px; fill: currentColor; }
.vote button:hover { transform: scale(1.06); }
.vote button:active { transform: scale(.9); transition-duration: .1s; }
.vote .up.on { background: var(--accent); border-color: transparent; color: #fff; }
.vote .down.on { background: color-mix(in srgb, var(--dim) 70%, var(--ink)); border-color: transparent; color: var(--bg); }
.vote button.pop { animation: squish .5s var(--jelly); }
.idea-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.idea h3 { font-size: 18px; font-weight: 750; letter-spacing: -.01em; line-height: 1.35; word-break: break-word; }
.idea-detail { font-size: 15px; color: var(--sub); white-space: pre-wrap; word-break: break-word; }
.dev-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); font-size: 14px; color: var(--ink); }
.dev-note img { flex: none; }
.dev-note p { white-space: pre-wrap; word-break: break-word; }
.idea-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; font-size: 13px; color: var(--dim); }
.idea-st { font-weight: 700; font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.st-open { background: color-mix(in srgb, var(--dim) 16%, transparent); color: var(--sub); }
.st-planned { background: color-mix(in srgb, var(--care) 18%, transparent); color: var(--care); }
.st-doing { background: color-mix(in srgb, var(--highlight) 24%, transparent); color: var(--accent-ink); }
.st-done { background: color-mix(in srgb, var(--space) 18%, transparent); color: var(--space); }
.cm-toggle { margin-left: auto; font: 650 13px var(--font); color: var(--accent-ink); background: none; border: 0; padding: 4px 2px; cursor: pointer; }
.comments { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 12px; }
.comments[hidden] { display: none; }
.cm-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cm-list li { padding: 10px 12px; border-radius: 14px; background: var(--bg); }
.cm-list li.dev { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.cm-who { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.cm-who span { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--dim) 18%, transparent); color: var(--sub); }
.cm-who .dev-tag { background: var(--accent); color: #fff; }
.cm-who time { margin-left: auto; font-size: 12px; color: var(--dim); }
.cm-txt { font-size: 14px; margin-top: 3px; white-space: pre-wrap; word-break: break-word; }
.cm-empty { font-size: 14px; color: var(--dim); }
.cm-form { display: flex; flex-direction: column; gap: 8px; }
.cm-form textarea, .cm-form input { font-size: 14px; padding: 9px 12px; }
.cm-row { display: flex; gap: 8px; }
.cm-row input { flex: 1; }
.cm-send { flex: none; padding: 9px 18px; font-size: 14px; border: 0; cursor: pointer; font-family: var(--font); }
.cm-send:disabled, .idea-acts .btn:disabled { opacity: .6; }
.cm-msg { font-size: 12px; color: var(--sub); min-height: 1em; }
.idea-more { display: block; margin: 16px auto 0; }
.idea-more[hidden] { display: none; }
@media (max-width: 560px) {
  .idea { gap: 12px; padding: 16px; }
  .vote button { min-width: 50px; padding: 6px 8px; font-size: 13px; }
  .idea-new { margin-left: 0; width: 100%; justify-content: center; }
  .cm-toggle { margin-left: 0; }
  .cm-row { flex-direction: column; }
  .idea-acts { width: 100%; } .idea-acts .btn { flex: 1; justify-content: center; }
}

/* ———— 更新日志 ———— */
.log { display: flex; flex-direction: column; gap: 14px; }
.log-item { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.log-ver b { display: block; font-size: 34px; font-weight: 850; letter-spacing: -.03em; line-height: 1.1; }
.log-ver span { font-size: 13px; color: var(--dim); }
.log-ver em { display: inline-block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--space); padding: 2px 10px; border-radius: 999px; }
.log-body h3 { font-size: 19px; font-weight: 750; margin-bottom: 10px; }
.log-body ul { list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 15px; color: var(--sub); }
.log-body li { padding-left: 18px; position: relative; }
.log-body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.log-more { margin-top: 18px; font-size: 15px; color: var(--sub); }
.log-more a { font-weight: 650; }

/* ———— 常见问题 ———— */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-size: 16px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 600; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, transparent); transition: transform .4s var(--jelly); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 20px; }
.faq details p { padding: 0 22px 20px; font-size: 15px; color: var(--sub); line-height: 1.7; }
@media (max-width: 760px) { .log-item { grid-template-columns: 1fr; gap: 10px; padding: 22px; } .log-ver b { display: inline; font-size: 28px; margin-right: 8px; } .log-ver em { margin-top: 0; margin-left: 6px; } }

/* 内测标识 */
.beta-tag { font-style: normal; font-size: 11px; font-weight: 750; color: #fff; background: var(--accent); padding: 2px 7px; border-radius: 999px; margin-left: 6px; letter-spacing: .02em; }
.beta-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 13px; color: var(--sub); background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.beta-pill b { color: #fff; background: linear-gradient(135deg, var(--highlight), var(--accent)); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.dl .beta-pill { margin: 14px 0 0; }

/* ———— 下载 ———— */
.dl { text-align: center; border-radius: 40px; padding: 70px 30px 52px; display: flex; flex-direction: column; align-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dl-pud { animation: wobble 2.8s ease-in-out infinite; }
.dl h2 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 850; letter-spacing: -.04em; margin: 12px 0 10px; }
.dl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; text-align: left; width: 100%; }
.dl-steps div { border-radius: 20px; padding: 20px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; color: var(--sub); }
.dl-steps b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; margin-bottom: 8px; font-size: 13px; }
.fine { font-size: 12px; color: var(--dim); margin-top: 26px; max-width: 660px; line-height: 1.7; }

/* ———— 反馈窗口 ———— */
.fb-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 6px; padding: 6px 16px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 85%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); color: var(--ink); font: 650 14px var(--font); cursor: pointer; transition: transform .45s var(--jelly); }
.fb-fab:hover { transform: translateY(-2px) scale(1.05); }
.fb-fab:active { transform: scale(.94, .9); transition-duration: .1s; }
.fb-fab img { animation: wobble 2.6s ease-in-out infinite; }
.fb-badge { position: absolute; top: 4px; left: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--apps); box-shadow: 0 0 0 2px var(--surface); }
.fb-panel { position: fixed; right: 20px; bottom: 80px; z-index: 61; width: min(380px, 100vw - 32px); max-height: min(620px, 100vh - 120px); display: flex; flex-direction: column; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow), 0 40px 80px -30px rgba(150, 95, 40, .45); opacity: 0; transform: translateY(16px) scale(.94); transform-origin: bottom right; transition: opacity .25s ease, transform .5s var(--jelly); }
.fb-panel.show { opacity: 1; transform: none; }
.fb-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; font-size: 17px; }
.fb-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--bg); color: var(--sub); font-size: 20px; line-height: 1; cursor: pointer; }
.fb-tabs { display: flex; gap: 6px; padding: 0 20px 12px; }
.fb-tabs button { font: 600 13px var(--font); padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--sub); cursor: pointer; }
.fb-tabs button.on { background: var(--accent); border-color: transparent; color: #fff; }
.fb-form, .fb-mine { padding: 0 20px 20px; overflow-y: auto; }
.fb-form { display: flex; flex-direction: column; gap: 10px; }
.fb-form[hidden], .fb-mine[hidden] { display: none; }
.fb-kinds { display: flex; gap: 6px; flex-wrap: wrap; }
.fb-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fb-kinds span { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line); color: var(--sub); cursor: pointer; }
.fb-kinds input:checked + span { border-color: var(--accent); color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.fb-kinds input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.fb-form textarea, .fb-form input[name] { width: 100%; font: 14px/1.55 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; resize: vertical; }
.fb-form textarea:focus, .fb-form input[name]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.fb-form ::placeholder { color: var(--dim); }
.fb-send { align-self: flex-end; padding: 10px 24px; font-size: 15px; border: 0; cursor: pointer; font-family: var(--font); }
.fb-send:disabled { opacity: .6; }
.fb-msg { font-size: 13px; color: var(--sub); min-height: 1em; }
.fb-msg.ok { color: var(--space); } .fb-msg.err { color: var(--apps); }
.fb-mine { display: flex; flex-direction: column; gap: 10px; }
.fb-empty { font-size: 14px; color: var(--sub); padding: 24px 0; text-align: center; }
.fb-item { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 14px; }
.fb-meta { font-size: 12px; color: var(--dim); display: flex; gap: 8px; }
.fb-meta span { color: var(--accent-ink); font-weight: 650; }
.fb-text { margin-top: 4px; white-space: pre-wrap; word-break: break-word; }
.fb-reply { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.fb-reply p:last-child { white-space: pre-wrap; word-break: break-word; }
.fb-wait { margin-top: 8px; font-size: 12px; color: var(--dim); }
.fb-hint { font-size: 14px; font-weight: 700; margin-bottom: -4px; }
.wish { margin-top: 40px; display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--highlight) 22%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: var(--shadow); }
.wish img { flex: none; animation: wobble 2.6s ease-in-out infinite; }
.wish div { flex: 1; }
.wish h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.wish p { color: var(--sub); font-size: 15px; margin-top: 4px; }
.wish .btn { flex: none; }
@media (max-width: 760px) { .wish { flex-direction: column; text-align: center; padding: 26px 20px; } }
@media (max-width: 560px) {
  .fb-fab { right: 16px; bottom: 16px; }
  .fb-panel { right: 16px; left: 16px; bottom: 72px; width: auto; }
}

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  /* 手机：不再把窗口吸在顶上压住文字，每一章自带一张示意图，图在上、字在下 */
  .screen-col { display: none; }
  .steps { padding: 8px 0 0; display: flex; flex-direction: column; gap: 56px; }
  .step { min-height: 0; opacity: 1; gap: 12px; }
  .step-num { order: -2; }
  .vis { padding: 16px; gap: 9px; }
  .progress { display: none; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .dl-steps { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) { .nav .links { display: none; } .nav .buy { margin-left: auto; } }
@media (max-width: 560px) {
  .br-m { display: inline; }
  .mini-grid { grid-template-columns: 1fr; }
  .row, .todo div { padding: 8px 10px; font-size: 12px; }
  .nums b { font-size: 16px; }
  .home-head .mini-pud { width: 44px; height: 44px; }
  .tabs span:nth-child(n+3) { display: none; }
  .tree { max-height: 220px; }
  .dl { padding: 50px 18px 40px; }
}
/* ———— 首屏入场：依次弹出 ———— */
.hero { position: relative; }
.hi { animation: rise .9s var(--jelly) both; animation-delay: calc(.2s + var(--i, 0) * .09s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.bubble { animation: pop-in .6s var(--jelly) .9s both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(.6); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 40px; margin-left: -13px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--sub) 45%, transparent); animation: rise .9s var(--jelly) 1.1s both; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }
@media (max-height: 700px) { .scroll-cue { display: none; } }

/* 章节文字：切换时轻轻上移 */
.step { transform: translateY(14px); transition: opacity .5s ease, transform .7s var(--jelly); }
.step.on { transform: none; }

/* ———— 窗口里的新首页：大圆按钮一键清理 ———— */
.home2 { align-items: center; text-align: center; gap: 12px; }
.h2-title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.h2-title b { color: var(--accent-ink); }
.big-btn { position: relative; width: 148px; height: 148px; display: grid; place-items: center; flex: none; }
.big-btn svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg, .ring { fill: none; stroke-width: 6; }
.ring-bg { stroke: color-mix(in srgb, var(--accent) 16%, transparent); }
.ring { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.vis.on .ring { animation: ring 4.8s ease-in-out .3s infinite; }
@keyframes ring { 0% { stroke-dashoffset: 100; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.big-btn span { width: 112px; height: 112px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--highlight), var(--accent)); box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--accent) 65%, transparent), inset 0 2px 0 rgba(255, 255, 255, .35); }
.vis.on .big-btn span { animation: breathe 2.4s ease-in-out .4s 3, press 4.8s var(--jelly) 7.6s infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes press { 0%, 52% { transform: none; } 56% { transform: scale(.9, .86); } 66% { transform: scale(1.05); } 74%, 100% { transform: none; } }
.big-btn b { font-size: 24px; font-weight: 800; }
.big-btn small { font-size: 11px; opacity: .9; }
.h2-sub { font-size: 12px; color: var(--dim); }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.cells div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: left; }
.cells b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cells span { font-size: 11.5px; color: var(--sub); }
.look { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; font-size: 12px; color: var(--dim); }
.look em { font-style: normal; font-weight: 600; color: var(--sub); padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.walker { position: absolute; bottom: 10px; left: 4%; width: 34px; height: 34px; animation: walk 14s ease-in-out infinite, bob .45s ease-in-out infinite alternate; }
@keyframes walk { 0%, 6% { left: 4%; } 46%, 54% { left: calc(96% - 34px); } 94%, 100% { left: 4%; } }
@keyframes bob { to { transform: translateY(-3px) rotate(3deg); } }

/* ———— 布丁陪你：便当格 ———— */
.soon { font-style: normal; font-size: 11px; font-weight: 750; color: #fff; background: var(--apps); padding: 2px 9px; border-radius: 999px; margin-left: 4px; }
.sec-lead { font-size: 17px; color: var(--sub); max-width: 580px; margin: -26px 0 40px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bx { border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .5s var(--jelly), opacity .6s ease, box-shadow .4s; }
.bx.in:hover { transform: translateY(-4px); }
.bx-grow, .bx-dex { grid-column: span 2; }
.bx-stage { position: relative; flex: 1; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 20px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 22%, var(--bg)), var(--bg2)); border-bottom: 1px solid var(--line); }
.bx .txt { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.bx h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.bx .txt p { font-size: 14.5px; color: var(--sub); }

/* 画出来的布丁 */
.pud-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pud-svg .e-sq, .pud-svg .m-o, .pud-svg .m-l, .pud-svg .sw { opacity: 0; transition: opacity .2s; }
.pud-svg .e-n, .pud-svg .m-s { transition: opacity .2s; }
.f-squint .e-n { opacity: 0; } .f-squint .e-sq { opacity: 1; }
.f-laugh .e-n { opacity: 0; } .f-laugh .e-sq { opacity: 1; } .f-laugh .m-s { opacity: 0; } .f-laugh .m-l { opacity: 1; }
.f-open .m-s { opacity: 0; } .f-open .m-o { opacity: 1; }
.f-sweat .sw { opacity: 1; }

/* 成长四阶段 */
.grow-stage { position: relative; width: min(260px, 70%); aspect-ratio: 200 / 170; }
.grow-stage [data-pud-stage] { position: absolute; inset: 0; opacity: 0; transform: scale(.5) rotate(-160deg); transition: opacity .35s ease, transform .9s var(--jelly); }
.bx-grow[data-s="0"] [data-pud-stage="0"], .bx-grow[data-s="1"] [data-pud-stage="1"], .bx-grow[data-s="2"] [data-pud-stage="2"], .bx-grow[data-s="3"] [data-pud-stage="3"], .bx-grow:not([data-s]) [data-pud-stage="0"] { opacity: 1; transform: none; }
.spark { position: absolute; font-style: normal; color: var(--highlight); font-size: 22px; opacity: 0; pointer-events: none; }
.grow-stage .s1 { left: 6%; top: 18%; } .grow-stage .s2 { right: 4%; top: 6%; font-size: 16px; } .grow-stage .s3 { right: 14%; bottom: 20%; font-size: 18px; }
.burst .spark { animation: spark 1s ease-out; }
.burst .s2 { animation-delay: .12s; } .burst .s3 { animation-delay: .24s; }
@keyframes spark { 0% { opacity: 0; transform: scale(.2) rotate(0); } 30% { opacity: 1; transform: scale(1.3) rotate(60deg); } 100% { opacity: 0; transform: scale(.6) rotate(140deg) translateY(-14px); } }
.grow-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); width: min(560px, 100%); position: relative; }
.grow-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.grow-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 26px; font-size: 13px; color: var(--dim); transition: color .3s; cursor: pointer; }
.grow-steps li::before { content: ""; position: absolute; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); transition: all .5s var(--jelly); }
.grow-steps li b { font-weight: 700; }
.grow-steps li span { font-size: 11px; font-variant-numeric: tabular-nums; }
.grow-steps li span::before { content: "亲密度 "; }
.grow-steps li.past::before { border-color: var(--accent); background: var(--accent); transform: scale(.7); }
.grow-steps li.on { color: var(--ink); }
.grow-steps li.on::before { border-color: var(--accent); background: var(--highlight); transform: scale(1.25); }

/* 喂文件 */
.feed { position: relative; width: 210px; height: 200px; }
.feed-pud { position: absolute; left: 50%; bottom: 0; width: 160px; transform: translateX(-50%); transform-origin: 50% 100%; }
.bx-feed.in .feed-pud { animation: chew 4.4s ease-in-out infinite; }
.bx-feed.in .feed-pud .m-s { animation: m-s 4.4s steps(1) infinite; } .bx-feed.in .feed-pud .m-o { animation: m-o 4.4s steps(1) infinite; }
@keyframes m-s { 0%, 22% { opacity: 1; } 22.01%, 47% { opacity: 0; } 47.01%, 100% { opacity: 1; } }
@keyframes m-o { 0%, 22% { opacity: 0; } 22.01%, 47% { opacity: 1; } 47.01%, 100% { opacity: 0; } }
@keyframes chew { 0%, 47% { transform: translateX(-50%); } 52% { transform: translateX(-50%) scale(1.1, .9); } 58% { transform: translateX(-50%) scale(.96, 1.04); } 64% { transform: translateX(-50%) scale(1.08, .93); } 70% { transform: translateX(-50%) scale(.98, 1.02); } 76% { transform: translateX(-50%) scale(1.12, .9); } 84%, 100% { transform: translateX(-50%); } }
.file { position: absolute; left: 50%; top: 0; display: flex; flex-direction: column; align-items: center; font-size: 34px; line-height: 1; opacity: 0; transform: translate(-150%, -10px); }
.file small { font-size: 10px; font-weight: 700; color: var(--sub); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px; margin-top: 4px; white-space: nowrap; }
.bx-feed.in .file { animation: feed-file 4.4s var(--jelly) infinite; }
@keyframes feed-file { 0% { opacity: 0; transform: translate(-160%, -10px) rotate(-14deg); } 14% { opacity: 1; transform: translate(-50%, 6px) rotate(6deg); } 34% { opacity: 1; transform: translate(-50%, 14px) rotate(-3deg); } 46% { opacity: 0; transform: translate(-50%, 104px) scale(.25); } 100% { opacity: 0; transform: translate(-50%, 104px) scale(.25); } }
.mouth-ring { position: absolute; left: 50%; bottom: 30px; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%; border: 2.5px dashed var(--accent); opacity: 0; z-index: 2; }
.bx-feed.in .mouth-ring { animation: ring-show 4.4s ease-in-out infinite; }
@keyframes ring-show { 0%, 16% { opacity: 0; transform: scale(.6); } 24%, 42% { opacity: 1; transform: scale(1) rotate(40deg); } 48%, 100% { opacity: 0; transform: scale(1.2) rotate(60deg); } }
.feed-say { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); opacity: 0; }
.bx-feed.in .feed-say { animation: say 4.4s var(--jelly) infinite; }
@keyframes say { 0%, 54% { opacity: 0; transform: translateX(-50%) translateY(8px) scale(.8); } 62%, 92% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; transform: translateX(-50%) translateY(-6px); } }

/* 摸头挠痒（可互动） */
.pet { position: relative; width: 180px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.pet-zone { display: none; }
.pet-pud { transform-origin: 50% 100%; transition: transform .5s var(--jelly); }
.pet.petting .pet-pud { transform: scale(1.04, .97); }
.pet.tickle .pet-pud { animation: giggle .18s linear infinite; }
.pet.spin .pet-pud { animation: spin-hop .9s var(--jelly); }
@keyframes giggle { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-3px) rotate(-2deg); } 75% { transform: translateX(3px) rotate(2deg); } }
@keyframes spin-hop { 0% { transform: none; } 40% { transform: translateY(-40px) rotate(200deg) scale(.9); } 70% { transform: translateY(-10px) rotate(340deg); } 100% { transform: rotate(360deg); } }
.heart { position: absolute; font-style: normal; font-size: 18px; color: var(--apps); pointer-events: none; animation: heart 1.2s ease-out forwards; }
@keyframes heart { from { opacity: 1; transform: translateY(0) scale(.6); } to { opacity: 0; transform: translateY(-60px) scale(1.2) rotate(var(--r, 10deg)); } }
.pet-hint { font-size: 13px; color: var(--sub); font-weight: 600; text-align: center; min-height: 1.6em; }
.pet-say { color: var(--accent-ink); }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }

/* 时段造型 */
.now { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.now-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: color-mix(in srgb, var(--care) 16%, transparent); animation: bob 1.2s ease-in-out infinite alternate; }
.now small { display: block; font-size: 11px; color: var(--dim); }
.now b { display: block; font-size: 18px; font-weight: 800; }
.now-say { font-size: 12.5px; color: var(--sub); }
.slots { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.slots li { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--sub); transition: all .4s var(--jelly); }
.slots li.on { background: var(--care); color: #fff; border-color: transparent; transform: scale(1.06); }

/* 身体状况 */
.body-st { position: relative; width: 220px; height: 170px; }
.body-pud { position: absolute; left: 50%; bottom: 0; width: 150px; transform: translateX(-50%); transform-origin: 50% 100%; transition: transform .9s var(--jelly), filter .6s; }
.bx-body[data-s="1"] .body-pud { transform: translateX(-50%) scale(.7, 1.08); }
.bx-body[data-s="2"] .body-pud { filter: saturate(1.3) hue-rotate(-12deg); }
.bx-body[data-s="3"] .body-pud { transform: translateX(-50%) scale(1.2, .7); }
.bx-body[data-s="4"] .body-pud { transform: translateX(-50%) scale(.94, 1.1); }
.blk { position: absolute; bottom: 0; width: 46px; height: 96px; border-radius: 10px; background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--space) 70%, var(--surface)) 0 14px, color-mix(in srgb, var(--space) 45%, var(--surface)) 14px 18px); box-shadow: var(--shadow); transition: transform .9s var(--jelly), opacity .4s; opacity: 0; }
.blk.l { left: -6px; transform: translateX(-60px); } .blk.r { right: -6px; transform: translateX(60px); }
.bx-body[data-s="1"] .blk { opacity: 1; transform: none; }
.body-st .sweat { position: absolute; width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #8FD0F0; opacity: 0; }
.body-st .d1 { left: 30px; top: 40px; } .body-st .d2 { right: 34px; top: 30px; }
.bx-body[data-s="2"] .sweat { animation: sweat 1.1s ease-in infinite; } .bx-body[data-s="2"] .d2 { animation-delay: .5s; }
@keyframes sweat { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(40px); } }
.body-st .s1 { left: 18px; top: 10px; } .body-st .s2 { right: 20px; top: 24px; }
.bx-body[data-s="4"] .spark { animation: spark 1.1s ease-out infinite; } .bx-body[data-s="4"] .s2 { animation-delay: .4s; }
.body-say { position: relative; height: 1.6em; width: 100%; text-align: center; font-size: 14px; font-weight: 700; }
.body-say span { position: absolute; left: 0; right: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .5s var(--jelly); }
.bx-body:not([data-s]) .body-say span:nth-child(1), .bx-body[data-s="0"] .body-say span:nth-child(1), .bx-body[data-s="1"] .body-say span:nth-child(2), .bx-body[data-s="2"] .body-say span:nth-child(3), .bx-body[data-s="3"] .body-say span:nth-child(4), .bx-body[data-s="4"] .body-say span:nth-child(5) { opacity: 1; transform: none; }

/* 图鉴 */
.bx-dex .bx-stage { align-items: stretch; justify-content: flex-start; }
.dex-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dex-head > b { font-size: 18px; font-weight: 800; }
.dex-count { font-size: 13px; color: var(--sub); }
.dex-count b { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.dex { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 7px; }
.dex li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 8px; border-radius: 16px; font-size: 24px; line-height: 1.1; background: color-mix(in srgb, var(--surface) 60%, transparent); border: 1px dashed var(--line); filter: grayscale(1); opacity: .45; transition: filter .4s, opacity .4s, background .4s, border-color .4s; }
.dex li span { font-size: 11px; font-weight: 650; color: var(--sub); }
.dex li.lit { filter: none; opacity: 1; background: var(--surface); border: 1px solid color-mix(in srgb, var(--highlight) 55%, transparent); animation: lit .6s var(--jelly); }
@keyframes lit { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: none; } }

/* 记忆卡片 */
.mem-card { width: min(320px, 100%); padding: 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.mem-top { display: flex; align-items: center; gap: 12px; }
.mem-pud { width: 58px; flex: none; animation: wobble 2.6s ease-in-out infinite; }
.mem-top b { display: block; font-size: 16px; }
.mem-top span { font-size: 12px; color: var(--sub); }
.mem-bar { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--soft) 20%, transparent); overflow: hidden; }
.mem-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--highlight), var(--soft)); transition: width 1.6s var(--jelly) .3s; }
.bx-mem.in .mem-bar i { width: 68%; }
.mem-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mem-stats div { padding: 8px; border-radius: 12px; background: var(--bg); text-align: center; }
.mem-stats b { display: block; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mem-stats span { font-size: 11px; color: var(--sub); }
.mem-say { font-size: 13px; font-weight: 650; color: var(--accent-ink); text-align: center; transition: opacity .3s, transform .4s var(--jelly); }
.mem-say.swap { opacity: 0; transform: translateY(6px); }

@media (max-width: 1100px) { .bento { grid-template-columns: 1fr 1fr; } .bx-mem { grid-column: span 2; } }
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .bx-grow, .bx-dex, .bx-mem { grid-column: auto; }
  .bx-stage { min-height: 230px; padding: 22px 16px; }
  .dex { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .dex li { font-size: 20px; padding: 8px 2px 6px; }
  .dex li span { font-size: 10px; }
  .sec-lead { font-size: 16px; }
}

/* 主题和图标 */
.themes-sep { width: 100%; margin-top: 6px; }
@media (min-width: 900px) { .themes-sep { width: auto; margin: 0 0 0 14px; } }

/* 更新日志：下一版 */
.log-next { border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--highlight) 12%, var(--surface)), var(--surface) 60%); }
.log-ver em.dev { background: var(--apps); }

/* 手机：每章自带的示意窗口 */
.step-shot { display: none; }
@media (max-width: 900px) {
  .step-shot { display: block; order: -3; border-radius: 22px; margin-bottom: 6px; box-shadow: var(--shadow), 0 24px 50px -24px rgba(150, 95, 40, .35); }
  .step-shot .win-bar { height: 30px; padding: 0 12px; gap: 5px; }
  .step-shot .win-bar i { width: 9px; height: 9px; }
  .step-shot .win-title { font-size: 11px; padding-right: 30px; }
  .step-shot .vis { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: none; min-height: 250px; }
  .step-shot .vis[data-v="6"] { min-height: 230px; }
  .step-shot .home2 { padding-bottom: 50px; }
  .step h2 { font-size: clamp(28px, 7.4vw, 40px); }
  .step p { font-size: 16px; }
}
@media (max-width: 560px) {
  .blobs i { filter: blur(60px); }
  .big-btn { width: 128px; height: 128px; } .big-btn span { width: 96px; height: 96px; } .big-btn b { font-size: 21px; }
  .cells b { font-size: 15px; }
  .hero { padding-top: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* Audit fixes: visible scope, keyboard focus and compact desktop hero. */
.privacy-controls { max-width: 1000px; margin: 20px auto; padding: 12px; font-size: 13px; line-height: 1.8; }
.privacy-controls button { font: inherit; padding: 4px 12px; margin: 4px; border: 1px solid currentColor; border-radius: 8px; cursor: pointer; }
.fb-privacy { font-size: 12px; line-height: 1.6; color: var(--sub); }
:focus-visible { outline: 3px solid #87561f; outline-offset: 4px; }
@media (min-width: 800px) and (max-height: 760px) {
  .hero { padding-top: 84px; padding-bottom: 28px; }
  .hero .pud { width: 140px; }
  .hero h1 { font-size: 86px; margin-top: 6px; }
  .hero .sub { margin-top: 12px; }
  .hero .cta { margin-top: 18px; }
  .hero-note { margin-top: 12px; }
}

.fb-panel[hidden] { display: none; }

/* 右侧章节进度：只在叙事区出现 */
.progress { opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.progress.show { opacity: 1; }

/* ———— 打不开怎么办 ———— */
#open-help .sec-head h2 { margin-bottom: 18px; }
.oh-why { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--sub); margin-bottom: 36px; }
.oh-why b { color: var(--ink); }
.oh-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.oh-step { position: relative; border-radius: 28px; padding: 18px 22px 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.oh-step h3 { font-size: 19px; font-weight: 780; margin: 4px 0 6px; }
.oh-step p { font-size: 15px; line-height: 1.65; color: var(--sub); }
.oh-step p b { color: var(--apps); }
.oh-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff !important; font-size: 14px !important; font-weight: 750; margin-top: 16px; }
.oh-mock { height: 196px; border-radius: 20px; display: grid; place-items: center; padding: 14px; background: linear-gradient(160deg, #6C8FB5, #3E5F86 55%, #C98E6A); overflow: hidden; }
.mk-alert { width: min(230px, 100%); border-radius: 18px; padding: 14px 14px 12px; background: rgba(40, 44, 52, .82); color: #fff; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mk-ico { font-size: 22px; line-height: 1; }
.mk-alert b { font-size: 13px; }
.mk-alert small { font-size: 10.5px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.mk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.mk-btn { display: grid; place-items: center; height: 26px; border-radius: 999px; font-size: 11.5px; font-weight: 650; color: #fff; background: rgba(255, 255, 255, .16); white-space: nowrap; padding: 0 10px; }
.mk-alert .mk-btns .mk-btn:last-child:not(.mk-hit) { background: #2F7CF6; }
.mk-no { opacity: .45; text-decoration: line-through; }
.mk-hit { position: relative; background: #2F7CF6; box-shadow: 0 0 0 3px #FFD25E, 0 0 0 7px rgba(255, 210, 94, .35); animation: mk-pulse 1.8s ease-in-out infinite; }
.mk-pw { height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); margin-top: 6px; }
.mk-set { width: min(250px, 100%); height: 150px; border-radius: 14px; display: grid; grid-template-columns: 78px 1fr; overflow: hidden; background: #F4F2EF; color: #2b2b2b; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.mk-side { background: #E6E2DC; padding: 10px 6px; display: flex; flex-direction: column; gap: 6px; }
.mk-side i { display: block; height: 12px; border-radius: 4px; background: rgba(0, 0, 0, .08); font-style: normal; font-size: 9px; line-height: 12px; }
.mk-side i.on { height: auto; padding: 3px 4px; background: #2F7CF6; color: #fff; font-weight: 650; white-space: nowrap; }
.mk-main { padding: 12px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.mk-h { font-size: 11px; font-weight: 750; }
.mk-row { border-radius: 8px; background: #fff; padding: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.mk-row small { font-size: 9.5px; color: #555; }
.mk-row .mk-btn { height: 22px; font-size: 10.5px; }
@keyframes mk-pulse { 50% { box-shadow: 0 0 0 3px #FFD25E, 0 0 0 10px rgba(255, 210, 94, 0); } }
.oh-more { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; max-width: 860px; }
.oh-more details { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.oh-more summary { cursor: pointer; padding: 16px 22px; font-weight: 700; font-size: 15px; }
.oh-more details p { padding: 0 22px 14px; font-size: 15px; line-height: 1.7; color: var(--sub); }
.oh-cmd { margin: 0 22px; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 14px; background: #241B15; }
.oh-cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: #F6EBDD; }
.oh-copy { flex: none; padding: 7px 14px; font-size: 13px; }
.oh-tip { padding-top: 10px !important; font-size: 13px !important; color: var(--dim) !important; }
.dl-steps a, .hero-note a, .faq details a[href="#open-help"] { color: var(--accent-ink); font-weight: 650; }
@media (max-width: 900px) { .oh-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mk-hit { animation: none; } }

/* 首屏"往下滚"图标改为跟在内容后面，窗口矮的时候也不会压住文字 */
.scroll-cue { position: relative; left: auto; bottom: auto; margin: 36px 0 0; flex: none; }
@media (min-width: 800px) and (max-height: 760px) { .scroll-cue { margin-top: 20px; } }
