/* 原 styles.css L5536-L5625 连续区间纯移动（UI 重构阶段 A）。内容：新手引导。层叠顺序由 01→12 的 <link> 顺序保持。 */
/* 聚光挖洞：暗罩用 honey 的暖棕（与 --modal-overlay 同族），冷灰蓝在纸底上显脏；
   0.42 保持"这里是背景"的弱化又不把界面压死，挖洞感主要靠加亮的白环。 */
.onboarding-focus {
  position: fixed;
  z-index: 1000;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 100vmax rgba(64, 43, 18, 0.42), 0 0 0 4px rgba(255, 255, 255, 0.85), 0 10px 28px rgba(64, 43, 18, 0.32);
  pointer-events: none;
  transition: top 180ms ease, left 180ms ease, width 180ms ease, height 180ms ease;
}

.onboarding-tooltip {
  position: fixed;
  z-index: 1001;
  width: min(320px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--popover-bg);
  box-shadow: 0 8px 24px rgba(64, 43, 18, 0.1);
}

.onboarding-tooltip h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.35;
}

.onboarding-tooltip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.onboarding-action-button {
  width: 100%;
  min-height: 40px;
  justify-content: center;
  margin-top: 14px;
}

.onboarding-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--popover-bg);
  transform: rotate(45deg);
}

.onboarding-tooltip[data-placement="bottom"] .onboarding-arrow {
  top: -7px;
  left: 24px;
}

.onboarding-tooltip[data-placement="top"] .onboarding-arrow {
  bottom: -7px;
  left: 24px;
  transform: rotate(225deg);
}

/* 目标在顶部行时气泡放右侧：arrow 在左缘垂直对准目标（top 由 JS 写入）。 */
.onboarding-tooltip[data-placement="right"] .onboarding-arrow {
  top: 24px;
  left: -7px;
  transform: rotate(-45deg);
}

.onboarding-tooltip[data-placement="left"] .onboarding-arrow {
  top: 24px;
  right: -7px;
  left: auto;
  transform: rotate(135deg);
}

.onboarding-actions,
.onboarding-actions > div {
  display: flex;
  align-items: center;
}

.onboarding-actions {
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.onboarding-actions > div {
  gap: 8px;
}

.onboarding-actions > span {
  color: var(--control-text);
  font-size: 13px;
  font-weight: 800;
}

.onboarding-actions button {
  min-height: 38px;
  padding: 0 13px;
}

