.pin-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 32px;
}

.pin-hero {
  background: linear-gradient(152deg, #1A1A1A 0%, #0A0A0A 60%, #000 100%);
  padding: 56px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}

.pin-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pin-hero-orb-1 {
  width: 200px;
  height: 200px;
  top: -70px;
  right: -50px;
  background: rgba(236,72,153,0.1);
}

.pin-hero-orb-2 {
  width: 130px;
  height: 130px;
  bottom: -40px;
  left: -20px;
  background: rgba(236,72,153,0.06);
}

.pin-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(236,72,153,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pin-icon-wrap svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.pin-body {
  padding: 28px 24px 8px;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

.pin-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.pin-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
}

.pin-boxes {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pin-box {
  width: 52px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  transition: border-color 150ms ease;
}

.pin-box.filled {
  border-color: var(--primary);
}

.pin-error {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  min-height: 18px;
  margin-bottom: 18px;
}

.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 280px;
  margin: 0 auto;
}

.pin-key {
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-key:active {
  background: var(--surface-2);
}

.pin-key-empty {
  visibility: hidden;
  pointer-events: none;
  border: none;
  background: none;
}

.pin-key-del svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.pin-logout-link {
  display: block;
  margin: 28px auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: underline;
}
