/* Login screen shown before the game starts in the browser (game-login.js). */
#game-login {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
  background: radial-gradient(ellipse at top, #22775b, #123f34 65%);
  font-family: system-ui, sans-serif;
}
#game-login[hidden] {
  display: none;
}
.login-card {
  width: min(100%, 380px);
  box-sizing: border-box;
  padding: 24px 22px;
  border-radius: 16px;
  background: #faf5e6;
  color: #193d32;
  box-shadow: 0 18px 50px #0006;
  text-align: center;
}
.login-wordmark {
  display: block;
  width: min(100%, 230px);
  height: auto;
  margin: 0 auto 10px;
}
.login-card h1 {
  margin: 0 0 6px;
  font-size: 22px;
}
.login-intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #3d5a50;
}
.login-card label {
  display: block;
  margin-bottom: 12px;
  text-align: start;
  font-size: 13px;
  font-weight: 600;
}
.login-card input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
  padding: 12px;
  border: 1px solid #b9c4b4;
  border-radius: 9px;
  background: #fff;
  color: #14261f;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.login-card input:focus-visible,
.login-card button:focus-visible,
.login-card a:focus-visible {
  outline: 3px solid #22775b;
  outline-offset: 2px;
}
.login-message {
  min-height: 18px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #a3222f;
}
.login-card button {
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: 9px;
  background: #1d6b52;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.login-card button:disabled {
  opacity: 0.6;
  cursor: default;
}
.login-card a {
  color: #1d6b52;
  font-weight: 600;
  text-underline-offset: 3px;
}
.login-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
}
.login-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
  font-size: 13px;
  color: #5d766c;
}
.login-or::before,
.login-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #cfd6c8;
}
#login-google {
  display: flex;
  justify-content: center;
  min-height: 44px;
}
.login-terms {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #5d766c;
}
.login-create {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #dcdfd0;
  font-size: 14px;
}
