/* Nav 站外链：与 www #qy-toolify-root 弹窗同风格的离站确认 */
.qy-nav-o-modal {
  position: fixed;
  inset: 0;
  z-index: 999990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.qy-nav-o-modal[hidden] {
  display: none !important;
}
.qy-nav-o-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.qy-nav-o-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(86vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  padding: 22px 22px 18px;
  border: 1px solid #e8e8ef;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #0f172a;
}
.qy-nav-o-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.qy-nav-o-x:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.qy-nav-o-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-right: 36px;
}
.qy-nav-o-head img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}
.qy-nav-o-head img[hidden] {
  display: none;
}
.qy-nav-o-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.qy-nav-o-sub {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}
.qy-nav-o-intro {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 10px;
}
.qy-nav-o-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 18px;
  white-space: pre-wrap;
}
.qy-nav-o-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.qy-nav-o-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.qy-nav-o-btn.secondary {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}
.qy-nav-o-btn.secondary:hover {
  background: #e2e8f0;
}
.qy-nav-o-btn.primary {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
}
.qy-nav-o-btn.primary:hover {
  filter: brightness(1.05);
}
