/* 知澄 Aulivis 官网。品牌：晴空蓝 #315CF4、纸白 #FFFEFA、墨 #121521；系统字体，无第三方资源。 */

:root {
  --paper: #FFFEFA;
  --paper-2: #F6F4EE;
  --surface: #FFFFFF;
  --ink: #121521;
  --ink-2: #4A4F63;
  --ink-3: #868B9E;
  --line: rgba(18, 21, 33, 0.09);
  --line-2: rgba(18, 21, 33, 0.15);
  --blue: #315CF4;
  --blue-solid: #315CF4;
  --blue-ink: #2347D9;
  --blue-50: #EEF2FF;
  --blue-100: #DCE4FF;
  --purple: #7C5CF5;
  --purple-50: #F2EEFF;
  --green: #22A55A;
  --green-50: #E8F7EE;
  --orange: #F08A00;
  --orange-50: #FFF3E0;
  --red: #E5484D;
  --red-50: #FDECEC;
  --dot: rgba(18, 21, 33, 0.11);
  --shadow-sm: 0 1px 2px rgba(18, 21, 33, 0.05), 0 4px 14px rgba(18, 21, 33, 0.05);
  --shadow-lg: 0 2px 6px rgba(18, 21, 33, 0.05), 0 24px 60px -18px rgba(30, 45, 110, 0.28);
  --band: #0F1220;
  /* 界面示意自己的色板：跟随明暗主题，模拟 App 的浅色与深色外观 */
  --m-bg: #F2F3F7;
  --m-panel: #FFFFFF;
  --m-soft: #F7F8FB;
  --m-ink: #15182A;
  --m-ink-2: #4C5166;
  --m-ink-3: #8D92A5;
  --m-line: rgba(18, 21, 33, 0.08);
  --m-track: #E6E8EF;
  --tt-canvas: #F7F9FC;
  --tt-blue-subtle: #DDF4FF;
  --tt-blue-strong: #0F8DCC;
  --brand-green-subtle: #D7FFB8;
  --brand-green-strong: #3CAA00;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  --font-math: "Times New Roman", "Songti SC", STSong, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0D0F16;
    --paper-2: #12141D;
    --surface: #171A25;
    --ink: #ECEEF5;
    --ink-2: #AEB3C6;
    --ink-3: #757C92;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.15);
    --blue: #7D97FF;
    --blue-solid: #3F63F5;
    --blue-ink: #A9B9FF;
    --blue-50: rgba(110, 138, 255, 0.13);
    --blue-100: rgba(110, 138, 255, 0.22);
    --purple: #A991FF;
    --purple-50: rgba(169, 145, 255, 0.13);
    --green: #4CC57E;
    --green-50: rgba(76, 197, 126, 0.13);
    --orange: #FFAA33;
    --orange-50: rgba(255, 170, 51, 0.13);
    --red: #FF6B6F;
    --red-50: rgba(255, 107, 111, 0.13);
    --dot: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
    --band: #0A0C14;
    --m-bg: #0B0C12;
    --m-panel: #1B1E29;
    --m-soft: #22252F;
    --m-ink: #ECEEF5;
    --m-ink-2: #AEB3C6;
    --m-ink-3: #6F768C;
    --m-line: rgba(255, 255, 255, 0.08);
    --m-track: #2B2F3B;
    --tt-canvas: #13141C;
    --tt-blue-subtle: #1B364D;
    --tt-blue-strong: #2F9BDB;
    --brand-green-subtle: #253B23;
    --brand-green-strong: #58CC02;
  }
}

/* ---------- 基础 ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
code { font-family: var(--mono); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-100); }

.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }
.icon { width: 1em; height: 1em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: var(--paper); font-weight: 600; transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }
.contact-email { color: var(--ink); white-space: nowrap; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 15px; }
.text-link .icon { font-size: 16px; transition: transform 0.2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- 页头 ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50; height: 64px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background-color 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.site-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 0.01em; }
.site-name .brand-mark { border-radius: 8px; box-shadow: 0 1px 2px rgba(18, 21, 33, 0.18); }
.site-name small { color: var(--ink-3); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.header-nav { display: flex; gap: 2px; margin-left: 8px; }
.header-nav a { padding: 7px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; transition: background-color 0.2s, color 0.2s; }
.header-nav a:hover { background: var(--line); color: var(--ink); }
.header-nav a[aria-current] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.language-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14px; }
.language-link:hover { background: var(--line); color: var(--ink); }
.language-link .icon { font-size: 17px; }
.header-cta {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--blue-solid); color: #fff; font-size: 14.5px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(49, 92, 244, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s, transform 0.2s;
}
.header-cta:hover { background: var(--blue-ink); }

/* ---------- 通用区块 ---------- */

.section { padding: 120px 0; }
.section-head { max-width: 720px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 14px; font-weight: 650; letter-spacing: 0.04em; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.16; letter-spacing: -0.02em; }
.section-lead { margin-top: 18px; color: var(--ink-2); font-size: 18px; line-height: 1.75; }

.reveal { transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-pending { opacity: 0; transform: translateY(28px); }
.reveal.is-pending.is-visible { opacity: 1; transform: none; }
.steps .reveal:nth-child(2n), .bento .reveal:nth-child(2), .bento .reveal:nth-child(4), .device-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.bento .reveal:nth-child(5), .device-list .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ---------- 按钮 ---------- */

.cta {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 22px 10px 18px;
  border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); color: var(--ink);
  text-align: left; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}
[data-android-download][hidden] { display: none; }
.cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.cta > .icon { font-size: 26px; }
.cta strong { display: block; font-size: 16px; font-weight: 650; line-height: 1.3; }
.cta small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.cta-ios, [data-platform="android"] .cta-android {
  border-color: transparent; background: var(--blue-solid); color: #fff;
  box-shadow: 0 1px 2px rgba(49, 92, 244, 0.3), 0 10px 26px -10px rgba(49, 92, 244, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.cta-ios small, [data-platform="android"] .cta-android small { color: rgba(255, 255, 255, 0.75); }
[data-platform="android"] .cta-ios { border-color: var(--line-2); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
[data-platform="android"] .cta-ios small { color: var(--ink-3); }
[data-platform="android"] .cta-android { order: -1; }
.cta-solid {
  min-height: 48px; padding: 0 20px; gap: 8px; border: 0; border-radius: 14px;
  background: var(--blue-solid); color: #fff; font-weight: 650; font-size: 15.5px;
  box-shadow: 0 1px 2px rgba(49, 92, 244, 0.3), 0 10px 24px -12px rgba(49, 92, 244, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.cta-solid .icon { font-size: 18px; }
.cta-solid:hover { background: var(--blue-ink); }

/* ---------- 首屏 ---------- */

.hero { position: relative; padding: 88px 0 40px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 auto; height: 900px; z-index: -1;
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero-copy { text-align: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 80px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 750; }
.hero h1 span { display: block; }
:lang(zh-CN) .hero h1 { letter-spacing: -0.01em; }
.hero-accent {
  background: linear-gradient(95deg, #315CF4 15%, #6A5CF6 55%, #9A5CF0 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.hero-lead { max-width: 660px; margin: 24px auto 0; color: var(--ink-2); font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; color: var(--ink-3); font-size: 13.5px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .icon { color: var(--green); font-size: 15px; stroke-width: 2.4; }
.hero-stage { position: relative; margin-top: 64px; }
.hero-stage::before {
  content: ""; position: absolute; inset: 8% 6% 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 105, 255, 0.28), rgba(140, 100, 255, 0.12) 55%, transparent);
  filter: blur(30px);
}
.sample-note { margin-top: 18px; color: var(--ink-3); font-size: 12.5px; text-align: center; }

/* ---------- 设备外框（em 随舞台宽度缩放，1em = 舞台宽度的 1%） ---------- */

.stage { container: stage / inline-size; }
.stage-art { position: relative; height: 61em; font-size: 1cqw; line-height: 1.45; color: var(--m-ink); }
.device { position: absolute; background: #15171E; box-shadow: inset 0 0 0 0.12em #34373F, inset 0 0 0 0.3em #0B0C10, var(--shadow-lg); }
.device .screen { position: relative; width: 100%; height: 100%; overflow: hidden; }
.ipad { left: 6em; top: 0; width: 74em; height: 52.5em; padding: 0.95em; border-radius: 2.7em; }
.ipad .screen { border-radius: 1.8em; }
.iphone { left: 73em; top: 15.5em; width: 20.5em; height: 44.4em; padding: 0.6em; border-radius: 3.5em; }
.iphone .screen { border-radius: 2.95em; }

/* iPad 课堂：三区同屏 */
.cls { display: grid; grid-template-rows: auto auto minmax(0, 1fr); background: var(--m-bg); }
.cls-status { display: flex; justify-content: space-between; padding: 0.75em 2em 0; font-size: 1em; font-weight: 600; }
.status-icons { display: flex; align-items: center; gap: 0.35em; }
.status-icons i { width: 1.15em; height: 0.65em; border-radius: 0.2em; background: currentColor; opacity: 0.85; }
.status-icons i:first-child { width: 0.9em; opacity: 0.6; }
.status-icons i:last-child { width: 1.7em; border-radius: 0.28em; }
.cls-top { display: flex; align-items: center; gap: 0.75em; padding: 0.9em 1.3em 0.9em; }
.glass-btn, .glass-pill, .rec-pill, .finish-pill {
  display: inline-flex; align-items: center; justify-content: center; height: 3.3em; border-radius: 999px;
  background: var(--m-panel); box-shadow: 0 0.1em 0.4em rgba(18, 21, 33, 0.08); font-size: 1.05em; white-space: nowrap;
}
.glass-btn { width: 3.3em; }
.glass-btn .icon { font-size: 1.5em; }
.cls-title { display: grid; margin-right: auto; min-width: 0; }
.cls-title strong { font-size: 1.45em; line-height: 1.25; }
.cls-title small { color: var(--m-ink-3); font-size: 1em; }
.glass-pill { gap: 0.4em; padding: 0 1em; color: var(--m-ink-2); }
.glass-pill .icon { font-size: 1.25em; }
.rec-pill { gap: 0.55em; padding: 0 1em; font-variant-numeric: tabular-nums; font-weight: 600; }
.rec-pill .icon { font-size: 1.2em; }
.rec-sep { width: 1px; height: 1.2em; background: var(--m-line); }
.rec-dot { display: inline-block; width: 0.62em; height: 0.62em; border-radius: 50%; background: #FF3B30; animation: rec 1.6s ease-in-out infinite; }
.finish-pill { padding: 0 1.25em; background: #FF3B30; color: #fff; font-weight: 600; }
.cls-body { display: grid; grid-template-columns: 1.12fr 1fr; grid-template-rows: 1.06fr 1fr; gap: 0.85em; padding: 0 1.3em 1.3em; min-height: 0; }
.pane { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 1.15em 1.3em; border-radius: 1.4em; background: var(--m-panel); box-shadow: 0 0.05em 0.2em rgba(18, 21, 33, 0.05); }
.pane-transcript { grid-row: 1 / span 2; }
.pane-head { display: flex; align-items: center; gap: 0.5em; font-size: 1.1em; }
.pane-head > .icon { color: var(--blue); font-size: 1.3em; }
.pane-head strong { font-weight: 650; }
.live-chip { display: inline-flex; align-items: center; gap: 0.4em; margin-left: auto; padding: 0.2em 0.7em; border-radius: 999px; background: var(--red-50); color: var(--red); font-size: 0.85em; font-weight: 600; }
.live-chip i { width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; animation: rec 1.6s ease-in-out infinite; }
.tr-summary { margin-top: 1em; padding: 0.8em 1em; border-radius: 1em; background: var(--purple-50); }
.tr-summary p { display: flex; align-items: center; gap: 0.4em; color: var(--purple); font-size: 0.95em; font-weight: 650; }
.tr-summary .icon { font-size: 1.1em; }
.tr-summary ul { display: grid; gap: 0.2em; margin-top: 0.4em; }
.tr-summary li { position: relative; padding-left: 0.9em; color: var(--m-ink-2); font-size: 1.05em; }
.tr-summary li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.35em; height: 0.35em; border-radius: 50%; background: var(--purple); }
.tr-section { align-self: flex-start; margin: 1em 0 0.9em; padding: 0.25em 0.8em; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 0.95em; font-weight: 600; }
.tr-lines { display: grid; gap: 1.05em; }
.tr-lines li { display: grid; grid-template-columns: 3.6em 1fr; gap: 0.6em; align-items: baseline; }
.tr-lines time { color: var(--m-ink-3); font-size: 0.95em; font-variant-numeric: tabular-nums; }
.tr-lines p { font-size: 1.32em; line-height: 1.6; }
.tr-translation { display: block; margin-top: 0.15em; color: var(--m-ink-3); font-size: 0.82em; line-height: 1.5; }
.tr-lines .is-live p { color: var(--m-ink-2); }
.tr-foot { display: flex; align-items: center; gap: 0.7em; margin-top: auto; padding-top: 0.8em; border-top: 1px solid var(--m-line); color: var(--m-ink-3); font-size: 1em; }

.typing { --type-width: 13em; --type-steps: 13; display: inline-block; max-width: var(--type-width); overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: typing 7s steps(var(--type-steps), end) infinite; }
:lang(en) .typing { --type-width: 17.5em; --type-steps: 34; }
.caret { display: inline-block; width: 0.1em; height: 1.1em; margin-left: 0.06em; vertical-align: -0.18em; border-radius: 1px; background: var(--blue); animation: caret 1s steps(1) infinite; }

.bars { display: inline-flex; align-items: center; gap: 0.22em; height: 1.5em; }
.bars i { width: 0.26em; height: 100%; border-radius: 0.2em; background: var(--blue); transform: scaleY(0.3); animation: wave 1.1s ease-in-out infinite; }
.bars i:nth-child(2n) { animation-duration: 0.9s; animation-delay: -0.3s; }
.bars i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -0.6s; }
.bars i:nth-child(5n) { animation-duration: 0.8s; animation-delay: -0.15s; }

.pane-count { display: inline-flex; align-items: center; gap: 0.3em; margin-left: auto; color: var(--m-ink-3); font-size: 0.92em; font-variant-numeric: tabular-nums; }
.pane-count .icon { font-size: 1.1em; }
.quiz-q { margin: 0.85em 0 0.8em; font-size: 1.18em; line-height: 1.55; font-weight: 500; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55em; }
.quiz-options li { display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.75em; border: 0.1em solid var(--m-line); border-radius: 0.9em; font-size: 1.12em; }
.quiz-options b { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--m-bg); font-size: 0.8em; }
.quiz-options .is-answer { border-color: var(--green); background: var(--green-50); animation: answer 8s ease infinite; }
.quiz-options .is-answer b { background: var(--green); color: #fff; animation: answer-mark 8s ease infinite; }
.opt-check, .opt-mark { width: 1em; height: 1em; flex: none; }
.opt-check { margin-left: auto; color: var(--green); font-size: 1.2em; stroke-width: 2.6; animation: answer-check 8s ease infinite; }
.quiz-explain { display: flex; align-items: flex-start; gap: 0.45em; margin-top: auto; padding-top: 0.7em; color: var(--m-ink-2); font-size: 1em; animation: answer-check 8s ease infinite; }
.quiz-explain .icon { margin-top: 0.15em; color: var(--purple); font-size: 1.1em; }

.pane-tools { display: inline-flex; gap: 0.75em; margin-left: auto; color: var(--m-ink-3); }
.pane-tools .icon { font-size: 1.15em; }
.notes-body { display: grid; grid-template-columns: 1fr 14.5em; gap: 1em; flex: 1; margin-top: 0.9em; min-height: 0; }
.notes-text { display: grid; align-content: start; gap: 0.7em; }
.hand-target { position: relative; justify-self: start; padding: 0.2em 0.55em; font-size: 1.35em; font-weight: 650; }
.hand-ring { position: absolute; inset: -0.35em -0.5em; width: calc(100% + 1em); height: calc(100% + 0.7em); overflow: visible; }
.hand-ring path, .hand-underline path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; animation: draw 6s ease-in-out infinite; }
.note-formula { font-family: var(--font-math); font-size: 1.35em; font-style: italic; color: var(--m-ink-2); padding-left: 0.55em; }
.board-photo, .board {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 0.5em; overflow: hidden;
  padding: 1em; border-radius: 0.9em; color: rgba(255, 255, 255, 0.9); font-family: var(--font-math); font-style: italic;
  background: radial-gradient(120% 90% at 30% 20%, #2F5544, #1C3528 70%), #1C3528;
  box-shadow: inset 0 0 0 0.25em #6B4F36, inset 0 0 1.5em rgba(0, 0, 0, 0.35);
}
.board-photo .chalk { font-size: 1.15em; }
.ocr-tag {
  position: absolute; left: 0.7em; bottom: 0.7em; display: inline-flex; align-items: center; gap: 0.35em; padding: 0.25em 0.65em;
  border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--purple); font: 600 0.85em/1.4 var(--font); font-style: normal;
}
.ocr-tag .icon { font-size: 1.05em; }
@media (prefers-color-scheme: dark) { .ocr-tag { background: rgba(27, 30, 41, 0.94); } }

/* iPhone 锁屏：实时活动 */
.lock {
  display: flex; flex-direction: column; align-items: stretch; color: #fff; text-align: center;
  background:
    radial-gradient(90% 60% at 15% 5%, rgba(180, 196, 255, 0.85), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(196, 160, 255, 0.85), transparent 60%),
    linear-gradient(180deg, #5878F7, #2E46CF);
}
.island { position: absolute; top: 0.85em; left: 50%; width: 6.4em; height: 1.85em; border-radius: 1em; background: #000; transform: translateX(-50%); }
.lock-date { margin-top: 4.3em; font-size: 1.1em; font-weight: 600; opacity: 0.9; }
.lock-time { font: 700 5.8em/1 var(--font-display); letter-spacing: -0.02em; }
.live-activity { display: flex; align-items: center; gap: 0.6em; margin: 1.9em 0.75em 0; padding: 0.95em 1em; border-radius: 1.6em; background: rgba(250, 250, 252, 0.78); color: #111318; text-align: left; -webkit-backdrop-filter: blur(1.2em); backdrop-filter: blur(1.2em); }
.la-badge { display: grid; place-items: center; flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; background: #58CC02; color: #fff; }
.la-badge .icon { font-size: 1.25em; stroke-width: 2.4; }
.la-text { display: grid; min-width: 0; line-height: 1.3; }
.la-text strong { overflow: hidden; font-size: 1.02em; text-overflow: ellipsis; white-space: nowrap; }
.la-text small { color: #46A302; font-size: 0.88em; font-weight: 600; }
.la-timer { flex: none; margin-left: auto; font-size: 1.4em; font-weight: 600; font-variant-numeric: tabular-nums; }
.lock-bottom { display: flex; justify-content: space-between; margin: auto 1.9em 2.4em; }
.lock-bottom span { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; background: rgba(0, 0, 0, 0.22); -webkit-backdrop-filter: blur(1em); backdrop-filter: blur(1em); }
.lock-bottom .icon { font-size: 1.35em; }
.lock::after { content: ""; position: absolute; bottom: 0.65em; left: 50%; width: 8em; height: 0.32em; border-radius: 1em; background: rgba(255, 255, 255, 0.85); transform: translateX(-50%); }

/* 窄屏时 iPad 铺满宽度、iPhone 放大压在右下 */
@container stage (max-width: 620px) {
  .stage-art { height: 106em; }
  .ipad { left: 0; width: 100em; height: 71em; padding: 1.3em; border-radius: 3.6em; }
  .ipad .screen { border-radius: 2.4em; }
  .iphone { left: 64em; top: 38em; width: 31em; height: 67em; padding: 0.9em; border-radius: 5.2em; }
  .iphone .screen { border-radius: 4.4em; font-size: 1.5em; }
}

/* ---------- 课堂四环节 ---------- */

.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.step { --accent: var(--blue); --accent-soft: var(--blue-50); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.step:nth-child(2) { --accent: var(--purple); --accent-soft: var(--purple-50); }
.step:nth-child(3) { --accent: var(--green); --accent-soft: var(--green-50); }
.step:nth-child(4) { --accent: var(--orange); --accent-soft: var(--orange-50); }
.step-art { position: relative; height: 248px; background: var(--accent-soft); overflow: hidden; }
.step-art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.step-copy { padding: 26px 30px 32px; }
.step-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 14px; font-weight: 700; }
.step-tag span { color: var(--ink-3); font: 500 12.5px/1 var(--mono); }
.step h3 { margin-top: 12px; font-size: 21px; line-height: 1.4; letter-spacing: -0.01em; }
.step-copy > p:last-child { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }

.vg { position: relative; height: 100%; display: grid; place-items: center; padding: 24px; color: var(--m-ink); font-size: 14px; line-height: 1.55; }
.vg-listen { align-content: center; gap: 16px; }
.island-x { display: grid; gap: 4px; width: min(100%, 340px); padding: 14px 20px 14px; border-radius: 34px; background: #000; color: #fff; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5); }
.ix-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ix-status { display: inline-flex; align-items: center; gap: 6px; color: #58CC02; font-size: 14px; font-weight: 600; }
.ix-status .icon { font-size: 17px; stroke-width: 2.2; animation: rec 1.8s ease-in-out infinite; }
.ix-title { overflow: hidden; color: rgba(235, 235, 245, 0.6); font-size: 13.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.ix-time { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vg-lines { display: grid; gap: 8px; width: min(100%, 360px); padding: 14px 16px; border-radius: 16px; background: var(--m-panel); box-shadow: var(--shadow-sm); }
.vg-lines p { font-size: 14.5px; }
.vg-lines p span:not(.typing) { display: block; color: var(--m-ink-3); font-size: 12.5px; }
.vg-lines .is-live { color: var(--m-ink-2); }

.vg-organize { grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.25fr); gap: 14px; }
.frags { display: grid; gap: 8px; justify-items: start; }
.frags li { padding: 5px 11px; border: 1px dashed var(--line-2); border-radius: 999px; background: var(--m-panel); color: var(--m-ink-3); font-size: 12.5px; white-space: nowrap; animation: frag 6s ease-in-out infinite; }
.frags li:nth-child(2) { margin-left: 18px; animation-delay: 0.2s; }
.frags li:nth-child(3) { margin-left: 6px; animation-delay: 0.4s; }
.frags li:nth-child(4) { margin-left: 24px; animation-delay: 0.6s; }
.vg-arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--m-panel); color: var(--purple); box-shadow: var(--shadow-sm); }
.vg-arrow .icon { font-size: 16px; }
.summary-card { padding: 14px 16px; border-radius: 16px; background: var(--m-panel); box-shadow: var(--shadow-sm); }
.summary-head { display: flex; align-items: center; gap: 6px; color: var(--purple); font-size: 13px; font-weight: 650; }
.summary-card ul { display: grid; gap: 7px; margin-top: 10px; }
.summary-card li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.5; animation: point 6s ease infinite; }
.summary-card li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.summary-card li:nth-child(2) { animation-delay: 0.25s; }
.summary-card li:nth-child(3) { animation-delay: 0.5s; }

.vg-practice { align-content: center; }
.mini-quiz { width: min(100%, 360px); padding: 16px; border-radius: 18px; background: var(--m-panel); box-shadow: var(--shadow-sm); }
.mini-quiz p { font-size: 13.5px; font-weight: 500; }
.mini-quiz ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mini-quiz li { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1.5px solid var(--m-line); border-radius: 11px; font-size: 14px; }
.mini-quiz b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--m-bg); font-size: 11.5px; }
.opt-mark { margin-left: auto; font-size: 16px; stroke-width: 2.6; }
.mini-quiz .is-wrong { border-color: var(--red); background: var(--red-50); animation: wrong 8s ease infinite; }
.mini-quiz .is-wrong .opt-mark { color: var(--red); animation: answer-check 8s ease infinite; }
.mini-quiz .is-answer { border-color: var(--green); background: var(--green-50); animation: answer 8s ease infinite; animation-delay: 0.6s; }
.mini-quiz .is-answer .opt-mark { color: var(--green); animation: answer-check 8s ease infinite; animation-delay: 0.6s; }
.toast { position: absolute; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); animation: toast 8s ease infinite; }
.toast .icon { font-size: 15px; color: var(--orange); }

.vg-capture { grid-template-columns: repeat(2, minmax(0, 210px)); justify-content: center; justify-items: stretch; align-items: stretch; gap: 14px; padding: 30px 24px; }
.board { font-size: 15px; padding: 16px; }
.board sup { font-size: 0.65em; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16) 85%, rgba(255, 255, 255, 0.6)); border-bottom: 1.5px solid rgba(255, 255, 255, 0.85); animation: scan 5s ease-in-out infinite; }
.ocr-box { position: absolute; left: 10px; right: 10px; top: 26%; height: 30%; border: 1.5px dashed rgba(206, 180, 255, 0.95); border-radius: 8px; animation: ocr 5s ease infinite; }
.memo { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 16px 40px; border-radius: 14px; background: var(--m-panel); box-shadow: var(--shadow-sm); }
.memo p { font-size: 15.5px; font-weight: 650; }
.hand-underline { width: 82%; height: 12px; overflow: visible; }
.memo-formula { font-family: var(--font-math); font-style: italic; font-weight: 400 !important; color: var(--m-ink-2); }
.memo .ocr-tag { left: 12px; bottom: 12px; font-size: 11.5px; background: var(--purple-50); }

/* ---------- 下课之后：便当格 ---------- */

.features { background: var(--paper-2); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.bento-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.bento-notes { grid-column: span 7; }
.bento-timetable { grid-column: span 5; }
.bento-mistakes, .bento-plan, .bento-widgets { grid-column: span 4; }
.bento-copy { padding: 28px 30px 0; }
.bento-label { display: flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 650; }
.bento-label .icon { font-size: 18px; }
.platform-tag { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--line); color: var(--ink-3); font-size: 12px; font-weight: 500; }
.bento-copy h3 { margin-top: 12px; font-size: 21px; line-height: 1.4; letter-spacing: -0.01em; }
.bento-copy > p:not(.bento-label) { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.bento-copy .bento-note { color: var(--ink-3); font-size: 13px; }
.bento-art { margin-top: auto; padding: 26px 30px 0; }

.mk { position: relative; padding: 16px; border: 1px solid var(--m-line); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--m-panel); color: var(--m-ink); font-size: 13px; line-height: 1.5; box-shadow: 0 -12px 30px -18px rgba(30, 45, 110, 0.25); }

.mk-note { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; min-height: 340px; }
.mk-outline { padding-right: 12px; border-right: 1px solid var(--m-line); }
.mk-outline ol { display: grid; gap: 2px; }
.mk-outline li { padding: 6px 9px; border-radius: 8px; color: var(--m-ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-outline .is-current { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.mk-doc { position: relative; display: grid; align-content: start; gap: 8px; min-width: 0; }
.mk-doc-title { font-size: 17px; font-weight: 700; }
.mk-h { margin-top: 2px; font-size: 14.5px; font-weight: 650; }
.mk-p { color: var(--m-ink-2); }
.mk-qcard { display: flex; align-items: center; gap: 8px; justify-self: start; padding: 7px 12px; border: 1px solid var(--m-line); border-radius: 10px; background: var(--m-soft); font-size: 12.5px; }
.mk-qcard .icon { color: var(--blue); font-size: 15px; }
.mk-qcard .mk-qcheck { color: var(--green); stroke-width: 2.6; }
.mk-ink { height: 104px; }
.mk-ink svg { width: 100%; height: 100%; }
.mk-ink path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw 9s ease-in-out infinite; }
.ink-axis { stroke: var(--m-ink-2); stroke-width: 1.6; }
.ink-curve { stroke: var(--blue); stroke-width: 2.4; animation-delay: 0.4s !important; }
.ink-bound { stroke: var(--m-ink-3); stroke-width: 1.4; stroke-dasharray: 1; animation-delay: 0.8s !important; }
.ink-hatch { stroke: var(--orange); stroke-width: 1.4; animation-delay: 1.1s !important; }
.mk-slash { position: absolute; right: 0; bottom: 6px; display: grid; gap: 6px; width: 158px; padding: 8px; border: 1px solid var(--m-line); border-radius: 14px; background: var(--m-panel); box-shadow: 0 16px 40px -16px rgba(18, 21, 33, 0.35); }
.mk-slash-cmd { justify-self: start; padding: 0 7px; border-radius: 6px; background: var(--blue-50); color: var(--blue); font: 600 12px/1.6 var(--mono); }
.mk-slash ul { display: grid; gap: 1px; }
.mk-slash li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; color: var(--m-ink-2); font-size: 12.5px; }
.mk-slash .icon { font-size: 15px; color: var(--m-ink-3); }
.mk-slash .is-active { background: var(--blue-solid); color: #fff; }
.mk-slash .is-active .icon { color: #fff; }

/* 课表：与 iOS TimetableView 相同的结构与配色（周导航、七天表头、节次时间列、圆角网格、实心课程块） */
.mk-timetable { padding: 0; overflow: hidden; }
.tt-nav { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--m-line); }
.tt-arrow { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tt-blue-subtle); color: var(--tt-blue-strong); }
.tt-arrow .icon { font-size: 15px; stroke-width: 3; }
.tt-week { position: relative; display: grid; flex: 1; justify-items: center; line-height: 1.3; }
.tt-week small { color: var(--m-ink-2); font-size: 10.5px; }
.tt-week strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.tt-week em { position: absolute; right: 2px; bottom: 1px; padding: 1px 7px; border-radius: 999px; background: var(--brand-green-subtle); color: var(--brand-green-strong); font-size: 10.5px; font-style: normal; font-weight: 600; }
.tt-scroll { padding: 4px 8px 10px; }
.tt-grid { display: grid; grid-template-columns: 32px repeat(7, minmax(0, 1fr)); grid-template-rows: 38px repeat(6, 44px); gap: 3px; }
.tt-corner { display: grid; place-items: center; color: var(--m-ink-2); font-size: 10px; }
.tt-day { grid-row: 1; display: grid; place-content: center; justify-items: center; border-radius: 8px; line-height: 1.25; }
.tt-day b { font-size: 11px; font-weight: 600; }
.tt-day small { color: var(--m-ink-2); font-size: 9px; white-space: nowrap; }
.tt-day.is-today { background: var(--tt-blue-subtle); box-shadow: inset 0 0 0 1px #1CB0F6; }
.tt-day.is-today b { color: var(--tt-blue-strong); }
.tt-day.is-today small { color: #1CB0F6; }
.tt-slot { grid-column: 1; display: grid; place-content: center; justify-items: center; gap: 1px; }
.tt-slot b { font: 600 12.5px/1 ui-rounded, var(--font); }
.tt-slot small { color: var(--m-ink-3); font: 500 7.5px/1.2 ui-rounded, var(--font); font-variant-numeric: tabular-nums; text-align: center; }
.tt-cell { border-radius: 8px; background: var(--tt-canvas); }
.tt-cell.is-today { background: color-mix(in srgb, var(--tt-blue-subtle) 40%, var(--tt-canvas)); }
.tt-course {
  z-index: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow: hidden; padding: 4px;
  border-radius: 8px; color: #fff; line-height: 1.2;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 94%, transparent), color-mix(in srgb, var(--c) 78%, transparent));
  box-shadow: 0 1px 2px color-mix(in srgb, var(--c) 10%, transparent);
}
.tt-course b { font: 700 10.5px/1.25 ui-rounded, var(--font); word-break: break-all; }
:lang(en) .tt-course { padding: 4px 3px; }
:lang(en) .tt-course b { font-size: 8.5px; letter-spacing: -0.01em; word-break: normal; overflow-wrap: anywhere; }
.tt-course small { margin-top: auto; overflow: hidden; color: rgba(255, 255, 255, 0.92); font: 600 8px/1.2 ui-rounded, var(--font); text-overflow: ellipsis; white-space: nowrap; }
.tt-d1 { grid-column: 2; } .tt-d2 { grid-column: 3; } .tt-d3 { grid-column: 4; } .tt-d4 { grid-column: 5; } .tt-d5 { grid-column: 6; } .tt-d6 { grid-column: 7; } .tt-d7 { grid-column: 8; }
.tt-p1 { grid-row: 2; } .tt-p2 { grid-row: 3; } .tt-p3 { grid-row: 4; } .tt-p4 { grid-row: 5; } .tt-p5 { grid-row: 6; } .tt-p6 { grid-row: 7; }
.tt-s2 { grid-row-end: span 2; }
/* iOS 课程预设色 */
.is-green { --c: #58CC02; } .is-blue { --c: #1CB0F6; } .is-orange { --c: #FF9600; } .is-red { --c: #FF4B4B; }
.is-purple { --c: #CE82FF; } .is-teal { --c: #2EC4B6; } .is-pink { --c: #FF6BAA; }

.mk-mistakes, .mk-plan, .mk-widgets { min-height: 220px; }
.mm-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mm-head strong { font-size: 14.5px; }
.mm-head span { padding: 0 8px; border-radius: 999px; background: var(--orange-50); color: var(--orange); font-size: 12px; font-weight: 700; }
.mk-mistakes ul { display: grid; gap: 8px; }
.mk-mistakes li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--m-soft); box-shadow: inset 3px 0 0 var(--c); }
.mk-mistakes li > span { display: grid; min-width: 0; font-size: 13px; font-weight: 550; }
.mk-mistakes li > span > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-mistakes small { color: var(--m-ink-3); font-size: 11.5px; font-weight: 500; }
.mk-mistakes em { flex: none; margin-left: auto; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-style: normal; font-weight: 600; }
.mk-mistakes .is-due { background: var(--orange-50); color: var(--orange); }
.mk-mistakes .is-done { background: var(--green-50); color: var(--green); }

.pl-todos { display: grid; gap: 10px; }
.pl-todos li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.pl-todos li > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-todos small { margin-left: auto; flex: none; color: var(--m-ink-3); font-size: 11.5px; }
.pl-check { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border: 1.6px solid var(--m-ink-3); border-radius: 50%; color: transparent; }
.pl-check .icon { font-size: 12px; stroke-width: 3; }
.pl-todos .is-done .pl-check { border-color: var(--green); background: var(--green); color: #fff; animation: check 6s ease infinite; }
.pl-todos .is-done > span:nth-child(2) { color: var(--m-ink-3); text-decoration: line-through; }
.pl-goal { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--m-line); }
.pl-ring { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--blue) 0 60%, var(--m-track) 0); }
.pl-ring span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--m-panel); font-size: 11px; font-weight: 700; }
.pl-goal > span:last-child { display: grid; min-width: 0; }
.pl-goal strong { font-size: 13.5px; }
.pl-goal small { display: inline-flex; align-items: center; gap: 5px; color: var(--m-ink-3); font-size: 12px; }

.mk-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; background: linear-gradient(140deg, #E5EBFF, #F1E8FF); }
@media (prefers-color-scheme: dark) { .mk-widgets { background: linear-gradient(140deg, #1B2240, #261C3D); } }
.wd { display: flex; flex-direction: column; gap: 2px; min-height: 120px; padding: 12px 13px; border-radius: 20px; background: var(--m-panel); box-shadow: 0 8px 20px -12px rgba(18, 21, 33, 0.3); }
.wd-label { display: flex; align-items: center; gap: 5px; color: var(--m-ink-3); font-size: 11px; font-weight: 600; }
.wd-label .icon { font-size: 12px; }
.wd-next { background: linear-gradient(160deg, #4A72FF, #2B47D4); color: #fff; }
.wd-next .wd-label { color: rgba(255, 255, 255, 0.75); }
.wd-next strong { margin-top: 6px; font-size: 16px; line-height: 1.3; }
.wd-next small { color: rgba(255, 255, 255, 0.8); font-size: 11px; }
.wd-bar { margin-top: auto; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.wd-bar i { display: block; width: 64%; height: 100%; border-radius: 2px; background: #fff; }
.wd-todo ul { display: grid; gap: 6px; margin-top: 8px; }
.wd-todo li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; line-height: 1.3; }
.wd-todo li i { flex: none; width: 11px; height: 11px; border: 1.5px solid var(--m-ink-3); border-radius: 50%; }
.wd-todo .is-done { color: var(--m-ink-3); text-decoration: line-through; }
.wd-todo .is-done i { border-color: var(--green); background: var(--green); }
.wd-shortcuts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wd-shortcuts span { display: flex; flex-direction: column; gap: 10px; padding: 10px 11px; border-radius: 14px; color: #fff; font-size: 11.5px; font-weight: 600; background: linear-gradient(150deg, #5B83FF, #3157E8); }
.wd-shortcuts span:nth-child(2) { background: linear-gradient(150deg, #FFAE45, #F07B00); }
.wd-shortcuts span:nth-child(3) { background: linear-gradient(150deg, #B590FF, #7C5CF5); }
.wd-shortcuts .icon { font-size: 16px; }

/* ---------- 小澄 ---------- */

.xiaocheng {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(80, 110, 255, 0.28), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(150, 100, 255, 0.2), transparent 70%),
    var(--band);
}
.xiaocheng::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent);
}
.xc-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.xiaocheng .kicker { color: #B9A8FF; }
.xiaocheng h2 { color: #fff; }
.xiaocheng .section-lead { color: rgba(255, 255, 255, 0.72); }
.xc-mascot { margin: 0 0 22px -8px; --mascot-paper: #FFFEFA; --mascot-ink: #121521; }
.xc-principles { display: grid; gap: 18px; margin-top: 36px; }
.xc-principles li { display: flex; gap: 14px; color: rgba(255, 255, 255, 0.66); font-size: 15px; line-height: 1.7; }
.xc-principles li > .icon { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); color: #A9BAFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.xc-principles strong { display: block; margin-bottom: 2px; color: #fff; font-size: 16px; }

.mascot { overflow: visible; }
.mascot-paper { fill: var(--mascot-paper, #FFFEFA); }
.mascot-ink { stroke: var(--mascot-ink, #121521); }
.mascot-eyes { fill: var(--mascot-ink, #121521); }
.mascot-shadow { fill: #000; opacity: 0.12; }
.xiaocheng .mascot-shadow { fill: #A9BAFF; opacity: 0.18; }
.mascot-sparkles { fill: #CE82FF; }
.mascot .mascot-line { stroke-dasharray: 1; }
.mascot.is-lively .mascot-figure { transform-box: fill-box; transform-origin: 50% 100%; animation: mascot-bob 3.2s ease-in-out infinite, mascot-tilt 4.7s ease-in-out infinite; }
.mascot.is-lively .mascot-shadow { transform-box: fill-box; transform-origin: center; animation: mascot-shadow 3.2s ease-in-out infinite; }
.mascot.is-lively .mascot-eyes ellipse { transform-box: fill-box; transform-origin: center; animation: mascot-blink 4.1s infinite; }
.mascot.is-lively .mascot-sparkles { transform-box: fill-box; transform-origin: center; animation: mascot-twinkle 2.4s ease-in-out infinite; }
.xc-copy.is-pending .mascot-line { stroke-dashoffset: 1; }
.xc-copy.is-visible .mascot-line { animation: mascot-draw 1s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both; }
.xc-copy.is-visible .mascot-body { animation-delay: 0.15s; }
.xc-copy.is-visible .mascot-fold { animation-delay: 0.7s; }
.xc-copy.is-visible .mascot-mouth { animation-delay: 0.95s; }

.xc-chat { overflow: hidden; border-radius: 26px; background: var(--m-panel); color: var(--m-ink); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--m-line); }
.chat-head strong { font-size: 15px; }
.chat-avatar { --mascot-paper: var(--m-panel); --mascot-ink: var(--m-ink); }
.chat-avatar .mascot-shadow { display: none; }
.chat-scope { margin-left: auto; color: var(--m-ink-3); }
.chat-scope .icon { font-size: 16px; }
.chat-body { display: grid; gap: 16px; padding: 20px 18px; }
.msg { font-size: 14.5px; line-height: 1.7; }
.msg-user { justify-self: end; max-width: 82%; padding: 10px 15px; border-radius: 20px 20px 6px 20px; background: var(--blue-solid); color: #fff; }
.msg-agent { display: grid; gap: 10px; }
.msg-context { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-context span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; background: var(--m-bg); color: var(--m-ink-2); font-size: 12px; }
.msg-context .icon { color: var(--green); font-size: 13px; stroke-width: 2.6; }
.proposal { padding: 14px 16px; border: 1px solid var(--m-line); border-radius: 16px; background: var(--m-soft); }
.proposal-kind { display: flex; align-items: center; gap: 6px; color: var(--blue); font-size: 12.5px; font-weight: 650; }
.proposal-kind .icon { font-size: 15px; }
.proposal strong { display: block; margin-top: 6px; font-size: 15px; }
.proposal ul { display: grid; gap: 3px; margin-top: 8px; color: var(--m-ink-2); font-size: 13.5px; }
.proposal-actions { display: flex; gap: 8px; margin-top: 14px; }
.proposal-actions span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--m-bg); color: var(--m-ink-2); font-size: 13.5px; font-weight: 600; }
.proposal-actions .is-primary { position: relative; background: var(--blue-solid); color: #fff; }
.proposal-actions .is-primary::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--blue); border-radius: inherit; opacity: 0; animation: pulse 2.6s ease-out infinite; }
.proposal-actions .icon { font-size: 15px; stroke-width: 2.4; }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0 18px 18px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--m-bg); color: var(--m-ink-3); font-size: 14px; }
.chat-input i { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; background: var(--blue-solid); color: #fff; }
.chat-input .icon { font-size: 16px; stroke-width: 2.2; }
.xc-chat.is-visible .msg-user { animation: msg-in 0.6s 0.15s both; }
.xc-chat.is-visible .msg-agent > * { animation: msg-in 0.6s both; }
.xc-chat.is-visible .msg-context { animation-delay: 0.6s; }
.xc-chat.is-visible .msg-agent > p:nth-child(2) { animation-delay: 0.9s; }
.xc-chat.is-visible .proposal { animation-delay: 1.3s; }

/* ---------- 多端与隐私 ---------- */

.devices-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.device-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.device-list li { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.device-list li > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--blue-50); color: var(--blue); }
.device-list strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; }
.sign-in { margin-top: 28px; }
.sign-in p { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.sign-in ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sign-in li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 550; }
.sign-in li .icon { font-size: 16px; color: var(--ink-3); }
.sign-in small { display: block; margin-top: 10px; color: var(--ink-3); font-size: 13px; }
.privacy-card { padding: 34px 32px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(170deg, var(--surface), var(--paper-2)); }
.privacy-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--green-50); color: var(--green); }
.privacy-icon .icon { font-size: 26px; }
.privacy-card h3 { margin-top: 20px; font-size: 23px; line-height: 1.35; }
.privacy-card ul { display: grid; gap: 14px; margin: 22px 0 26px; }
.privacy-card li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.privacy-card li .icon { margin-top: 0.3em; color: var(--green); font-size: 16px; stroke-width: 2.4; }

/* ---------- 下载 ---------- */

.download {
  position: relative; overflow: hidden;
  background: radial-gradient(70% 80% at 80% 0%, rgba(140, 160, 255, 0.45), transparent 70%), linear-gradient(165deg, #3A63F5 0%, #2B4CDB 55%, #2140BD 100%);
}
.download::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent);
}
.download .wrap { position: relative; }
.on-blue .kicker { color: rgba(255, 255, 255, 0.78); }
.on-blue h2 { color: #fff; }
.on-blue .section-lead { color: rgba(255, 255, 255, 0.82); font-size: 17px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
[data-platform="android"] #android { order: -1; }
.dl-card { display: flex; flex-direction: column; padding: 30px; border-radius: 28px; background: var(--surface); box-shadow: 0 30px 70px -30px rgba(10, 20, 80, 0.6); scroll-margin-top: 96px; }
.dl-head { display: flex; align-items: flex-start; gap: 16px; }
.dl-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-50); color: var(--blue); }
.dl-icon .icon { font-size: 28px; }
.dl-head > span:last-child { display: grid; gap: 2px; }
.dl-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-badge, .dl-match { padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.dl-badge { background: var(--blue-50); color: var(--blue); }
.dl-match { display: none; background: var(--green-50); color: var(--green); }
[data-platform="ios"] #ios .dl-match, [data-platform="android"] #android .dl-match { display: inline-block; }
[data-platform="ios"] #ios, [data-platform="android"] #android { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55), 0 30px 70px -30px rgba(10, 20, 80, 0.6); }
.dl-head h3 { margin-top: 6px; font-size: 23px; line-height: 1.3; }
.dl-head small { color: var(--ink-3); font-size: 13.5px; }
.dl-body { display: grid; grid-template-columns: minmax(0, 1fr) 136px; gap: 28px; flex: 1; margin-top: 26px; }
.dl-main { display: flex; flex-direction: column; min-width: 0; }
.dl-steps { display: grid; gap: 12px; counter-reset: none; }
.dl-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.dl-steps span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); color: var(--ink-2); font-size: 12.5px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 26px; }
.dl-actions .text-link { font-size: 14px; }
.dl-size:not(:empty)::before { content: "·"; margin: 0 2px 0 4px; opacity: 0.7; }
.dl-size { font-weight: 500; opacity: 0.85; }
.dl-status { color: var(--ink-3); font-size: 14px; }
.dl-status:empty { display: none; }
.dl-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.dl-facts div { display: contents; }
.dl-facts dt { color: var(--ink-3); }
.dl-facts dd { color: var(--ink-2); font-weight: 550; min-width: 0; }
.dl-facts code { display: block; font-size: 11.5px; font-weight: 400; line-height: 1.6; word-break: break-all; color: var(--ink-3); }
.dl-notes { margin-top: 12px; font-size: 13.5px; }
.dl-notes summary { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 600; cursor: pointer; list-style: none; }
.dl-notes summary::-webkit-details-marker { display: none; }
.dl-notes summary .icon { font-size: 15px; transition: transform 0.2s; }
.dl-notes[open] summary .icon { transform: rotate(180deg); }
.dl-notes p { margin-top: 8px; color: var(--ink-2); line-height: 1.75; }
.dl-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.dl-qr .qr { width: 136px; height: 136px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.dl-qr small { color: var(--ink-3); font-size: 12px; line-height: 1.5; }
[data-platform="ios"] .dl-qr, [data-platform="android"] .dl-qr { display: none; }
[data-platform="ios"] .dl-body, [data-platform="android"] .dl-body { grid-template-columns: minmax(0, 1fr); }
.community {
  display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 18px 22px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s;
}
.community:hover { background: rgba(255, 255, 255, 0.16); }
.community > .icon { font-size: 26px; opacity: 0.9; }
.community strong { display: block; font-size: 16px; }
.community small { display: block; color: rgba(255, 255, 255, 0.75); font-size: 13.5px; }
.community-number { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-size: 14px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.community-number .icon { font-size: 15px; }

/* ---------- 常见问题 ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
.faq .section-head { position: sticky; top: 112px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-toggle { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--paper-2); color: var(--ink-2); transition: transform 0.25s, background-color 0.2s; }
.faq-list details[open] .faq-toggle { transform: rotate(45deg); background: var(--blue-50); color: var(--blue); }
.faq-answer { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.faq-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; }
.faq-links a { color: var(--blue); font-weight: 600; }
.faq-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 页脚 ---------- */

.site-footer { padding: 72px 0 36px; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 280px; color: var(--ink-3); font-size: 14px; }
.footer-col { display: grid; align-content: start; gap: 9px; font-size: 14.5px; }
.footer-col p { margin-bottom: 4px; color: var(--ink); font-size: 13.5px; font-weight: 650; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-email { display: grid; margin-top: 2px; }
.footer-email small { color: var(--ink-3); font-size: 12.5px; }
.footer-email .contact-email { color: var(--ink-2); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.footer-base a:hover { color: var(--ink); }

/* ---------- 法律页 ---------- */

.page-main { width: min(100% - 40px, 780px); margin: 0 auto; padding: 56px 0 104px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: 14px; }
.back-link .icon { font-size: 16px; }
.back-link:hover { color: var(--blue); }
.page-heading h1, .document-heading h1 { margin-top: 20px; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.2; letter-spacing: -0.02em; }
.page-heading p, .document-summary { margin-top: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.8; }
.site-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 36px 0 0; padding: 20px 0; border-block: 1px solid var(--line); }
.site-meta dt, .document-heading dt { color: var(--ink-3); font-size: 12.5px; }
.site-meta dd, .document-heading dd { color: var(--ink); font-size: 15px; font-weight: 550; }
.document-index { margin-top: 48px; }
.document-index h2 { margin-bottom: 8px; font-size: 18px; }
.document-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.document-row > span:first-child { display: grid; gap: 4px; }
.document-row strong { font-size: 17.5px; }
.document-row small { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.document-row > span:last-child { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--blue); font-size: 14px; font-weight: 600; }
.document-row .icon { font-size: 16px; transition: transform 0.2s; }
.document-row:hover strong { color: var(--blue); }
.document-row:hover .icon { transform: translateX(3px); }
.document-heading dl { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; padding: 16px 0; border-block: 1px solid var(--line); }
.document-heading dl div { display: grid; }
.notice-box { margin: 28px 0 8px; padding: 18px 22px; border-radius: 16px; background: var(--blue-50); color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.notice-box strong { color: var(--ink); }
.legal-section h2 { margin: 40px 0 14px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 21px; line-height: 1.4; }
.legal-section:first-of-type h2 { border-top: 0; padding-top: 8px; }
.legal-section h3 { margin: 26px 0 8px; font-size: 17px; }
.legal-section p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; line-height: 1.9; }
.legal-section ul, .legal-section ol { margin: 6px 0 18px; padding-left: 1.4em; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-section li { margin: 6px 0; padding-left: 0.2em; }
.legal-section li::marker { color: var(--ink-3); }
.legal-section strong { color: var(--ink); }
.legal-section a, .notice-box a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.table-wrap { margin: 18px 0 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.table-wrap:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
caption { padding: 14px 18px 4px; caption-side: top; color: var(--ink-3); font-size: 13px; text-align: left; }
th { padding: 12px 18px; background: var(--paper-2); color: var(--ink); font-size: 13.5px; font-weight: 650; text-align: left; white-space: nowrap; }
td { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.7; vertical-align: top; }
td:first-child { color: var(--ink); font-weight: 550; white-space: nowrap; }
.not-found { padding: 120px 0 140px; text-align: center; }
.not-found-code { color: var(--blue); font: 600 14px/1 var(--mono); letter-spacing: 0.2em; }
.not-found h1 { margin-top: 16px; font-size: clamp(32px, 5vw, 48px); }
.not-found > p:not(.not-found-code):not(.not-found-actions) { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* ---------- 动画 ---------- */

@keyframes pulse { 0% { transform: scale(0.7); opacity: 0.7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes wave { 0%, 100% { transform: scaleY(0.28); } 50% { transform: scaleY(1); } }
@keyframes typing { 0% { max-width: 0; } 62%, 100% { max-width: var(--type-width); } }
@keyframes caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@keyframes draw { 0%, 8% { stroke-dashoffset: 1; } 38%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes answer { 0%, 30% { border-color: var(--m-line); background: transparent; } 36%, 94% { border-color: var(--green); background: var(--green-50); } 100% { border-color: var(--m-line); background: transparent; } }
@keyframes answer-mark { 0%, 30% { background: var(--m-bg); color: inherit; } 36%, 94% { background: var(--green); color: #fff; } 100% { background: var(--m-bg); color: inherit; } }
@keyframes answer-check { 0%, 32% { opacity: 0; transform: scale(0.6); } 38%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes wrong { 0%, 30% { border-color: var(--m-line); background: transparent; } 36%, 94% { border-color: var(--red); background: var(--red-50); } 100% { border-color: var(--m-line); background: transparent; } }
@keyframes toast { 0%, 46% { opacity: 0; transform: translateY(14px); } 52%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes frag { 0%, 15% { opacity: 1; transform: none; } 40%, 85% { opacity: 0.35; transform: translateX(6px); } 100% { opacity: 1; transform: none; } }
@keyframes point { 0%, 8% { opacity: 0; transform: translateX(-6px); } 18%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes scan { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(260%); } }
@keyframes ocr { 0%, 45% { opacity: 0; } 55%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes check { 0%, 25% { background: transparent; border-color: var(--m-ink-3); color: transparent; } 32%, 94% { background: var(--green); border-color: var(--green); color: #fff; } 100% { background: transparent; border-color: var(--m-ink-3); color: transparent; } }
@keyframes mascot-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mascot-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -0.6px; } }
@keyframes mascot-tilt { 0%, 100% { rotate: -1.8deg; } 50% { rotate: 1.8deg; } }
@keyframes mascot-shadow { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.94); } }
@keyframes mascot-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }
@keyframes mascot-twinkle { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: 0.55; scale: 0.85; } }

.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .typing { max-width: none; }
  .caret, .scan { display: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .bento-notes { grid-column: span 12; }
  .bento-timetable, .bento-mistakes, .bento-plan, .bento-widgets { grid-column: span 6; }
  .xc-grid { gap: 48px; }
  .device-list { grid-template-columns: 1fr; }
  .device-list li { grid-template-columns: auto 1fr; align-items: start; }
}

@media (max-width: 880px) {
  .header-nav { display: none; }
  .section { padding: 88px 0; }
  .steps { grid-template-columns: 1fr; }
  .xc-grid, .devices-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid { gap: 32px; }
  .faq .section-head { position: static; }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .site-name small { display: none; }
  .language-link span { display: none; }
  .hero { padding-top: 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cta { justify-content: flex-start; }
  .hero-stage { margin-top: 44px; }
  .section { padding: 72px 0; }
  .section-lead { font-size: 16.5px; }
  .steps, .bento { margin-top: 36px; }
  .step-art { height: 230px; }
  .step-copy { padding: 22px 22px 26px; }
  .bento-card { grid-column: span 12 !important; }
  .bento-copy { padding: 24px 22px 0; }
  .bento-art { padding: 22px 16px 0; }
  .mk-note { grid-template-columns: 1fr; }
  .mk-outline { display: none; }
  .mk-slash { display: none; }
  .mk-note { min-height: 0; }
  .tt-scroll { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .tt-grid { width: 400px; }
  .vg-organize { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .frags { display: none; }
  .vg-arrow { display: none; }
  .vg-capture { gap: 10px; padding: 22px 16px; }
  .dl-card { padding: 24px 22px; }
  .dl-body { grid-template-columns: 1fr; }
  .dl-qr { display: none; }
  .community { flex-wrap: wrap; }
  .community-number { margin-left: 42px; }
  .faq-answer { padding-right: 0; }
  .site-meta { grid-template-columns: 1fr; gap: 12px; }
  .document-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-base { flex-direction: column; }
}
