/* Elecwing 首页：左边介绍 + 右边可以操作的演示（滚动推进 8 步），下面是正文。
   演示里的尺寸全部按舞台宽度（cqw）算，任何宽度下比例都一样。 */

/* ================= 首屏布局 ================= */

.ew-scrolly { position: relative; }
.ew-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(28px, 5vh, 56px) clamp(24px, 4vh, 40px);
}
/* 背景：电子流粒子固定铺满窗口，页面滚动时一直待在背后；首屏只在左边文字正后面稍微压暗一点，保证字看得清 */
.ew-particles, .ew-sparks {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.site:has(.ew-particles) { background: transparent; }
.ew-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 30% 45% at 16% 48%, rgba(5, 5, 6, .6), rgba(5, 5, 6, 0) 100%);
  pointer-events: none;
}
@media (max-width: 980px) {
  .ew-hero::before { background: radial-gradient(ellipse 80% 30% at 50% 18%, rgba(5, 5, 6, .6), rgba(5, 5, 6, 0) 100%); }
}
.ew-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

/* 滚动剧场：宽屏时首屏固定，滚 8 段 */
@media (min-width: 981px) and (min-height: 620px) {
  .ew-scrolly { height: calc(100vh + 8 * 62vh); }
  .ew-hero {
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    display: grid;
    align-items: center;
    padding-block: 2vh;
  }
}

/* ================= 左边介绍 ================= */

.ew-intro { display: grid; gap: 22px; min-width: 0; }
.ew-copies { display: grid; }
.ew-copy {
  grid-area: 1 / 1;
  display: grid;
  gap: 16px;
  align-content: start;
  transition: opacity .35s ease, transform .35s ease;
}
.ew-copy[hidden] { display: grid !important; visibility: hidden; opacity: 0; transform: translateY(8px); }
.ew-copy h1, .ew-copy h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 600;
}
.ew-copy p { color: var(--text-2); font-size: clamp(.95rem, 1.1vw, 1.08rem); max-width: 30ch; }
.ew-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  justify-self: start;
  color: var(--accent);
  font: 600 .82rem/1 var(--font-text);
  letter-spacing: .02em;
}
.ew-hint-line { color: var(--text-3) !important; font-size: .88rem !important; }
.ew-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ew-actions .btn { min-height: 46px; padding-inline: 18px; font-size: .95rem; }
.ew-actions svg { width: 16px; height: 16px; }
.ew-req { color: var(--text-3); font-size: .8rem; margin-top: -8px; }

.ew-progress { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.ew-step-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.ew-step-btn:hover { color: var(--text); border-color: var(--text-3); }
.ew-step-btn:disabled { opacity: .3; cursor: default; }
.ew-dots { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.ew-dots li { margin: 0; }
.ew-dots button {
  position: relative;
  width: 20px; height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ew-dots button::before {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 13px;
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background .25s, box-shadow .25s;
}
.ew-dots button[aria-current="step"]::before { background: var(--led); box-shadow: 0 0 10px var(--led-glow); }
.ew-dots button.is-done::before { background: color-mix(in srgb, var(--led) 55%, transparent); }
.ew-dots span {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 7px;
  border-radius: 6px;
  background: #222228;
  color: var(--text);
  font-size: .72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
.ew-dots button:hover span, .ew-dots button:focus-visible span { opacity: 1; }
.ew-skip { flex-basis: 100%; margin-top: 6px; color: var(--text-3); font-size: .82rem; text-decoration: none; }
.ew-skip:hover { color: var(--text); }

/* ================= 右边舞台 ================= */

.ew-stage { margin: 0; min-width: 0; display: grid; gap: 14px; }
.ew-mcap { display: none; }
.ew-tabs {
  display: flex;
  justify-self: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 20, 24, .7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ew-tabs button {
  position: relative;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 .86rem/1.2 var(--font-text);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ew-tabs button:hover { color: var(--text); }
.ew-tabs button[aria-pressed="true"] { background: #f5f5f7; color: #0b0b0d; }

/* 发光提示：当前该点的按钮 */
.is-hint { position: relative; z-index: 5; }
.is-hint::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  min-width: 10px;
  border: 1.5px solid #c9b6ff;
  box-shadow: 0 0 0 3px rgba(139, 92, 255, .35), 0 0 22px 4px rgba(139, 92, 255, .65);
  pointer-events: none;
  animation: ew-glow 1.6s ease-in-out infinite;
}
@keyframes ew-glow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.04); } }

/* ================= 演示（dm） ================= */

.dm {
  --mac-x: 0%;
  --mac-w: 100%;
  --pc-x: 46%;
  --pc-w: calc(100% - var(--pc-x));
  position: relative;
  aspect-ratio: 16 / 10;
  container-type: inline-size;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #1d1d1f;
  user-select: none;
  -webkit-user-select: none;
}
/* 跨屏：两块一样大的屏幕并排，宽屏时往左右多伸出去一点；融合、原生：画面都在 Mac 上，PC 屏缩到右边 */
.ew-hero[data-scene="fusion"] .dm[data-mode="span"] { --mac-w: 49%; --pc-x: 51%; --pc-w: 49%; }
@media (min-width: 981px) {
  .ew-hero[data-scene="fusion"] .dm[data-mode="span"] { --mac-x: -3%; --mac-w: 52%; --pc-x: 51%; --pc-w: 52%; }
}
.ew-hero[data-scene="fusion"] .dm:is([data-mode="fusion"], [data-mode="native"]) { --mac-w: 83%; --pc-x: 85%; }

.dm-screen {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 1.4cqw;
  box-shadow: 0 0 0 .45cqw #09090b, 0 0 0 calc(.45cqw + 1px) rgba(255, 255, 255, .1), 0 3cqw 7cqw rgba(0, 0, 0, .6);
  transition: width .7s cubic-bezier(.2, .8, .2, 1), left .7s cubic-bezier(.2, .8, .2, 1), opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.dm-mac { left: var(--mac-x); width: var(--mac-w); z-index: 1; }
.dm-pc { left: var(--pc-x); width: var(--pc-w); background: #0b1a33; opacity: 0; transform: translateX(4cqw); pointer-events: none; }
.ew-hero[data-scene="fusion"] .dm-pc { opacity: 1; transform: none; pointer-events: auto; }

/* Mac 壁纸 */
.dm-wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 18% 18%, #c3b2ff 0%, transparent 62%),
    radial-gradient(ellipse 55% 60% at 92% 92%, #ffb795 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 30%, #9f7cf2 0%, transparent 70%),
    linear-gradient(135deg, #6f4ee8 0%, #b884d6 52%, #f0a07a 100%);
}

/* 菜单栏 */
.dm-menubar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 1.5cqw;
  height: 2.9cqw;
  padding-inline: 1.4cqw;
  background: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
  font-size: 1.15cqw;
  color: #1d1d1f;
}
.dm-mb-app { font-weight: 700; }
.dm-mb-right { margin-left: auto; display: flex; align-items: center; gap: 1.2cqw; }
.dm-mb-elecwing {
  display: grid;
  place-items: center;
  width: 2.5cqw;
  height: 2.1cqw;
  padding: 0;
  border: 0;
  border-radius: .45cqw;
  background: transparent;
  cursor: pointer;
}
.dm-mb-elecwing img { width: 1.5cqw; height: 1.5cqw; filter: drop-shadow(0 0 .1cqw rgba(0, 0, 0, .35)); }
.dm-mb-elecwing:hover, .dm-mb-elecwing[aria-expanded="true"] { background: rgba(0, 0, 0, .14); }
.dm-mb-ico { width: 1.4cqw; height: auto; color: #1d1d1f; }
.dm-clock { font-variant-numeric: tabular-nums; }
.ew-hero[data-scene="fusion"] .dm[data-mode="span"] .dm-hide-s { display: none; }

/* Elecwing 面板 */
.dm-popover {
  position: absolute;
  z-index: 7;
  top: 3.5cqw;
  right: 1cqw;
  width: 31cqw;
  display: grid;
  gap: .8cqw;
  padding: 1cqw;
  border-radius: 1.3cqw;
  background: rgba(246, 246, 249, .82);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  backdrop-filter: blur(40px) saturate(1.8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 0 0 .5px rgba(0, 0, 0, .18), 0 2cqw 5cqw rgba(30, 10, 80, .35);
  font-size: 1.05cqw;
  transform-origin: 85% 0;
  animation: dm-pop .22s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes dm-pop { from { opacity: 0; transform: scale(.94) translateY(-.6cqw); } }
/* Fusion 场景：屏幕变窄，面板缩小一点；菜单栏收纳和 ALL 先收起来，Fusion 的控件全部保留 */
.ew-hero[data-scene="fusion"] .dm-popover { width: 25.5cqw; right: .8cqw; gap: .6cqw; padding: .8cqw; font-size: .9cqw; }
.ew-hero[data-scene="fusion"] .dm-pop-tray,
.ew-hero[data-scene="fusion"] .dm-pop-all { display: none; }
.dm-pop-head { display: flex; align-items: center; gap: .6cqw; padding: .1cqw .3cqw; }
.dm-pop-head img { width: 1.5em; height: 1.5em; }
.dm-pill { margin-left: auto; padding: .15em .7em; border-radius: 99px; background: rgba(40, 170, 100, .14); color: #18834d; font-size: .82em; font-weight: 600; }
.dm-pop-gear { display: grid; color: #6e6d75; }
.dm-pop-gear svg { width: 1.25em; height: 1.25em; }
.dm-pop-sec { display: grid; gap: .65em; padding: .8em; border-radius: .9em; background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06); }
.dm-pop-sec > small { color: #77767d; font-size: .8em; font-weight: 600; }
.dm-tray { display: flex; align-items: center; gap: .75em; }
.dm-tray img { width: 2.1em; height: 2.1em; border-radius: 22%; box-shadow: 0 .1cqw .3cqw rgba(0, 0, 0, .15); }
.dm-tray-more { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 22%; background: rgba(0, 0, 0, .06); color: #6e6d75; font-size: .8em; font-weight: 600; }

/* 插件：图标横向一个一个排 */
.dm-plugins { display: flex; gap: .4em; }
.dm-plugin {
  display: grid;
  justify-items: center;
  gap: .35em;
  width: 5.4em;
  padding: .5em .2em .45em;
  border: 0;
  border-radius: .8em;
  background: transparent;
  color: #2a2a30;
  font: inherit;
  font-size: .9em;
  line-height: 1.2;
  cursor: pointer;
}
.dm-plugin:hover { background: rgba(0, 0, 0, .05); }
.dm-plugin[aria-pressed="true"] { background: rgba(110, 70, 240, .13); color: #3d1fb0; font-weight: 600; }
.dm-plugin img { width: 2.9em; height: 2.9em; filter: drop-shadow(0 .15em .25em rgba(0, 0, 0, .18)); }
.dm-plugin-add .dm-plus { display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: 26%; border: 1px dashed #b4b2bc; color: #8a8892; font-size: 1.3em; }

/* Fusion 面板：连接的 PC → 三个模式 → 这个模式的控件 → 声音 → 工具 */
.dm-fusion-panel { display: grid; gap: .7em; padding-top: .7em; border-top: .5px solid rgba(0, 0, 0, .08); }
.dm-fp-pc { display: flex; align-items: center; gap: .7em; padding: .6em .7em; border-radius: .7em; background: rgba(0, 0, 0, .04); }
.dm-fp-pcicon { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: .55em; background: linear-gradient(160deg, #1a2440, #0d1222); color: #8fc4ff; }
.dm-fp-pcicon svg { width: 1.3em; }
.dm-fp-pcname { display: grid; line-height: 1.3; }
.dm-fp-pcname em { display: flex; align-items: center; gap: .4em; font-style: normal; color: #6e6d75; font-size: .85em; }
.dm-fp-pcname em i { width: .55em; height: .55em; border-radius: 50%; background: #2fc172; box-shadow: 0 0 0 .2em rgba(47, 193, 114, .2); }
.dm-fp-ms { margin-left: auto; color: #18834d; font-size: .82em; font-variant-numeric: tabular-nums; }
.dm-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; }
.dm-modes button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .3em;
  padding: .6em 0 .5em;
  border: 0;
  border-radius: .7em;
  background: rgba(0, 0, 0, .05);
  color: #3a3a40;
  font: inherit;
  font-weight: 500;
  font-size: .92em;
  line-height: 1.2;
  cursor: pointer;
}
.dm-modes button:hover { background: rgba(0, 0, 0, .08); }
.dm-modes svg { width: 2em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.dm-modes button[aria-pressed="true"] { background: #6a3cf0; color: #fff; box-shadow: 0 .2em .6em rgba(106, 60, 240, .35); }
.dm-fp-hint { color: #6e6d75; font-size: .82em; line-height: 1.4; }
.dm-fp-hint, .dm-fp-ctl { display: none; }
.dm[data-mode="span"] [data-for="span"],
.dm[data-mode="fusion"] [data-for="fusion"],
.dm[data-mode="native"] [data-for="native"] { display: grid; }
.dm-fp-ctl { gap: .45em; }
.dm-fp-label { color: #6e6d75; font-size: .82em; font-weight: 600; }
.dm-arr { position: relative; height: 3.8em; border-radius: .6em; background: rgba(0, 0, 0, .04); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .06); }
.dm-arr span { position: absolute; top: 50%; display: grid; place-items: center; height: 2.3em; border-radius: .3em; color: #fff; font-size: .75em; font-weight: 600; transform: translateY(-50%); }
.dm-arr-mac { left: 22%; width: 26%; height: 2.1em !important; background: linear-gradient(135deg, #7b59ec, #e39a86); }
.dm-arr-pc { left: 50%; width: 30%; height: 2.6em !important; background: linear-gradient(135deg, #1d4c8f, #0c1f3d); box-shadow: 0 0 0 .15em rgba(106, 60, 240, .5); }
.dm-fp-btn { display: flex; align-items: center; justify-content: center; gap: .5em; padding: .6em; border: 0; border-radius: .6em; background: #fff; color: #222; font: inherit; font-weight: 500; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 .1em .2em rgba(0, 0, 0, .06); cursor: pointer; }
.dm-fp-btn .dm-winlogo { width: 1em; height: 1em; }
.dm-fp-row { display: flex; align-items: center; justify-content: space-between; gap: .6em; font-size: .92em; }
.dm-fp-chip { padding: .15em .6em; border-radius: 99px; background: rgba(110, 70, 240, .12); color: #4b25c9; font-size: .85em; }
.dm-switch { position: relative; width: 2.2em; height: 1.3em; border-radius: 99px; background: #34c759; }
.dm-switch::after { content: ""; position: absolute; top: .15em; right: .15em; width: 1em; height: 1em; border-radius: 50%; background: #fff; box-shadow: 0 .05em .15em rgba(0, 0, 0, .3); }
.dm-seg3 { display: inline-flex; gap: .15em; padding: .15em; border-radius: .5em; background: rgba(0, 0, 0, .07); }
.dm-seg3 button { padding: .25em .6em; border: 0; border-radius: .38em; background: transparent; color: #3a3a40; font: inherit; font-size: .85em; line-height: 1.2; cursor: pointer; }
.dm-seg3 button[aria-pressed="true"] { background: #fff; color: #111; box-shadow: 0 .05em .2em rgba(0, 0, 0, .15); }
.dm-fp-foot { display: flex; align-items: center; gap: .5em; padding-top: .55em; border-top: .5px solid rgba(0, 0, 0, .08); color: #3a3a40; font-size: .88em; }
.dm-fp-tool { display: flex; align-items: center; gap: .35em; }
.dm-fp-tool svg { width: 1.1em; height: 1.1em; }
.dm-fp-foot kbd { padding: .05em .4em; border-radius: .3em; background: rgba(0, 0, 0, .06); color: #6e6d75; font: inherit; font-size: .85em; }
.dm-fp-more { margin-left: auto; padding: 0 .4em; border-radius: .3em; background: rgba(0, 0, 0, .06); color: #6e6d75; }
.dm-pop-all {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .55em .8em;
  border: 0;
  border-radius: .8em;
  background: transparent;
  color: #3a3a40;
  font: inherit;
  cursor: pointer;
}
.dm-pop-all:hover { background: rgba(0, 0, 0, .05); }
.dm-pop-all span:last-child { margin-left: auto; }
.dm-all-mark { width: 1.5em; height: 1.5em; border-radius: 30%; background: conic-gradient(from 210deg, #6a3cf0, #c08ad8, #f2a77e, #6a3cf0); }

/* macOS 窗口通用 */
.dm-window, .dm-native {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.1cqw;
  background: #f7f7f9;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3), 0 2.4cqw 6cqw rgba(20, 10, 60, .45);
  opacity: 0;
  transform: scale(.96) translateY(1cqw);
  pointer-events: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.dm-macbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 2.6cqw;
  background: linear-gradient(#f2f2f4, #e9e9ec);
  border-bottom: .5px solid rgba(0, 0, 0, .12);
  font-size: 1cqw;
  font-weight: 600;
  color: #4a4a50;
}
.dm-lights { position: absolute; left: 1cqw; display: flex; gap: .6cqw; }
.dm-lights i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.dm-lights i:nth-child(2) { background: #febc2e; }
.dm-lights i:nth-child(3) { background: #28c840; }

/* ALL 商店 */
.dm-store { left: 6%; right: 6%; top: 4.6cqw; bottom: 4.6cqw; }
.ew-hero[data-scene="ecosystem"] .dm-store { opacity: 1; transform: none; pointer-events: auto; }
.dm-store-body { flex: 1; display: grid; grid-template-columns: 19% 1fr; min-height: 0; color: #1d1d1f; }
.dm-store-side { display: flex; flex-direction: column; gap: .2cqw; padding: 1.2cqw .8cqw; background: rgba(236, 234, 242, .9); border-right: .5px solid rgba(0, 0, 0, .08); }
.dm-store-side small { padding: 0 .9cqw .2cqw; color: #8a8892; font-size: .78cqw; font-weight: 600; }
.dm-side-partners { display: flex; flex-direction: column; gap: .2cqw; margin-top: 1cqw; padding: .4cqw 0; border-radius: .7cqw; }
.dm-side-me { display: flex; align-items: center; gap: .6cqw; margin-top: auto; padding: .8cqw .4cqw 0; border-top: .5px solid rgba(0, 0, 0, .08); color: #4a4a50; font-size: .8cqw; }
.dm-side-me i { display: grid; place-items: center; flex: none; width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: linear-gradient(135deg, #6a3cf0, #e39a86); color: #fff; font-style: normal; font-weight: 600; font-size: .8cqw; }
.dm-side-me span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-store-side button { padding: .5cqw .9cqw; border: 0; border-radius: .6cqw; background: transparent; color: #3a3a40; font-family: inherit; font-weight: 500; font-size: 1.05cqw; line-height: 1.2; text-align: left; cursor: pointer; }
.dm-store-side button:hover { background: rgba(0, 0, 0, .05); }
.dm-store-side button[aria-pressed="true"] { background: rgba(110, 70, 240, .14); color: #4b25c9; }
.dm-store-main { display: grid; align-content: start; gap: 1.2cqw; padding: 1.4cqw; min-width: 0; overflow: hidden; }
.dm-store-main[hidden] { display: none; }
.dm-store-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1cqw;
  padding: 1.6cqw;
  border-radius: 1cqw;
  color: #fff;
  background: radial-gradient(ellipse at 90% 30%, #ff9f7a 0%, transparent 55%), linear-gradient(120deg, #2a1a5e, #5b34d6 60%, #a35bd1);
}
.dm-store-feature div { display: grid; gap: .3cqw; }
.dm-store-feature small { font-size: .85cqw; opacity: .75; }
.dm-store-feature strong { font-size: 1.6cqw; letter-spacing: -.02em; }
.dm-store-feature span { font-size: 1cqw; opacity: .85; }
.dm-store-feature img { width: 4.4cqw; height: 4.4cqw; filter: drop-shadow(0 .6cqw 1cqw rgba(0, 0, 0, .3)); }
.dm-store-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2cqw; }
.dm-store-list li[hidden] { display: none; }
.dm-store-list li { cursor: pointer; display: flex; align-items: center; gap: 1cqw; margin: 0; padding: .8cqw .4cqw; border-bottom: .5px solid rgba(0, 0, 0, .07); font-size: 1.05cqw; }
.dm-store-list img { width: 2.6cqw; height: 2.6cqw; }
.dm-store-list span { display: grid; line-height: 1.35; flex: 1; }
.dm-store-list em { font-style: normal; color: #77767d; font-size: .9cqw; }
.dm-store-list b { padding: .35cqw 1.1cqw; border-radius: 99px; background: rgba(0, 0, 0, .06); color: #4b25c9; font-size: .9cqw; }
.dm-plus { display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; border: 1px dashed #b4b2bc; color: #8a8892; font-size: 1.4cqw; }
.dm-store-list .dm-plus { flex: none; }

/* ALL 里的合伙人几页 */
.dm-pt { gap: .9cqw; padding: 1.3cqw 1.6cqw; font-size: .92cqw; }
.dm-pt h4 { margin: .3cqw 0 -.3cqw; font-size: .9cqw; font-weight: 600; }
.dm-pt-lead { margin: 0; color: #4a4a50; line-height: 1.55; }
.dm-chip { display: inline-block; margin-right: .6cqw; padding: .1cqw .6cqw; border-radius: 99px; background: rgba(240, 150, 40, .16); color: #a65a00; font-size: .78cqw; font-weight: 600; }
.dm-pt-rows { list-style: none; margin: 0; padding: 0; border-radius: .9cqw; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); }
.dm-pt-rows li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1cqw; margin: 0; padding: .65cqw 1.1cqw; border-top: .5px solid rgba(0, 0, 0, .06); cursor: pointer; }
.dm-pt-rows li:first-child { border-top: 0; }
.dm-pt-rows li:hover { background: rgba(110, 70, 240, .05); }
.dm-pt-rows b { font-weight: 600; }
.dm-pt-rows span { color: #77767d; font-variant-numeric: tabular-nums; }
.dm-pt-rows i { color: #b4b2bc; font-style: normal; }
.dm-pt-facts { display: grid; grid-template-columns: 6.4cqw 1fr; margin: 0; border-radius: .9cqw; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); }
.dm-pt-facts dt, .dm-pt-facts dd { margin: 0; padding: .7cqw 1.1cqw; border-top: .5px solid rgba(0, 0, 0, .06); line-height: 1.45; }
.dm-pt-facts dt { padding-right: 0; color: #77767d; }
.dm-pt-facts dt:first-of-type, .dm-pt-facts dt:first-of-type + dd { border-top: 0; }
.dm-pt-actions { display: flex; align-items: center; gap: 1.4cqw; }
.dm-pt-actions a { color: #4b25c9; font-size: .9cqw; text-decoration: none; }
.dm-pt-actions .dm-pt-btn { padding: .55cqw 1.3cqw; border-radius: 99px; background: #5b34d6; color: #fff; font-weight: 600; }
.dm-pt-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3cqw 1cqw; padding: 1cqw 1.2cqw; border-radius: .9cqw; background: linear-gradient(135deg, #1d1440, #4326b8); color: #fff; }
.dm-pt-link small { grid-column: 1 / -1; color: rgba(255, 255, 255, .7); font-size: .8cqw; }
.dm-pt-link code { font: 600 1.15cqw ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .01em; }
.dm-pt-link button { padding: .45cqw 1.1cqw; border: 0; border-radius: 99px; background: #fff; color: #4326b8; font: inherit; font-size: .85cqw; font-weight: 600; cursor: pointer; }
.dm-kpis { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: .8cqw; }
.dm-kpi { display: grid; gap: .25cqw; padding: 1cqw 1.1cqw; border-radius: .9cqw; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); }
.dm-kpi small { color: #77767d; font-size: .82cqw; }
.dm-kpi b { font-size: 1.7cqw; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dm-kpi b span { font-size: .6em; color: #8a8892; font-weight: 500; }
.dm-kpi em { font-style: normal; color: #8a8892; font-size: .78cqw; }
.dm-kpi.is-main { background: linear-gradient(135deg, #1d1440, #4326b8); color: #fff; box-shadow: 0 .8cqw 2cqw rgba(67, 38, 184, .35); }
.dm-kpi.is-main small, .dm-kpi.is-main b span { color: rgba(255, 255, 255, .7); }
.dm-kpi.is-main b { font-size: 2.1cqw; }
.dm-kpi.is-main em { color: rgba(255, 255, 255, .7); }
.dm-ledger { list-style: none; margin: 0; padding: 0; display: grid; border-radius: .9cqw; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); }
.dm-ledger li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1.4cqw; margin: 0; padding: .55cqw 1.1cqw; border-top: .5px solid rgba(0, 0, 0, .06); font-size: .85cqw; }
.dm-ledger li:first-child { border-top: 0; }
.dm-ledger span { display: flex; align-items: center; gap: .6cqw; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-ledger span b { padding: .1cqw .5cqw; border-radius: .35cqw; font-size: .72cqw; font-weight: 600; }
.t-plugin { background: rgba(110, 70, 240, .12); color: #4b25c9; }
.t-ref { background: rgba(40, 170, 100, .14); color: #18834d; }
.t-bulk { background: rgba(240, 150, 40, .16); color: #a65a00; }
.dm-ledger em { font-style: normal; color: #8a8892; }
.dm-ledger > li > b { color: #18834d; font-variant-numeric: tabular-nums; }

/* 原生模式：整块 Windows 桌面 */
.dm-native { left: 1.6cqw; width: 54cqw; top: 4.2cqw; bottom: 8cqw; background: #000; }
.ew-hero[data-scene="fusion"] .dm[data-mode="native"] .dm-native { opacity: 1; transform: none; pointer-events: auto; }
.dm-native-body { position: relative; flex: 1; overflow: hidden; }
.dm-native-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dm-native-icons { position: absolute; left: 1cqw; top: 1cqw; display: grid; gap: 1cqw; }
.dm-native-icons span { display: grid; justify-items: center; gap: .2cqw; width: 5cqw; color: #fff; font-size: .8cqw; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.dm-native-icons img { width: 2.6cqw; height: 2.6cqw; }

/* Windows 任务栏 */
.dm-taskbar {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  height: 3.6cqw;
  padding-inline: 1cqw;
  background: rgba(28, 30, 38, .82);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-top: .5px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.dm-taskbar-sm { height: 2.8cqw; }
.dm-tb-center { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.1cqw; }
.dm-tb-center img { width: 1.9cqw; height: 1.9cqw; }
.dm-tb-center svg { width: 1.6cqw; height: 1.6cqw; color: #e8e8ec; }
.dm-taskbar-sm .dm-tb-center img { width: 1.5cqw; height: 1.5cqw; }
.dm-tb-active { position: relative; }
.dm-tb-time { margin-left: auto; text-align: right; font-size: .85cqw; line-height: 1.25; font-variant-numeric: tabular-nums; }
.dm-winlogo {
  display: inline-block;
  width: 1.7cqw;
  height: 1.7cqw;
  background:
    linear-gradient(#3aa0ff, #3aa0ff) 0 0 / 47% 47% no-repeat,
    linear-gradient(#3aa0ff, #3aa0ff) 100% 0 / 47% 47% no-repeat,
    linear-gradient(#3aa0ff, #3aa0ff) 0 100% / 47% 47% no-repeat,
    linear-gradient(#3aa0ff, #3aa0ff) 100% 100% / 47% 47% no-repeat;
}
.dm-taskbar-sm .dm-winlogo { width: 1.3cqw; height: 1.3cqw; }

/* PC 屏 */
.dm-pc-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dm-helper {
  position: absolute;
  top: 1.2cqw;
  right: 1.2cqw;
  display: flex;
  align-items: center;
  gap: .6cqw;
  padding: .6cqw 1cqw;
  border-radius: .6cqw;
  background: rgba(32, 32, 38, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #f0f0f3;
  font-size: .9cqw;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .1);
}
.dm-helper i { width: .7cqw; height: .7cqw; border-radius: 50%; background: #2fc172; }
.dm-pc-fused {
  position: absolute;
  inset: 0 0 3.6cqw;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .6cqw;
  background: rgba(8, 12, 22, .62);
  color: #fff;
  text-align: center;
  font-size: 1.1cqw;
  opacity: 0;
  transition: opacity .5s;
}
.dm-pc-fused em { font-style: normal; opacity: .6; }
.dm-pc-fused .dm-winlogo { width: 2.6cqw; height: 2.6cqw; opacity: .9; }
.dm:is([data-mode="fusion"], [data-mode="native"]) .dm-pc-fused { opacity: 1; }
.dm-pc-fused strong { font-size: .95cqw; }
.dm-pc-fused em { font-size: .75cqw; }
.dm-pc-fused .dm-winlogo { width: 2cqw; height: 2cqw; }
.dm-helper, .dm-tb-center { transition: opacity .4s; }
.dm:is([data-mode="fusion"], [data-mode="native"]) :is(.dm-helper, .dm-tb-center) { opacity: 0; }

/* 程序坞 */
.dm-dock {
  position: absolute;
  z-index: 8;
  left: calc(var(--mac-x) + var(--mac-w) / 2);
  bottom: 1cqw;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .9cqw;
  padding: .7cqw .9cqw;
  border-radius: 1.6cqw;
  background: rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5), 0 1cqw 2.4cqw rgba(30, 10, 60, .25);
  transition: left .7s cubic-bezier(.2, .8, .2, 1);
}
.dm-dock img { width: 3.6cqw; height: 3.6cqw; border-radius: 22%; }
.dm-dock-sep { width: 1px; align-self: stretch; margin-block: .4cqw; background: rgba(0, 0, 0, .18); }
.dm-dock-start {
  display: grid;
  place-items: center;
  width: 3.6cqw;
  height: 3.6cqw;
  padding: 0;
  border: 0;
  border-radius: 22%;
  background: linear-gradient(160deg, #24203a, #0c0b14);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .15);
  cursor: pointer;
}
.dm-dock .dm-dock-start img { width: 2.5cqw; height: 2.5cqw; border-radius: 0; }
.dm-dock-start[aria-expanded="true"] { box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .15), 0 0 0 .25cqw rgba(139, 92, 255, .6); }
.dm-dock-sep, .dm-dock-start, .dm-dock-app { display: none; }
/* 开始菜单和 Windows 程序只在融合模式下进程序坞 */
.ew-hero[data-scene="fusion"] .dm[data-mode="fusion"] .dm-dock-start { display: grid; }
.ew-hero[data-scene="fusion"] .dm[data-mode="fusion"] .dm-dock-sep { display: block; }
.ew-hero[data-scene="fusion"] .dm[data-mode="fusion"] .dm-dock-app { display: block; position: relative; }
.dm-dock-app::after { content: ""; position: absolute; left: 50%; bottom: -.5cqw; width: .4cqw; height: .4cqw; margin-left: -.2cqw; border-radius: 50%; background: rgba(0, 0, 0, .55); }

/* 开始菜单 */
.dm-start {
  position: absolute;
  z-index: 9;
  left: calc(var(--mac-x) + var(--mac-w) / 2);
  bottom: 7cqw;
  width: 30cqw;
  margin-left: -12.6cqw;
  display: grid;
  gap: 1cqw;
  padding: 1.4cqw 1.4cqw 0;
  border-radius: 1cqw;
  background: rgba(36, 38, 46, .9);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  backdrop-filter: blur(40px) saturate(1.5);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .12), 0 2cqw 5cqw rgba(0, 0, 0, .5);
  color: #f2f2f5;
  font-family: "Segoe UI", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  animation: dm-start .25s cubic-bezier(.2, .9, .3, 1);
}
@keyframes dm-start { from { opacity: 0; transform: translateY(1.5cqw); } }
.dm-start-search { display: flex; align-items: center; gap: .8cqw; padding: .7cqw 1cqw; border-radius: 99px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 -.15cqw 0 #3aa0ff; color: #b8b8c0; font-size: .95cqw; }
.dm-start-search svg { width: 1.1cqw; height: 1.1cqw; }
.dm-start-head { display: flex; justify-content: space-between; align-items: center; font-size: .95cqw; }
.dm-start-head span { padding: .2cqw .7cqw; border-radius: .4cqw; background: rgba(255, 255, 255, .08); font-size: .85cqw; }
.dm-start-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4cqw; }
.dm-start-grid button { display: grid; justify-items: center; gap: .4cqw; padding: .7cqw .2cqw; border: 0; border-radius: .6cqw; background: transparent; color: #e8e8ec; font-family: inherit; font-size: .78cqw; line-height: 1.2; cursor: pointer; }
.dm-start-grid button:hover { background: rgba(255, 255, 255, .08); }
.dm-start-grid img { width: 2.2cqw; height: 2.2cqw; }
.dm-start-grid span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-start-foot { display: flex; justify-content: space-between; align-items: center; margin-inline: -1.4cqw; padding: 1cqw 2cqw; border-top: .5px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); font-size: .9cqw; }
.dm-start-foot span { display: flex; align-items: center; gap: .7cqw; }
.dm-start-foot i { display: grid; place-items: center; width: 2cqw; height: 2cqw; border-radius: 50%; background: #5b34d6; font-style: normal; font-size: .9cqw; }
.dm-start-foot svg { width: 1.3cqw; height: 1.3cqw; }
.ew-hero:not([data-scene="fusion"]) .dm-start { display: none; }

/* Windows 程序窗口 */
.dm-app {
  --x: 45%;
  --y: 72%;
  --w: 30%;
  position: absolute;
  z-index: 7;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: .7cqw;
  background: #202024;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 2cqw 5cqw rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transition: left .75s cubic-bezier(.2, .8, .2, 1), top .75s cubic-bezier(.2, .8, .2, 1), width .75s cubic-bezier(.2, .8, .2, 1), opacity .4s, box-shadow .4s;
}
.dm-app.is-dragging { transition: opacity .4s; }
.ew-hero[data-scene="fusion"] .dm:is([data-mode="span"], [data-mode="fusion"]) .dm-app:not(.is-closed) { opacity: 1; pointer-events: auto; }
/* 跨屏：窗口一开始在 Windows 屏上，鼠标抓住标题栏把它拖到两块屏中间，跨在分界线上 */
.dm[data-mode="span"] .dm-app { --x: 50%; --y: 64%; }
.ew-hero[data-scene="fusion"] .dm[data-mode="span"] .dm-app:not(.is-moved) { animation: dm-drag-win 5s .5s cubic-bezier(.5, 0, .25, 1) both; }
@keyframes dm-drag-win {
  0%, 34% { left: 77%; top: 42%; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 2cqw 5cqw rgba(0, 0, 0, .55); }
  40%, 70% { box-shadow: 0 0 0 .5px rgba(255, 255, 255, .22), 0 3.4cqw 7cqw rgba(0, 0, 0, .7); }
  76%, 100% { left: 50%; top: 64%; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 2cqw 5cqw rgba(0, 0, 0, .55); }
}
.dm[data-mode="fusion"] .dm-app { --x: 33%; --y: 63%; --w: 33%; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 2.6cqw 6cqw rgba(30, 10, 70, .55); }
.dm-app2 { --x: 24%; --y: 31%; --w: 29%; z-index: 6; }
.dm[data-mode="fusion"] .dm-app2 { --x: 24%; --y: 31%; --w: 29%; }
.dm:not([data-mode="fusion"]) .dm-app2 { opacity: 0 !important; pointer-events: none !important; }
.dm-xl-body svg { display: block; width: 100%; height: 100%; }
.dm-winctl .x::before, .dm-winctl .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.1cqw; height: 1px; margin-left: -.55cqw; background: #d8d8dc; transform: rotate(45deg); }
.dm-winctl .x::after { transform: rotate(-45deg); }
.dm-winbar { display: flex; align-items: center; height: 2.4cqw; background: #2b2b31; color: #ececf0; font-family: "Segoe UI", -apple-system, "PingFang SC", sans-serif; font-size: .9cqw; }
.dm-grab { flex: 1; display: flex; align-items: center; gap: .6cqw; height: 100%; padding-left: .9cqw; cursor: grab; outline: none; }
.dm-grab:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
.dm-app.is-dragging .dm-grab { cursor: grabbing; }
.dm-grab img { width: 1.1cqw; height: 1.1cqw; }
.dm-winctl { display: flex; height: 100%; }
.dm-winctl i, .dm-winctl button { position: relative; display: block; width: 3.4cqw; height: 100%; padding: 0; border: 0; background: transparent; cursor: default; }
.dm-winctl i::before, .dm-winctl button::before, .dm-winctl button::after { content: ""; position: absolute; left: 50%; top: 50%; background: #d8d8dc; }
.dm-winctl .min::before { width: .9cqw; height: 1px; margin-left: -.45cqw; }
.dm-winctl .max::before { width: .8cqw; height: .8cqw; margin: -.4cqw 0 0 -.4cqw; background: transparent; border: 1px solid #d8d8dc; }
.dm-winctl button { cursor: pointer; }
.dm-winctl button::before, .dm-winctl button::after { width: 1.1cqw; height: 1px; margin-left: -.55cqw; transform: rotate(45deg); }
.dm-winctl button::after { transform: rotate(-45deg); }
.dm-winctl button:hover { background: #c42b1c; }
.dm-app-body { aspect-ratio: 320 / 170; background: #16161a; }
.dm-comfy { display: block; width: 100%; height: 100%; }
.dm-generic { display: grid; grid-template-columns: 1fr 1fr; gap: .8cqw; height: 100%; padding: 1cqw; background: #f3f3f5; }
.dm-generic div { border-radius: .4cqw; background: linear-gradient(135deg, #e3e3ea, #f8f8fb); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); }
.dm-generic div:first-child { grid-row: span 2; }

/* 跨屏时的鼠标 */
.dm-cursor {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  width: 1.5cqw;
  opacity: 0;
  pointer-events: none;
}
.dm-cursor svg { display: block; width: 100%; filter: drop-shadow(0 .2cqw .3cqw rgba(0, 0, 0, .4)); }
/* 演示区宽 100cqw、高 62.5cqw；窗口宽 30cqw、高约 18.3cqw，鼠标落点在标题栏左侧 */
.dm-cursor svg { transform-origin: 10% 5%; }
.ew-hero[data-scene="fusion"] .dm[data-mode="span"] .dm-cursor { animation: dm-drag-cur 5s .5s cubic-bezier(.5, 0, .25, 1) both; }
.ew-hero[data-scene="fusion"] .dm[data-mode="span"] .dm-cursor svg { animation: dm-press 5s .5s both; }
.ew-hero[data-scene="fusion"] .dm[data-mode="span"]:has(.dm-app.is-moved) .dm-cursor { animation: none; opacity: 0; }
@keyframes dm-drag-cur {
  0% { opacity: 0; transform: translate(84cqw, 40cqw); }
  8% { opacity: 1; transform: translate(84cqw, 40cqw); }
  30%, 34% { opacity: 1; transform: translate(70cqw, 18.3cqw); }
  76%, 86% { opacity: 1; transform: translate(43cqw, 32cqw); }
  100% { opacity: 0; transform: translate(45cqw, 34cqw); }
}
@keyframes dm-press {
  0%, 31% { transform: scale(1); }
  34%, 76% { transform: scale(.86); }
  80%, 100% { transform: scale(1); }
}

/* ================= 宽度适配 ================= */

@media (max-width: 1180px) {
  .ew-layout { grid-template-columns: minmax(240px, .75fr) minmax(0, 1.7fr); }
}
@media (max-width: 980px) {
  .ew-hero { padding-top: 28px; }
  .ew-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ew-copy h1 br, .ew-copy h2 br { display: none; }
  .ew-copy p { max-width: 46ch; }
  .ew-layout { display: flex; flex-direction: column; }
  .ew-intro { display: contents; }
  .ew-copies { order: 1; }
  .ew-actions { order: 2; }
  .ew-req { order: 3; margin-top: -14px; }
  .ew-stage { order: 4; margin-top: 8px; }
  .ew-progress { order: 5; justify-content: center; margin-top: -8px; }
  .ew-skip { text-align: center; }
  .ew-hero:not([data-step="0"]) .ew-copies .ew-copy:not([data-copy="intro"]) { visibility: hidden; }
  .ew-hero:not([data-step="0"]) .ew-copies .ew-copy[data-copy="intro"] { visibility: visible !important; opacity: 1 !important; transform: none !important; }
  .ew-mcap:not([hidden]) { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(20, 20, 24, .7); }
  .ew-mcap .ew-kicker { font-size: .78rem; }
  .ew-mcap h2 { font-size: 1.15rem; letter-spacing: -.02em; }
  .ew-mcap h2 br { display: none; }
  .ew-mcap p { color: var(--text-2); font-size: .92rem; }
  .ew-tabs button { padding: 6px 11px; font-size: .8rem; }
}
@media (max-width: 560px) {
  .ew-actions .btn { flex: 1 1 auto; }
  .ew-dots { gap: 2px; }
  .ew-dots button { width: 18px; }
  .ew-skip { flex-basis: 100%; text-align: center; margin: 4px 0 0; }
  .dm { aspect-ratio: 4 / 3.4; }
  .dm-popover { width: 46cqw; font-size: 1.5cqw; }
  .ew-hero[data-scene="fusion"] .dm-popover { width: 40cqw; font-size: 1.3cqw; }
}

@media (prefers-reduced-motion: reduce) {
  .ew-copy, .dm-screen, .dm-app, .dm-window, .dm-native, .dm-dock, .dm-pc-fused { transition: none; }
  .dm-popover, .dm-start { animation: none; }
  .is-hint::after { animation: none; }
  .ew-hero[data-scene="fusion"] .dm[data-mode="span"] :is(.dm-cursor, .dm-cursor svg, .dm-app) { animation: none; }
  .ew-hero[data-scene="fusion"] .dm[data-mode="span"] .dm-cursor { opacity: 0; }
  .hm-vis * { animation: none !important; }
}

/* ================= 正文 ================= */

#more { position: relative; }
/* 粒子背景一直在后面：正文直接压在粒子上的字加一圈暗光，保证看得清 */
#more :is(h2, h3, p, li):not(.hm-tile *) { text-shadow: 0 0 6px #050506, 0 0 14px #050506, 0 0 24px rgba(5, 5, 6, .8); }
.hm-head { display: grid; gap: 12px; max-width: 40rem; margin-bottom: clamp(28px, 4vw, 48px); }
.hm-head p { color: var(--text-2); font-size: 1.05rem; }

/* 功能格子：每格两台小电脑（左 Mac、右 PC），尺寸按格子宽度（cqw）算 */
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm-tile { display: grid; gap: 8px; align-content: start; padding: 12px 12px 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #121216, #0c0c0f); }
.hm-tile h3 { margin-top: 10px; padding-inline: 8px; font-size: 1.08rem; }
.hm-tile p { padding-inline: 8px; color: var(--text-2); font-size: .93rem; }
.hm-vis {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 100 / 46;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(ellipse 70% 60% at 50% 115%, rgba(139, 92, 255, .25), transparent 70%), #0e0e12;
}
.hm-vis * { box-sizing: border-box; }

/* 显示器 */
.dk { position: absolute; }
.dk-mac { left: 5cqw; top: 5cqw; width: 40cqw; height: 25cqw; }
.dk-pc { left: 50cqw; top: 3cqw; width: 45cqw; height: 27cqw; }
.dk-scr {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.1cqw;
  box-shadow: 0 0 0 .55cqw #0a0a0d, 0 0 0 calc(.55cqw + 1px) rgba(255, 255, 255, .13), 0 2cqw 4cqw rgba(0, 0, 0, .55);
}
.dk::before, .dk::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); }
.dk::after { top: calc(100% + .55cqw); width: 14%; height: 3.6cqw; background: linear-gradient(90deg, #1b1b20, #2c2c33 50%, #1b1b20); clip-path: polygon(28% 0, 72% 0, 84% 100%, 16% 100%); }
.dk::before { top: calc(100% + 4.1cqw); width: 30%; height: .8cqw; border-radius: .4cqw; background: #26262c; }
.dk-mac::after { background: linear-gradient(90deg, #8d8d94, #c9c9cf 50%, #8d8d94); }
.dk-mac::before { background: #a8a8ae; }
.dk-mac .dk-scr, .dk-ext .dk-scr {
  background:
    linear-gradient(rgba(255, 255, 255, .42), rgba(255, 255, 255, .42)) 0 0 / 100% 1.4cqw no-repeat,
    radial-gradient(ellipse 60% 55% at 18% 20%, #c3b2ff, transparent 62%),
    radial-gradient(ellipse 55% 60% at 92% 92%, #ffb795, transparent 60%),
    linear-gradient(135deg, #6f4ee8, #b884d6 52%, #f0a07a);
}
.dk-pc .dk-scr {
  background:
    linear-gradient(rgba(22, 24, 32, .9), rgba(22, 24, 32, .9)) 0 100% / 100% 2cqw no-repeat,
    url("windows-desktop.jpg") center / cover, #0b1a33;
}
.dk-pc .dk-scr::after { content: ""; position: absolute; left: 50%; bottom: .5cqw; width: 1cqw; height: 1cqw; margin-left: -.5cqw; background: linear-gradient(#3aa0ff, #3aa0ff) 0 0 / 45% 45% no-repeat, linear-gradient(#3aa0ff, #3aa0ff) 100% 0 / 45% 45% no-repeat, linear-gradient(#3aa0ff, #3aa0ff) 0 100% / 45% 45% no-repeat, linear-gradient(#3aa0ff, #3aa0ff) 100% 100% / 45% 45% no-repeat; }
.dk-dim { position: absolute; inset: 0; z-index: 2; background: rgba(6, 10, 20, .72); }
.dk-dim::after { content: "画面在 Mac 上"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .55); font-size: 2cqw; letter-spacing: .05em; }
.dk-cur { position: absolute; z-index: 6; width: 2.4cqw; filter: drop-shadow(0 .3cqw .4cqw rgba(0, 0, 0, .5)); }

/* Windows 窗口 / Mac 窗口 */
.dk-wwin, .dk-mwin { position: absolute; z-index: 4; display: block; overflow: hidden; border-radius: .6cqw; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 1.4cqw 3cqw rgba(0, 0, 0, .55); }
.dk-wwin { width: 17cqw; height: 11cqw; background: linear-gradient(135deg, #1a1a20, #24202f); }
.dk-wwin > i { display: block; height: 1.7cqw; background: #2b2b31; }
.dk-wwin > i::after { content: "—  ▢  ✕"; float: right; padding-right: .8cqw; color: #bbb; font: 1cqw/1.7cqw sans-serif; font-style: normal; }
.dk-mwin { width: 14cqw; height: 10cqw; background: #f4f4f6; }
.dk-mwin > i { display: block; height: 1.7cqw; background: radial-gradient(circle at 1.2cqw 50%, #ff5f57 .38cqw, transparent .42cqw), radial-gradient(circle at 2.4cqw 50%, #febc2e .38cqw, transparent .42cqw), radial-gradient(circle at 3.6cqw 50%, #28c840 .38cqw, transparent .42cqw), #e8e8eb; }
.dk-mwin > span { display: block; margin: 1cqw; height: 5cqw; background: repeating-linear-gradient(#d9d9df 0 .7cqw, transparent .7cqw 1.5cqw); }
.dk-comfy { display: block; height: calc(100% - 1.7cqw); background:
  radial-gradient(circle, rgba(255, 255, 255, .14) .12cqw, transparent .14cqw) 0 0 / 1.2cqw 1.2cqw,
  linear-gradient(#3b2f6b, #3b2f6b) 1cqw 1.2cqw / 5cqw 1cqw no-repeat,
  linear-gradient(#26262c, #26262c) 1cqw 2.2cqw / 5cqw 3cqw no-repeat,
  linear-gradient(#1d4a39, #1d4a39) 8cqw 3.2cqw / 6cqw 1cqw no-repeat,
  linear-gradient(#26262c, #26262c) 8cqw 4.2cqw / 6cqw 3.6cqw no-repeat,
  linear-gradient(135deg, #8b5cff, #ffb47a) 14.6cqw 1.2cqw / 1.8cqw 3cqw no-repeat;
}

/* 1 键鼠跨屏 */
.f-cross .dk-cur { animation: dk-cross 4.2s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes dk-cross { 0%, 8% { left: 14cqw; top: 17cqw; } 46%, 58% { left: 78cqw; top: 13cqw; } 100% { left: 14cqw; top: 17cqw; } }

/* 2 屏幕摆放 */
.f-arrange .dk-pc { animation: dk-arrange 5s ease-in-out infinite; }
@keyframes dk-arrange { 0%, 18% { transform: translateY(0); } 42%, 72% { transform: translateY(5cqw); } 96%, 100% { transform: translateY(0); } }
.dk-edge { position: absolute; top: 0; bottom: 0; width: .5cqw; background: #c9b6ff; box-shadow: 0 0 1.2cqw #8b5cff; opacity: .9; }
.dk-mac .dk-edge { right: 0; }
.dk-pc .dk-edge { left: 0; z-index: 3; }
.f-arrange .dk-cur { animation: dk-arrange-cur 5s ease-in-out infinite; }
@keyframes dk-arrange-cur { 0% { left: 18cqw; top: 22cqw; } 30% { left: 64cqw; top: 15cqw; } 50% { left: 34cqw; top: 26cqw; } 80% { left: 70cqw; top: 25cqw; } 100% { left: 18cqw; top: 22cqw; } }

/* 3 剪贴板 */
.dk-chip { position: absolute; left: 50%; top: 52%; display: flex; align-items: center; gap: .8cqw; padding: .6cqw 1.1cqw; border-radius: .6cqw; background: rgba(110, 70, 240, .85); color: #fff; font-size: 2cqw; font-weight: 500; white-space: nowrap; transform: translate(-50%, -50%); box-shadow: 0 .6cqw 1.4cqw rgba(0, 0, 0, .35); }
.dk-chip kbd { padding: .1cqw .5cqw; border-radius: .3cqw; background: rgba(255, 255, 255, .22); font: 600 1.3cqw/1.4 var(--font-text); }
.dk-pc .dk-chip { top: 46%; }
.f-clip .dk-mac .dk-chip { animation: dk-copy 3.6s ease-in-out infinite; }
.dk-paste { animation: dk-paste 3.6s ease-in-out infinite; }
@keyframes dk-copy { 0%, 100% { box-shadow: 0 .6cqw 1.4cqw rgba(0, 0, 0, .35); } 12%, 22% { box-shadow: 0 0 0 .4cqw rgba(201, 182, 255, .7), 0 .6cqw 1.4cqw rgba(0, 0, 0, .35); } }
@keyframes dk-paste { 0%, 38% { opacity: 0; transform: translate(-50%, -30%); } 50%, 88% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(-50%, -50%); } }

/* 4 文件 */
.dk-folder { position: absolute; left: 18%; top: 34%; width: 7cqw; height: 5.2cqw; border-radius: .5cqw; background: linear-gradient(#7cc2ff, #3e95ef); box-shadow: inset 0 .9cqw 0 rgba(255, 255, 255, .25); }
.dk-folder::before { content: ""; position: absolute; left: 0; top: -.8cqw; width: 3cqw; height: 1.2cqw; border-radius: .4cqw .4cqw 0 0; background: #5aa9f5; }
.dk-doc { position: absolute; z-index: 5; display: grid; place-items: center; width: 4.4cqw; height: 5.6cqw; border-radius: .4cqw; background: #f5f5f7; color: #c42b1c; font: 700 1.3cqw/1 var(--font-text); box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .5); animation: dk-file 4s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes dk-file { 0%, 12% { left: 14cqw; top: 13cqw; transform: rotate(0); } 48% { transform: rotate(-7deg) scale(1.08); } 70%, 90% { left: 70cqw; top: 11cqw; transform: rotate(0); } 100% { left: 70cqw; top: 11cqw; opacity: 0; } }

/* 5 Windows 窗口住进 Mac */
.f-fuse .dk-wwin { animation: dk-fuse 5s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes dk-fuse { 0%, 16% { left: 64cqw; top: 9cqw; } 46%, 86% { left: 16cqw; top: 10cqw; } 100% { left: 64cqw; top: 9cqw; } }
.f-fuse .dk-dim { animation: dk-dim 5s ease-in-out infinite; }
@keyframes dk-dim { 0%, 20% { opacity: 0; } 44%, 84% { opacity: 1; } 100% { opacity: 0; } }

/* 6 开始菜单在程序坞 */
.dk-dock { position: absolute; left: 50%; bottom: .8cqw; display: flex; gap: .7cqw; padding: .5cqw .7cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .35); transform: translateX(-50%); }
.dk-dock i { width: 2.6cqw; height: 2.6cqw; border-radius: .6cqw; background: linear-gradient(135deg, #3a3a44, #18181d); }
.dk-dock i:first-child { background: linear-gradient(135deg, #f7a35c, #e0533a); }
/* 程序坞最左边的 Elecwing 图标，点开是 Windows 开始菜单 */
.dk-dock .dk-win { background: url("elecwing-mark.png") center / 70% no-repeat, linear-gradient(160deg, #24203a, #0c0b14); animation: dk-win-press 4.4s ease-in-out infinite; }
@keyframes dk-win-press { 0%, 14%, 30%, 100% { box-shadow: none; } 20% { box-shadow: 0 0 0 .35cqw rgba(139, 92, 255, .65); } }
.dk-start { position: absolute; left: 50%; bottom: 5.2cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8cqw; width: 17cqw; padding: 1.2cqw; border-radius: .8cqw; background: rgba(36, 38, 46, .94); box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .4); transform-origin: 50% 100%; animation: dk-start 4.4s cubic-bezier(.2, .8, .2, 1) infinite; }
.dk-start i { aspect-ratio: 1; border-radius: .5cqw; background: linear-gradient(135deg, #3aa0ff, #1b5fd0); }
.dk-start i:nth-child(2) { background: linear-gradient(135deg, #2ebd6b, #1f7a46); }
.dk-start i:nth-child(3) { background: linear-gradient(135deg, #e8784b, #c4432a); }
.dk-start i:nth-child(4) { background: linear-gradient(135deg, #a98bff, #6a3cf0); }
.dk-start i:nth-child(5) { background: linear-gradient(135deg, #ffd25a, #e7a21b); }
.dk-start i:nth-child(6) { background: linear-gradient(135deg, #5ad1e8, #1b8fb0); }
.dk-start i:nth-child(7) { background: linear-gradient(135deg, #f06c9b, #c22f66); }
.dk-start i:nth-child(8) { background: linear-gradient(135deg, #9aa0ad, #5b606c); }
@keyframes dk-start { 0%, 20% { opacity: 0; transform: translateX(-50%) translateY(1.4cqw) scale(.94); } 30%, 80% { opacity: 1; transform: translateX(-50%); } 90%, 100% { opacity: 0; transform: translateX(-50%) translateY(1.4cqw) scale(.94); } }

/* 7 ⌘Tab */
.dk-switch { position: absolute; left: 50%; top: 54%; display: flex; gap: 1cqw; padding: 1cqw; border-radius: 1.2cqw; background: rgba(30, 30, 36, .78); transform: translate(-50%, -50%); }
.dk-switch img { position: relative; z-index: 1; width: 4cqw; height: 4cqw; border-radius: 22%; }
.dk-sel { position: absolute; left: .5cqw; top: .5cqw; width: 5cqw; height: 5cqw; border-radius: .8cqw; background: rgba(255, 255, 255, .2); animation: dk-tab 4s steps(1) infinite; }
@keyframes dk-tab { 0% { transform: translateX(0); } 25% { transform: translateX(5cqw); } 50% { transform: translateX(10cqw); } 75% { transform: translateX(15cqw); } }

/* 8 输入法 */
.dk-scr .dk-note { left: 9%; top: 16%; width: 82%; height: 62%; background: #fff; }
.dk-typed { display: flex; padding: 1.2cqw; color: #1d1d1f; font-size: 2cqw; }
.dk-typed b { font-weight: 400; }
.dk-typed b:nth-child(2) { animation: dk-type2 4.8s steps(1) infinite; }
.dk-typed b:nth-child(3) { animation: dk-type3 4.8s steps(1) infinite; }
.dk-typed b:last-child::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -.1em; background: #1d1d1f; }
@keyframes dk-type2 { 0%, 54% { opacity: 0; } 55%, 100% { opacity: 1; } }
@keyframes dk-type3 { 0%, 76% { opacity: 0; } 77%, 100% { opacity: 1; } }
.dk-cand { position: absolute; left: 4.6cqw; top: 4.6cqw; display: flex; gap: .3cqw; padding: .35cqw; border-radius: .6cqw; background: #f6f6f8; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 .8cqw 1.6cqw rgba(0, 0, 0, .2); font-size: 1.5cqw; white-space: nowrap; animation: dk-cand 4.8s steps(1) infinite; }
.dk-cand b { padding: .2cqw .6cqw; border-radius: .35cqw; font-weight: 400; color: #333; }
.dk-cand b:first-child { background: #3478f6; color: #fff; }
@keyframes dk-cand { 0%, 19% { opacity: 0; } 20%, 54% { opacity: 1; } 55%, 100% { opacity: 0; } }

/* 9 原生桌面 */
.dk-natwin { position: absolute; left: 7%; top: 13%; width: 86%; height: 76%; overflow: hidden; border-radius: .6cqw; background: url("windows-desktop.jpg") center / cover; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3), 0 1cqw 2cqw rgba(0, 0, 0, .35); transform-origin: 50% 60%; animation: dk-native 5s cubic-bezier(.2, .8, .2, 1) infinite; }
.dk-natwin i { display: block; height: 1.6cqw; background: radial-gradient(circle at 1.1cqw 50%, #ff5f57 .35cqw, transparent .4cqw), radial-gradient(circle at 2.2cqw 50%, #febc2e .35cqw, transparent .4cqw), radial-gradient(circle at 3.3cqw 50%, #28c840 .35cqw, transparent .4cqw), #ececef; }
.dk-natwin span { position: absolute; inset: auto 0 0; height: 1.6cqw; background: rgba(22, 24, 32, .9); }
@keyframes dk-native { 0%, 10% { opacity: 0; transform: scale(.7); } 26%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.96); } }

/* 10 窗口两边拖 */
.f-drag .dk-mwin { animation: dk-drag 6s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes dk-drag { 0%, 10% { left: 14cqw; top: 11cqw; } 40%, 58% { left: 67cqw; top: 9cqw; } 88%, 100% { left: 14cqw; top: 11cqw; } }

/* 11 声音 */
.dk-bars { position: absolute; left: 50%; top: 54%; display: flex; align-items: center; gap: .8cqw; height: 10cqw; transform: translate(-50%, -50%); }
.dk-bars i { width: 1.1cqw; height: 25%; border-radius: .6cqw; background: linear-gradient(#fff, #e7dcff); box-shadow: 0 0 1cqw rgba(255, 255, 255, .5); animation: dk-bar 1.1s ease-in-out infinite; }
.dk-bars i:nth-child(2) { animation-delay: -.2s; } .dk-bars i:nth-child(3) { animation-delay: -.5s; } .dk-bars i:nth-child(4) { animation-delay: -.1s; }
.dk-bars i:nth-child(5) { animation-delay: -.7s; } .dk-bars i:nth-child(6) { animation-delay: -.35s; } .dk-bars i:nth-child(7) { animation-delay: -.6s; }
@keyframes dk-bar { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.dk-scr .dk-player { left: 30%; top: 22%; width: 40%; height: 48%; }
.dk-player span { display: grid; place-items: center; height: calc(100% - 1.7cqw); color: #c9b6ff; font-size: 4cqw; }
.dk-music { position: absolute; z-index: 5; color: #c9b6ff; font-size: 3cqw; text-shadow: 0 0 1.2cqw rgba(139, 92, 255, .8); animation: dk-music 3s ease-in infinite; }
.dk-music.n2 { animation-delay: -1.5s; }
@keyframes dk-music { 0% { left: 68cqw; top: 13cqw; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 26cqw; top: 9cqw; opacity: 0; } }

/* 12 多块屏幕 */
.f-multi .dk-mac { left: 3cqw; top: 11cqw; width: 27cqw; height: 17cqw; }
.f-multi .dk-ext { left: 34cqw; top: 4cqw; width: 33cqw; height: 22cqw; }
.f-multi .dk-pc { left: 71cqw; top: 8cqw; width: 26cqw; height: 18cqw; }
.dk-scr .dk-wwin.w1 { left: 18%; top: 22%; width: 60%; height: 58%; animation: dk-pop 5s cubic-bezier(.2, .8, .2, 1) infinite; }
.dk-scr .dk-wwin.w2 { left: 26%; top: 20%; width: 54%; height: 56%; animation: dk-pop 5s cubic-bezier(.2, .8, .2, 1) -2.2s infinite; }
.dk-wwin.w1::after, .dk-wwin.w2::after { content: ""; position: absolute; inset: 1.7cqw .8cqw .8cqw; border-radius: .3cqw; background: linear-gradient(135deg, #2a2440, #3d2f6b 60%, #8b5cff); }
.dk-wwin.w2::after { background: linear-gradient(#fff, #fff) 0 0 / 100% 100%; background-image: repeating-linear-gradient(#e6e6e6 0 1px, transparent 1px 1.2cqw), repeating-linear-gradient(90deg, #e6e6e6 0 1px, #fff 1px 3cqw); }
@keyframes dk-pop { 0%, 8% { opacity: 0; transform: scale(.8); } 20%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.95); } }

@media (max-width: 900px) { .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hm-grid { grid-template-columns: minmax(0, 1fr); } }

/* 适合谁 */
.hm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.hm-cols > div { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.hm-cols h3 { font-size: 1.15rem; }
.hm-cols p { color: var(--text-2); }
.hm-privacy { display: flex; align-items: center; gap: 12px; margin-top: clamp(32px, 4vw, 48px); color: var(--text-2); }
@media (max-width: 760px) { .hm-cols { grid-template-columns: minmax(0, 1fr); } }

.hm-more { margin-top: 20px; }

/* 下载 */
.hm-cta { padding-bottom: clamp(80px, 10vw, 140px); }
.hm-cta .wrap { display: grid; justify-items: center; gap: 18px; }
.hm-cta-mark { width: 64px; height: 64px; filter: drop-shadow(0 10px 30px rgba(139, 92, 255, .5)); }
.hm-cta .lead { margin-inline: auto; }
.hm-cta-row { justify-content: center; }
