:root { color-scheme: dark; font-family: Georgia, "Times New Roman", serif; }
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { min-height: 100svh; background: #080d19; overflow: hidden; }
.scene {
  position: relative; min-height: 100svh; width: 100%; display: grid; place-items: center;
  background-image: url("camp-background.png"); background-position: center center;
  background-size: cover; background-repeat: no-repeat; isolation: isolate;
}
.shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 35%, rgba(2,5,13,.24) 100%); }
.login {
  position: relative; width: min(360px, 88vw); margin-top: -1px;
  padding: 22px; text-align: center;
  border: 2px solid rgba(194,151,79,.82); border-radius: 12px;
  /* 70% прозрачности: видимая часть фона панели — около 30%. */
  background: rgba(7,9,15,.30);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  box-shadow: 0 0 0 3px rgba(26,17,10,.52), 0 0 0 5px rgba(170,127,54,.32), 0 16px 50px rgba(0,0,0,.36), inset 0 0 28px rgba(126,83,31,.10);
}

form { display: grid; gap: 14px; }
input {
  width: 100%; height: 42px; border: 1px solid rgba(194,151,79,.65); border-radius: 7px;
  padding: 0 14px; background: rgba(5,8,14,.88); color: #fff1c8; font: 16px Georgia, serif;
  box-shadow: inset 0 2px 7px #000, 0 1px 2px rgba(255,220,150,.12); outline: none;
}
input::placeholder { color: #b8a98f; opacity: 1; }
input:focus { border-color: #f0c46b; box-shadow: 0 0 0 2px rgba(211,155,61,.22), inset 0 2px 7px #000; }
button {
  height: 43px; margin: 4px 9px 0; border: 2px solid #e3ad48; border-radius: 7px;
  color: #ffe38b; background: linear-gradient(#a9150d, #650600 55%, #390300);
  box-shadow: inset 0 0 0 2px #4b1008, 0 3px 7px #000; font: bold 19px Georgia, serif;
  text-shadow: 0 1px 2px #350000; cursor: pointer;
}
button:hover { filter: brightness(1.18); }
button:active { transform: translateY(1px); }
button:disabled { cursor: wait; filter: grayscale(.35) brightness(.8); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 650px) {
  .scene { background-position: 46% center; }
  .login { width: min(330px, 88vw); padding-inline: 16px; }
  }
@media (max-height: 600px) and (min-width: 651px) {
  .scene { min-height: 600px; }
}
