/* 忘忧酒馆 / 坐骑福利 / 战歌排行 / 功勋商城 共用登录 */
.hy-login-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(105deg, rgba(212, 175, 55, 0.14), transparent 42%),
    rgba(12, 10, 8, 0.72);
  box-shadow: inset 3px 0 0 #d4af37;
}
.hy-login-bar-copy { min-width: 0; }
.hy-login-bar-copy strong {
  display: block;
  margin: 0 0 4px;
  color: #f4e4a6;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.hy-login-bar-copy span {
  display: block;
  color: #cbbd9a;
  font-size: 13px;
  line-height: 1.55;
}
.hy-login-bar-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hy-login-bar-btn,
.hy-login-bar-link {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: #d4af37;
  color: #1a1408;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.hy-login-bar-btn:hover,
.hy-login-bar-link:hover { background: #f0d078; color: #1a1408; text-decoration: none; }
.hy-login-bar-btn:active { transform: translateY(1px); }
.hy-login-bar-ghost {
  background: transparent;
  color: #e8dcc0;
  border: 1px solid rgba(232, 220, 192, 0.35);
}
.hy-login-bar-ghost:hover { background: rgba(255,255,255,0.06); color: #fff; }
.hy-login-bar.is-in .hy-login-bar-copy span { color: #9d9178; }

.hy-login .modal-dialog { max-width: 440px; margin: 16px auto; }
.hy-login .modal-content {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(212,175,55,.16), transparent 60%),
    linear-gradient(180deg, #1a1510 0%, #0c0a08 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  color: #e8dcc0;
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
  overflow: hidden;
}
.hy-login .modal-header {
  position: relative;
  display: block;
  border: 0;
  padding: 26px 48px 0 22px;
  text-align: left;
}
.hy-login .close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 10px;
}
.hy-login .close:hover { background: rgba(255,255,255,.06); }
.hy-login-realm:focus-visible,
.hy-login-bar-btn:focus-visible,
.hy-login-submit:focus-visible,
.hy-login .close:focus-visible {
  outline: 2px solid #f0d078;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .hy-login-bar-btn,
  .hy-login-realm,
  .hy-login-submit { transition: none; }
}
.hy-login-kicker {
  margin: 0 0 6px;
  color: #d4af37;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.hy-login .modal-title {
  margin: 0;
  color: #f7efd4;
  font-size: 22px;
  font-weight: 700;
}
.hy-login .close {
  color: #f4e4a6;
  opacity: .8;
  text-shadow: none;
  font-size: 28px;
  line-height: 1;
}
.hy-login .modal-body { padding: 14px 22px 22px; }
.hy-login-hint { margin: 0 0 14px; color: #cbbd9a; font-size: 13px; line-height: 1.6; }
.hy-login-msg { margin-bottom: 12px; }
.hy-login-realms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.hy-login-realm {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(232, 220, 192, 0.18);
  background: rgba(0,0,0,.25);
  color: #e8dcc0;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.hy-login-realm small { display: block; margin-top: 3px; color: #9d9178; font-size: 12px; }
.hy-login-realm.is-on {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.12);
  color: #f7efd4;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.25);
}
.hy-login-realm:active { transform: translateY(1px); }
.hy-login-field { margin-bottom: 12px; }
.hy-login-field label { display: block; margin-bottom: 6px; color: #cbbd9a; font-size: 12px; letter-spacing: .08em; }
.hy-login-field input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(232, 220, 192, 0.22);
  background: rgba(0,0,0,.35);
  color: #f7efd4;
  font-size: 16px;
}
.hy-login-field input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
}
.hy-login-submit {
  width: 100%;
  margin-top: 6px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0d078, #c9962e);
  color: #1a1408;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.hy-login-submit:hover { filter: brightness(1.06); }
.hy-login-submit:active { transform: translateY(1px); }
.hy-login-submit:disabled { opacity: .65; cursor: wait; }
@media (max-width: 640px) {
  .hy-login-bar { flex-direction: column; align-items: stretch; }
  .hy-login-bar-actions { width: 100%; }
  .hy-login-bar-btn, .hy-login-bar-link { flex: 1; text-align: center; }
  .hy-login .modal-dialog { margin: 10px; }
}
