@font-face {
  font-family: Quicksand;
  src: url("/fonts/quicksand-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: #213c2c;
  background: #eff5e6;
  font: 600 1rem/1.5 Quicksand, "Segoe UI", sans-serif;
}
a { color: #325c26; font-weight: 700; }
:focus-visible { outline: 3px solid #4277ba; outline-offset: 3px; }
.register-header, .register-layout { width: min(1050px, calc(100% - 36px)); margin-inline: auto; }
.register-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 16px;
}
.register-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.15; }
.register-brand span { font-size: 1.15rem; font-weight: 700; }
.register-brand small { display: block; font-size: .72rem; color: #44614c; }
.register-layout {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 20px;
  align-items: start;
  padding-block: 14px 40px;
}
.register-welcome, .register-card { border-radius: 16px; overflow: hidden; }
.register-welcome { background: #315535; color: #fff; }
.register-welcome div, .register-card { padding: clamp(18px, 3vw, 36px); }
.register-welcome img { display: block; width: 100%; height: auto; }
.register-welcome h2, .register-card h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.15; margin: 0 0 8px; }
.register-welcome p, .register-card p { margin: 0 0 16px; }
.register-welcome p { margin-bottom: 0; }
.register-card { background: #fff; border: 1px solid #cbd9c2; box-shadow: 0 10px 28px #243b2510; }
.register-card fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.register-card label { display: block; font-weight: 700; margin: 12px 0 4px; }
.register-card input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #9bad92;
  border-radius: 7px;
  background: #f9fbf6;
  color: inherit;
  font: inherit;
}
.register-card small, .register-card .register-note { color: #4e6352; font-size: .875rem; overflow-wrap: anywhere; }
.register-card .register-remember { display: flex; align-items: center; gap: 8px; margin-block: 14px; font-size: .9rem; }
.register-remember input { accent-color: #467330; }
.register-button {
  display: block;
  width: 100%;
  text-align: center;
  background: #396827;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.register-button:hover { background: #2d5420; }
.register-button:disabled, fieldset:disabled .register-button { background: #e3eadf; color: #50604b; cursor: default; }
#account-captcha { margin-block: 14px; }
#account-captcha-status { font-size: .875rem; margin-bottom: 6px; }
#register-message { margin-top: 10px; }
#register-message:empty { margin-top: 0; }
#register-recovery-code {
  display: block;
  padding: 12px;
  margin-block: 18px;
  background: #eff5e6;
  border-radius: 6px;
  overflow-wrap: anywhere;
  user-select: all;
}
.sign-in-main, .sign-in-dialog { width: min(460px, calc(100% - 36px)); }
.sign-in-main { margin: 30px auto; }
.sign-in-dialog { position: fixed; max-height: calc(100% - 32px); overflow-y: auto; }
.sign-in-dialog::backdrop { background: #203b2cb8; }
.sign-in-close { float: right; color: #325c26; background: #edf5e5; border: 0; border-radius: 5px; width: 34px; height: 34px; font: inherit; font-size: 1.3rem; cursor: pointer; }
.sign-in-switch { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: .875rem; }
.sign-in-switch button, #account-captcha-retry { color: #325c26; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
#sign-in-message:empty { display: none; }
.sign-in-dialog #account-form > .register-button { margin-top: 16px; }
@media (max-width: 720px) {
  .register-layout { grid-template-columns: minmax(0, 1fr); max-width: 470px; }
  .register-card { grid-row: 1; }
  .register-header { font-size: .875rem; }
}
.register-optional{font-size:12px;font-weight:500;color:#70816d}
#register-referral-code{text-transform:uppercase;letter-spacing:.1em}
.register-referral-reward{display:inline-flex;align-items:center;gap:4px;color:#713b98;font-weight:700;white-space:nowrap;vertical-align:middle}
.register-referral-reward img{display:inline-block;width:17px;height:17px;flex:none}
.register-referral-status{font-size:12px;line-height:1.5;color:#8a4f34;margin:8px 0}
.register-referral-status:empty{display:none}
