.account-entry {
  white-space: nowrap;
  border: 1px solid #b6ce6f;
  background: transparent;
  color: #e6edcc;
  padding: 11px 16px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.account-entry:hover {
  background: #b6ce6f;
  color: #10180c;
}
#auth-dialog {
  --auth-accent: #d4fa32;
  background: #10180c;
  color: #e9eddb;
  border: 1px solid #40532b;
  width: min(560px, calc(100% - 28px));
  max-height: 92dvh;
  overflow: auto;
  padding: 38px 30px 30px;
  text-align: start;
  font-family: inherit;
  box-sizing: border-box;
}
#auth-dialog::backdrop {
  background: #06100bba;
  backdrop-filter: blur(7px);
}
#auth-dialog [hidden] {
  display: none !important;
}
.auth-close {
  position: absolute;
  inset-inline-end: 14px;
  top: 10px;
  background: transparent;
  border: 0;
  color: #c8d5aa;
  font-size: 28px;
  cursor: pointer;
}
.auth-heading {
  font-size: clamp(27px, 5vw, 38px);
  font-weight: 400;
  letter-spacing: -1.7px;
  line-height: 1.3;
  margin: 4px 0 25px;
}
.auth-intro {
  font-size: 14px;
  color: #c5d0a8;
  line-height: 1.7;
  margin: 0 0 36px;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #344321;
  margin-bottom: 30px;
}
.auth-tab {
  flex: 1;
  padding: 16px 8px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #b7c59a;
  font: inherit;
  cursor: pointer;
}
.auth-tab[aria-selected='true'] {
  color: var(--auth-accent);
  border-color: var(--auth-accent);
}
.auth-field {
  display: block;
  margin: 0 0 27px;
  font-size: 13px;
  color: #d1dbb7;
}
.auth-field > span:first-child {
  display: block;
  margin-bottom: 13px;
}
.auth-input-wrap {
  position: relative;
  display: block;
}
.auth-field input {
  box-sizing: border-box;
  width: 100%;
  height: 59px;
  padding: 12px 48px 12px 15px;
  background: #0a1106;
  border: 1px solid #4a5d2d;
  border-radius: 0;
  color: #f3f6e9;
  font: inherit;
  font-size: 16px;
  outline: none;
  direction: ltr;
  text-align: start;
}
.auth-field input:focus {
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 1px var(--auth-accent);
}
.auth-visibility {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 44px;
  height: 53px;
  border: 0;
  background: transparent;
  color: #bbcb8a;
  cursor: pointer;
}
.auth-visibility svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.auth-field small {
  display: block;
  color: #92a46d;
  font-size: 12px;
  margin-top: 10px;
}
.auth-submit,
.auth-logout {
  width: 100%;
  min-height: 62px;
  background: #82982f;
  border: 0;
  color: #080d04;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  margin-top: 7px;
}
.auth-submit:hover,
.auth-logout:hover {
  background: #b1cd43;
}
.auth-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.auth-feedback {
  font-size: 13px;
  line-height: 1.6;
  color: #f6c697;
  margin: 16px 0;
}
.auth-feedback:empty {
  display: none;
}
.auth-account-email {
  word-break: break-all;
  padding: 22px 0;
  color: #d4fa32;
}
.auth-account-state {
  color: #c5d0a8;
  font-size: 14px;
}
.header-tools {
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  #auth-dialog {
    padding: 35px 20px 22px;
  }
  .auth-heading {
    letter-spacing: -1px;
  }
  .auth-intro {
    margin-bottom: 24px;
  }
  .account-entry {
    padding: 9px 12px;
    font-size: 11px;
  }
  .auth-field {
    margin-bottom: 22px;
  }
  .auth-field input {
    height: 55px;
  }
  .auth-visibility {
    height: 49px;
  }
}

#auth-dialog .auth-heading {
  font-size: 32px;
  letter-spacing: -1.4px;
  margin-bottom: 20px;
}
#auth-dialog .auth-intro {
  margin-bottom: 25px;
}
#auth-dialog .auth-tabs {
  margin-bottom: 24px;
}
#auth-dialog .auth-field {
  margin-bottom: 22px;
}
@media (max-width: 640px) {
  #auth-dialog .auth-heading {
    font-size: 27px;
    letter-spacing: -1px;
  }
}
