/* WIN88 「设置账号」入口 + 弹窗（深色 + 荧光绿，沿用 login-panel 风格） */
.yf-sa-tag {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: #062015;
  background: linear-gradient(180deg, #3ee990, #21b96d);
  box-shadow: 0 0 8px rgba(47, 230, 132, 0.35);
}
#yf-sa-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-sa-root.yf-sa-show {
  display: flex;
}
.yf-sa-mask {
  position: fixed;
  inset: 0;
  background: rgba(3, 12, 9, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.yf-sa-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-sa-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-sa-title {
  margin: 4px 0 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #3ee990;
}
.yf-sa-sub {
  margin: 8px 0 16px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(245, 247, 246, 0.68);
}
.yf-sa-field {
  margin-bottom: 12px;
}
.yf-sa-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-sa-field input:focus {
  border-color: rgba(50, 220, 130, 0.65);
  box-shadow: 0 0 0 2px rgba(50, 220, 130, 0.15);
}
.yf-sa-field input::placeholder {
  color: rgba(245, 247, 246, 0.42);
}
.yf-sa-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-sa-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.yf-sa-msg {
  min-height: 20px;
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: #ff8f8f;
}
.yf-sa-msg.ok {
  color: #3ee990;
}
html.yf-ingame #yf-sa-root {
  display: none !important;
}

.yf-sa-hint {
  margin: 4px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 247, 246, 0.8);
}
.yf-sa-hint a {
  color: #3ee990;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
