/* 私密密码的圆点和数字键盘（vault.js）。放在 ui.css 之后。 */

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 6px 0 0;
}

.pin-dots i {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.pin-dots i.on {
  background: var(--ink);
}

.pin-dots.shake {
  animation: pin-shake 320ms ease;
}

@keyframes pin-shake {
  25% { transform: translateX(-8px); }
  50% { transform: translateX(8px); }
  75% { transform: translateX(-4px); }
}

.sheet-card .pin-say {
  min-height: 21px;
  font-size: 14px;
  text-align: center;
}

.sheet-card .pin-say.bad {
  color: var(--red);
}

.sheet-card .pin-or {
  font-size: 13px;
  text-align: center;
}

.pin-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: min(100%, 300px);
  margin: 0 auto;
}

.pin-keys button {
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.pin-keys button.del {
  font-size: 15px;
  color: var(--muted);
}

.pin-keys button:active {
  background: var(--soft);
}

.pin-keys.off {
  opacity: 0.4;
  pointer-events: none;
}

.bio-btn {
  min-height: 60px;
}

.sheet-card .link {
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.sheet-card .center {
  justify-self: center;
  text-align: center;
}

.face-ring {
  justify-self: center;
  width: 112px;
  height: 112px;
  padding: 6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--line);
}

.face-ring.busy {
  box-shadow: inset 0 0 0 3px var(--ink);
  animation: blink 1.2s ease infinite;
}

.face-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
