/* ─────────────────────────────────────────────────────────────
   Qing Tools · 官网样式
   深色玻璃为主，浅色为辅；字体用系统栈，不依赖外网
   ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --bg: #05060b;
  --bg-soft: #0a0c14;
  --panel: rgba(255, 255, 255, .045);
  --panel-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #eef1fa;
  --ink-soft: #c7cde0;
  --muted: #98a1b8;
  --dim: #6a7288;
  --accent: #8f7bff;
  --accent-2: #41d6c3;
  --red: #ff453a;
  --amber: #ffbb40;
  --isl-bg: linear-gradient(180deg, #10131c, #05060b 70%);
  --isl-bg-hi: rgba(255, 255, 255, .07);
  --shadow: 0 26px 70px rgba(0, 0, 0, .6);
  --spring: cubic-bezier(.32, 1.24, .42, 1);
  --smooth: cubic-bezier(.4, 0, .2, 1);
  --r-lg: 24px;
  --r-md: 16px;
  --maxw: 1180px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6fa;
  --bg-soft: #eceef5;
  --panel: rgba(255, 255, 255, .78);
  --panel-2: rgba(255, 255, 255, .95);
  --line: rgba(18, 22, 34, .1);
  --line-2: rgba(18, 22, 34, .18);
  --ink: #12141d;
  --ink-soft: #333a4c;
  --muted: #5c6478;
  --dim: #8b93a8;
  --isl-bg: linear-gradient(180deg, #ffffff, #eef1f7);
  --isl-bg-hi: rgba(18, 22, 34, .06);
  --shadow: 0 24px 60px rgba(28, 34, 60, .16);
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15.5px/1.7 "Segoe UI", -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em; }
.dim { color: var(--dim); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mt { margin-top: 22px; }

/* ── 背景 */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.g1 { width: 720px; height: 720px; left: 50%; top: -420px; margin-left: -360px; background: radial-gradient(circle, rgba(143, 123, 255, .55), transparent 65%); }
.g2 { width: 520px; height: 520px; right: -180px; top: 340px; background: radial-gradient(circle, rgba(65, 214, 195, .28), transparent 65%); }
.g3 { width: 620px; height: 620px; left: -240px; top: 900px; background: radial-gradient(circle, rgba(255, 120, 180, .22), transparent 65%); }
html[data-theme="light"] .glow { opacity: .34; }
.grain {
  position: absolute; inset: 0; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.5'/></svg>");
}

/* ── 导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  transition: backdrop-filter .3s, background .3s, box-shadow .3s, padding .3s;
}
.nav.stuck {
  padding: 10px 24px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.mark { position: relative; width: 30px; height: 18px; border-radius: 9px; background: linear-gradient(180deg, #1b2030, #070910); border: 1px solid rgba(255, 255, 255, .12); display: inline-block; }
.mark i { position: absolute; left: 5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.mark b { position: absolute; right: 5px; top: 50%; width: 9px; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255, 255, 255, .55); }
html[data-theme="light"] .mark { background: linear-gradient(180deg, #e6e9f3, #cfd5e6); border-color: rgba(18, 22, 34, .12); }
html[data-theme="light"] .mark b { background: rgba(18, 22, 34, .5); }
.mark.small { width: 24px; height: 15px; border-radius: 8px; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 7px 12px; border-radius: 9px; text-decoration: none;
  color: var(--muted); font-size: 13.5px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--panel); }
.nav-right { display: flex; align-items: center; gap: 8px; }
@media (max-width: 820px) { .nav-links { display: none; } .nav-right { margin-left: auto; } }

.icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer;
  border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-soft);
  transition: background .2s, color .2s, transform .15s;
}
.icon-btn:hover { background: var(--panel-2); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }

/* ── 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 12px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: transform .15s var(--smooth), box-shadow .2s, background .2s, border-color .2s;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 14px; }
.btn-primary {
  color: #fff; border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, #9d8bff, #7a63f2);
  box-shadow: 0 10px 26px rgba(124, 102, 245, .38), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(124, 102, 245, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-ghost { color: var(--ink); background: var(--panel); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--line-2); }

/* ── 排版骨架 */
main { display: block; }
section { max-width: var(--maxw); margin: 0 auto; padding: 96px 24px; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.kicker { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 650; }
h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 58px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; letter-spacing: -.025em; font-weight: 680; }
h3 { margin: 0 0 8px; font-size: 16.5px; letter-spacing: -.01em; font-weight: 650; }
.sec-sub { margin: 0; color: var(--muted); font-size: 15px; }
.grad { background: linear-gradient(96deg, #b9a8ff, #8f7bff 40%, #41d6c3); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 88px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 22%, transparent); animation: livePulse 2.4s infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 22%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent-2) 6%, transparent); } }
.lede { margin: 0 0 28px; color: var(--ink-soft); font-size: 16px; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { margin: 18px 0 0; font-size: 12.5px; color: var(--dim); }
.fineprint a { color: var(--muted); }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; } }

/* ── 演示台 */
.stage { position: relative; height: 520px; }
.desk {
  position: absolute; inset: 62px 0 0 0; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft); box-shadow: var(--shadow);
}
.desk-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--panel); }
.desk-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.desk-bar i:nth-child(1) { background: #ff5f57; } .desk-bar i:nth-child(2) { background: #febc2e; } .desk-bar i:nth-child(3) { background: #28c840; }
.desk-bar .addr { margin-left: 10px; height: 20px; flex: 1; border-radius: 6px; background: var(--panel-2); font-size: 10px; color: var(--dim); display: flex; align-items: center; padding: 0 8px; }
.desk-body { position: absolute; inset: 34px 0 0 0; }
.wall { position: absolute; inset: 0; background:
  radial-gradient(600px 300px at 20% 10%, rgba(143, 123, 255, .22), transparent 70%),
  radial-gradient(500px 300px at 85% 90%, rgba(65, 214, 195, .16), transparent 70%),
  linear-gradient(180deg, #0d1018, #06070d 70%); }
html[data-theme="light"] .wall { background:
  radial-gradient(600px 300px at 20% 10%, rgba(143, 123, 255, .2), transparent 70%),
  radial-gradient(500px 300px at 85% 90%, rgba(65, 214, 195, .18), transparent 70%),
  linear-gradient(180deg, #f2f4fb, #e4e8f3 70%); }

/* 岛本体 */
.island {
  position: absolute; left: 50%; top: 62px; transform: translateX(-50%); z-index: 4;
  width: var(--w); height: var(--h); border-radius: var(--r);
  background: var(--isl-bg); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: visible; cursor: pointer;
  transition: width .5s var(--spring), height .5s var(--spring), border-radius .5s var(--spring), top .4s var(--smooth);
  --w: 168px; --h: 32px; --r: 16px;
}
html[data-theme="light"] .island { border-color: rgba(18, 22, 34, .1); box-shadow: 0 16px 36px rgba(28, 34, 60, .18), inset 0 1px 0 rgba(255, 255, 255, .9); }
.island[data-state="idle"] { --w: 168px; --h: 32px; --r: 16px; }
.island[data-state="compact"] { --w: 520px; --h: 54px; --r: 18px; }
.island[data-state="panel"] { --w: 520px; --h: 362px; --r: 22px; }
.island[data-state="peek"] { --w: 380px; --h: 62px; --r: 20px; }
.island[data-state="drop"] { --w: 458px; --h: 78px; --r: 20px; }

/* 刘海样式 */
.island[data-style="notch"] { top: 62px; }
.island[data-style="notch"][data-state="idle"] { --w: 206px; --h: 9px; --r: 0 0 9px 9px; }
.island[data-style="notch"][data-state="compact"] { --r: 0 0 18px 18px; }
.island[data-style="notch"][data-state="panel"] { --r: 0 0 22px 22px; }
.island[data-style="notch"][data-state="peek"] { --r: 0 0 20px 20px; }
.island[data-style="notch"][data-state="drop"] { --r: 0 0 20px 20px; }

.surface { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden; }
.surface::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 255, 255, .09), transparent 60%),
    radial-gradient(80% 60% at 100% 120%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}
.surface::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--isl-bg-hi); opacity: .28; mix-blend-mode: soft-light; }

/* 视图 */
.v { position: absolute; inset: 0; border-radius: inherit; opacity: 0; transform: scale(.97); pointer-events: none; transition: opacity .22s var(--smooth), transform .4s var(--spring); }
.island[data-state="idle"] .v-idle,
.island[data-state="compact"] .v-compact,
.island[data-state="panel"] .v-panel,
.island[data-state="peek"] .v-peek,
.island[data-state="drop"] .v-drop { opacity: 1; transform: none; pointer-events: auto; }

/* 空闲 */
.v-idle { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink-soft); }
.pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px var(--accent); }
.v-idle .clock { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.island[data-style="notch"][data-state="idle"] .v-idle { opacity: 0; }

/* 快捷条 */
.v-compact { display: flex; align-items: center; gap: 2px; padding: 0 8px; }
.v-compact .q {
  display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 9px; border-radius: 10px;
  font-size: 11.5px; color: var(--ink-soft); white-space: nowrap; transition: background .18s, color .18s;
}
.v-compact .q:hover { background: var(--isl-bg-hi); color: var(--ink); }
.badge { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; font-size: 10px; font-weight: 700; display: inline-grid; place-items: center; background: color-mix(in srgb, var(--accent) 26%, transparent); color: #d9d2ff; }
.badge.red { background: var(--red); color: #fff; box-shadow: 0 0 8px rgba(255, 69, 58, .5); }

/* 图标 */
.qi { position: relative; display: inline-block; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .85; }
.qi.mail { border-radius: 3px; }
.qi.mail::after { content: ""; position: absolute; left: 1px; right: 1px; top: 1px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) scale(.7); transform-origin: center; opacity: .8; }
.qi.note { border-radius: 3px 3px 3px 1px; }
.qi.note::after { content: ""; position: absolute; left: 2px; right: 2px; top: 3px; height: 1.5px; background: currentColor; box-shadow: 0 3px 0 currentColor; }
.qi.clip { border-radius: 2px; transform: rotate(-6deg); }
.qi.file { border-radius: 2px 6px 2px 2px; }
.qi.chat { border-radius: 6px 6px 6px 2px; }
.qi.tool { border-radius: 50%; }
.qi.tool::after { content: ""; position: absolute; left: 50%; top: 1px; width: 1.5px; height: 4px; background: currentColor; transform: translateX(-50%); }
.qi.gear { border-radius: 50%; }
.qi.gear::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1.5px solid currentColor; }

/* 面板 */
.v-panel { display: flex; flex-direction: column; overflow: hidden; }
.p-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px 6px; }
.p-brand { font-size: 12px; font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.p-clock { margin-left: auto; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.p-tools { display: flex; gap: 6px; color: var(--dim); }
.pi { width: 12px; height: 12px; border: 1.4px solid currentColor; border-radius: 3px; display: inline-block; }
.pi.pin { border-radius: 3px 3px 0 0; }
.p-tabs { display: flex; gap: 1px; padding: 4px 8px 6px; border-bottom: 1px solid var(--line); }
.pt { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px; border-radius: 8px; font-size: 10.5px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .18s, color .18s; }
.pt:hover { background: var(--isl-bg-hi); color: var(--ink-soft); }
.pt.on { color: var(--ink); background: var(--isl-bg-hi); }
.pt em { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.p-body { position: relative; flex: 1; overflow: hidden; }
.pane { position: absolute; inset: 0; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .3s var(--smooth); }
.pane.on { opacity: 1; transform: none; }
.p-sub { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); padding: 0 2px 4px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 6px var(--accent-2); }

.row { display: flex; gap: 9px; padding: 7px 8px; border-radius: 10px; background: var(--panel); border: 1px solid transparent; }
html[data-theme="light"] .row { background: rgba(255, 255, 255, .72); border-color: rgba(18, 22, 34, .06); }
.row.pinned { background: color-mix(in srgb, var(--amber) 10%, transparent); }
.av { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #6f7bd6, #4a53a6); }
.av.thumb1 { background: linear-gradient(135deg, #8f7bff, #41d6c3); }
.av.f-css { background: linear-gradient(180deg, #6aa9ff, #3f6fd8); font-size: 8.5px; }
.av.f-pdf { background: linear-gradient(180deg, #ff8f6a, #d85a3f); font-size: 8.5px; }
.rt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rt b { font-size: 11.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt span { font-size: 10.5px; color: var(--muted); }
.row.unread .rt b::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 19px; padding: 0 7px; border-radius: 6px; font-size: 10px; font-weight: 600; }
.chip.code { color: #ffd48a; background: rgba(255, 186, 66, .16); border: 1px solid rgba(255, 186, 66, .28); }
.chip.link { color: #a6ccff; background: rgba(66, 133, 244, .16); border: 1px solid rgba(66, 133, 244, .28); }
html[data-theme="light"] .chip.code { color: #8a5300; background: rgba(255, 186, 66, .24); border-color: rgba(160, 96, 0, .34); }
html[data-theme="light"] .chip.link { color: #14509e; background: rgba(66, 133, 244, .14); border-color: rgba(20, 80, 158, .24); }

.rooms { display: flex; gap: 6px; padding-bottom: 4px; }
.room { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 7px; font-size: 10.5px; color: var(--muted); background: var(--panel); }
.room i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
.room.on { color: var(--ink); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.room em { font-style: normal; font-size: 9.5px; padding: 0 4px; border-radius: 5px; background: var(--amber); color: #241a00; font-weight: 700; }
.msg { display: flex; flex-direction: column; gap: 3px; max-width: 84%; }
.msg.them { align-self: flex-start; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg .who { font-size: 9.5px; color: var(--dim); }
.bub { padding: 6px 9px; border-radius: 10px 10px 10px 3px; background: var(--panel-2); font-size: 11.5px; color: var(--ink); }
.msg.me .bub { background: linear-gradient(180deg, #9d8bff, #7a63f2); color: #fff; border-radius: 10px 10px 3px 10px; }

/* 通知条 */
.v-peek { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.peek-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 24%, transparent); color: #d9d2ff; }
.peek-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.peek-main b { font-size: 12px; font-weight: 650; }
.peek-main span { font-size: 10.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.peek-hint { flex: none; margin-left: auto; font-size: 10px; font-weight: 650; color: var(--accent); padding: 3px 7px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.peek-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; overflow: hidden; border-radius: 0 0 var(--r) var(--r); }
.peek-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.island[data-state="peek"] .peek-bar i { animation: peekRun 3.4s linear forwards; }
@keyframes peekRun { from { width: 0; } to { width: 100%; } }

/* 拖放 */
.v-drop { display: flex; gap: 8px; padding: 9px; }
.half { flex: 1; border-radius: 13px; border: 1px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--panel); }
.half.hot { border-style: solid; border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.half b { font-size: 11.5px; }
.half span { font-size: 10px; color: var(--muted); }

/* 卫星 */
.sat {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--isl-bg); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  transition: opacity .3s, transform .4s var(--spring);
}
html[data-theme="light"] .sat { border-color: rgba(18, 22, 34, .1); box-shadow: 0 8px 18px rgba(28, 34, 60, .16); }
.sat-timer { left: calc(100% + 8px); width: 38px; height: 38px; }
.sat-timer b { font-size: 9.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); }
.sat-timer .ring { position: absolute; inset: 2px; transform: rotate(-90deg); }
.sat-timer .rbg { fill: none; stroke: var(--line-2); stroke-width: 2.4; }
.sat-timer .rfg { fill: none; stroke: url(#x); stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 116.2; stroke-dashoffset: 46; }
.sat-mail, .sat-chat { width: 30px; height: 30px; font-size: 11px; font-weight: 700; color: #fff; }
.sat-mail { left: calc(100% + 52px); background: linear-gradient(180deg, #ff5f57, #e0322a); }
.sat-chat { left: calc(100% + 88px); background: linear-gradient(180deg, #9d8bff, #7a63f2); }
.island[data-state="panel"] .sat,
.island[data-state="peek"] .sat,
.island[data-state="drop"] .sat { opacity: 0; transform: translateY(-50%) scale(.85); pointer-events: none; }
.island[data-style="notch"][data-state="idle"] .sat { opacity: 0; }

/* 演示控件 */
.demo-ui { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); }
.seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.seg button.on { background: var(--panel-2); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.chip-btn { height: 34px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-soft); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip-btn:hover { background: var(--panel-2); color: var(--ink); border-color: var(--line-2); }
.demo-tip { width: 100%; text-align: center; font-size: 11.5px; color: var(--dim); }

/* ── 截图 */
.shots { padding-top: 40px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 460px); gap: 18px; overflow-x: auto; padding: 4px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.shot { margin: 0; scroll-snap-align: start; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-soft); }
.shot figcaption { display: flex; flex-direction: column; gap: 3px; padding: 12px 4px 0; }
.shot figcaption b { font-size: 14px; }
.shot figcaption span { font-size: 12.5px; color: var(--muted); }

/* ── 功能卡 */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card {
  position: relative; padding: 22px 20px 24px; border-radius: var(--r-lg);
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .3s var(--smooth), border-color .3s, background .3s, box-shadow .3s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px 180px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--panel-2); box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.card:hover::after { opacity: 1; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.72; }
.card .ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); color: #cfc6ff; font-size: 17px; }
html[data-theme="light"] .card .ic { color: #5b47d6; }
.i-mail::before { content: "✉"; } .i-note::before { content: "✎"; } .i-clip::before { content: "❐"; }
.i-file::before { content: "▤"; } .i-chat::before { content: "❝"; } .i-tool::before { content: "⏱"; } .i-gear::before { content: "⚙"; }

/* ── 用法 */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }
.how-card { padding: 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.keys { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.keys td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.keys tr:last-child td { border-bottom: 0; }
.keys td:first-child { width: 46%; white-space: nowrap; }
kbd { display: inline-block; min-width: 22px; padding: 2px 6px; margin-right: 3px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); font: 600 11.5px/1.6 ui-monospace, Consolas, monospace; color: var(--ink-soft); text-align: center; }
.dots { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; }
.dots li { margin: 7px 0; }
.dots b { color: var(--ink); font-weight: 600; }

/* ── 下载 */
.download { padding-top: 40px; }
.dl-card {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 34px;
  padding: 38px; border-radius: 28px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--panel)), var(--panel) 55%);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) { .dl-card { grid-template-columns: 1fr; padding: 26px; } }
.req { margin: 20px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.req li { margin: 5px 0; }
.mini-card { padding: 18px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
html[data-theme="light"] .mini-card { background: #fff; }
.mc-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.mc-row:last-of-type { border-bottom: 0; }
.mc-row span { color: var(--muted); width: 62px; flex: none; }
.mc-row b { color: var(--ink); font-weight: 600; }
.mc-row.sha code { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-row.sha .icon-btn { margin-left: auto; width: 26px; height: 26px; font-size: 10.5px; }
.mc-tip { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--amber) 12%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 26%, transparent); color: var(--ink-soft); font-size: 12px; }

/* ── FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); padding: 0 18px; transition: background .2s, border-color .2s; }
details[open] { background: var(--panel-2); border-color: var(--line-2); }
summary { cursor: pointer; padding: 15px 0; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--dim); font-size: 18px; font-weight: 400; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }

/* ── 页脚 */
.foot {
  max-width: var(--maxw); margin: 0 auto; padding: 30px 24px 46px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px;
}
.foot-left { display: inline-flex; align-items: center; gap: 8px; }
.foot-right { margin-left: auto; display: inline-flex; align-items: center; gap: 16px; }
.foot-right a { color: var(--muted); text-decoration: none; }
.foot-right a:hover { color: var(--ink); }
.stat { display: inline-flex; align-items: center; gap: 6px; }
.stat i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.stat.ok i { background: var(--accent-2); box-shadow: 0 0 7px var(--accent-2); }
.stat.bad i { background: var(--red); }

/* ── 入场 */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--smooth), transform .6s var(--smooth); }
.reveal.in { opacity: 1; transform: none; }
