#ascend-login {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #f7f0e3;
  background:
    linear-gradient(110deg, #08102028, #09111c5e),
    url('../assets/ui/loginscreen.png') center / cover no-repeat,
    url('../assets/banners/standardscreen.png') center / cover #101728;
  overflow: auto;
  scrollbar-width: none;
  color-scheme: dark;
}
#ascend-login::backdrop { background: #090c16; }
.ascend-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(295px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 110px);
  width: min(1120px, 100%);
  min-height: 100%;
  margin-inline: auto;
  padding: clamp(20px, 5vw, 65px);
  box-sizing: border-box;
}
.ascend-login-brand img {
  display: block;
  width: 100%;
  max-height: 43vh;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px #000b);
}
.ascend-login-form {
  display: grid;
  gap: 7px;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid #c8a97870;
  border-top-color: #ebc47e;
  border-radius: 18px 3px 18px 3px;
  background: linear-gradient(150deg, #202b41e8, #0b0e18ec 64%);
  box-shadow: 0 24px 60px #0008;
  font: 600 17px/1.3 Rajdhani, 'Segoe UI', sans-serif;
}
.ascend-login-form h1 {
  margin: 0 0 14px;
  font: 700 clamp(29px, 4vw, 43px)/1.1 Rajdhani, 'Segoe UI', sans-serif;
  letter-spacing: .015em;
}
.ascend-login-form label { color: #dcd2bf; }
.ascend-login-form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin: 0 0 9px;
  padding: 0 13px;
  border: 1px solid #98acd05c;
  border-radius: 5px;
  background: #0b101c;
  color: #fff;
  font: 500 16px/1.2 'Segoe UI', sans-serif;
}
.ascend-password-field { position: relative; margin-bottom: 9px; }
.ascend-password-field input { display: block; margin-bottom: 0; padding-right: 64px; }
.ascend-login-form button {
  font: 700 17px/1 Rajdhani, 'Segoe UI', sans-serif;
  cursor: pointer;
}
.ascend-password-field button {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  height: 40px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: #e5c991;
}
.ascend-login-submit {
  min-height: 46px;
  border: 1px solid #f9d48d;
  border-radius: 6px;
  background: linear-gradient(115deg, #fbedcd, #d3a65a);
  color: #221708;
}
.ascend-login-submit:hover { background: #ffdfa5; }
.ascend-login-status { min-height: 1.3em; margin: 0; color: #e5c991; }
.ascend-login-guest {
  justify-self: center;
  padding: 5px 9px;
  border: 0;
  background: transparent;
  color: #dde4f0;
}
.ascend-login-guest:hover { text-decoration: underline; }
.ascend-login-form :focus-visible { outline: 2px solid #f6d597; outline-offset: 2px; }
@media (max-width: 680px) {
  .ascend-login-layout {
    grid-template-columns: minmax(0, 410px);
    justify-content: center;
    align-content: center;
  }
  .ascend-login-brand img { max-height: 20vh; }
}

#ascend-cloud-status:not([hidden]) {
  position: fixed;
  z-index: 10001;
  inset: auto 12px 12px;
  width: fit-content;
  max-width: min(520px, calc(100vw - 24px));
  margin: 0;
  padding: 9px 14px;
  border: 1px solid #edc789;
  border-radius: 6px;
  background: #141827;
  color: #f8dda4;
  font: 600 15px/1.3 'Segoe UI', sans-serif;
  pointer-events: none;
}
