/* Ireader 官网 — 深色 + 粉 */

:root {
  color-scheme: dark;

  --bg: #0a0a0c;
  --bg-soft: #0f0f12;
  --panel: #16161a;
  --panel-2: #1c1c21;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #f0f1f4;
  --text-dim: #a4a5ac;
  --text-faint: #6d6e75;

  --pink: #f0b3ba;
  --pink-strong: #e8949e;
  --pink-deep: #c9737f;
  --pink-ui: #e8608c;          /* 软件里滑块/按钮的那个粉 */

  --radius: 14px;
  --radius-lg: 18px;
  --maxw: 1360px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; } /* 锚点定位时给吸顶导航留位置 */

body {
  margin: 0;
  font: 16px/1.7 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap { width: min(100%, var(--maxw)); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- 导航 ---------- */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-right: auto; }
.brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav .btn-sm {
  padding: 7px 17px; font-size: 14px; border-radius: 999px;
  background: var(--pink); color: #16161a; font-weight: 600; white-space: nowrap;
}
.nav .btn-sm:hover { background: #fff; }
@media (max-width: 860px) { .nav-links { display: none; } }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--pink); color: #141417;
  font: inherit; font-weight: 600; font-size: 15.5px;
  border: none; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05); color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--text); }

.kbd {
  display: inline-block; min-width: 20px; padding: 1px 7px;
  border-radius: 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px;
  background: rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; text-align: center;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; padding: 1px 6px; border-radius: 5px;
  background: rgba(255, 255, 255, 0.07); color: var(--pink);
}

/* ---------- 下载按钮（主按钮 + 版本下拉） ---------- */

.dl-group { position: relative; display: inline-flex; z-index: 20; }

.dl-main, .dl-caret {
  position: relative;
  background: linear-gradient(180deg, #fbd7db, var(--pink));
  color: #141417; border: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 16px;
  box-shadow: 0 8px 30px rgba(240, 179, 186, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.dl-main {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px 0 0 999px;
  overflow: hidden;   /* 关住下面那道扫光 */
}
.dl-caret {
  width: 46px; border-radius: 0 999px 999px 0;
  display: grid; place-items: center;
  border-left: 1px solid rgba(20, 20, 23, 0.16);
}
.dl-main svg, .dl-caret svg { width: 17px; height: 17px; }
.dl-group:hover .dl-main, .dl-group:hover .dl-caret {
  filter: brightness(1.06);
  box-shadow: 0 14px 42px rgba(240, 179, 186, 0.34),
              inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.dl-main:active, .dl-caret:active { transform: translateY(1px); }
.dl-caret svg { transition: transform .2s ease; }
.dl-group.open .dl-caret svg { transform: rotate(180deg); }

/* 光泽扫过 */
.dl-main::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.75) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}
.dl-group:hover .dl-main::after { animation: shine .85s ease forwards; }
@keyframes shine { to { transform: translateX(120%); } }

.dl-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 300px; padding: 6px;
  border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(24, 24, 28, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dl-group.open .dl-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.dl-menu b {
  display: block; padding: 9px 12px 5px;
  font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-faint); font-weight: 700;
}
.dl-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 9px;
  font-size: 14px; color: var(--text);
}
.dl-menu a:hover { background: rgba(255, 255, 255, 0.08); }
.dl-menu a em { font-style: normal; font-size: 12.5px; color: var(--text-faint); }
.dl-menu hr { border: none; border-top: 1px solid var(--line); margin: 6px 4px; }

.dl-meta { margin: 18px 0 0; font-size: 13.5px; color: var(--text-faint); }
.dl-meta a { color: var(--text-dim); border-bottom: 1px dashed var(--line-strong); }
.dl-meta a:hover { color: var(--pink); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 92px 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -320px; left: 50%;
  width: 1000px; height: 640px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(240, 179, 186, 0.16), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 13.5px; letter-spacing: 1.6px; font-weight: 600; color: var(--pink-deep);
}
.hero-eyebrow i {
  width: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--pink-deep));
}

h1 {
  font-size: clamp(38px, 7vw, 68px); line-height: 1.1;
  letter-spacing: -2px; margin: 0 0 18px; font-weight: 700;
}
h1 .accent {
  background: linear-gradient(100deg, var(--pink) 10%, var(--pink-deep) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 540px; margin: 0 auto 32px; color: var(--text-dim); font-size: 17.5px; }

/* ---------- 区块 ---------- */

section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 42px); line-height: 1.25;
  letter-spacing: -1px; margin: 0 0 12px;
}
.section-head p { color: var(--text-dim); margin: 0 auto; max-width: 560px; }
.eyebrow {
  font-size: 12.5px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--pink-deep); font-weight: 700; margin: 0 0 12px;
}
@media (max-width: 860px) { section { padding: 68px 0; } }

/* ---------- 通用：渲染舞台 ---------- */

.stage {
  position: relative; max-width: 940px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
  background: #101014;
  user-select: none;
}
/* 首屏按 MacBook 常见的 16:10 屏幕比例呈现 */
.stage.auto { aspect-ratio: 16 / 10; }
.hero .stage { margin-top: 58px; }
.hero .stage.auto { display: flex; flex-direction: column; }
.hero .stage.auto .mock { flex: 1; height: auto; min-height: 0; }

/* 演示切换按钮 */
.switcher {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-top: 22px;
}
.switcher button {
  position: relative; overflow: hidden;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel);
  color: var(--text-dim); font: inherit; font-size: 14px; cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.switcher button:hover { color: var(--text); border-color: var(--line-strong); }
.switcher button[aria-selected="true"] {
  color: var(--text); border-color: rgba(240, 179, 186, 0.5);
  background: rgba(240, 179, 186, 0.12);
}
.switcher button::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px;
  width: 0; background: var(--pink);
}
.switcher button[aria-selected="true"]::after {
  animation: tick var(--dur, 5s) linear forwards;
}
@keyframes tick { from { width: 0 } to { width: 100% } }

.hint {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 8px 18px 8px 12px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim); font: inherit; font-size: 14px; cursor: pointer;
}
.hint:hover { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.hint .shortcut-note {
  margin-left: 2px; padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  color: var(--text-faint); font-size: 10.5px; font-weight: 500; white-space: nowrap;
}
.hint:hover .shortcut-note { color: var(--text-dim); }

.caption { margin: 14px 0 0; font-size: 13px; color: var(--text-faint); text-align: center; }

/* 藏起来的正文：所有场景共用 */
.hidetext { transition: opacity .3s ease; }
.is-hidden .hidetext { opacity: 0; }

/* ---------- 场景 1：Notion（首屏） ---------- */

.demo-menubar {
  display: flex; align-items: center; gap: 10px; flex: none;
  height: 28px; padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(20,20,23,.96); color: #e8e8eb;
  font-size: 10px; line-height: 1; text-align: left;
}
.demo-apple { width: 10px; height: 12px; fill: currentColor; flex: none; }
.demo-menu-stack { display: grid; align-items: center; min-width: 310px; }
.demo-menu {
  grid-area: 1 / 1; display: flex; align-items: center; gap: 13px;
  white-space: nowrap; transition: opacity .28s ease, transform .28s ease;
}
.demo-menu b { font-weight: 700; }
.demo-menu-host { opacity: 0; transform: translateY(4px); }
.is-hidden .demo-menu-reader { opacity: 0; transform: translateY(-4px); }
.is-hidden .demo-menu-host { opacity: 1; transform: translateY(0); }
.demo-menu-time { margin-left: auto; color: #b8b8be; white-space: nowrap; }

.mock { width: 100%; height: 100%; display: flex; flex-direction: column;
  background: #191919; color: #d1d1d1; font-size: 12px; line-height: 1.6; text-align: left; }
.mock-bar {
  display: flex; align-items: center; gap: 7px; flex: none;
  padding: 9px 14px; background: #222; border-bottom: 1px solid #303030;
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a4a4a; }
.mock-bar i:nth-child(1) { background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-url { margin-left: 10px; padding: 2px 12px; border-radius: 999px; background: #2d2d2d; color: #9a9a9a; font-size: 10.5px; }

.mock-body { display: flex; flex: 1; min-height: 0; }
.mock-side { width: 150px; flex: none; padding: 14px 12px; background: #202020; border-right: 1px solid #303030; }
.mock-side b { display: block; font-size: 11px; color: #aaa; margin-bottom: 10px; }
.mock-side span { display: block; height: 8px; border-radius: 4px; background: #343434; margin-bottom: 9px; }
.mock-side span.on { background: #454145; }
.mock-main { flex: 1; padding: 20px 22px; background: #191919; min-width: 0; }
.mock-title { font-size: 19px; font-weight: 700; color: #f1f1f1; margin: 0 0 16px; }

.board { display: flex; gap: 10px; }
.col { flex: 1; min-width: 0; }
.col-head { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
.c1 { background: #243044; color: #8db7e5; }
.c2 { background: #24372d; color: #83be95; }
.c3 { background: #3a3223; color: #d6b66f; }

.n-card { border: 1px solid #303030; border-radius: 6px; padding: 9px 10px; margin-bottom: 8px; background: #202020; }
.n-card b { display: block; font-size: 11.5px; color: #e6e6e6; margin-bottom: 6px; }
.n-tag { display: inline-block; font-size: 9.5px; padding: 1px 7px; border-radius: 3px; background: #332b3c; color: #bba0ce; margin-bottom: 7px; }
.n-line { height: 6px; border-radius: 3px; background: #373737; margin-bottom: 5px; }
.novel { margin: 0; font-size: 11px; line-height: 1.85; color: #cacaca; text-indent: 2em; }

.stack { display: grid; }
.stack > * { grid-area: 1 / 1; }
.novel-fill { opacity: 0; transition: opacity .3s ease; }
.is-hidden .novel-fill { opacity: 1; }

/* 首屏 macOS Dock：正文隐藏时，Ireader 的 Dock 图标也同步退场 */
.mac-dock {
  position: absolute; z-index: 5; left: 50%; bottom: 13px;
  display: flex; align-items: flex-end; gap: 4px;
  padding: 7px 10px 11px; border: 1px solid rgba(255,255,255,.19);
  border-radius: 17px; background: rgba(63,63,66,.55);
  box-shadow: 0 18px 40px rgba(0,0,0,.52), inset 0 1px rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  transform: translateX(-50%);
}
.dock-item {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  transform-origin: 50% 100%;
  transition: transform .2s ease, opacity .3s ease, filter .3s ease;
}
.dock-item img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,.32));
}
.dock-item:hover { transform: translateY(-8px) scale(1.12); }
.dock-item::before {
  content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 10px);
  padding: 4px 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px;
  background: rgba(24,24,26,.9); color: #f4f4f5;
  font-size: 9px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 4px); pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.dock-item:hover::before { opacity: 1; transform: translate(-50%, 0); }
.dock-running::after {
  content: ""; position: absolute; left: 50%; top: calc(100% + 5px);
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.75); transform: translateX(-50%);
}
.dock-separator {
  width: 1px; height: 39px; margin: 0 3px 2px;
  background: rgba(255,255,255,.24);
}
.dock-reader {
  margin-left: 0;
  transition: width .3s ease, margin-left .3s ease,
    transform .3s ease, opacity .3s ease, filter .3s ease;
}
.dock-reader img { border-radius: 22%; clip-path: inset(0 round 22%); }
.is-hidden .dock-reader {
  width: 0; margin-left: -4px;
  opacity: 0; filter: blur(3px);
  transform: translateY(18px) scale(.68); pointer-events: none;
}

@media (max-width: 700px) {
  .stage.auto { aspect-ratio: 4 / 5; }
  .demo-menubar { height: 25px; padding: 0 9px; gap: 8px; font-size: 8.5px; }
  .demo-menu-stack { min-width: 0; }
  .demo-menu { gap: 9px; }
  .demo-menu span:nth-last-child(-n+2) { display: none; }
  .demo-menu-time { font-size: 8px; }
  .mock-side { display: none; }
  .mock-main { padding: 16px 14px 72px; }
  .mock-title { font-size: 16px; }
  .board .col:not(:first-child) { display: none; }
  .mac-dock { bottom: 10px; gap: 3px; padding: 6px 7px 9px; border-radius: 14px; }
  .dock-item { width: 36px; height: 36px; }
  .is-hidden .dock-reader { width: 0; margin-left: -3px; }
  .dock-separator { height: 30px; }
}

/* ---------- 场景组：Word / Excel / 代码 / 网页 / 壁纸 ---------- */

.env {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility .45s;
  text-align: left;
}
.env[data-active] { opacity: 1; visibility: visible; }

/* Word */
.e-word {
  background: #e9e9ec; color: #24262b;
  display: flex; flex-direction: column;
  font-size: clamp(6px, .82vw, 9px);
}
.word-title {
  flex: none; height: 8.5%; min-height: 24px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 13px; background: #2b579a; color: rgba(255,255,255,.9);
}
.word-title b {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-weight: 500; white-space: nowrap;
}
.word-app {
  display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 3px; background: #fff; color: #2b579a; font-weight: 800;
}
.word-save { opacity: .75; letter-spacing: 1px; }
.word-search {
  margin-left: auto; width: 22%; padding: 2px 10px;
  border-radius: 999px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.75);
}
.word-account {
  display: grid; place-items: center; width: 19px; height: 19px;
  border-radius: 50%; background: rgba(255,255,255,.22); font-weight: 700;
}
.word-tabs {
  flex: none; height: 6.5%; min-height: 20px;
  display: flex; align-items: center; gap: 2.7%; padding: 0 18px;
  background: #fff; color: #4a4d53; border-bottom: 1px solid #dddfe4;
}
.word-tabs b { color: #2b579a; font-weight: 600; }
.word-tools {
  flex: none; height: 14%; min-height: 38px;
  display: flex; align-items: stretch; padding: 4px 16px 5px;
  background: #fff; border-bottom: 1px solid #cfd2d8; box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.word-tool {
  display: flex; align-items: center; gap: 8px; padding: 0 13px;
  border-right: 1px solid #e2e3e6; color: #484b51;
}
.word-tool:first-child { padding-left: 0; }
.word-tool:last-child { border-right: 0; }
.word-tool.paste { flex-direction: column; justify-content: center; gap: 0; }
.word-tool.paste strong { font-size: 1.6em; line-height: 1; color: #2b579a; }
.word-tool.font { display: grid; grid-template-columns: 1.8fr .8fr; min-width: 25%; }
.word-tool.font span, .word-tool.styles span {
  padding: 2px 6px; border: 1px solid #d7d9de; border-radius: 2px; background: #fff;
}
.word-tool.format b { font-size: 1.35em; }
.word-tool.styles { flex: 1; justify-content: flex-end; }
.word-canvas { flex: 1; min-height: 0; overflow: hidden; padding-top: 2.2%; background: #e7e7ea; }
.e-word .paper {
  position: relative; width: 70%; min-height: 132%; margin: 0 auto; background: #fff; padding: 4% 7% 8%;
  box-shadow: 0 2px 14px rgba(0,0,0,.12);
  font-size: clamp(6.5px, .92vw, 10px); line-height: 1.78; color: #24262b;
}
.e-word h4 { margin: 1% 0 3%; font-size: 1.55em; text-align: center; color: #17191d; letter-spacing: .08em; }
.e-word p { margin: 0 0 1.6%; text-indent: 2em; }
.e-word p.word-no { margin: 0; text-indent: 0; text-align: center; color: #b4232d; font-size: .88em; }
.e-word p.word-recipient { text-indent: 0; }
.word-sign { margin-top: 2.5%; text-align: right; line-height: 1.65; }
.word-page { position: absolute; left: 50%; bottom: 2.5%; transform: translateX(-50%); color: #777b82; }
.word-status {
  flex: none; height: 4.5%; min-height: 15px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 12px; background: #f8f8f9; border-top: 1px solid #d2d4d8; color: #64676d;
}

/* Excel */
.e-excel { background: #fff; display: flex; flex-direction: column; }
.e-excel .ribbon { flex: none; height: 12%; background: #217346; }
.e-excel table { width: 100%; border-collapse: collapse; font-size: clamp(6px, .95vw, 10px); color: #33363d; table-layout: fixed; }
.e-excel td { border: 1px solid #d8dade; height: 2.1em; padding: 0 6px; overflow: hidden; white-space: nowrap; }
.e-excel td.h { background: #f2f3f5; color: #8a8e95; text-align: center; }
.e-excel td.k { color: #5f6469; }
.e-excel .cellline { display: block; height: .5em; border-radius: 2px; background: #e8e9ec; }
.e-excel .wide { color: #45484e; }

/* 代码 */
.e-code { background: #1e2127; padding: 4% 5%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.e-code .top { position: absolute; inset: 0 0 auto 0; height: 8%; background: #171a1f; border-bottom: 1px solid #2a2e35; }
.e-code .body { margin-top: 6%; font-size: clamp(6.5px, 1vw, 10.5px); line-height: 2.3; }
.e-code .ln { display: block; height: .62em; border-radius: 3px; background: #2f343c; margin-bottom: 1.65em; }
.e-code .ln.a { width: 62%; background: #3a4552; }
.e-code .ln.b { width: 44%; background: #4a3f50; }
.e-code .ln.c { width: 74%; }
.e-code .ln.d { width: 35%; background: #3a4552; }
.e-code .cmt { color: #6b7a86; font-family: var(--font); }

/* 网页 */
.e-web { background: #fff; display: flex; flex-direction: column; }
.e-web .chrome { flex: none; display: flex; align-items: center; gap: 6px; padding: 2.2% 3%; background: #e8eaed; }
.e-web .chrome i { width: 8px; height: 8px; border-radius: 50%; background: #c6cad1; }
.e-web .chrome span { flex: 1; height: 14px; border-radius: 999px; background: #fff; }
.e-web .article { flex: 1; padding: 4% 12%; font-size: clamp(7px, 1.05vw, 11px); line-height: 2.1; color: #2c2f35; overflow: hidden; }
.e-web h4 { margin: 0 0 3%; font-size: 1.7em; color: #16181c; }
.e-web .meta { height: .5em; width: 30%; background: #e6e7ea; border-radius: 3px; margin-bottom: 4%; }
.e-web p { margin: 0 0 2.6%; }
.e-web .g { height: .55em; border-radius: 3px; background: #eceded; margin-bottom: 1.6em; }

/* 桌面壁纸：暮色夜空 + 星子 + 一弯月 */
.e-wall {
  background:
    /* 星星 */
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 28% 12%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.4px 1.4px at 44% 28%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 61% 9%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.3px 1.3px at 76% 24%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 88% 14%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 8% 44%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 93% 38%, rgba(255,255,255,.55), transparent 60%),
    /* 地平线余晖 */
    radial-gradient(70% 42% at 50% 102%, rgba(240, 179, 186, 0.34), transparent 72%),
    radial-gradient(45% 30% at 24% 100%, rgba(201, 115, 127, 0.28), transparent 75%),
    /* 天幕 */
    linear-gradient(180deg, #12111d 0%, #201a2e 42%, #382338 72%, #58333f 100%);
  display: grid; place-items: center; padding: 8%;
}
.e-wall::before { /* 月亮 */
  content: ""; position: absolute; top: 11%; right: 13%;
  width: 7%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fff7ef, #f3ddc9 65%, #e8c9ae);
  box-shadow: 0 0 26px 8px rgba(255, 240, 220, 0.22);
}
.e-wall p {
  margin: 0; text-align: center;
  font-size: clamp(9px, 1.5vw, 15px); line-height: 2.1;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); letter-spacing: .5px;
}
.e-wall .dock {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%);
  display: flex; gap: 7px; padding: 5px 9px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px);
}
.e-wall .dock i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.5); }

/* ---------- 丰富场景：Excel / VS Code / 网页 / 桌面 ---------- */

.e-excel {
  background: #f3f4f5; display: flex; flex-direction: column;
  font-size: clamp(6px, .8vw, 9px); color: #25282d;
}
.excel-title {
  flex: none; min-height: 24px; height: 8%;
  display: flex; align-items: center; gap: 11px; padding: 0 13px;
  background: #217346; color: rgba(255,255,255,.88);
}
.excel-title b { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 500; }
.excel-title em { margin-left: auto; padding: 2px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 4px; font-style: normal; }
.excel-title i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: rgba(255,255,255,.2); font-style: normal; }
.excel-app { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 3px; background: #fff; color: #217346; font-weight: 800; }
.excel-tabs {
  flex: none; min-height: 20px; height: 6%;
  display: flex; align-items: center; gap: 3%; padding: 0 16px;
  background: #fff; border-bottom: 1px solid #dadde0; color: #45494f;
}
.excel-tabs b { color: #217346; }
.excel-tools {
  flex: none; min-height: 34px; height: 12%;
  display: flex; align-items: center; gap: 0; padding: 4px 12px;
  background: #fff; border-bottom: 1px solid #d8dade;
}
.excel-tools > * { padding: 4px 14px; border-right: 1px solid #e1e3e5; font-weight: 400; }
.excel-tools strong { color: #217346; font-weight: 600; }
.excel-formula {
  flex: none; min-height: 22px; height: 6%; display: flex; align-items: center;
  gap: 10px; padding: 2px 8px; background: #fff; border-bottom: 1px solid #d6d8dc;
}
.excel-formula > span { width: 52px; padding: 1px 6px; border: 1px solid #d6d8dc; }
.excel-formula b { color: #6c7076; font-style: italic; }
.excel-formula p { flex: 1; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.excel-sheet { flex: 1; min-height: 0; overflow: hidden; background: #fff; }
.e-excel table { height: 100%; font-size: clamp(6px, .76vw, 9px); }
.e-excel td { height: auto; padding: 0 8px; }
.e-excel td.sheet-title { text-align: center; font-size: 1.25em; font-weight: 700; background: #edf6f1; color: #174f34; }
.e-excel td.k { background: #dcefe5; color: #174f34; font-weight: 650; }
.e-excel td.active { outline: 2px solid #217346; outline-offset: -2px; }
.excel-tag { display: inline-block; padding: 1px 7px; border-radius: 999px; }
.excel-tag.green { color: #146c43; background: #d9f1e5; }
.excel-tag.amber { color: #8c6414; background: #fff0c7; }
.excel-tag.blue { color: #245b8c; background: #dcecff; }
.excel-tag.gray { color: #676b72; background: #e9eaec; }
.excel-sheetbar {
  flex: none; min-height: 20px; height: 5%; display: flex; align-items: center; gap: 0;
  padding: 0 10px; background: #f6f7f8; border-top: 1px solid #d8dade; color: #676b72;
}
.excel-sheetbar b, .excel-sheetbar span { padding: 2px 10px; }
.excel-sheetbar span.active { color: #217346; border-bottom: 2px solid #217346; background: #fff; }
.excel-sheetbar em { margin-left: auto; font-style: normal; }

.e-code { background: #181818; padding: 0; display: flex; flex-direction: column; color: #d4d4d4; }
.code-title {
  flex: none; height: 7%; min-height: 23px; display: flex; align-items: center;
  padding: 0 13px; background: #181818; color: #999; font-size: clamp(6px, .72vw, 8.5px);
}
.code-title > span { color: #686868; letter-spacing: 1px; }
.code-title b { position: absolute; left: 50%; transform: translateX(-50%); color: #bcbcbc; font-weight: 400; }
.code-title em { margin-left: auto; width: 22%; padding: 2px 9px; background: #242424; border: 1px solid #323232; border-radius: 5px; font-style: normal; }
.code-menu {
  flex: none; height: 6%; min-height: 19px; display: flex; align-items: center;
  gap: 2.2%; padding: 0 14px; background: #202020; border-block: 1px solid #2b2b2b;
  color: #a8a8a8; font-size: clamp(6px, .7vw, 8px);
}
.code-workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: 6% 22% 1fr; }
.code-activity {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 12px 0 8px;
  background: #181818; border-right: 1px solid #2b2b2b; color: #777; font-size: clamp(10px, 1.4vw, 16px);
}
.code-activity b { color: #ddd; border-left: 2px solid #ddd; width: 100%; text-align: center; }
.code-activity i { margin-top: auto; font-style: normal; }
.code-explorer {
  display: flex; flex-direction: column; gap: 5px; padding: 10px 8px;
  background: #202020; border-right: 1px solid #2b2b2b; color: #aaa;
  font-size: clamp(6px, .76vw, 9px);
}
.code-explorer b { color: #d3d3d3; font-size: .92em; text-transform: uppercase; }
.code-explorer small { margin: 5px 0 3px; color: #ddd; font-weight: 700; }
.code-explorer span.active { margin-inline: -8px; padding-inline: 8px; background: #37373d; color: #fff; }
.code-editor { position: relative; min-width: 0; display: flex; flex-direction: column; background: #1e1e1e; }
.code-tab {
  flex: none; width: 31%; min-width: 110px; padding: 6px 10px;
  background: #1e1e1e; border-top: 1px solid #e5a35c; color: #d2d2d2;
  font-size: clamp(6px, .75vw, 9px);
}
.code-tab b { color: #e7d24c; margin-right: 5px; }
.code-tab span { float: right; color: #888; }
.code-lines { flex: 1; padding: 10px 14px; overflow: hidden; font-size: clamp(7px, .92vw, 11px); line-height: 1.65; }
.code-lines p { margin: 0; white-space: nowrap; }
.code-lines i { display: inline-block; width: 25px; margin-right: 10px; color: #737373; font-style: normal; text-align: right; user-select: none; }
.code-lines .purple { color: #c586c0; }
.code-lines .blue { color: #4fc1ff; }
.code-lines .orange { color: #ce9178; }
.code-lines .cmt { color: #6a9955; }
.code-status {
  flex: none; display: flex; align-items: center; gap: 16px; padding: 2px 8px;
  background: #007acc; color: #fff; font-size: clamp(5.5px, .65vw, 7.5px);
}
.code-status em { margin-left: auto; font-style: normal; }

.e-web { background: #fff; display: block; color: #262a2f; }
.e-web .chrome {
  height: 9%; min-height: 28px; padding: 6px 12px; gap: 7px; background: #e9ebef;
}
.e-web .chrome b { max-width: 18%; padding: 3px 9px; border-radius: 7px 7px 0 0; background: #fff; font-size: clamp(6px, .72vw, 8.5px); white-space: nowrap; overflow: hidden; }
.e-web .chrome span { margin-left: 5px; height: auto; padding: 3px 12px; color: #7b8088; font-size: clamp(6px, .7vw, 8px); }
.e-web .chrome em { font-style: normal; color: #7b8088; }
.web-nav {
  height: 9%; display: flex; align-items: center; gap: 3%; padding: 0 6%;
  border-bottom: 1px solid #e4e5e7; color: #656a70; font-size: clamp(6px, .78vw, 9px);
}
.web-nav b { margin-right: 2%; color: #15181c; font-size: 1.35em; letter-spacing: .12em; }
.web-nav i { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #181a1e; color: #fff; font-style: normal; }
.e-web .article {
  width: 72%; height: 82%; padding: 5% 8% 3% 9%; overflow: hidden;
  font-size: clamp(7px, .88vw, 10px); line-height: 1.85;
}
.web-category { color: #b46672; font-weight: 700; letter-spacing: .08em; }
.e-web h4 { margin: 1.5% 0 2%; font-size: 2.25em; line-height: 1.3; letter-spacing: -.03em; }
.web-byline { display: flex; align-items: center; gap: 10px; margin-bottom: 3%; color: #8a8e94; }
.web-byline b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1d2024; color: #fff; font-size: .8em; }
.e-web .article p { margin: 0 0 2%; }
.e-web blockquote { margin: 3% 0 0; padding: 2% 3%; border-left: 3px solid #d78793; background: #faf1f3; color: #6f3b44; }
.web-side {
  position: absolute; top: 27%; right: 6%; width: 20%; padding: 3%;
  border-left: 1px solid #e4e5e7; color: #777c83; font-size: clamp(6px, .76vw, 9px);
}
.web-side > span { color: #cc7f8a; font-weight: 800; }
.web-side b { display: block; margin: 6px 0 12px; color: #25282c; font-size: 1.25em; }
.web-side p { margin: 0 0 8px; }

.e-wall { padding: 8%; }
.wall-menubar {
  position: absolute; inset: 0 0 auto; height: 7%; min-height: 23px;
  display: flex; align-items: center; gap: 16px; padding: 0 12px;
  background: rgba(18,16,24,.42); backdrop-filter: blur(12px);
  color: rgba(255,255,255,.88); font-size: clamp(6px, .72vw, 8.5px);
}
.wall-menubar em { margin-left: auto; font-style: normal; }
.wall-icons {
  position: absolute; top: 12%; right: 4%; display: flex; flex-direction: column; gap: 15px;
  color: rgba(255,255,255,.88); font-size: clamp(6px, .72vw, 8.5px); text-align: center;
}
.wall-icons span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.wall-icons i { font-style: normal; font-size: clamp(18px, 2.4vw, 29px); filter: drop-shadow(0 3px 5px rgba(0,0,0,.4)); }
.e-wall .dock { gap: 6px; padding: 5px 8px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); }
.e-wall .dock img { width: clamp(17px, 2.2vw, 27px); height: clamp(17px, 2.2vw, 27px); object-fit: contain; border-radius: 22%; }

/* ---------- 单行模式：嵌进真实输入框 ---------- */

.oneline-section {
  padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.oneline-card {
  display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.42fr);
  gap: 7%; align-items: center; min-height: 350px;
}
.oneline-copy h2 { margin: 4px 0 14px; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.14; }
.oneline-copy > p:not(.eyebrow) { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.85; }
.mode-points { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.mode-points span {
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-faint); background: rgba(255,255,255,.025); font-size: 11.5px;
}
.oneline-demo {
  min-width: 0; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px;
  background: rgba(0,0,0,.26); box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.gpt {
  width: 100%; min-height: 250px; padding: 0 20px 15px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #171717; border: 1px solid #2d2d2d; border-radius: 13px;
  color: #ececec; box-shadow: 0 18px 45px rgba(0,0,0,.34);
}
.gpt-top {
  display: flex; align-items: center; gap: 8px; height: 44px; margin: 0 -20px auto;
  padding: 0 16px; border-bottom: 1px solid #292929; color: #9b9b9b; font-size: 11px;
}
.gpt-top b { color: #e7e7e7; font-size: 12px; }
.gpt-top i { margin-left: auto; font-style: normal; letter-spacing: 2px; }
.gpt-mark {
  display: grid; place-items: center; width: 21px; height: 21px;
  border-radius: 6px; background: #f2f2f2; color: #111; font-weight: 700;
}
.gpt-chat { display: flex; align-items: flex-start; gap: 10px; margin: 24px 8% 20px; color: #b8b8b8; font-size: 11.5px; }
.gpt-chat p { margin: 2px 0 0; }
.gpt-avatar {
  display: grid; place-items: center; flex: none; width: 23px; height: 23px;
  border-radius: 7px; background: #efefef; color: #161616; font-size: 8px; font-weight: 700;
}
.gpt-bar {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; padding: 10px 12px; border: 1px solid #404040;
  border-radius: 17px; background: #2b2b2b; box-shadow: 0 5px 20px rgba(0,0,0,.2);
}
.gpt-bar .ic {
  display: grid; place-items: center; width: 23px; height: 23px; flex: none;
  border: 1px solid #585858; border-radius: 50%; color: #cfcfcf; font-style: normal;
}
.gpt-bar .ask { color: #a9a9a9; font-size: 11px; flex: none; }
.gpt-strip {
  flex: 1; min-width: 0; margin: 0; color: #ededed; font-size: clamp(10px, 1.05vw, 13px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gpt-tools { flex: none; color: #aaa; font-size: 9px; white-space: nowrap; }
.gpt-bar .mic {
  display: grid; place-items: center; width: 25px; height: 25px; flex: none;
  border-radius: 50%; background: #fff; color: #111; font-style: normal; font-weight: 700;
}
.gpt-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 5px 0; color: #696969; font-size: 8.5px;
}
.gpt-foot b { color: #b8848c; font-weight: 500; }
@media (max-width: 760px) {
  .oneline-section { padding: 50px 0; }
  .oneline-card { grid-template-columns: 1fr; gap: 28px; }
  .oneline-copy h2 br { display: none; }
}
@media (max-width: 480px) {
  .gpt { min-height: 220px; padding-inline: 12px; }
  .gpt-top { margin-inline: -12px; }
  .gpt-chat { margin-inline: 0; }
  .gpt-bar { gap: 7px; }
  .gpt-bar .ask, .gpt-tools { display: none; }
  .gpt-foot span { display: none; }
  .word-tools { padding-inline: 8px; }
  .word-tool { padding-inline: 7px; }
  .word-tool.styles, .word-tool.align { display: none; }
  .word-search { display: none; }
  .word-title b { left: auto; right: 34px; transform: none; }
}

/* ---------- 显示设置：还原软件里的对话框 ---------- */

.prefs-stage {
  --fs: 1em; --lh: 2; --pg: 1.6em; --op: 1; --bgop: 0;
  position: relative; display: flex; align-items: center; gap: 4%;
  padding: 5% 5%;
  background:
    radial-gradient(70% 42% at 50% 102%, rgba(240, 179, 186, 0.28), transparent 72%),
    radial-gradient(45% 30% at 24% 100%, rgba(201, 115, 127, 0.22), transparent 75%),
    linear-gradient(180deg, #12111d 0%, #201a2e 42%, #382338 72%, #58333f 100%);
  width: 100%; height: 100%;
}

/* 被调节的正文：背景透明度 0 时完全没有底 */
.prefs-read {
  flex: 1; min-width: 0; align-self: stretch;
  padding: 4% 4.5%; border-radius: 8px;
  background: rgba(18, 16, 20, var(--bgop));
  transition: background .5s ease;
  overflow: hidden; position: relative;
}
.prefs-read p {
  margin: 0 0 var(--pg);
  font-size: calc(clamp(7px, 1.05vw, 11px) * var(--fs));
  line-height: var(--lh);
  color: rgba(255, 255, 255, var(--op));
  text-indent: 2em;
  transition: font-size .55s ease, line-height .55s ease, margin-bottom .55s ease, color .45s ease;
}
.prefs-read p:last-child { margin-bottom: 0; }

/* —— 基本设置演示要用的三套小机关 —— */

/* 双页：翻页演示时两页交替淡入 */
.pgbox { position: relative; }
.pgbox .pg2 { position: absolute; inset: 0; opacity: 0; }
.pgbox .pg1, .pgbox .pg2 { transition: opacity .35s ease; }
.prefs-read.show2 .pg1 { opacity: 0; }
.prefs-read.show2 .pg2 { opacity: 1; }

/* 滚动演示：正文缓缓上移，速度由 --scrollDur 控制 */
.prefs-read.demo-scroll .pgbox {
  animation: readscroll var(--scrollDur, 9s) linear infinite;
}
@keyframes readscroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-38%); }
}

/* 压缩空行：blank 占位收起 */
.prefs-read .blank { height: 1.8em; transition: height .5s ease; }
.prefs-read.compact .blank { height: 0; }

/* 单选点 & 正则输入框（基本设置对话框里的控件） */
.prow .radios { flex: 1; display: flex; gap: 12px; align-items: center; }
.prow .radio { display: inline-flex; align-items: center; gap: 4px; color: #4a4d53; }
.prow .radio i {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid #c9ccd1; background: #fff; flex: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.prow .radio.on i {
  border-color: var(--pink-ui);
  background: var(--pink-ui);
  box-shadow: inset 0 0 0 2px #fff;
}
.prow .rex {
  flex: 1; padding: 3px 6px; border: 1.5px solid #2a2c31; border-radius: 3px;
  background: #fff; color: #33363b; overflow: hidden; white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95em;
}

/* 设置区顶部的「显示设置 / 基本设置」大切换 */
.switcher.big { margin: 0 0 26px; }
.switcher.big button { padding: 9px 26px; font-size: 15px; }
.switcher.big button::after { display: none; }
.switcher.big button[aria-selected="true"] {
  background: var(--pink); color: #16161a; border-color: var(--pink); font-weight: 600;
}

/* 对话框本体 */
.prefs {
  flex: none; width: 46%; max-width: 300px;
  border-radius: 8px; overflow: hidden;
  background: #f4f4f6; color: #2a2c31;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  font-size: clamp(6px, .82vw, 9px);
}
.prefs-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 8px; background: #3a3a3c; position: relative;
}
.prefs-bar i { width: 7px; height: 7px; border-radius: 50%; }
.prefs-bar i:nth-child(1) { background: #ff5f57; }
.prefs-bar i:nth-child(2) { background: #febc2e; }
.prefs-bar i:nth-child(3) { background: #9a9a9e; }
.prefs-bar b {
  position: absolute; left: 0; right: 0; text-align: center;
  color: #ececec; font-size: 1.05em; font-weight: 600;
}
.prefs-in { padding: 10px 11px 11px; }
.prefs-in > h5 { margin: 0 0 9px; font-size: 1.5em; color: #1c1e22; }

.prow {
  display: flex; align-items: center; gap: 7px;
  padding: 3.5px 4px; border-radius: 5px; margin-bottom: 1px;
  cursor: pointer; transition: background .25s ease;
}
.prow:hover { background: rgba(0, 0, 0, 0.04); }
.prow[data-on] { background: rgba(232, 96, 140, 0.12); }
.prow > label { flex: none; width: 38%; color: #7b7f86; }
.prow .track { flex: 1; height: 3px; border-radius: 999px; background: #d5d7db; position: relative; }
.prow .fill { position: absolute; inset: 0 auto 0 0; width: 20%; border-radius: 999px; background: var(--pink-ui); transition: width .55s ease; }
.prow .knob {
  position: absolute; top: 50%; left: 20%; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px rgba(0,0,0,.28); transition: left .55s ease;
}
.prow .val { flex: none; width: 22px; text-align: right; color: #33363b; font-variant-numeric: tabular-nums; }
.prow .sw { width: 11px; height: 11px; border-radius: 50%; }
.prow .pick { color: #a03a5c; }

.prefs-check { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: #2a2c31; }
.prefs-check i {
  width: 11px; height: 11px; border-radius: 3px; border: 1px solid #c9ccd1; background: #fff; flex: none;
}
.prefs-check i.on { background: var(--pink-ui); border-color: var(--pink-ui); }
.prefs-done {
  display: block; margin: 10px 0 0 auto; width: 46px; text-align: center;
  padding: 4px 0; border-radius: 999px; background: var(--pink-ui); color: #fff; font-weight: 600;
}

@media (max-width: 700px) {
  /* 窄屏竖排时 16/10 的舞台装不下，放开高度 */
  .stage:has(.prefs-stage) { aspect-ratio: auto; height: auto; }
  .prefs-stage { flex-direction: column; gap: 14px; padding: 5%; height: auto; }
  .prefs { width: 100%; max-width: 300px; font-size: 8.5px; }
  .prefs-read { width: 100%; flex: none; }
}

/* ---------- 功能小条 ---------- */

.strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px; max-width: 940px; margin: 0 auto;
}
.strip div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.strip h3 { margin: 0 0 6px; font-size: 15.5px; }
.strip p { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.7; }

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

.dl-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 760px; margin: 0 auto; }
.dl-box { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-align: center; }
.dl-box h3 { margin: 0 0 4px; font-size: 17px; }
.dl-box .meta { color: var(--text-faint); font-size: 13px; margin: 0 0 18px; }
.dl-box .btn { width: 100%; }
.dl-alt { display: grid; gap: 8px; margin-top: 14px; text-align: left; }
.dl-secondary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; padding: 9px 11px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.dl-secondary b {
  display: block; color: var(--text); font-size: 12.5px; line-height: 1.35; font-weight: 650;
}
.dl-secondary small {
  display: block; margin-top: 3px; color: var(--text-dim); font-size: 10.5px; line-height: 1.35;
}
.dl-secondary i {
  flex: 0 0 auto; color: var(--pink); font-size: 11.5px; line-height: 1;
  font-style: normal; font-weight: 650; white-space: nowrap;
}
.dl-secondary:hover {
  transform: translateY(-1px); border-color: rgba(236, 154, 172, .48);
  background: rgba(236, 154, 172, .075);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

/* ---------- 价格 ---------- */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(240, 179, 186, 0.4); background: linear-gradient(180deg, rgba(240, 179, 186, 0.08), var(--panel) 55%); }
.plan-tag { position: absolute; top: -11px; left: 26px; padding: 3px 12px; border-radius: 999px; background: var(--pink); color: #16161a; font-size: 12px; font-weight: 600; }
.plan h3 { margin: 0; font-size: 15.5px; color: var(--text-dim); font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 3px; margin: 12px 0 4px; }
.price .cur { font-size: 19px; color: var(--text-dim); }
.price .num { font-size: 40px; font-weight: 700; letter-spacing: -1.6px; }
.price .per { font-size: 13.5px; color: var(--text-faint); }
.plan-note { color: var(--text-faint); font-size: 13px; margin: 0 0 22px; flex: 1; }
.plan ul {
  list-style: none; margin: 4px 0 22px; padding: 0;
  font-size: 14px; color: var(--text-dim); flex: 1;
}
.plan li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.plan li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink-deep);
}
.plan .btn { width: 100%; }
.plan-foot { margin-top: 26px; text-align: center; color: var(--text-faint); font-size: 13.5px; }

/* ---------- FAQ ---------- */

.faq { max-width: 720px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 18px 34px 18px 2px; cursor: pointer; list-style: none; position: relative; font-size: 15.5px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--pink-deep); font-size: 20px; line-height: 1; transition: transform .2s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0 0 18px; padding-right: 20px; color: var(--text-dim); font-size: 15px; }
details code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.07); color: var(--pink); }

/* ---------- 联系 ---------- */

.contact { text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 52px 30px; background: linear-gradient(180deg, rgba(240,179,186,.06), var(--panel)); }
.contact h2 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -0.6px; }
.contact p { color: var(--text-dim); margin: 0 auto 26px; max-width: 480px; }
.contact-methods { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

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

footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--text-faint); font-size: 13.5px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; gap: 20px; }
.foot-links a:hover { color: var(--pink); }

/* ---------- 子页 ---------- */

.page-head { padding: 68px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 10px; letter-spacing: -1px; }
.page-head p { color: var(--text-dim); margin: 0; }

.log { max-width: 720px; margin: 0 auto; }
.log-entry { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.log-ver { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.log-date { color: var(--text-faint); font-size: 13px; margin-top: 2px; }
.log-body h3 { margin: 0 0 8px; font-size: 16px; }
.log-body p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.log-body ul { margin: 8px 0 0; padding-left: 18px; color: var(--text-dim); font-size: 14.5px; }
.log-body li { margin-bottom: 5px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; margin-bottom: 10px; }
.tag.new { background: rgba(240,179,186,.16); color: var(--pink); }
.tag.fix { background: rgba(255,255,255,.08); color: var(--text-dim); }
@media (max-width: 640px) { .log-entry { grid-template-columns: 1fr; gap: 10px; } }

.steps { max-width: 720px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-no { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(240,179,186,.13); border: 1px solid rgba(240,179,186,.25); color: var(--pink); font-weight: 700; font-size: 15px; }
.step h3 { margin: 4px 0 8px; font-size: 17px; }
.step p { margin: 0 0 14px; color: var(--text-dim); font-size: 15px; }
.step img { width: 100%; max-width: 520px; border-radius: 10px; border: 1px solid var(--line); display: block; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); margin: 0 auto 40px; }
.tabs button { padding: 8px 22px; border-radius: 999px; border: none; background: transparent; color: var(--text-dim); font: inherit; font-size: 14.5px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--pink); color: #16161a; font-weight: 600; }

.callout { padding: 16px 18px; border-radius: 10px; border: 1px solid rgba(240,179,186,.24); background: rgba(240,179,186,.06); color: var(--text-dim); font-size: 14.5px; margin: 20px 0; }
.callout b { color: var(--pink); }

/* ---------- 功能演示：左侧页签 + 右侧软件窗口 ---------- */

.demo-grid {
  display: grid; grid-template-columns: 252px 1fr;
  gap: 22px; align-items: start;
  max-width: 1060px; margin: 0 auto;
}

/* 左栏：大页签 + 小教程项 */
.rail-tab {
  width: 100%; text-align: left; cursor: pointer;
  padding: 13px 16px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); color: var(--text);
  font: inherit;
  transition: border-color .2s ease, background .2s ease;
}
.rail-tab:hover { border-color: var(--line-strong); }
.rail-tab[data-on] {
  border-color: rgba(240, 179, 186, 0.5);
  background: rgba(240, 179, 186, 0.09);
}
.rail-tab b { display: block; font-size: 15px; font-weight: 600; }
.rail-tab small { color: var(--text-faint); font-size: 12px; }

.rail-items { display: none; padding: 2px 2px 10px 8px; }
.rail-tab[data-on] + .rail-items { display: block; }

.rail-item {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  padding: 8px 10px; border: none; border-radius: 8px;
  background: none; color: var(--text-dim);
  font: inherit; font-size: 13.5px; cursor: pointer;
}
.rail-item:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.rail-item[aria-selected="true"] { color: var(--text); background: rgba(240, 179, 186, 0.1); }
.rail-item .kbd { margin-left: auto; font-size: 10.5px; padding: 0 5px; color: var(--text-faint); }
.rail-item::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px;
  width: 0; background: var(--pink);
}
.rail-item[aria-selected="true"]::after { animation: tick var(--dur, 5s) linear forwards; }

/* 右栏：桌面 + 软件窗口 */
.deskstage {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10.6;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
  background:
    radial-gradient(1.2px 1.2px at 12% 20%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 30% 10%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.3px 1.3px at 72% 16%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(70% 42% at 50% 102%, rgba(240, 179, 186, 0.3), transparent 72%),
    linear-gradient(180deg, #12111d 0%, #201a2e 42%, #382338 72%, #58333f 100%);
  user-select: none;
}
.deskstage::before { /* 月亮 */
  content: ""; position: absolute; top: 8%; right: 9%;
  width: 5.5%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fff7ef, #f3ddc9 65%, #e8c9ae);
  box-shadow: 0 0 22px 7px rgba(255, 240, 220, 0.2);
}

.appwin {
  position: absolute; inset: 18% 19% 14%;
  display: flex; flex-direction: column;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: inset .45s ease, border-radius .45s ease;
}
.appwin.fullscreen { inset: 0; border-radius: 0; }

/* 真·全透明：底色、边框、阴影全部消失，文字直接浮在壁纸上 */
.appwin.seethrough { border-color: transparent; box-shadow: none; }
.appwin.seethrough .app-titlebar { background: rgba(38, 35, 45, 0.3); border-bottom-color: transparent; }
.appwin.borderless.seethrough .app-titlebar { background: transparent; }

.app-titlebar {
  flex: none; position: relative;
  display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 10px;
  background: #26232d; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
/* F12：标题栏（和 Windows 的菜单行）瞬间消失，占位保留——正文纹丝不动 */
.appwin.borderless .app-titlebar { visibility: hidden; }
.appwin.borderless .app-menurow { visibility: hidden; }

.tlights { display: flex; gap: 6px; }
.tlights i { width: 10px; height: 10px; border-radius: 50%; }
.tlights i:nth-child(1) { background: #ff5f57; }
.tlights i:nth-child(2) { background: #febc2e; }
.tlights i:nth-child(3) { background: #28c840; }

.app-titlebar b {
  position: absolute; left: 0; right: 0; text-align: center;
  font-size: 11.5px; font-weight: 500; color: #b9bac2; pointer-events: none;
}

.winbtns { display: none; margin-left: auto; gap: 14px; color: #b9bac2; font-size: 11px; }
.os-win .tlights { display: none; }
.os-win .winbtns { display: flex; }

.app-body {
  --fs: 1em; --lh: 2; --pg: 1.4em; --op: 1; --bgop: 0.92;
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  padding: 3% 4%;   /* 真实 app：一点点边距，正文满铺整个内容区 */
  font-size: clamp(9.5px, 1.15vw, 13.5px);   /* 基准字号；p 用 em 在此基础上缩放 */
  background: rgba(17, 15, 21, var(--bgop));
  transition: background .45s ease;
}
.app-body.light { background: rgba(243, 241, 236, var(--bgop)); }

.app-body .pgbox { position: relative; height: 100%; }
.app-body .pg2 { position: absolute; inset: 0; opacity: 0; }
.app-body .pg1, .app-body .pg2 { transition: opacity .35s ease; }
.app-body.show2 .pg1 { opacity: 0; }
.app-body.show2 .pg2 { opacity: 1; }

.app-body p {
  margin: 0 0 var(--pg);
  font-size: var(--fs);   /* JS 直接写带单位的 em 值，避开 calc 兼容坑 */
  line-height: var(--lh);
  color: rgba(255, 255, 255, var(--op));
  text-indent: 2em;
  transition: font-size .55s ease, line-height .55s ease, margin-bottom .55s ease, color .45s ease;
}
.app-body.light p { color: rgba(30, 28, 26, var(--op)); }

.app-body.demo-scroll .pg1 {
  animation: readscroll var(--scrollDur, 9s) linear infinite;
}

.app-body .blank { height: 1.8em; transition: height .5s ease; }
.app-body.compact .blank { height: 0; }

.app-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; justify-content: space-between;
  padding: 4px 12px; font-size: 10.5px;
  color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
  pointer-events: none;
}
.app-body.light + .app-foot,
.appwin:has(.app-body.light) .app-foot { color: rgba(0, 0, 0, 0.4); background: none; }

/* 提示气泡 */
.app-toast {
  position: absolute; top: 40px; left: 50%; z-index: 7;
  transform: translate(-50%, -6px);
  padding: 6px 16px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.68); color: #fff; font-size: 12px;
  opacity: 0; transition: opacity .3s ease, transform .3s ease;
  pointer-events: none; white-space: nowrap;
}
.app-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 书签丝带 */
.bkm {
  position: absolute; top: 0; right: 9%; z-index: 4;
  width: 14px; height: 0;
  background: var(--pink-strong);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
  transition: height .35s ease;
}
.bkm.show { height: 28px; }

/* 窗口内的对话框（复用 .prefs 皮肤）——必须整个装进窗口里，不许压满正文 */
.appwin .prefs {
  position: absolute; right: 3.5%; top: 9%; z-index: 6;
  width: 44%; max-width: 236px; max-height: 86%;
  overflow: hidden;
  font-size: clamp(5.5px, 0.72vw, 8.5px);
}
.appwin .prefs[hidden] { display: none; }
.appwin .prefs .prefs-in { padding: 8px 9px 9px; }
.appwin .prefs .prefs-in > h5 { margin-bottom: 6px; }
.appwin .prefs .prefs-done { margin-top: 7px; }

/* macOS 系统菜单栏：贴在桌面顶部，app 的菜单都在这 */
.menubar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  height: 22px; display: flex; align-items: center; gap: 13px;
  padding: 0 12px;
  background: rgba(22, 19, 28, 0.6); backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(8px, 0.8vw, 10.5px);
}
.menubar .apple { font-size: 1.15em; margin-right: -3px; }
.menubar b { font-weight: 700; }
.menubar .sp { margin-left: auto; color: rgba(255, 255, 255, 0.55); }
.os-win .menubar { display: none; }

/* Windows 模式下，弹窗标题栏也换成右侧关闭按钮 */
.os-win .prefs-bar i { display: none; }
.os-win .prefs-bar::after {
  content: "✕"; margin-left: auto;
  color: #d9d9de; font-size: 1.1em; line-height: 1;
}

/* Windows：标题栏下面就是菜单行（和真机 Tk 一致） */
.app-menurow {
  display: none; flex: none; gap: 13px;
  padding: 3px 10px;
  background: #211e28; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #a9aab2; font-size: clamp(8px, 0.78vw, 10.5px);
}
.os-win .app-menurow { display: flex; }

/* 菜单栏左上角的苹果标 */
.applelogo { width: .95em; height: .95em; fill: rgba(255, 255, 255, 0.92); flex: none; }

/* 页码：照实拍图，左下角一个数字，没有别的 */
.pagefoot {
  position: absolute; left: 12px; bottom: 7px; z-index: 3;
  font-size: clamp(8px, 0.8vw, 10.5px);
  color: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}
.appwin:has(.app-body.light) .pagefoot { color: rgba(0, 0, 0, 0.42); }

/* 功能容器：左侧文案 + 演示项，右侧桌面 */
.feat .split {
  display: grid;
  grid-template-columns: minmax(330px, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: center;
}
.borderless-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feat .borderless-card {
  grid-template-columns: minmax(0, 8fr) minmax(330px, 4fr);
  gap: 56px; align-items: center;
}
.borderless-card .featdemo { min-width: 0; }
.borderless-card .deskstage {
  aspect-ratio: 16 / 10;
  border-radius: 15px; box-shadow: 0 20px 54px rgba(0,0,0,.42);
}
.borderless-card .appwin { inset: 17% 13% 12%; }
.borderless-copy h2 {
  margin: 4px 0 14px;
  font-size: clamp(36px, 3.8vw, 56px); line-height: 1.14; letter-spacing: -.7px;
}
.borderless-copy > p:not(.eyebrow) {
  margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.85;
}
.borderless-copy .mode-points { margin-top: 20px; }
.borderless-copy .switcher.left { margin-top: 14px; }
.borderless-card .os-mini { margin-bottom: 9px; }
@media (max-width: 980px) {
  .feat .split { grid-template-columns: 1fr; gap: 28px; }
  .feat .borderless-card { grid-template-columns: 1fr; }
  .borderless-copy { grid-row: 1; }
  .borderless-demo { grid-row: 2; }
  .borderless-copy h2 br { display: none; }
}

.featdemo { position: relative; display: flex; flex-direction: column; }
.featdemo .deskstage { width: 100%; }

/* macOS / Windows：小小的分段控件，贴在演示右上角，跟功能项拉开层级 */
.os-mini {
  align-self: flex-end;
  display: inline-flex; margin: 0 0 10px;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.os-mini button {
  padding: 4px 14px; border: none; background: transparent;
  color: var(--text-faint); font: inherit; font-size: 12.5px; cursor: pointer;
}
.os-mini button + button { border-left: 1px solid var(--line); }
.os-mini button[aria-selected="true"] {
  background: rgba(240, 179, 186, 0.14); color: var(--pink); font-weight: 600;
}

/* 功能小项：轻量文字条目，不和分段控件抢眼 */
.switcher.left { justify-content: flex-start; margin-top: 22px; gap: 4px 8px; }
.switcher.left button {
  padding: 6px 11px; font-size: 13px;
  border: none; background: transparent; border-radius: 7px;
  color: var(--text-faint);
}
.switcher.left button:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.switcher.left button[aria-selected="true"] {
  color: var(--pink); background: rgba(240, 179, 186, 0.08);
}
.switcher.left .kbd { font-size: 10px; padding: 0 5px; opacity: .8; }

/* 章节目录 / 书签列表 */
.toc-search {
  height: 18px; border: 1.5px solid #2a2c31; border-radius: 4px;
  background: #fff; margin-bottom: 9px;
}
.toc-list {
  border: 1px solid #e3e4e8; border-radius: 6px;
  overflow: hidden; margin-bottom: 9px;
}
.toc-row { display: flex; gap: 14px; padding: 5px 10px; color: #33363b; }
.toc-row:nth-child(even) { background: #f7f7f8; }
.toc-row.hl { background: #f3c3d2; }
.toc-row b { font-weight: 600; flex: none; }
.toc-foot {
  display: flex; justify-content: space-between; align-items: center;
  color: #8a8e95;
}
.toc-count { float: right; color: #8a8e95; font-weight: 400; }

/* 进度跳转：大号百分比 + 滑块（照软件里的样式） */
.goto-pct {
  text-align: center; margin: 6px 0 8px;
  color: var(--pink-ui); font-weight: 700; font-size: 2.3em;
  font-variant-numeric: tabular-nums;
}

/* 系统切换 */
.os-note { text-align: center; margin: -30px 0 26px; color: var(--text-faint); font-size: 13px; }

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .deskstage { aspect-ratio: 16 / 12; }
  .appwin { inset: 6% 5% 8%; }
  .appwin .prefs { width: 58%; }
}

/* ---------- 教程页：渲染的示意窗口（替代截图） ---------- */

.gmock {
  max-width: 440px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  background: #f4f4f6; color: #2a2c31;
  font-size: 13px; line-height: 1.7; user-select: none;
}
.gmock-bar {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; background: #3a3a3c;
}
.gmock-bar i { width: 9px; height: 9px; border-radius: 50%; }
.gmock-bar i:nth-child(1) { background: #ff5f57; }
.gmock-bar i:nth-child(2) { background: #febc2e; }
.gmock-bar i:nth-child(3) { background: #9a9a9e; }
.gmock-bar b {
  position: absolute; left: 0; right: 0; text-align: center;
  color: #ececec; font-size: 12px; font-weight: 600;
}
.gmock-body { padding: 18px 20px 20px; }
.gmock-body h4 { margin: 0 0 6px; font-size: 16px; color: #1c1e22; }
.gmock-body p { margin: 0 0 12px; color: #6b7078; font-size: 12.5px; }

.gmock-input {
  padding: 8px 10px; margin-bottom: 14px;
  border: 1.5px solid #2a2c31; border-radius: 4px; background: #fff;
  color: #b3b7bd; letter-spacing: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
}

.gmock-btn {
  display: inline-block; padding: 7px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-right: 10px;
}
.gmock-btn.blue { background: #1769e0; color: #fff; }
.gmock-btn.ghost { background: #fff; border: 1px solid #d5d7db; color: #33363b; }

/* 需要用户点的那个控件：粉圈呼吸提示 */
.gmock-target {
  position: relative;
  box-shadow: 0 0 0 3px rgba(232, 96, 140, 0.35);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232, 96, 140, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(232, 96, 140, 0.15); }
}
.gmock-tip {
  display: inline-block; margin-left: 2px;
  color: var(--pink-strong); font-size: 12.5px; font-weight: 600;
}

.gmock-block {
  padding: 12px 14px; border-radius: 8px; background: #e9eaee;
  margin-bottom: 14px;
}
.gmock-block p { margin: 0 0 4px; color: #33363b; font-size: 12.5px; }
.gmock-block small { color: #8a8e95; font-size: 11px; display: block; margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Bento：章节目录 / 全文搜索 / 快捷键 ---------- */

.bento {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px; margin: 0 auto;
}
.bento .cell {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  overflow: hidden; position: relative;
}
.bento .cell.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
.cell-text { padding: 30px 32px; }
.cell-text h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.2px; }
.cell-text p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.75; }
.cell-icon {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: rgba(240, 179, 186, 0.12); border: 1px solid rgba(240, 179, 186, 0.2);
  color: var(--pink); font-size: 15px;
}
.cell-vis { position: relative; padding: 26px 26px 0; }
.bento .cell.wide .cell-vis { padding: 26px 26px 26px 0; }

@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .bento .cell.wide { grid-template-columns: 1fr; }
  .bento .cell.wide .cell-vis { padding: 0 26px 26px; }
}

/* 章节目录：真窗口的浅色皮肤 */
.toc-win {
  border-radius: 10px 10px 0 0; overflow: hidden;
  background: #f4f4f6; color: #2a2c31;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  font-size: 12px;
}
.bento .cell.wide .toc-win { border-radius: 10px; }
.toc-win .bar {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; background: #3a3a3c;
}
.toc-win .bar i { width: 8px; height: 8px; border-radius: 50%; }
.toc-win .bar i:nth-child(1) { background: #ff5f57; }
.toc-win .bar i:nth-child(2) { background: #febc2e; }
.toc-win .bar i:nth-child(3) { background: #9a9a9e; }
.toc-win .bar b { position: absolute; left: 0; right: 0; text-align: center; color: #ececec; font-size: 11.5px; }
.toc-win .in { padding: 14px 15px 15px; }
.toc-win h5 { margin: 0 0 10px; font-size: 15px; color: #1c1e22; }
.toc-win h5 em { float: right; font-style: normal; font-size: 11.5px; color: #8a8e95; font-weight: 400; }
.toc-win .search { height: 22px; border: 1.5px solid #2a2c31; border-radius: 4px; background: #fff; margin-bottom: 10px; }
.toc-win .rows { border: 1px solid #e3e4e8; border-radius: 6px; overflow: hidden; }
.toc-win .r { display: flex; gap: 14px; padding: 6px 11px; }
.toc-win .r:nth-child(even) { background: #f7f7f8; }
.toc-win .r.on { background: #f3c3d2; }
.toc-win .r b { font-weight: 600; flex: none; color: #33363b; }
.toc-win .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: #8a8e95; font-size: 11.5px; }
.toc-win .go { padding: 4px 16px; border-radius: 999px; background: var(--pink-ui); color: #fff; font-weight: 600; }

/* 全文搜索：命中片段里关键词高亮 */
.search-win {
  border-radius: 10px 10px 0 0; overflow: hidden;
  background: #f4f4f6; color: #2a2c31;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  font-size: 11.5px;
}
.search-win .bar { position: relative; display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #3a3a3c; }
.search-win .bar i { width: 8px; height: 8px; border-radius: 50%; }
.search-win .bar i:nth-child(1) { background: #ff5f57; }
.search-win .bar i:nth-child(2) { background: #febc2e; }
.search-win .bar i:nth-child(3) { background: #9a9a9e; }
.search-win .bar b { position: absolute; left: 0; right: 0; text-align: center; color: #ececec; font-size: 11.5px; }
.search-win .in { padding: 13px 14px 15px; }
.search-win h5 { margin: 0 0 9px; font-size: 14px; color: #1c1e22; }
.search-win h5 em { float: right; font-style: normal; font-size: 11px; color: var(--pink-ui); font-weight: 600; }
.search-win .box {
  display: flex; align-items: center; padding: 5px 9px; margin-bottom: 10px;
  border: 1.5px solid #2a2c31; border-radius: 4px; background: #fff; color: #33363b;
}
.search-win .box .cursor {
  display: inline-block; width: 1px; height: 1em; background: #33363b;
  margin-left: 2px; animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0 } }
.search-win .hit { padding: 7px 0; border-top: 1px solid #e6e7ea; color: #57534c; line-height: 1.8; }
.search-win .hit:first-of-type { border-top: none; }
.search-win .hit mark { background: #f8dbe4; color: #b3315c; padding: 0 2px; border-radius: 2px; }

/* 快捷键：大键帽轮播 */
.keys-vis {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 168px; padding: 20px 0 6px;
}
.keycap {
  min-width: 76px; height: 76px; padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong); border-bottom-width: 3px;
  background: linear-gradient(180deg, #232329, #1a1a1e);
  display: grid; place-items: center;
  font-size: 21px; font-weight: 600; color: var(--text);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease;
}
.keycap.small { font-size: 16px; min-width: 64px; height: 64px; }
.keycap.tap { transform: translateY(3px); border-bottom-width: 1px; border-color: rgba(240,179,186,.5); }
.keys-plus { color: var(--text-faint); font-size: 18px; }

.keys-cap {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 14px;
  padding: 0 4px 2px;
}
.keys-cap .what { color: var(--text-dim); font-size: 13px; }
.keys-cap .what b { color: var(--text); font-weight: 600; }
.keys-all {
  border: none; background: none; padding: 0;
  color: var(--pink); font: inherit; font-size: 13px; cursor: pointer;
  border-bottom: 1px solid rgba(240,179,186,.35);
}
.keys-all:hover { color: #fff; border-color: #fff; }

/* 全部快捷键弹层 */
.keys-modal {
  position: fixed; inset: 0; z-index: 999;
  display: none; place-items: center; padding: 24px;
  background: rgba(6, 6, 8, 0.72); backdrop-filter: blur(6px);
}
.keys-modal[open] { display: grid; }
.keys-modal .sheet {
  width: min(100%, 620px); max-height: 82vh; overflow: auto;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--panel); padding: 26px 28px 24px;
}
.keys-modal h3 { margin: 0 0 4px; font-size: 19px; }
.keys-modal .tip { margin: 0 0 18px; color: var(--text-faint); font-size: 13px; }
.keys-modal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.keys-modal td { padding: 8px 0; border-top: 1px solid var(--line); color: var(--text-dim); }
.keys-modal td:first-child { width: 40%; color: var(--text); }
.keys-modal .x {
  position: sticky; top: 0; float: right; margin: -6px -6px 0 0;
  border: none; background: none; color: var(--text-faint);
  font-size: 20px; cursor: pointer; line-height: 1;
}
.keys-modal .x:hover { color: var(--text); }

/* 小红书名片 */
.xhs-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  max-width: 480px; margin: 24px auto 0; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); text-align: left;
}
.xhs-card img.qr { width: 96px; height: 96px; border-radius: 8px; background: #fff; flex: none; }
.xhs-card .who b { display: block; font-size: 16px; margin-bottom: 2px; }
.xhs-card .who span { display: block; color: var(--text-faint); font-size: 12.5px; }
.xhs-card .who p { margin: 8px 0 0; color: var(--text-dim); font-size: 13px; }
.xhs-card .scan { color: var(--text-faint); font-size: 12px; margin-top: 6px; }

/* ---------- 导航功能：与页面融合的深色产品画布 ---------- */

.nav-bento { gap: 18px; }
.nav-bento .cell {
  isolation: isolate;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(130, 90, 155, .14), transparent 62%),
    linear-gradient(145deg, #15151a, #111116);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.nav-bento .cell::before {
  content: ""; position: absolute; z-index: -1;
  width: 340px; height: 340px; right: -170px; bottom: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 179, 186, .1), transparent 70%);
}
.nav-bento .cell-vis { padding: 28px 28px 0; }
.nav-bento .cell.wide .cell-vis { padding: 32px 32px 32px 0; }
.nav-stats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.nav-stats span {
  padding: 4px 9px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--text-faint); font-size: 11px;
}

.nav-console {
  padding: 14px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(7, 7, 10, .72);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .035);
  backdrop-filter: blur(12px);
}
.nav-console-top {
  display: flex; align-items: center; gap: 9px;
  padding: 1px 2px 12px; color: #d9d9df; font-size: 11px;
}
.reader-mark {
  display: grid; place-items: center; width: 23px; height: 23px;
  border-radius: 7px; background: linear-gradient(145deg, #f4c0c6, #c97986);
  color: #16161a; font-size: 8px; font-weight: 800; letter-spacing: -.3px;
}
.nav-status {
  margin-left: auto; padding: 3px 8px; border-radius: 999px;
  background: rgba(240, 179, 186, .09); color: var(--pink); font-size: 9.5px;
}
.nav-command, .search-field {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .045); color: #7d7e87;
}
.nav-command { height: 38px; padding: 0 11px; border-radius: 10px; font-size: 11px; }
.nav-command kbd {
  margin-left: auto; padding: 2px 7px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px; background: rgba(255,255,255,.04);
  color: #8a8b94; font: 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.nav-search-icon {
  width: 10px; height: 10px; flex: none;
  border: 1.5px solid #777985; border-radius: 50%; position: relative;
}
.nav-search-icon::after {
  content: ""; position: absolute; width: 4px; height: 1.5px;
  right: -3px; bottom: -1px; background: #777985; transform: rotate(45deg); border-radius: 2px;
}
.nav-list { padding: 8px 0 3px; }
.nav-list button {
  display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 9px;
  width: 100%; padding: 8px 10px; border: 0; border-radius: 8px;
  background: none; color: #8e8f98; font: inherit; font-size: 10.5px; text-align: left;
}
.nav-list button span { color: #5f6069; }
.nav-list button b { color: #c9c9d0; font-weight: 500; }
.nav-list button em { color: #5f6069; font-style: normal; font-size: 9.5px; }
.nav-list button.active {
  background: linear-gradient(90deg, rgba(240, 179, 186, .15), rgba(240, 179, 186, .055));
  box-shadow: inset 2px 0 0 var(--pink);
}
.nav-list button.active span, .nav-list button.active em { color: var(--pink); }
.nav-list button.active b { color: #fff; }
.nav-progress {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 10px 4px 0; border-top: 1px solid rgba(255,255,255,.07);
  color: #65666f; font-size: 9.5px;
}
.nav-progress > i { height: 3px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.nav-progress > i b { display: block; width: 37%; height: 100%; background: linear-gradient(90deg, var(--pink-deep), var(--pink)); }
.nav-progress strong { color: #a1a2aa; font-size: 9.5px; font-weight: 500; }

.search-console {
  padding: 13px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px; background: rgba(7, 7, 10, .72);
  box-shadow: 0 20px 42px rgba(0,0,0,.34);
}
.search-field {
  height: 38px; padding: 0 11px; border-radius: 10px;
  color: #e6e6eb; font-size: 12px;
}
.search-field em { margin-left: auto; color: var(--pink); font-size: 9.5px; font-style: normal; }
.search-caret {
  width: 1px; height: 14px; background: #e6e6eb;
  animation: blink 1.1s step-end infinite;
}
.search-result {
  margin-top: 8px; padding: 9px 10px; border-radius: 9px;
  color: #8b8c95; font-size: 10px; line-height: 1.65;
}
.search-result.active { background: rgba(255,255,255,.045); box-shadow: inset 2px 0 0 var(--pink-deep); }
.search-result small { color: #5e5f67; }
.search-result p { margin: 3px 0 0; }
.search-result mark { padding: 1px 2px; border-radius: 3px; background: rgba(240,179,186,.14); color: var(--pink); }

/* 真正像 Mac 键盘的键帽，内容由 JS 轮换 */
.keys-vis {
  min-height: 178px; gap: 20px; padding: 22px 0 10px;
  perspective: 600px;
}
.keycap {
  position: relative; display: block; min-width: 98px; width: 98px; height: 98px;
  padding: 12px 13px; border-radius: 17px;
  border: 1px solid rgba(255,255,255,.14);
  border-bottom: 2px solid rgba(255,255,255,.04);
  background: linear-gradient(145deg, #171719 0%, #0b0b0d 70%);
  color: #f6f6f8;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.11),
    inset 0 -10px 20px rgba(0,0,0,.18),
    0 4px 0 #050506,
    0 13px 30px rgba(0,0,0,.52);
  transform: translateY(0) rotateX(0);
  transition: transform .2s ease, border-color .2s ease, opacity .25s ease;
}
.keycap.small { min-width: 98px; width: 98px; height: 98px; font-size: inherit; }
.keycap.wide { min-width: 118px; width: 118px; }
.keycap .key-glyph {
  position: absolute; top: 10px; right: 13px;
  font-size: 25px; font-weight: 400; line-height: 1;
}
.keycap .key-label {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 17px; font-weight: 500; line-height: 1;
}
.keycap .key-label.single {
  inset: 0; display: grid; place-items: center;
  font-size: 35px; font-weight: 400;
}
.keycap.tap {
  transform: translateY(5px) rotateX(-2deg);
  border-color: rgba(240,179,186,.35);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.08),
    inset 0 -5px 14px rgba(0,0,0,.2),
    0 1px 0 #050506,
    0 7px 18px rgba(0,0,0,.45);
}
.keycap.keys-enter { opacity: 0; transform: translateY(8px) scale(.96); }
.keys-plus { color: #6d6e75; font-size: 24px; font-weight: 300; }
.keys-cap { align-items: center; padding: 0 3px 3px; }
.keys-cap .what { min-height: 22px; }

/* ---------- 联系：带迷你预览的悬浮卡片 ---------- */

.contact-modern {
  padding: 44px; text-align: left;
  background:
    radial-gradient(55% 120% at 100% 100%, rgba(240,179,186,.08), transparent 70%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}
.contact-head {
  display: grid; grid-template-columns: minmax(260px, 1fr) minmax(300px, .9fr);
  gap: 44px; align-items: end; margin-bottom: 28px;
}
.contact-head .eyebrow { margin-bottom: 10px; }
.contact-head h2 { margin: 0; }
.contact-head > p { margin: 0; color: var(--text-dim); font-size: 14px; }
.contact-head > p b { color: var(--text); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  grid-template-rows: auto 1fr auto;
  column-gap: 22px; row-gap: 9px;
  min-height: 194px; padding: 24px 22px 20px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  background:
    radial-gradient(80% 120% at 100% 100%, rgba(240,179,186,.055), transparent 65%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
  overflow: hidden; isolation: isolate;
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.contact-card::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.055) 48%, transparent 72%);
  opacity: 0; transform: translateX(-22%);
  transition: opacity .3s ease, transform .45s ease;
}
.contact-card::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0;
  height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,188,204,.75), rgba(184,135,255,.55), transparent);
  transition: opacity .28s ease;
}
.contact-card:hover {
  transform: translateY(-5px); border-color: rgba(240,179,186,.28);
  background:
    radial-gradient(80% 120% at 100% 100%, rgba(240,179,186,.095), transparent 66%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  box-shadow: 0 22px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04);
}
.contact-card:hover::before { opacity: 1; transform: translateX(18%); }
.contact-card:hover::after { opacity: 1; }
.contact-card:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.contact-index {
  grid-column: 1; color: var(--pink);
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px;
}
.contact-copy { grid-column: 1; align-self: center; min-width: 0; }
.contact-card h3 { margin: 0 0 5px; font-size: 17px; }
.contact-card p {
  margin: 0 0 5px; color: var(--text-dim); font-size: 13px;
  overflow-wrap: anywhere;
}
.contact-card small { color: var(--text-faint); font-size: 10.5px; }
.contact-preview {
  grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: end;
  position: relative; z-index: 2; width: 100px; height: 132px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease;
}
.contact-card:hover .contact-preview {
  transform: translateY(-6px) rotate(2deg) scale(1.025);
  box-shadow: 0 26px 42px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.14);
}
.contact-card-mail:hover .contact-preview { transform: translateY(-6px) rotate(-2deg) scale(1.025); }
.contact-preview-xhs {
  padding: 10px;
  background:
    radial-gradient(circle at 78% 16%, rgba(255,255,255,.42), transparent 22%),
    linear-gradient(150deg, #f4b3c3, #d7819b 72%, #aa647d);
}
.preview-top { display: flex; gap: 3px; margin-bottom: 10px; }
.preview-top i { width: 4px; height: 4px; border-radius: 50%; background: rgba(35,18,26,.45); }
.preview-profile {
  display: flex; align-items: center; gap: 7px;
  padding: 7px; border-radius: 10px; background: rgba(255,255,255,.82);
  color: #252027;
}
.preview-profile img {
  width: 27px; height: 27px; border-radius: 8px; object-fit: cover;
  transition: transform .32s ease;
}
.contact-card:hover .preview-profile img { transform: scale(1.08) rotate(-2deg); }
.preview-profile span { min-width: 0; line-height: 1.1; }
.preview-profile b { display: block; font-size: 8px; }
.preview-profile small { display: block; color: #7b6b73; font-size: 5.5px; margin-top: 3px; }
.preview-line {
  display: block; width: 84%; height: 5px; margin-top: 9px;
  border-radius: 999px; background: rgba(67,38,51,.18);
}
.preview-line.short { width: 56%; margin-top: 5px; }
.contact-preview em {
  position: absolute; left: 10px; bottom: 9px;
  color: rgba(40,20,30,.68); font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: 1px;
}
.contact-preview-mail {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 62% 28%, rgba(240,179,186,.14), transparent 32%),
    linear-gradient(145deg, #17171d, #0a0a0d);
}
.mail-symbol {
  display: grid; place-items: center; width: 56px; height: 56px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: linear-gradient(145deg, #242129, #111116);
  color: #fff; font-size: 25px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 24px rgba(0,0,0,.28);
}
.mail-symbol img {
  position: absolute; width: 18px; height: 18px;
  right: 17px; bottom: 31px; border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
}
.contact-preview-mail em { color: rgba(240,179,186,.58); }
.contact-action {
  grid-column: 1; align-self: end;
  display: inline-flex; align-items: center; gap: 7px; justify-self: start;
  color: var(--text-dim); font-size: 10.5px; font-weight: 600;
  transition: color .22s ease, transform .22s ease;
}
.contact-action i {
  display: grid; place-items: center; width: 20px; height: 20px;
  border: 1px solid rgba(240,179,186,.22); border-radius: 50%;
  color: var(--pink); font-style: normal;
  transition: transform .22s ease, color .22s ease, background .22s ease;
}
.contact-card:hover .contact-action { color: var(--text); transform: translateX(2px); }
.contact-card:hover .contact-action i {
  transform: translate(2px,-2px); color: #151318; background: var(--pink);
}

@media (max-width: 820px) {
  .nav-bento .cell.wide .cell-vis { padding: 0 24px 24px; }
  .contact-head { grid-template-columns: 1fr; gap: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-list button { grid-template-columns: 62px 1fr; }
  .nav-list button em { display: none; }
  .keys-vis { min-height: 152px; gap: 13px; }
  .keycap, .keycap.small { min-width: 78px; width: 78px; height: 78px; border-radius: 14px; }
  .keycap.wide { min-width: 98px; width: 98px; }
  .keycap .key-glyph { font-size: 20px; }
  .keycap .key-label { font-size: 14px; }
  .keycap .key-label.single { font-size: 28px; }
  .contact-modern { padding: 28px 20px; }
  .contact-card {
    grid-template-columns: minmax(0, 1fr) 84px;
    padding: 20px 18px; min-height: 172px; column-gap: 14px;
  }
  .contact-preview { width: 78px; height: 112px; border-radius: 15px; }
  .contact-preview-xhs { padding: 8px; }
  .preview-profile { padding: 6px; gap: 5px; }
  .preview-profile img { width: 22px; height: 22px; border-radius: 6px; }
  .preview-profile small { display: none; }
  .mail-symbol { width: 48px; height: 48px; border-radius: 15px; font-size: 21px; }
  .mail-symbol img { width: 16px; height: 16px; right: 11px; bottom: 24px; }
  .contact-card-mail p { font-size: 11.5px; letter-spacing: -.2px; overflow-wrap: normal; }
}

/* ---------- 2026-07：放宽演示、让设置面板成为真正的右栏 ---------- */

.feat .split-text h2 {
  margin: 4px 0 16px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.14;
  letter-spacing: -1px;
}

.feat .split-text > p:not(.eyebrow) {
  max-width: 30em;
  font-size: 15px;
  line-height: 1.9;
}

.featdemo[data-feature="display"] .deskstage,
.featdemo[data-feature="basic"] .deskstage {
  min-height: 560px;
  aspect-ratio: 16 / 11.25;
}

.featdemo[data-feature="display"] .appwin,
.featdemo[data-feature="basic"] .appwin {
  inset: 9% 38% 7% 4%;
}

.featdemo[data-feature="display"] .app-body,
.featdemo[data-feature="basic"] .app-body {
  padding-right: 4%;
}

.featdemo[data-feature="display"] .deskstage > .prefs-window,
.featdemo[data-feature="basic"] .deskstage > .prefs-window {
  position: absolute;
  top: 13%;
  right: 3.5%;
  z-index: 6;
  width: 31%;
  max-width: none;
  max-height: 80%;
  font-size: clamp(7px, .7vw, 9.5px);
}

.featdemo[data-feature="display"] .deskstage > .prefs-window[hidden],
.featdemo[data-feature="basic"] .deskstage > .prefs-window[hidden] {
  display: none;
}

.featdemo[data-feature="display"] .deskstage > .prefs-window .prefs-in,
.featdemo[data-feature="basic"] .deskstage > .prefs-window .prefs-in {
  padding: 10px 11px 11px;
}

.featdemo[data-feature="display"] .deskstage > .prefs-window .prefs-in > h5,
.featdemo[data-feature="basic"] .deskstage > .prefs-window .prefs-in > h5 {
  margin-bottom: 9px;
}

.borderless-card .deskstage {
  min-height: 0;
  aspect-ratio: 16 / 10.5;
}

@media (max-width: 980px) {
  .featdemo[data-feature="display"] .deskstage,
  .featdemo[data-feature="basic"] .deskstage {
    min-height: 520px;
    aspect-ratio: 16 / 11.5;
  }

  .feat .split-text h2 { font-size: clamp(34px, 7vw, 50px); }
}

@media (max-width: 680px) {
  .featdemo[data-feature="display"] .deskstage,
  .featdemo[data-feature="basic"] .deskstage {
    min-height: 460px;
    aspect-ratio: auto;
  }

  .featdemo[data-feature="display"] .appwin,
  .featdemo[data-feature="basic"] .appwin {
    inset: 7% 45% 6% 3%;
  }

  .featdemo[data-feature="display"] .app-body,
  .featdemo[data-feature="basic"] .app-body {
    padding-right: 4%;
  }

  .featdemo[data-feature="display"] .deskstage > .prefs-window,
  .featdemo[data-feature="basic"] .deskstage > .prefs-window {
    right: 2%;
    width: 40%;
    font-size: 7px;
  }
}

/* 小红书：点击卡片先看联系卡，只有明确点“打开主页”才离站 */
.contact-card-xhs {
  grid-template-columns: minmax(0, 1fr) 108px;
  cursor: pointer;
}
.contact-preview-xhs {
  width: 100px;
  height: 132px;
  padding: 0;
  border-radius: 15px;
  background: #fff;
}
.contact-preview-xhs > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.contact-card-modal[hidden] { display: none; }
.contact-card-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 7, .76);
  backdrop-filter: blur(14px);
}
.contact-card-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background:
    radial-gradient(80% 100% at 100% 100%, rgba(240,179,186,.12), transparent 66%),
    #141419;
  box-shadow: 0 34px 100px rgba(0,0,0,.58);
}
.contact-card-dialog h3 {
  margin: 2px 0 22px;
  font-size: 25px;
}
.contact-card-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font: 22px/1 var(--sans);
  cursor: pointer;
}
.contact-card-image {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(0,0,0,.32);
}
.contact-card-image.contact-card-original {
  width: min(420px, 100%);
  margin: 0 auto;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 16px;
}
.contact-card-original img {
  display: block;
  width: 100%;
  height: auto;
}
.contact-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 13px;
}
.contact-card-footer a {
  flex: none;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--pink);
  color: #161318;
  font-weight: 700;
}
@media (max-width: 560px) {
  .contact-card-xhs { grid-template-columns: minmax(0, 1fr) 84px; }
  .contact-preview-xhs { width: 78px; height: 106px; }
  .contact-card-dialog { padding: 26px 18px 20px; }
  .contact-card-footer { align-items: flex-start; flex-direction: column; }
}

/* 区域之间不用硬线切割，改成从底色自然晕开的过渡 */
body > section {
  border-top: 0 !important;
  border-bottom: 0 !important;
}
.borderless-section,
#transparent,
#feat-display,
.oneline-section,
#navigate,
#download,
#faq {
  background:
    radial-gradient(70% 34% at 50% 0%, rgba(240,179,186,.035), transparent 76%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 18%, var(--bg-soft) 82%, var(--bg) 100%);
}

/* ============ 下载分流弹窗 ============ */
.dlm { position: fixed; inset: 0; z-index: 200; display: flex;
       align-items: center; justify-content: center; padding: 20px; }
.dlm[hidden] { display: none; }
.dlm-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.66);
                backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dlm-card { position: relative; width: 100%; max-width: 560px; background: var(--panel);
            border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
            padding: 32px 34px 28px; text-align: center;
            box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: dlm-pop .16s ease-out; }
@keyframes dlm-pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.dlm-x { position: absolute; top: 12px; right: 14px; border: 0; background: transparent;
         color: var(--text-faint); font-size: 26px; line-height: 1; cursor: pointer; padding: 4px; }
.dlm-x:hover { color: var(--text); }
.dlm-icon { width: 66px; height: 66px; border-radius: 16px; }
.dlm-title { font-size: 22px; margin: 12px 0 4px; }
.dlm-sub { color: var(--text-dim); font-size: 13.5px; margin: 0 0 22px; }
.dlm-os { display: flex; gap: 6px; background: var(--bg-soft); border: 1px solid var(--line);
          border-radius: 12px; padding: 5px; margin-bottom: 14px; }
.dlm-os button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
                 border: 0; background: transparent; color: var(--text-dim); cursor: pointer;
                 font-size: 14px; font-weight: 600; padding: 10px 6px; border-radius: 9px;
                 transition: background .15s, color .15s; }
.dlm-os button svg { width: 16px; height: 16px; flex: none; }
.dlm-os button:hover { color: var(--text); }
.dlm-os button.on { background: var(--pink); color: #16161a; }
.dlm-req { color: var(--text-faint); font-size: 12px; margin: 0 0 12px; }
.dlm-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.dlm-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
           border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-soft);
           padding: 13px 15px; color: var(--text); transition: border-color .15s, background .15s; }
.dlm-opt:hover { border-color: var(--pink-strong); }
.dlm-opt.on { border-color: var(--pink); background: rgba(232,148,158,.09); }
.dlm-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong);
             flex: none; position: relative; }
.dlm-opt.on .dlm-radio { border-color: var(--pink); }
.dlm-opt.on .dlm-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--pink); }
.dlm-opt .t { flex: 1; min-width: 0; }
.dlm-opt .t b { font-size: 14.5px; }
.dlm-opt .t .tag { display: inline-block; margin-left: 7px; vertical-align: 1px; font-size: 10.5px;
                   font-weight: 700; color: #16161a; background: var(--pink); border-radius: 999px; padding: 1px 7px; }
.dlm-opt .t small { display: block; color: var(--text-dim); font-size: 12px; margin-top: 3px; }
.dlm-opt .sz { flex: none; color: var(--text-dim); font-size: 12.5px; font-weight: 600; }
.dlm-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
          padding: 14px; border-radius: 12px; background: var(--pink); color: #16161a;
          font-size: 15.5px; font-weight: 700; text-decoration: none; }
.dlm-go svg { width: 18px; height: 18px; }
.dlm-go:hover { background: var(--pink-strong); }
.dlm-note { color: var(--text-dim); font-size: 12px; line-height: 1.7; margin: 14px 0 0; min-height: 1em; }
.dlm-note a { color: var(--pink); border-bottom: 1px dashed var(--pink-deep); }
@media (max-width: 460px) {
  .dlm-card { padding: 26px 20px 22px; }
  .dlm-opt .t small { font-size: 11.5px; }
}
