/* Compact guest login. Authenticated panel rules are scoped separately below. */
#registerModal.mu-auth-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 420px !important;
  top: 0 !important;
  margin: clamp(20px, 6vh, 64px) auto !important;
}

#registerModal.mu-auth-modal .modal-header {
  min-height: 62px;
  padding: 18px 60px 16px 22px;
}

#registerModal.mu-auth-modal .modalTitle {
  font-size: 20px;
  line-height: 1.3;
}

#registerModal.mu-auth-modal .modal-body {
  padding: 18px 22px 22px;
}

#registerModal.mu-auth-modal .login-panel {
  padding: 0;
}

#registerModal.mu-auth-modal .fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

#registerModal.mu-auth-modal .fieldGroup {
  min-width: 0;
  margin: 0;
}

#registerModal.mu-auth-modal .login-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 20px;
}

#registerModal.mu-auth-modal .enter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px !important;
}

#registerModal.mu-auth-modal .enterLinks {
  flex: 1 1 140px;
}

#registerModal.mu-auth-modal .enterLinks a {
  font-size: 12px;
  line-height: 1.6;
}

#registerModal.mu-auth-modal .enter button[type="submit"] {
  display: inline-flex;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
  width: 120px;
  min-width: 120px;
  height: 40px;
  margin: 0 0 0 auto;
  padding: 0 16px;
  line-height: 1;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}

#registerModal.mu-auth-modal .enterButtons {
  margin-bottom: 22px !important;
  padding-bottom: 16px !important;
}

#registerModal.mu-auth-modal .enterButtons .button {
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .5px;
}

#registerModal.mu-auth-modal .remember-login {
  margin: 16px 0 0 !important;
}

#registerModal.mu-auth-modal input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
}

#registerModal.mu-auth-modal .modal_close {
  top: 15px;
  right: 16px;
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  line-height: 1;
}

@media (max-width: 359px) {
  #registerModal.mu-auth-modal .modal-body {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* Authenticated quick panel: native wallet, account, character and logout hooks. */
#registerModal.mu-account-modal .modal-dialog { width:calc(100% - 32px); max-width:640px !important; top:0 !important; margin:clamp(20px,6vh,64px) auto !important; }
#registerModal.mu-account-modal .modal-content { background:#101215; border:1px solid #292e34; border-radius:5px; box-shadow:0 18px 55px #0009; }
#registerModal.mu-account-modal .modal-header { display:block; padding:19px 68px 19px 22px; border-bottom:1px solid #23282e; }
#registerModal.mu-account-modal .modalTitle { font:600 21px/1.4 'Inter',Arial,sans-serif; color:#e1e3e6; text-transform:none; letter-spacing:0; overflow-wrap:anywhere; }
#registerModal.mu-account-modal .mu-account-subtitle { margin:3px 0 0; color:#8d959f; font-size:12px; line-height:1.5; }
#registerModal.mu-account-modal .modal-body { padding:20px 22px; }
#registerModal.mu-account-modal .login-panel { padding:0; }
#registerModal.mu-account-modal .panel-info-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0; }
#registerModal.mu-account-modal .panel-info-card { min-width:0; min-height:72px; padding:12px; gap:5px; border:1px solid #23282e; border-radius:3px; background:#171b20; }
#registerModal.mu-account-modal .panel-info-label { font-size:11px; line-height:1.5; color:#929aa4; text-transform:none; letter-spacing:0; overflow-wrap:anywhere; }
#registerModal.mu-account-modal .panel-info-value { font-size:16px; font-weight:600; line-height:1.5; color:#e5a16c !important; overflow-wrap:anywhere; }
#registerModal.mu-account-modal .panel-info-card--expiry .panel-info-value { color:#dde2e8 !important; }
#registerModal.mu-account-modal .panel-services-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0; margin:16px 0 0; border:0; }
#registerModal.mu-account-modal .panel-service-btn { display:flex; align-items:center; justify-content:flex-start; gap:12px; min-width:0; height:auto; min-height:64px; padding:12px 14px; border:1px solid #292f37; border-radius:3px; background:linear-gradient(#21262c,#181c21); color:#e1e5eb !important; text-align:left; text-transform:none; letter-spacing:0; white-space:normal; }
#registerModal.mu-account-modal .panel-service-btn > svg { flex:0 0 24px; width:24px; height:24px; color:#a3adb9; }
#registerModal.mu-account-modal .mu-account-action-text { flex:1; min-width:0; }
#registerModal.mu-account-modal .mu-account-action-text strong { display:block; font-size:13px; line-height:1.5; font-weight:600; overflow-wrap:anywhere; }
#registerModal.mu-account-modal .mu-account-action-text small { display:block; margin-top:2px; color:#8f99a5; font-size:11px; line-height:1.5; }
#registerModal.mu-account-modal .mu-account-action-arrow { font-size:16px; color:#79838f; }
#registerModal.mu-account-modal .panel-logout { display:flex; justify-content:flex-end; margin-top:18px; padding-top:14px; border-top:1px solid #23282e; }
#registerModal.mu-account-modal .panel-logout > a { display:inline-flex; align-items:center; justify-content:center; flex:0 0 90px; gap:7px; width:90px; min-width:90px; height:34px; margin:0; padding:0 10px; border:1px solid #30363e; border-radius:3px; background:#1b2026; color:#c5cbd3 !important; font:500 12px/1.5 'Inter',Arial,sans-serif; letter-spacing:0; text-transform:none; box-shadow:none; }
#registerModal.mu-account-modal .panel-logout svg { width:14px; height:14px; }
#registerModal.mu-account-modal .modal_close { top:24px; right:22px; display:flex; align-items:center; justify-content:center; width:30px; min-width:30px; height:30px; padding:0; border:1px solid #30363e !important; border-radius:3px; background:#1b2026; color:#adb5bf; box-shadow:none; }
#registerModal.mu-account-modal .modal_close::after { content:'×'; font:400 20px/1 Arial,sans-serif; color:#adb5bf; text-shadow:none; }
#registerModal.mu-account-modal .panel-service-btn:hover,#registerModal.mu-account-modal .panel-logout > a:hover,#registerModal.mu-account-modal .modal_close:hover { background:#2a3038; color:#fff !important; box-shadow:none; }
@media (max-width:620px) {
  #registerModal.mu-account-modal .modal-header { padding:16px 58px 16px 16px; }
  #registerModal.mu-account-modal .modalTitle { font-size:19px; }
  #registerModal.mu-account-modal .modal-body { padding:16px; }
  #registerModal.mu-account-modal .modal_close { top:20px; right:16px; }
  #registerModal.mu-account-modal .panel-info-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #registerModal.mu-account-modal .panel-info-card { min-height:68px; }
  #registerModal.mu-account-modal .panel-services-grid { grid-template-columns:minmax(0,1fr); }
  #registerModal.mu-account-modal .panel-service-btn { min-height:60px; }
  #registerModal.mu-account-modal .panel-logout { margin-top:16px; }
}
