/* WIN88 「修改登录密码」弹窗（深色 + 荧光绿，沿用 setacc-panel 风格） */
#yf-cp-root {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#yf-cp-root.yf-cp-show {
  display: flex;
}
.yf-cp-mask {
  position: fixed;
  inset: 0;
  background: rgba(3, 12, 9, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.yf-cp-card {
  position: relative;
  margin: auto;
  width: min(420px, 100%);
  max-height: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(18, 42, 34, 0.96), rgba(8, 22, 17, 0.98));
  border: 1px solid rgba(50, 220, 130, 0.35);
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(50, 220, 130, 0.18), 0 18px 48px rgba(0, 0, 0, 0.45);
  padding: 22px 18px 18px;
  color: #f5f7f6;
}
.yf-cp-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: rgba(245, 247, 246, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.yf-cp-title {
  margin: 4px 0 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #3ee990;
}
.yf-cp-sub {
  word-break: break-all;
  margin: 8px 0 16px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(245, 247, 246, 0.68);
}
.yf-cp-field {
  margin-bottom: 12px;
}
.yf-cp-field input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: #f5f7f6;
  padding: 13px 14px;
  font-size: 16px; /* >=16px 避免 iOS 聚焦自动放大 */
  outline: none;
}
.yf-cp-field input:focus {
  border-color: rgba(50, 220, 130, 0.65);
  box-shadow: 0 0 0 2px rgba(50, 220, 130, 0.15);
}
.yf-cp-field input::placeholder {
  color: rgba(245, 247, 246, 0.42);
}
.yf-cp-btn {
  width: 100%;
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: #062015;
  background: linear-gradient(180deg, #3ee990, #21b96d);
  box-shadow: 0 0 14px rgba(47, 230, 132, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.yf-cp-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.yf-cp-msg {
  min-height: 20px;
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: #ff8f8f;
}
.yf-cp-msg.ok {
  color: #3ee990;
}
html.yf-ingame #yf-cp-root {
  display: none !important;
}
.yf-cp-hint {
  margin: 4px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 247, 246, 0.8);
}
.yf-cp-hint a {
  color: #3ee990;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
