.desktop-login {
  width: min(100% - 2rem, 31rem);
  margin: clamp(1.5rem, 4vw, 3rem) auto;
}
.desktop-login-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid #604722;
  border-radius: .85rem;
  background: #100e0c;
  color: #fff5e2;
}
.desktop-login-brand { justify-self: center; width: min(100%, 13rem); }
.desktop-login-brand img { width: 100%; height: auto; }
.desktop-login-form h1 { color: #ffd076; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; text-align: center; }
.desktop-login-form label { display: grid; gap: .35rem; }
.desktop-login-form label input:not([type="checkbox"]) {
  width: 100%;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid #6b5533;
  border-radius: .45rem;
  background: #211d17;
  color: inherit;
}
.desktop-login-form .desktop-login-remember { display: flex; align-items: center; gap: .6rem; }
.desktop-login-remember input { width: 1.15rem; height: 1.15rem; flex: none; accent-color: #ffbf49; }
.desktop-login-remember small { display: block; color: #d7c7ad; }
.desktop-login-form button { min-height: 44px; border-radius: .45rem; background: #f6b530; color: #251808; font-weight: 800; }
.desktop-login-register { justify-self: center; color: #ffd076; text-decoration: underline; text-underline-offset: .25em; }
.desktop-login-form :focus-visible { outline: 2px solid #ffd475; outline-offset: 3px; }

.desktop-login-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(100% - 2rem, 31rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: .85rem;
  background: #100e0c;
  color: #fff5e2;
}
.desktop-login-dialog::backdrop { background: rgb(0 0 0 / 70%); }
.desktop-login-dialog > form[method="dialog"] { position: absolute; top: .5rem; right: .5rem; }
.desktop-login-dialog > form[method="dialog"] button { width: 2.5rem; height: 2.5rem; font-size: 1.5rem; }
