/* 米乐平台登录门禁与云存档状态：配色沿用绘卷草原的墨绿与暖金。 */
#screen-login {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(232, 180, 92, 0.14), transparent 55%),
    linear-gradient(160deg, #16241c 0%, #0d1712 100%);
  overflow: auto;
}

.login-card {
  width: min(94vw, 460px);
  padding: 30px 30px 26px;
  border: 1px solid rgba(232, 180, 92, 0.42);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(36, 54, 41, 0.96), rgba(18, 29, 22, 0.97));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 235, 190, 0.09);
}

.login-kicker { font-size: 12px; letter-spacing: 3px; color: #c7b98f; text-align: center; }
.login-card > h1 { font-size: 34px; margin: 10px 0 6px; text-align: center; color: #f3dcaa; letter-spacing: 4px; }
.login-card > p { margin: 0 0 22px; text-align: center; font-size: 13px; color: #b8c7ac; line-height: 1.7; }

.ml-login { display: flex; flex-direction: column; gap: 14px; }
.ml-field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: #d7dec9; }
.ml-field select {
  width: 100%; min-height: 40px; padding: 6px 10px; font: inherit; font-size: 14px;
  color: #efe6cf; background: #1b2c22; border: 1px solid rgba(232, 180, 92, 0.4); border-radius: 8px;
}
.ml-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer;
  color: #e9e2cf; background: rgba(46, 67, 50, 0.92); border: 1px solid rgba(232, 180, 92, 0.38);
  border-radius: 9px; transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.ml-btn:hover:not(:disabled) { border-color: #e8b45c; background: rgba(62, 87, 65, 0.96); transform: translateY(-1px); }
.ml-btn:disabled { opacity: .5; cursor: wait; }
.ml-btn img { width: 22px; height: 22px; object-fit: contain; }
.ml-btn--mile {
  width: 100%; min-height: 52px; font-size: 16px; font-weight: 700; letter-spacing: 1px;
  color: #2d2110; background: linear-gradient(180deg, #ffe6ad, #e5b565); border-color: #f4d08d;
}
.ml-btn--primary { width: 100%; color: #2d2110; background: linear-gradient(180deg, #ffe6ad, #e5b565); border-color: #f4d08d; }
.ml-row { display: flex; gap: 10px; }
.ml-row .ml-btn { flex: 1; min-width: 0; }
.ml-switch { text-align: center; font-size: 12px; color: #a8b79d; }
.ml-switch a, .ml-reg a { color: #f0d59a; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#ml-password form { display: flex; flex-direction: column; gap: 12px; }
#ml-password input {
  width: 100%; min-height: 42px; padding: 8px 12px; font: inherit; font-size: 14px;
  color: #efe6cf; background: #1b2c22; border: 1px solid rgba(232, 180, 92, 0.34); border-radius: 8px;
}
.ml-reg { margin: 0; text-align: center; font-size: 12px; color: #a8b79d; }
.ml-error { min-height: 18px; margin: 0; text-align: center; font-size: 12px; color: #ff9e8a; }
.ml-status { margin: 0; text-align: center; font-size: 11px; color: #94a48c; }

#cloud-status { display: block; width: 100%; text-align: center; font-size: 11px; color: #b8c7ac; margin-top: 4px; }
.title-menu #btn-cloud-save, .title-menu #btn-cloud-load { flex-basis: 45%; }
@media (max-width: 520px) {
  .login-card { padding: 22px 18px; }
  .login-card > h1 { font-size: 28px; }
  .ml-row { flex-direction: column; }
  .title-menu #btn-cloud-save, .title-menu #btn-cloud-load { flex-basis: 100%; }
}
