@charset "UTF-8";
/* Common imports for all CSS modules */
/*
 * This source is generated by bin/gen/licon.py. Run licon.py after changing public/font/lichess.sfd
 *
 * Constant names and values are pulled from private use characters defined in the sfd file.
 *
 * Character names can be edited in fontforge's "glyph info" dialog, or by editing the StartChar: line that
 * begins each character chunk in lichess.sfd
 *
 * To make these characters visible in your editor, install the lichess.ttf font (which is also generated by
 * licon.py) and then add it to your editor's font list.
 */
/* Uniboard: keep the same page layout across pages */
/* text printed directly on the page background deserves special treatment (transp theme) */
.cmn-toggle input:disabled + label::before, .cmn-toggle input:disabled + label::after {
  box-shadow: inset 0 2px 3px -2px hsl(0, 0%, 45%), inset 0 -4px 6px -3px var(--m-body-gradient--lighten-3);
}
html.light .cmn-toggle input:disabled + label::before, .cmn-toggle html.light input:disabled + label::before, html.light .cmn-toggle input:disabled + label::after, .cmn-toggle html.light input:disabled + label::after {
  box-shadow: inset 0 3px 3px -2px #fff, inset 0 -4px 6px -3px var(--m-body-gradient--lighten-5);
}
.cmn-toggle input:disabled + label::before, .cmn-toggle input:disabled + label::after {
  background-image: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
}

.cmn-toggle label::after {
  box-shadow: inset 0 2px 3px -2px hsl(0, 0%, 45%), inset 0 -4px 6px -3px var(--m-body-gradient--lighten-3), 0 1px 3px 0 hsla(0, 0%, 0%, 0.2);
}
html.light .cmn-toggle label::after, .cmn-toggle html.light label::after {
  box-shadow: inset 0 3px 3px -2px #fff, inset 0 -4px 6px -3px var(--m-body-gradient--lighten-5), 0 1px 3px 0 hsla(0, 0%, 0%, 0.18);
}
.cmn-toggle label::after {
  background: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
  text-shadow: 0.5px 0.5px 0 var(--m-dimmer--fade-20) !important;
}
.cmn-toggle label:hover:not(.disabled, :disabled, [disabled])::after {
  box-shadow: inset 0 3px 3px -2px var(--c-border-light), inset 0 -5px 8px -3px var(--m-body-gradient--lighten-5), 0 2px 4px 0 hsla(0, 0%, 0%, 0.24);
}
html.light .cmn-toggle label:hover:not(.disabled, :disabled, [disabled])::after, .cmn-toggle html.light label:hover:not(.disabled, :disabled, [disabled])::after {
  box-shadow: inset 0 4px 3px -2px #fff, inset 0 -5px 8px -3px var(--m-body-gradient--lighten-7), 0 2px 4px 0 hsla(0, 0%, 0%, 0.21);
}
.cmn-toggle label:hover:not(.disabled, :disabled, [disabled])::after {
  background: linear-gradient(to bottom, var(--c-metal-top-hover), var(--c-metal-bottom-hover));
}

.form-check__input input:not(:disabled):focus-visible + .form-check__label {
  box-shadow: 0 0 12px var(--c-font-dimmer);
}

.flash::before, .cmn-toggle label::before {
  font-size: 1.2em;
  vertical-align: middle;
  font-family: lichess;
  font-style: normal;
  font-weight: normal;
  text-transform: none;
  speak: none;
  content: attr(data-icon);
  opacity: 0.9;
  unicode-bidi: isolate;
}

.cmn-toggle input {
  touch-action: manipulation;
}

.form-check__input input, .cmn-toggle input {
  position: absolute;
  inset-inline-start: -99999px;
}

.form3 .captcha {
  display: flex;
  flex-flow: row wrap;
}

.auth .auth-tabs, .flash, .form-check__container {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.form-actions, .form-split {
  /* extends %flex-center */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}

.auth-login__blanked, .auth .password-generator button, .form3 .captcha.is-invalid:not(.success), .form-help pre, .toggle-box legend, .toggle-box, .flash, .form-check__label, .toggle-box--toggle-off legend:hover, .flash-box, .flash-quiet {
  border-radius: 7px;
}

/* helps with clipping background into border-radius */
.toggle-box--toggle-off legend:hover, .flash-box, .flash-quiet {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.08), 0 3px 1px -2px rgba(0, 0, 0, 0.18), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

html.transp .toggle-box--toggle-off legend:hover, .toggle-box--toggle-off html.transp legend:hover, html.transp .flash-box, html.transp .flash-quiet {
  backdrop-filter: blur(6px);
}

.cmn-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.8ch;
  cursor: pointer;
  user-select: none;
}

.cmn-toggle label {
  user-select: none;
  transition: background 150ms ease, box-shadow 150ms ease;
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  padding: 1px;
  width: 40px;
  height: 24px;
  border: 1px solid var(--c-border);
  border-radius: 24px;
  background-clip: padding-box;
  background-color: var(--c-font-dimmer);
}
.cmn-toggle label::before, .cmn-toggle label::after {
  display: block;
  position: absolute;
  content: "";
  width: 22px;
  height: 22px;
  bottom: 0;
}
html:not([dir=rtl]) .cmn-toggle label::before, html:not([dir=rtl]) .cmn-toggle label::after {
  left: 0;
}
html[dir=rtl] .cmn-toggle label::before, html[dir=rtl] .cmn-toggle label::after {
  right: 0;
}
.cmn-toggle label::before {
  transition: margin 150ms ease, color 150ms ease;
  font-size: 1em;
  z-index: 1;
  text-align: center;
  line-height: 22px;
  content: "\e02a";
  color: var(--c-font-dimmer);
  border-radius: 100%;
}
.cmn-toggle label::after {
  transition: margin 150ms ease, box-shadow 150ms ease;
  border-radius: 100%;
}
html.transp .cmn-toggle label::after {
  background: linear-gradient(to bottom, hsl(37, 7%, 22%), hsl(37, 5%, 19%) 100%);
}

.cmn-toggle input:checked + label {
  background-color: var(--c-good);
}
.cmn-toggle input:checked + label::before, .cmn-toggle input:checked + label::after {
  margin-inline-start: 16px;
}
.cmn-toggle input:checked + label::before {
  content: "\e023";
  color: var(--c-good);
}

.cmn-toggle input:disabled + label {
  opacity: 0.6;
  cursor: not-allowed !important;
}
.cmn-toggle input:disabled + label::before, .cmn-toggle input:disabled + label::after {
  box-shadow: none;
}

.cmn-toggle input:focus-visible:not(:disabled) + label {
  box-shadow: 0 0 12px var(--c-font-dimmer);
  border-color: var(--c-primary);
}

.form-check__container {
  user-select: none;
}
.form-check__container .form-label {
  margin-bottom: 0;
  cursor: pointer;
}
.form-check__container:has(.form-label:hover) .form-check__label {
  border-color: var(--c-good);
}

.form-check__input {
  position: relative;
  cursor: pointer;
}

.form-check__input + .form-label {
  margin-inline-start: 0.75rem;
}

.form-check__label {
  position: relative;
  display: block;
  margin-bottom: 0;
  background-color: var(--c-bg-input);
  border: 1px solid var(--c-border);
  cursor: pointer;
  height: 24px;
  width: 24px;
  transition: background-color 0.1s ease-in-out ease, border-color 0.1s ease-in-out ease;
}
.form-check__label:hover {
  border-color: var(--c-good);
}
.form-check__label::after {
  border: 2.5px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  width: 12px;
  height: 6px;
  left: 50%;
  top: 50%;
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -58%) rotate(-45deg);
}

.form-check__input input {
  position: absolute;
}
.form-check__input input:disabled + .form-check__label {
  opacity: 0.6;
  cursor: not-allowed !important;
}
.form-check__input input:not(:disabled):focus-visible + .form-check__label {
  border-color: var(--c-font);
}
.form-check__input input:checked + .form-check__label {
  background-color: var(--c-good);
  border-color: var(--c-good);
}
.form-check__input input:checked:hover + .form-check__label {
  background-color: var(--m-good--fade-20);
}
.form-check__input input:checked + .form-check__label::after {
  opacity: 1;
}

.flash {
  margin: 1em 0 2em 0;
  padding: 1em 2em;
  background: var(--c-good);
}
.flash::before {
  content: "\e023";
  margin-inline: 0 2rem;
  font-size: 1.5em;
}
.flash__content a {
  color: var(--c-over);
  unicode-bidi: plaintext;
}
.flash-success {
  color: var(--c-over);
}
.flash-warning {
  background: var(--c-warn);
  color: var(--c-over);
}
.flash-warning::before {
  content: "\e060";
}
.flash-failure {
  background: var(--c-bad);
  color: var(--c-over);
}
.flash-failure::before {
  content: "\e048";
}
.flash-quiet {
  background: var(--c-bg-zebra);
}
.flash-box {
  background: var(--c-bg-zebra);
}
.flash-box a {
  color: var(--c-primary);
}

.toggle-box {
  border: 1px solid var(--c-border);
  background: var(--c-bg-zebra);
  margin: 1rem 0 3rem 0;
  padding: 2rem var(---box-padding) 0;
}
.toggle-box legend {
  user-select: none;
  background: var(--c-bg-zebra);
  padding: 0.5em 1.5em;
  text-align: right;
  font-size: 1.2em;
  line-height: 26px;
}
.toggle-box legend:focus-visible {
  outline: 2px solid var(--c-primary);
}

.toggle-box--toggle legend {
  border: 1px solid transparent;
  border-top-color: var(--c-border);
  cursor: pointer;
}
.toggle-box--toggle legend::after {
  content: "▲";
  margin-left: 1ch;
}

.toggle-box--toggle-off {
  background: none;
  border-color: transparent;
  border-top-color: var(--c-border);
  border-radius: 0;
  padding-top: 0;
}
.toggle-box--toggle-off legend {
  border: 1px solid var(--c-border);
  background: none;
}
.toggle-box--toggle-off legend:hover {
  background: var(--c-bg-zebra);
}
.toggle-box--toggle-off legend::after {
  content: "▼";
}
.toggle-box--toggle-off > *:not(legend) {
  display: none;
}

.form-group {
  margin-bottom: 3rem;
}

.form-split {
  align-items: inherit;
}

.form-half {
  flex: 1 1 48%;
  min-width: 200px;
}

.form-third {
  flex: 1 1 31%;
}

@media (min-width: 499.3px) {
  .form-half,
  .form-third {
    flex-grow: 0;
  }
}
.form-label {
  font-weight: bold;
  display: inline-block;
  margin-bottom: 0.5rem;
  cursor: text;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(2.7em + 2px);
  background-clip: padding-box;
}

.clipboard {
  float: right;
}

textarea.form-control {
  height: auto;
}

.form-control:invalid,
.form-group.is-invalid .form-control {
  border-color: var(--c-error);
}

.form3 .error,
.form-help,
.password-complexity-label {
  font-size: 90%;
  margin-top: 0.25rem;
  unicode-bidi: plaintext;
}

.form3 .error {
  color: var(--c-error);
}

.form-help,
.password-complexity-label {
  color: var(--c-font-dim);
}

.form-help pre {
  padding: 0.2em 1em;
  margin: 0.2em 0;
  background: var(--c-bg-page);
}

.form-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

.form-actions.single {
  justify-content: flex-end;
}

.form3 hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid var(--c-border);
}

.form-check__container {
  user-select: none;
}
.form-check__container .form-label {
  margin-bottom: 0;
  cursor: pointer;
}
.form-check__container:has(.form-label:hover) .form-check__label {
  border-color: var(--c-good);
}

.form-check__input {
  position: relative;
  cursor: pointer;
}

.form-check__input + .form-label {
  margin-inline-start: 0.75rem;
}

.form-check__label {
  position: relative;
  display: block;
  margin-bottom: 0;
  background-color: var(--c-bg-input);
  border: 1px solid var(--c-border);
  cursor: pointer;
  height: 24px;
  width: 24px;
  transition: background-color 0.1s ease-in-out ease, border-color 0.1s ease-in-out ease;
}
.form-check__label:hover {
  border-color: var(--c-good);
}
.form-check__label::after {
  border: 2.5px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  width: 12px;
  height: 6px;
  left: 50%;
  top: 50%;
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -58%) rotate(-45deg);
}

.form-check__input input {
  position: absolute;
}
.form-check__input input:disabled + .form-check__label {
  opacity: 0.6;
  cursor: not-allowed !important;
}
.form-check__input input:not(:disabled):focus-visible + .form-check__label {
  border-color: var(--c-font);
}
.form-check__input input:checked + .form-check__label {
  background-color: var(--c-good);
  border-color: var(--c-good);
}
.form-check__input input:checked:hover + .form-check__label {
  background-color: var(--m-good--fade-20);
}
.form-check__input input:checked + .form-check__label::after {
  opacity: 1;
}

.form3 .captcha {
  margin: 1em 0 0 -1em;
}
@media (min-width: 499.3px) {
  .form3 .captcha {
    flex-wrap: nowrap;
  }
}
.form3 .captcha.is-invalid:not(.success) {
  border: 1px solid var(--c-error);
  background: var(--m-bad_bg--mix-10);
}
.form3 .captcha .challenge {
  flex: 0 0 250px;
  margin: 0 0 1em 1em;
}
.form3 .captcha .captcha-explanation {
  flex: 1 1 auto;
  overflow: hidden;
  margin: 0 0 1em 1em;
}
.form3 .captcha.is-invalid .captcha-explanation {
  padding: 1em;
}
.form3 .captcha .captcha-explanation .result {
  display: none;
  margin-top: 1rem;
  font-weight: bold;
}
.form3 .captcha .success {
  color: var(--c-good);
}
.form3 .captcha .failure {
  color: var(--c-error);
}
.form3 .captcha.success .success, .form3 .captcha.failure .failure {
  display: block;
}

input[type=password]::-ms-reveal {
  display: none;
}

.password-complexity {
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.password-complexity-meter {
  display: flex;
  gap: 0.25rem;
  height: 0.4rem;
  margin-top: 0.5rem;
}
.password-complexity-meter > * {
  background-color: gray;
  width: 25%;
}

.password-reveal {
  float: right;
  margin-right: 1em;
  margin-top: -2.2em;
}
.password-reveal:focus-visible {
  outline: 2px solid var(--c-primary);
}

.password-reveal.revealed {
  color: var(--c-bad);
}

#main-wrap {
  min-height: calc(95vh - calc(var(---site-header-height) + var(---site-header-margin) + var(---sticky-gap)) - 4em);
}

.site-buttons .signin-or-signup,
#clinput {
  display: none;
}

.checklist {
  font-size: 1.5em;
  font-weight: 700;
}
.checklist li {
  list-style: disc inside;
}

.auth {
  width: 100%;
  margin: 0 auto;
  height: min-content;
  border-radius: 16px;
  border: 1px solid var(--c-border);
}
.auth .auth-tabs {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--c-border);
}
.auth .auth-tabs a {
  flex: 1 1 auto;
  text-align: center;
  font-size: 1.5em;
  padding: 0.5em 0.2em;
  color: var(--c-font);
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.auth .auth-tabs a:hover {
  border-bottom-color: var(--m-accent--fade-70);
}
.auth .auth-tabs a:focus-visible {
  outline-offset: -2px;
}
.auth .auth-tabs a.active {
  font-weight: bold;
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}
@media (width >= 650px) {
  .auth {
    width: 40em;
  }
}
.auth .form-group {
  position: relative;
}
.auth .form-group:has(+ .password-complexity) {
  margin-bottom: 1rem;
}
.auth .password-complexity {
  margin-top: 1em;
}
.auth .password-generator {
  margin-top: 0.5em;
  text-align: right;
}
.auth .password-generator button {
  color: var(--c-accent);
  font-size: 0.9em;
  padding: 0.5em 1em;
}
.auth .password-generator button:hover {
  background: var(--m-accent--fade-70);
}
.auth .form-group input {
  height: 50px;
  font-size: 16px;
  border: none;
  border-radius: 16px;
  background: rgb(26, 22, 16);
}
html.light .auth .form-group input {
  background: rgb(245, 242, 237);
}
.auth .form-group input:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: -2px;
}
.auth .form-group.is-invalid input {
  outline: 2px solid var(--c-error);
  outline-offset: -2px;
}
.auth .password-wrapper,
.auth .text-wrapper {
  position: relative;
}
.auth .password-reveal,
.auth .text-clear {
  position: absolute;
  inset-inline-end: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  border-radius: 7px;
}
.auth .password-reveal:focus-visible,
.auth .text-clear:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.auth .password-reveal {
  float: none;
  margin: 0;
}
.auth .text-clear {
  display: none;
  opacity: 0.7;
}
.auth .text-clear:hover {
  opacity: 1;
}
.auth .text-clear.show {
  display: block;
}
.auth .auth-global-error {
  color: var(--c-error);
  margin-top: 1em;
}
.auth .auth-global-error .text {
  display: flex;
  align-items: center;
  gap: 0.2em;
}
.auth .auth-global-error .text::before {
  font-size: 1.3em;
}
.auth a:focus-visible {
  outline: 2px solid var(--c-primary);
}
.auth .button {
  width: 100%;
  padding: 1.3rem;
  border-radius: 16px;
}
.auth .submit.button {
  font-size: 1.125rem;
  font-weight: bold;
  text-transform: none;
}
.auth .magic-link {
  font-size: 1.125rem;
  font-weight: bold;
  text-transform: none;
}
.auth .or-separator {
  display: flex;
  align-items: center;
  margin: 2.5rem 0 1.5rem;
}
.auth .or-separator::before, .auth .or-separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--c-border);
}
.auth .or-separator span {
  padding: 0 1em;
  color: var(--c-font-dim);
  font-size: 0.85em;
}
.auth-login .form-group:has(+ .password-reset) {
  margin-bottom: 0.5em;
}
.auth-login .password-reset {
  text-align: end;
  font-size: 1rem;
}
.auth-login .login-remember {
  margin: 1em 0;
}
.auth-login .login-remember .form-check__label {
  height: 1.4em;
  width: 1.4em;
}
.auth-login .login-remember .form-check__label::after {
  width: 0.7em;
  height: 0.35em;
  border-width: 2px;
  border-color: var(--c-bg-box);
}
.auth-login .login-remember .form-label {
  font-weight: normal;
}
.auth-login__blanked {
  margin-bottom: 2em;
  padding: 1em 2em;
  background: var(--c-bg-zebra);
  border: 2px solid var(--c-bad);
}
.auth-signup--simple .agreement {
  display: none;
}
.auth .agreement .form-group {
  margin-bottom: 1rem;
}
.auth .agreement label {
  font-weight: normal;
}
.auth .cf-turnstile {
  margin: 3rem 0 0 0;
}

/* presumably the keyboard is up */
@media (height <= 400px) {
  #top {
    display: none;
  }
  .form-group {
    margin-bottom: 1rem;
  }
  .password-complexity {
    margin-top: 1rem;
  }
}

/*# sourceMappingURL=bits.auth.css.map */
