.auth-pending {
  overflow: hidden;
}
.auth-pending > .studio-nav,
.auth-pending > .workspace-nav,
.auth-pending > .studio,
.auth-pending > .studio-support {
  visibility: hidden;
}
.game-auth-world {
  position: fixed;
  inset: 0;
  background: #09131f center/cover no-repeat;
  z-index: 20;
}

.game-auth {
  width: min(500px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: 27px 30px 23px;
  border: 1px solid #56f4c566;
  border-radius: 22px;
  background: #09131ff5;
  color: #eff7f5;
  box-shadow: 0 25px 100px #0008;
  z-index: 21;
}
.game-auth::backdrop {
  background: transparent;
  backdrop-filter: none;
}
.game-auth .auth-brand {
  display: block;
  text-align: center;
  font-size: 12px;
  letter-spacing: 3px;
  color: #91b2bb;
  margin-bottom: 8px;
}
.game-auth h1 {
  font: 800 42px/1 Arial;
  text-align: center;
  letter-spacing: -1.5px;
  margin: 0;
  color: #56f4c5;
}
.game-auth-heading {
  text-align: center;
}
.game-auth-heading p {
  margin: 9px 0 0;
  color: #9eb2bf;
  font: 14px/1.4 Arial;
}
.game-auth .auth-tabs {
  display: flex;
  gap: 8px;
  margin: 21px 0 17px;
  padding: 4px;
  border-radius: 12px;
  background: #06111c;
}
.game-auth button {
  font: 700 13px Arial;
  cursor: pointer;
}
.game-auth .auth-tabs button {
  flex: 1;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #b7cbd0;
}
.game-auth .auth-tabs button[aria-pressed="true"] {
  background: #56f4c5;
  border-color: #56f4c5;
  color: #09131f;
}
.game-auth label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0;
}
.game-auth input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  margin-top: 7px;
  border: 1px solid #334a55;
  border-radius: 10px;
  background: #102235;
  color: #eff7f5;
  font: 16px Arial;
}
.game-auth input::placeholder {
  color: #71899a;
}
.game-auth .auth-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  height: 50px;
  border-radius: 10px;
  padding: 0 17px;
  background: #56f4c5;
  color: #09131f;
  margin-top: 5px;
  font-size: 15px;
}
.game-auth .auth-submit span {
  font-size: 21px;
}
.game-auth .auth-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.game-auth .auth-message {
  font-size: 13px;
  color: #ffc3b5;
  line-height: 1.5;
  margin: 12px 0 0;
}
.game-auth .auth-message:empty {
  display: none;
}
.game-auth .auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #ffffff12;
  font-size: 12px;
}
.game-auth .auth-links a,
.game-auth .auth-links button {
  color: #a4b9c3;
  background: none;
  border: 0;
  padding: 0;
  font: 12px Arial;
}
.game-auth input:focus-visible,
.game-auth a:focus-visible,
.game-auth button:focus-visible {
  outline: 2px solid #56f4c5;
  outline-offset: 3px;
}
.studio-support {
  text-align: center;
  padding: 24px;
  font: 13px Arial;
  border-top: 1px solid #263744;
}
.studio-support a {
  color: #56f4c5;
}
.game-auth .auth-hint {
  font-size: 12px;
  color: #9cb3bd;
  line-height: 1.6;
}
@media (max-width: 450px) {
  .game-auth {
    padding: 24px 20px 20px;
  }
  .game-auth h1 {
    font-size: 35px;
  }
}

.game-auth-world canvas {
  width: 100%;
  height: 100%;
  filter: brightness(0.38) saturate(0.75);
  pointer-events: none;
}
