/* lock.css —— 手势锁界面（与主题解耦，换皮不影响它） */
.lock {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg, #0a0b0d);
}
.lock-inner { width: 300px; text-align: center; user-select: none; }
.lock-brand {
  font: 600 17px/1 -apple-system, "SF Pro Text", "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.10em;
  color: var(--ink, #e8ebee);
  margin-bottom: 8px;
}
.lock-hint {
  font: 400 12.5px/1.4 -apple-system, "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink-faint, #6c737a);
  min-height: 18px;
  margin-bottom: 26px;
  transition: color 0.2s;
}
.lock-hint.is-bad { color: #c25b4e; }

.lock-stage { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.lock-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.lock-lines polyline {
  fill: none;
  stroke: var(--accent, #6fb6cf);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}
.lock-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  touch-action: none;
}
.lock-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(232, 235, 238, 0.10);
  box-shadow: inset 0 0 0 1px rgba(232, 235, 238, 0.18);
  transition: background 0.12s, transform 0.12s;
}
.lock-dot.is-on {
  background: var(--accent, #6fb6cf);
  box-shadow: 0 0 0 10px rgba(111, 182, 207, 0.14);
  transform: scale(1.05);
}
.lock-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(20, 24, 28, 0.95);
  color: var(--ink, #e8ebee);
  font: 500 13px/1 -apple-system, "Noto Sans SC", system-ui, sans-serif;
  z-index: 130;
}
