/* ============================================================
   shell.css —— 桌面外壳补充（引导层 / Dock / 进度条 / 状态条）
   ============================================================ */

/* 桌面图标与 Dock 的图标着色 */
.dicon--about .dicon__ico { background: linear-gradient(160deg, #f0f2f7, #cfd6e4); color: #3a4258; }

/* 关闭 Dock 悬停放大 */
.dock.no-mag .dock__item:hover { transform: none; }

/* 窗口聚焦态：标题更实、阴影更沉 */
.win:not(.is-focused) { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 2px 6px rgba(16,19,26,.08), 0 12px 30px -14px rgba(18,26,52,.22); }
.win:not(.is-focused) .win__title { color: var(--ink-500); }
.win:not(.is-focused) .lights { opacity: .55; }
.win.is-dragging, .win.is-dragging .win__bar { user-select: none; }
.win.is-dragging { animation: none; }

/* 拖拽中的桌面文字禁止选中 */
body.qy-dragging, body.qy-dragging * { user-select: none !important; }

/* 进度条（设置 / 关于 / 接入均复用） */
.progress {
  position: relative; height: 6px; border-radius: var(--r-pill);
  background: rgba(16, 19, 26, .08); overflow: hidden; margin-top: 8px;
}
.progress__bar {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #2b6cf6, #7b5cf0 60%, #e04fa4);
  transition: width .32s ease;
}

/* ---------- 桌面引导层 ---------- */
.boot {
  position: fixed; inset: 0; z-index: 1800;
  display: grid; place-items: center;
  background: rgba(247, 248, 252, .82);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
  backdrop-filter: blur(26px) saturate(1.4);
  transition: opacity .42s ease, visibility .42s;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__card { width: min(420px, 88vw); padding: 26px 26px 22px; border-radius: var(--r-2xl); display: grid; gap: 14px; }
.boot__top { display: flex; align-items: center; gap: 11px; }
.boot__mark {
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, #fff, #e6ecf7); box-shadow: var(--sh-1), inset 0 1px 0 #fff;
}
.boot__mark svg { width: 21px; height: 21px; }
.boot__t { font-weight: 700; }
.boot__s { color: var(--ink-500); font-size: calc(12px * var(--font-scale)); }
.boot__steps { display: grid; gap: 7px; margin-top: 2px; }
.boot__steps li {
  font-family: var(--font-mono); font-size: calc(11.6px * var(--font-scale));
  color: var(--ink-300); display: flex; align-items: center; gap: 8px;
  transition: color .3s;
}
.boot__steps li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(16,19,26,.14); flex: none; transition: background .3s, box-shadow .3s;
}
.boot__steps li.is-on { color: var(--ink-700); }
.boot__steps li.is-on::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(23,166,115,.16); }

/* ---------- 接入页：锚点滚动偏移 ---------- */
.landing section[id] { scroll-margin-top: 78px; }

/* 顶栏在窄屏隐藏导航文字 */
@media (max-width: 760px) {
  .topbar__nav { display: none; }
  .hero { padding-top: 18px; }
}

/* 打印时不留玻璃背景 */
@media print {
  .bg-layer, .dock, .menubar { display: none !important; }
}
