* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(24px, 0.8fr) auto minmax(24px, 1.2fr);
  background: #101b2c;
  color: #f4f7fc;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    sans-serif;
}
.entry {
  grid-row: 2;
  width: min(360px, calc(100% - 48px));
  margin: 0 auto;
}
.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 0 44px;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  font-style: italic;
  letter-spacing: -2px;
  line-height: 1.2;
  white-space: nowrap;
}
.wordmark span {
  border-left: 1px solid #435066;
  padding-left: 22px;
  color: #8495ac;
  font-size: 10px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 3px;
}
form {
  display: grid;
  gap: 22px;
}
label {
  display: block;
  margin-bottom: 9px;
  color: #bcc7d5;
  font-size: 13px;
  font-weight: 600;
}
input,
button {
  font: inherit;
}
input {
  width: 100%;
  height: 50px;
  padding: 12px 14px;
  border: 1px solid #3c4c61;
  border-radius: 7px;
  outline: none;
  background: #0e1929;
  color: #fff;
  font-size: 16px;
}
input:focus {
  border-color: #a7ff50;
  box-shadow: 0 0 0 3px #a7ff5012;
}
input:autofill {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 100px #0e1929 inset;
  caret-color: #fff;
}
.enter {
  width: 100%;
  height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 7px;
  background: #a7ff50;
  color: #17210c;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}
.enter:hover {
  background: #bdff7e;
}
.enter:focus-visible {
  outline: 2px solid #a7ff50;
  outline-offset: 4px;
}
.enter:disabled {
  opacity: 0.5;
  cursor: wait;
}
#error {
  margin: 0;
  color: #ff9aaf;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#error:empty {
  display: none;
}
@media (max-width: 380px) {
  .wordmark {
    gap: 18px;
    font-size: 30px;
  }
  .wordmark span {
    padding-left: 18px;
    font-size: 9px;
    letter-spacing: 2.5px;
  }
}
