:root {
  --teal: #2E6C75;
  --teal-deep: #214E56;
  --teal-dark: #183B42;
  --teal-soft: #3B7E88;
  --amber: #F8C86A;
  --amber-soft: #FBDDA0;
  --orange: #E79B50;
  --cream: #FFF6E6;
  --ink: #1E3237;
  --danger: #FF7A5C;

  --bg: var(--teal-deep);
  --surface: rgba(24, 59, 66, .72);
  --surface-solid: var(--teal-dark);
  --surface-2: rgba(46, 108, 117, .55);
  --text: var(--cream);
  --text-2: rgba(255, 246, 230, .76);
  --text-3: rgba(255, 246, 230, .55);
  --line: rgba(248, 200, 106, .18);
  --accent: var(--amber);
  --accent-text: var(--amber);
  --on-accent: var(--ink);

  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
  --shadow-warm: 0 24px 70px -24px rgba(248, 200, 106, .42);
  --ease: cubic-bezier(.22, .9, .3, 1);
  --ease-wipe: cubic-bezier(.76, 0, .24, 1);
  color-scheme: dark;
}

body[data-theme="day"] {
  --bg: #FFF6E6;
  --surface: rgba(251, 240, 218, .78);
  --surface-solid: #FBF0DA;
  --surface-2: rgba(234, 223, 198, .72);
  --text: var(--ink);
  --text-2: rgba(30, 50, 55, .74);
  --text-3: rgba(30, 50, 55, .55);
  --line: rgba(30, 50, 55, .14);
  --accent-text: #9A5F10;
  --shadow: 0 30px 80px -34px rgba(30, 50, 55, .3);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 620px at 82% -12%, rgba(59, 126, 136, .32), transparent 60%),
    radial-gradient(760px 520px at 6% 32%, rgba(248, 200, 106, .08), transparent 62%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
body[data-theme="day"] {
  background:
    radial-gradient(900px 560px at 82% -10%, rgba(248, 200, 106, .28), transparent 60%),
    radial-gradient(700px 480px at 4% 28%, rgba(46, 108, 117, .1), transparent 60%),
    var(--bg);
}

::selection { background: var(--accent); color: var(--on-accent); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- 环境与特效 ---------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(248, 200, 106, .16), transparent 64%);
  transition: opacity .4s var(--ease);
  mix-blend-mode: screen;
}

#app { opacity: 1; translate: 0 0; transition: opacity .34s var(--ease), translate .34s var(--ease); }
#app.is-page-leaving { opacity: 0; translate: 0 -6px; transition-duration: .16s; }
#app.is-page-entering { opacity: 0; translate: 0 12px; transition: none; }

#app .is-soft-out { opacity: 0; translate: 0 -8px; transition: opacity .14s var(--ease), translate .14s var(--ease); }
#app .is-soft-in { opacity: 0; translate: 0 8px; transition: none; }

.click-ripple {
  position: fixed;
  z-index: 170;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  animation: ripple .65s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(9); opacity: 0; } }

.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient-moon {
  position: absolute;
  top: -170px;
  right: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, rgba(251, 221, 160, .58), rgba(248, 200, 106, .18) 52%, transparent 72%);
  filter: blur(2px);
  opacity: .85;
}
body[data-theme="day"] .ambient-moon { opacity: .24; }
.star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--amber-soft);
  animation: twinkle 3.4s ease-in-out var(--d) infinite;
}
body[data-theme="day"] .star { background: var(--orange); opacity: .4; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: .85; transform: scale(1.2); } }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: color-mix(in srgb, var(--surface-solid) 80%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--accent-text);
}
.wordmark-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset -8px -4px 0 0 var(--teal);
  transition: transform .5s var(--ease);
}
.wordmark:hover .wordmark-mark { transform: rotate(-24deg); }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-2);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right .3s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-text); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .12em; color: var(--text-3); }
.header-meta #period-chip { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent-text); }
.clock { font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--accent); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-main { position: relative; z-index: 3; }

/* ---------- 通用 ---------- */
.js .reveal { opacity: 0; translate: 0 30px; transition: opacity .75s var(--ease), translate .75s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

.tilt {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .28s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(248, 200, 106, .15), transparent 55%);
  transition: opacity .3s var(--ease);
}
.tilt:hover::after { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-warm); }
.btn-primary:hover { box-shadow: 0 30px 80px -24px rgba(248, 200, 106, .6); }
.btn-secondary { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--accent-text); }
.btn-danger { border-color: rgba(255, 122, 92, .6); color: var(--danger); background: transparent; }

.eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .3em; color: var(--accent-text); text-transform: uppercase; }
.display { margin: 0; font-size: clamp(56px, 8.2vw, 118px); line-height: .98; font-weight: 800; letter-spacing: -.045em; }
.display span { color: var(--accent-text); text-shadow: 0 0 60px rgba(248, 200, 106, .28); }
.lead { max-width: 560px; margin: 28px 0 36px; font-size: 18px; color: var(--text-2); }
.section { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 720px; margin-bottom: 56px; }
.section-heading h1, .section-heading h2 { margin: 14px 0 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -.03em; }
.section-sub { margin: 16px 0 0; font-size: 16px; color: var(--text-2); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: transparent; color: var(--accent-text); font-weight: 700; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(6px); }
.input, .textarea { width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); outline: none; }
.input:focus, .textarea:focus { border-color: var(--accent); }
.textarea { min-height: 140px; resize: vertical; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 140px 0 100px; }
.hero-inner, .hero-copy { position: relative; z-index: 3; width: min(1240px, calc(100% - 64px)); margin-left: max(32px, 5vw); margin-right: auto; }
.hero-onboard .hero-inner { max-width: 900px; }
.hero-scroll { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; color: var(--text-3); }
.hero-scroll span { width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

.stage-hero .hero-copy { max-width: 690px; }
.action-stack { position: relative; display: flex; gap: 24px; margin: 46px 0 28px; padding: 24px 0; }
.action-rule { width: 8px; border-radius: 8px; background: var(--accent); box-shadow: 0 0 30px rgba(248, 200, 106, .4); }
.action-stack h2 { margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; font-weight: 800; }
.action-stack p { margin: 12px 0 0; color: var(--text-2); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 13px; color: var(--text-3); }
.hero-meta span::before { content: "· "; color: var(--accent); }
.link-note { padding: 0; border: 0; background: transparent; color: var(--accent-text); font-size: 13px; text-align: left; }
.hero-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: absolute; right: 4%; top: 50%; width: min(38vw, 460px); aspect-ratio: 1; transform: translateY(-50%); }
.orbit { position: absolute; inset: 12%; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { animation: spin 28s linear infinite; }
.orbit-two { inset: 0; border-style: dashed; animation: spin 42s linear reverse infinite; }
.orbit::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.moon-core {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, var(--amber-soft), var(--amber) 55%, var(--orange));
  box-shadow: 0 0 100px 30px rgba(248, 200, 106, .28), inset -30px -20px 60px rgba(231, 155, 80, .35);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.floating-label { position: absolute; right: 4%; bottom: 12%; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent-text); font-size: 12px; letter-spacing: .18em; }
body[data-theme="day"] .hero-visual { opacity: .55; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { white-space: nowrap; font-size: 24px; font-weight: 800; letter-spacing: .24em; color: var(--text-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Dashboard ---------- */
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.stat-tile, .panel-tile { position: relative; min-height: 280px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.stat-num { display: block; font-size: 92px; line-height: 1; font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.stat-tile p { margin: 12px 0 0; color: var(--text-2); }
.mini-plant { display: flex; align-items: flex-end; gap: 5px; height: 52px; margin-top: 22px; }
.mini-plant i { width: 9px; border-radius: 9px 9px 2px 2px; background: var(--accent); opacity: .75; }
.mini-plant i:nth-child(odd) { transform: rotate(-16deg); }
.mini-plant i:nth-child(even) { transform: rotate(16deg); }
.tile-label { margin: 0; font-size: 11px; letter-spacing: .24em; color: var(--accent-text); font-weight: 800; }
.panel-tile h3 { margin: 18px 0 10px; font-size: 26px; }
.tile-copy { margin: 0; color: var(--text-2); font-size: 14px; }
.panel-tile .text-link { margin-top: 22px; }
.tile-links { display: grid; gap: 4px; margin-top: 18px; }
.tile-links a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.tile-links a:hover { color: var(--accent-text); }

/* ---------- 进行中 ---------- */
.focus-stage { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 100px; overflow: hidden; }
.focus-orb { position: absolute; width: min(720px, 82vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(248, 200, 106, .12), transparent 62%); animation: breathe 7s ease-in-out infinite; }
.focus-action { position: relative; max-width: 820px; margin: 20px 0 44px; font-size: clamp(34px, 5vw, 68px); line-height: 1.15; font-weight: 800; }
.time-orbit { position: relative; width: min(360px, 70vw); aspect-ratio: 1; display: grid; place-items: center; }
.time-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); border-top-color: var(--accent); border-right-color: var(--accent); animation: spin 8s linear infinite; }
.time-ring::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; border: 1px dashed var(--line); animation: spin 14s linear reverse infinite; }
.timer { position: relative; font-size: clamp(56px, 9vw, 112px); line-height: 1; font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.timer-hint { margin: 14px 0 34px; color: var(--text-2); }
.focus-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 留痕 ---------- */
.work-section { min-height: 100vh; padding-top: 160px; }
.evidence-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 24px; align-items: start; }
.evidence-card, .evidence-aside { position: relative; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.evidence-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.evidence-tile { min-height: 112px; border: 1px solid var(--line); border-radius: var(--radius-md); background: transparent; color: var(--text-2); font-size: 18px; font-weight: 700; transition: all .3s var(--ease); }
.evidence-tile:hover { border-color: var(--accent); color: var(--accent-text); }
.evidence-tile.is-active { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.drop-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 160px; margin-top: 24px; border: 1px dashed var(--line); border-radius: var(--radius-md); color: var(--text-2); cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease); }
.drop-zone:hover { border-color: var(--accent); color: var(--accent-text); }
.drop-zone input { display: none; }
.drop-icon { font-size: 32px; color: var(--accent); }
.photo-preview { margin-top: 16px; border-radius: var(--radius-md); overflow: hidden; }
.photo-preview img { width: 100%; max-height: 300px; object-fit: cover; }
.evidence-textarea { margin-top: 24px; }
.hint-line { margin: 28px 0 0; color: var(--text-2); }
.evidence-aside h3 { margin: 18px 0; font-size: 30px; line-height: 1.25; }
.evidence-aside p { color: var(--text-2); }
.evidence-aside .text-link { margin-top: 18px; }
.work-section > .btn { margin-top: 28px; }

/* ---------- 完成 ---------- */
.done-stage { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 100px; overflow: hidden; }
.done-inner { position: relative; z-index: 2; max-width: 760px; }
.done-count { display: inline-block; margin: 24px 0; padding: 8px 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 800; }
.done-stage .display { font-size: clamp(44px, 6.6vw, 86px); }
.done-action { margin: 18px 0; color: var(--text-2); font-size: 18px; }
.done-first { margin: 8px 0; color: var(--accent-text); font-size: 13px; letter-spacing: .12em; }
.evidence-summary { margin: 36px auto; max-width: 560px; padding: 22px; text-align: left; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--surface-2); }
.evidence-summary p { margin: 8px 0 0; color: var(--text-2); }
.evidence-summary img { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius-sm); margin-top: 14px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.done-burst { position: absolute; inset: 0; pointer-events: none; }
.done-burst i { position: absolute; left: 50%; top: 46%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: burst 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * 35ms); transform: rotate(calc(var(--i) * 25deg)) translateY(0); opacity: 0; }
@keyframes burst { 20% { opacity: 1; } 100% { opacity: 0; transform: rotate(calc(var(--i) * 25deg)) translateY(-340px) scale(.3); } }

/* ---------- 清单 ---------- */
.page-section { padding-top: 170px; }
.page-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.plan-list { display: grid; gap: 14px; }
.plan-row { position: relative; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px; padding: 24px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.plan-index { font-size: 34px; font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.plan-main h3 { margin: 0; font-size: 22px; }
.plan-main p { margin: 4px 0 0; color: var(--text-3); font-size: 13px; }
.plan-actions { display: flex; gap: 8px; }
.inline-form { display: flex; gap: 12px; margin-top: 32px; }
.soft-empty { padding: 70px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.soft-empty h2 { margin: 0 0 10px; font-size: 28px; }
.soft-empty p { margin: 0 0 24px; color: var(--text-2); }
.empty-block { min-height: 80vh; }
.empty-block h1 { margin: 16px 0; font-size: clamp(40px, 6vw, 72px); }
.empty-block p { color: var(--text-2); }

/* ---------- 灵感库 ---------- */
.filter-bar { display: grid; gap: 12px; margin-bottom: 36px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text-2); font-size: 13px; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--accent); color: var(--accent-text); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.library-card { position: relative; display: flex; flex-direction: column; min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.library-card-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; color: var(--text-3); }
.library-tag { color: var(--accent-text); font-weight: 800; }
.library-card h3 { margin: 24px 0 12px; font-size: 21px; line-height: 1.35; }
.library-card p { margin: 0 0 22px; color: var(--text-2); font-size: 14px; flex: 1; }
.floating-back { position: sticky; bottom: 28px; margin-top: 40px; }

/* ---------- 记录 ---------- */
.summary-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-bottom: 60px; padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--text-2); }
.summary-strip .mini-plant { margin: 0 0 0 auto; height: 40px; }
.record-timeline { max-width: 900px; }
.day-group { margin-bottom: 64px; }
.day-label { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; font-size: 22px; font-weight: 800; }
.day-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.day-label small { font-size: 12px; color: var(--text-3); font-weight: 400; }
.record-card { position: relative; margin-bottom: 18px; padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.record-index { font-size: 12px; letter-spacing: .14em; color: var(--accent-text); font-weight: 800; }
.record-card h3 { margin: 12px 0; font-size: 22px; }
.record-note { margin: 0; padding-left: 18px; border-left: 3px solid var(--accent); color: var(--text-2); }
.record-photo { margin-top: 18px; border-radius: var(--radius-md); overflow: hidden; }
.record-photo img { width: 100%; max-height: 420px; object-fit: cover; }
.record-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; font-size: 12px; color: var(--text-3); }
.record-foot .btn { margin-left: auto; min-height: 36px; padding: 6px 14px; font-size: 12px; }

/* ---------- 关于 ---------- */
.about-hero { margin-bottom: 56px; }
.about-hero h1 { margin: 16px 0 8px; font-size: clamp(52px, 8vw, 96px); letter-spacing: -.04em; }
.about-hero p { color: var(--text-2); font-size: 18px; }
.about-meta { margin-top: 18px; font-size: 12px; color: var(--text-3); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-card { position: relative; min-height: 340px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.about-card h2 { margin: 18px 0 28px; font-size: 32px; }
.accent-row { display: flex; gap: 18px; }
.accent-orb { width: 48px; height: 48px; border: 2px solid transparent; border-radius: 50%; background: var(--orb); box-shadow: 0 0 20px -4px var(--orb); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.accent-orb:hover { transform: scale(1.12); }
.accent-orb.is-active { border-color: var(--text); transform: scale(1.12); }
.about-links { display: grid; margin-top: 20px; border-top: 1px solid var(--line); }
.about-links a, .about-links button { display: flex; justify-content: space-between; width: 100%; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; }
.about-links a:hover, .about-links button:hover { color: var(--accent-text); }
.about-links .danger { color: var(--danger); }
.feedback-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface-2); }

/* ---------- 文档 ---------- */
.doc-card { max-width: 820px; padding: 48px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.doc-card h1 { margin: 16px 0 36px; font-size: 42px; }
.doc-card p { color: var(--text-2); margin: 0 0 20px; }
.doc-card .btn { margin-top: 20px; }

/* ---------- 弹层 ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(6, 12, 14, .66); backdrop-filter: blur(8px); animation: fadeIn .25s var(--ease); }
.modal { width: min(460px, 100%); padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-solid); box-shadow: var(--shadow); animation: modalIn .35s var(--ease); }
.modal h2 { margin: 14px 0 10px; font-size: 26px; }
.modal > p:not(.eyebrow) { margin: 0 0 28px; color: var(--text-2); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.toast { position: fixed; left: 50%; bottom: 36px; z-index: 140; transform: translateX(-50%); padding: 13px 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; box-shadow: var(--shadow-warm); animation: toastIn .3s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero-visual { right: -8%; width: 44vw; opacity: .55; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid .panel-tile:last-child { grid-column: 1 / -1; }
  .evidence-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-inner, .hero-inner, .hero-copy, .section { width: calc(100% - 40px); }
  .hero-inner, .hero-copy { margin-left: 20px; margin-right: 20px; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-meta { display: none; }
  .hero-visual { display: none; }
  .display { font-size: clamp(46px, 12vw, 72px); }
  .action-stack { margin: 34px 0 22px; }
  .section { padding: 84px 0; }
  .page-section { padding-top: 130px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-grid .panel-tile:last-child { grid-column: auto; }
  .evidence-card, .evidence-aside, .about-card, .record-card, .plan-row { padding: 24px; }
  .evidence-options { grid-template-columns: 1fr; }
  .plan-row { grid-template-columns: 44px 1fr; }
  .plan-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .inline-form { flex-direction: column; }
  .doc-card { padding: 28px; }
  .cursor-glow { display: none; }
}

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