@import url("/studio-credit.css");

:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #0b1424;
  color: #e4eaf3;
}
body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
}
main {
  width: min(36rem, calc(100% - 4rem));
  padding: 2rem;
}
h1 {
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: -0.04em;
  margin: 1rem 0;
}
p {
  color: #a9b8cf;
  line-height: 1.6;
}
a {
  color: #f0b45c;
  text-underline-offset: 0.3em;
}
form,
label {
  display: grid;
  gap: 0.8rem;
}
form {
  margin: 1.5rem 0;
}
input,
button {
  font: inherit;
  padding: 0.75rem;
  border: 1px solid #a9b8cf;
  border-radius: 0.3rem;
}
button {
  background: #f0b45c;
  color: #0b1424;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
:focus-visible {
  outline: 2px solid #f0b45c;
  outline-offset: 4px;
}
#message {
  min-height: 2rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}
/* Why an account is needed, when a button sent the player here. */
.reason {
  color: #f0b45c;
  font-size: 1.1rem;
  font-weight: 600;
}
/* Secondary actions read as links, not as the main button. */
button.quiet {
  padding: 0;
  border: 0;
  background: none;
  color: #f0b45c;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
button.quiet:disabled {
  opacity: 0.5;
  cursor: default;
}
