
body.login .bk-pz {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
body.login .bk-pz.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.login .bk-pz-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}
body.login .bk-pz-card {
  position: relative;
  width: 340px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.26), 0 4px 12px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
body.login .bk-pz.is-open .bk-pz-card {
  transform: none;
}

body.login .bk-pz-head {
  position: relative;
  padding: 15px 40px 14px;
  background: linear-gradient(135deg, #4a6cf7 0%, #6d8bff 58%, #8aa3ff 100%);
  text-align: center;
}
body.login .bk-pz-badge {
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff; 
}
body.login .bk-pz-badge svg {
  display: block;
  width: 17px;
  height: 17px;
}
body.login .bk-pz-title {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.4px;
  color: #ffffff;
}
body.login .bk-pz-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.15s ease;
}
body.login .bk-pz-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
body.login .bk-pz-close svg {
  display: block;
  width: 14px;
  height: 14px;
}

body.login .bk-pz-body {
  padding: 14px 20px 14px;
}
body.login .bk-pz-stage {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f7;
  user-select: none;
}
body.login .bk-pz-bg {
  display: block;
  width: 100%;
}
body.login .bk-pz-piece {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

body.login .bk-pz-bar {
  position: relative;
  height: 44px;
  margin: 12px 0 0;
  border: none;
  border-radius: 10px;
  background: #f2f4f9;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
body.login .bk-pz-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(74, 108, 247, 0.06), rgba(74, 108, 247, 0.18));
}

body.login .bk-pz-zone {
  position: absolute;
  top: 3px;
  bottom: 3px;
  z-index: 1;
  border: 1px dashed rgba(74, 108, 247, 0.55);
  border-radius: 8px;
  background: rgba(74, 108, 247, 0.1);
  pointer-events: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
body.login .bk-pz--slot .bk-pz-stage {
  display: none;
}
body.login .bk-pz--slot .bk-pz-bar {
  margin-top: 0;
  height: 50px;
}
body.login .bk-pz--slot .bk-pz-bar-text {
  z-index: 2;
}
body.login .bk-pz.is-ok .bk-pz-zone {
  border-color: rgba(47, 158, 68, 0.6);
  background: rgba(47, 158, 68, 0.12);
}
body.login .bk-pz.is-bad .bk-pz-zone {
  border-color: rgba(240, 68, 68, 0.55);
  background: rgba(240, 68, 68, 0.1);
}
body.login .bk-pz-bar-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  color: #9aa2b5;
  letter-spacing: 0.2px;
  pointer-events: none;
}
body.login .bk-pz-handle {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  box-sizing: border-box;
  width: 44px;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  color: #4a6cf7;
  box-shadow: 0 2px 8px rgba(74, 108, 247, 0.3);
  cursor: grab;
  touch-action: none;
  will-change: transform;
}
body.login .bk-pz-handle svg {
  display: block;
  width: 18px;
  height: 18px;
}
body.login .bk-pz-handle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2), 0 2px 8px rgba(74, 108, 247, 0.3);
}
body.login .bk-pz-handle.is-grab {
  cursor: grabbing;
}

body.login .bk-pz.is-ok .bk-pz-handle {
  background: #2f9e44;
  color: #ffffff;
  cursor: default;
}
body.login .bk-pz.is-ok .bk-pz-bar-text {
  color: #2b8a3e;
}
body.login .bk-pz.is-ok .bk-pz-handle svg {
  display: none;
}
body.login .bk-pz.is-ok .bk-pz-handle::after {
  content: '\2713';
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
body.login .bk-pz.is-ok .bk-pz-bar-fill {
  background: linear-gradient(90deg, rgba(47, 158, 68, 0.08), rgba(47, 158, 68, 0.22));
}
body.login .bk-pz.is-bad .bk-pz-bar {
  animation: bk-pz-shake 0.4s;
}
body.login .bk-pz.is-bad .bk-pz-bar-text {
  color: #c0392b;
}
body.login .bk-pz.is-loading .bk-pz-bar-text {
  color: #b6bccb;
}

body.login .bk-pz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px 14px;
}
body.login .bk-pz-hint {
  font-size: 11.5px;
  line-height: 1.5;
  color: #a4abbd;
}
body.login .bk-pz-retry {
  flex: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #4a6cf7;
  font-size: 11.5px;
  line-height: 1.5;
  cursor: pointer;
}
body.login .bk-pz-retry:hover {
  text-decoration: underline;
}

@keyframes bk-pz-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@media (max-width: 380px) {
  body.login .bk-pz-body {
    padding: 12px 14px;
  }
  body.login .bk-pz-foot {
    padding: 0 14px 12px;
    justify-content: flex-end; 
  }
  body.login .bk-pz-hint {
    display: none;
  }
  body.login .bk-pz--slot .bk-pz-hint {
    display: block;
  }
  body.login .bk-pz--slot .bk-pz-foot {
    justify-content: flex-start;
  }
}
