/* Emerald game panels keep account controls in the market’s visual language. */
.account-site {
  background:
    url("/_releases/6d5e8c8c439bcae5ab10b99d0aa04357143305cf/static/emerald-city.svg") center 66px / 1200px 240px repeat-x,
    linear-gradient(180deg, #d8f3e1 0, #a2d4b5 620px, #6eae8b 1200px);
  background-attachment: scroll;
  background-color: #a2d4b5;
  color: #f4fff6;
  min-height: 100dvh;
  padding-bottom: 0;
  font-size: 16px;
  line-height: 1.55;
}
.account-site [hidden] {
  display: none !important;
}
.account-site .topbar {
  position: static;
}
.account-site .topbar-inner {
  display: flex;
  gap: 20px;
}
.account-site .market-link {
  margin-left: auto;
  color: #f4fff6;
  font-size: 16px;
}
.account-trigger {
  text-decoration: none;
}
.account-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
}
.account-layout.is-guest {
  display: block;
  max-width: 540px;
}
.account-content {
  min-width: 0;
  grid-column: 2;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading h1 {
  color: #123e27;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  margin: 0;
}
.account-nav {
  display: grid;
  gap: 6px;
}
.account-nav a {
  padding: 12px 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #17462d;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
}
.account-nav a:hover {
  background: #c2dfcb;
}
.account-nav a[aria-current="page"] {
  background: #185c36;
  border-color: #0b3920;
  color: white;
  box-shadow: 0 3px 0 #a4c5ae;
}
.account-site #account-logout {
  margin: 16px 0;
  color: #244d35;
}
.account-panel,
.account-guest {
  background:
    linear-gradient(135deg, #ffffff06 0 20%, transparent 20% 80%, #031e160d 80%),
    linear-gradient(180deg, #286d43, #195638);
  border: 3px solid #0b3422;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow:
    0 6px 0 #0c3825,
    0 9px 0 #507b5666,
    0 16px 24px #173c3226,
    inset 0 2px 0 #baff915e,
    inset 2px 0 0 #8db86b33,
    inset 0 -3px 0 #072b244d;
}
.account-site h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 20px;
}
.account-site p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.account-site .account-form {
  display: grid;
  gap: 20px;
  margin: 0;
}
.account-site .account-form label,
.account-site .item-search-field > label {
  display: grid;
  gap: 8px;
  color: #f4fff6;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.account-site input:not([type="checkbox"]) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 2px solid #7fad90;
  border-radius: 7px;
  background: #fafffb;
  color: #143822;
  font:
    400 17px/1.4 system-ui,
    sans-serif;
  box-shadow: none;
  scroll-margin-block: 24px;
}
.account-site input::placeholder {
  color: #5b7062;
  opacity: 1;
}
.account-site input:focus {
  border-color: #c6fc88;
  outline: 3px solid #c6fc8855;
  outline-offset: 1px;
  box-shadow: none;
}
.account-site input[readonly] {
  background: #deeee3;
}
.account-site .account-form small,
.account-site .field-help {
  color: #d4e7d9;
  font:
    400 15px/1.5 system-ui,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.account-site .account-form > p {
  margin: -8px 0 0;
}
.account-site .password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.account-site .password-field input {
  padding-right: 13px;
}
.account-site .password-toggle {
  min-height: 48px;
  min-width: 66px;
  padding: 0 10px;
  border: 2px solid #7fad90;
  border-radius: 5px;
  background: #e2f1e6;
  color: #174b2d;
  font:
    700 15px/1 system-ui,
    sans-serif;
  cursor: pointer;
}
.account-site .password-toggle:hover {
  background: #cce7d5;
}
.account-site .account-tabs {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 26px;
  border: 0;
  background: transparent;
}
.account-tabs a {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  font-size: 16px;
  color: #d6ebdc;
  border-bottom: 3px solid #447c5b;
  text-decoration: none;
  font-weight: 800;
}
.account-tabs a.is-active {
  color: #d3ffa9;
  border-color: #baff91;
}
.account-site .account-submit,
.account-site .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid #a3d278;
  border-radius: 7px;
  background: #c1f493;
  color: #173b22;
  text-decoration: none;
  font:
    800 16px/1.35 system-ui,
    sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 0 #0a3020;
}
.account-site .account-submit:hover {
  background: #d6ffb3;
}
.account-site .secondary-button,
.account-site .account-submit.secondary {
  border-color: #739f84;
  background: #225f40;
  color: #f5fff7;
}
.account-site button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.account-site .account-link-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #dbffbd;
  font:
    700 16px/1.4 system-ui,
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.account-site .account-forgot {
  justify-self: end;
  margin: -12px 0 -4px;
}
.account-site .account-consent {
  display: block !important;
  color: #e1eee5 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6;
  padding: 8px 0;
  cursor: pointer;
}
.account-consent input {
  width: 22px;
  height: 22px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  accent-color: #baff91;
}
.account-consent a {
  color: #dbffbd;
  text-decoration: underline;
}
.account-site .account-error {
  color: #7c1e1e;
  background: #fff0ed;
  border: 1px solid #e2a79e;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
}
.account-site .success-message {
  background: #e3f7d7;
  color: #22552a;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 16px;
}
.account-site .success-message:empty {
  display: none;
}
.account-site .account-verification {
  text-align: left;
  padding: 0;
}
.account-site .account-verification > .account-submit {
  width: 100%;
  margin-top: 20px;
}
.account-site .account-verification > .account-link-button {
  display: flex;
  margin: 12px auto 0;
}
.account-site .verification-code-input {
  font-size: 22px !important;
  letter-spacing: 0.2em;
  text-align: left;
}
.profile-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}
.profile-heading h2 {
  margin-bottom: 8px;
}
.account-site .account-avatar.large {
  width: 60px;
  height: 60px;
  flex-basis: 60px;
  font-size: 30px;
  flex-shrink: 0;
}
.profile-details {
  margin: 24px 0;
}
.profile-details > div {
  padding: 16px 0;
  border-top: 1px solid #48795b;
}
.profile-details dt {
  color: #cde2d4;
  font-size: 15px;
  margin-bottom: 5px;
}
.profile-details dd {
  margin: 0;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.plan-badge,
.status-badge {
  display: inline-block;
  color: #d0ffa8;
  font-size: 15px;
  font-weight: 800;
}
.verified-label {
  color: #d0ffa8;
  font-size: 14px;
  margin-left: 10px;
}
.account-site summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-size: 16px;
}
.account-site details[open] summary {
  margin-bottom: 16px;
}
.account-site .danger-panel {
  margin-top: 24px;
  background: #f8f2ed;
  color: #5c2727;
  border-color: #cbaaaa;
}
.account-site .danger-panel label {
  color: #5c2727;
}
.account-site .account-submit.danger {
  background: #8b3333;
  border-color: #a54d4d;
  color: #fff;
}
.account-footer {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}
.account-footer a {
  color: #28543a;
  min-height: 44px;
  align-content: center;
  font-size: 15px;
  text-decoration: underline;
}
.account-site :focus-visible {
  outline: 3px solid #ffd570;
  outline-offset: 3px;
}
.account-site #account-loading {
  color: #1d4c31;
}
@media (max-width: 700px) {
  .account-layout {
    display: block;
    padding: 24px 16px 40px;
  }
  .account-layout.is-guest {
    padding-top: 28px;
  }
  .account-nav {
    display: flex;
    gap: 4px;
  }
  .account-nav a {
    padding: 10px 4px;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .account-site #account-sidebar {
    margin-bottom: 26px;
  }
  .account-site #account-logout {
    display: flex;
    margin: 8px 0 0 auto;
  }
  .account-panel,
  .account-guest {
    padding: 22px 18px;
    border-radius: 10px;
  }
  .account-site .topbar-inner {
    padding-inline: 16px;
    gap: 10px;
  }
  .account-site .market-link {
    display: none;
  }
  .account-site .account-trigger {
    margin-left: auto;
    min-height: 44px;
  }
  .account-site .account-label {
    max-width: 120px;
  }
  .account-site .logo {
    font-size: 20px;
  }
  .account-site .account-form {
    gap: 22px;
  }
  .account-site .toast {
    bottom: 20px;
    max-width: calc(100% - 32px);
    font-size: 16px;
  }
}

.account-site .form-field {
  display: grid;
  gap: 8px;
}
.account-site .account-consent input {
  width: 22px;
  min-width: 22px;
  height: 22px;
}
.account-site .account-loading {
  color: #1d4c31;
}
.account-site .account-verification > p {
  margin-inline: 0;
  font-size: 16px;
  line-height: 1.6;
}
.account-site input[aria-invalid="true"] {
  border-color: #b44738;
  outline-color: #ffbbad;
}
.account-site .profile-heading > div {
  min-width: 0;
}
.account-site .account-tabs a {
  font-family: var(--body);
  font-size: 16px;
}
.account-site .account-error button {
  min-height: 44px;
  padding: 8px;
  border: 1px solid #ad675b;
  border-radius: 5px;
  background: #fff8f5;
  color: #742c22;
  font-weight: 700;
}
.account-footer {
  flex-wrap: wrap;
  gap: 12px 20px;
}
.account-site .account-footer #account-logout {
  margin: 0;
  font-size: 15px;
}
@media (max-width: 700px) {
  .account-site .account-trigger {
    min-width: 82px;
  }
  .account-site .account-trigger > span:last-child {
    display: block;
    max-width: 90px;
  }
  .account-site .account-nav {
    padding: 4px;
    border: 1px solid #a5c7af;
    border-radius: 9px;
    background: #cde3d4;
  }
  .account-site .account-nav a {
    font-size: 14px;
    min-height: 48px;
  }
  .account-site #account-sidebar {
    margin-bottom: 18px;
  }
  .account-site .page-heading {
    margin-bottom: 20px;
  }
  .account-site .account-layout {
    padding-top: 24px;
  }
  .account-site .account-tabs {
    gap: 4px;
  }
  .account-site .account-tabs a {
    padding-inline: 2px;
  }
}

/* Raised account tabs echo the bevelled blocks and warm highlights of the site. */
.account-site h1,
.account-site h2,
.account-site h3 {
  font-family: var(--font);
}
.account-site .page-heading h1 {
  text-shadow: 0 2px 0 #efffd299;
}
.account-site .account-nav {
  padding: 8px;
  gap: 12px;
  border: 2px solid #497756;
  border-radius: 12px;
  background: #6da47c;
  box-shadow:
    inset 0 2px 3px #284c3d55,
    0 3px 0 #36553c;
}
.account-site .account-nav a,
.account-site .account-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid #103c26;
  border-radius: 7px;
  color: #ebffdc;
  background: linear-gradient(#397b48, #245c37);
  box-shadow:
    inset 0 2px 0 #c5ff9660,
    inset 0 -2px 0 #072f2366,
    0 4px 0 #173c29;
  font-family: var(--font);
  transition: background 0.15s;
}
.account-site .account-nav a[aria-current="page"],
.account-site .account-tabs a.is-active {
  color: #143824;
  background: linear-gradient(#d7f19d, #a5d975);
  border-color: #214d2f;
  box-shadow:
    inset 0 2px 0 #f5ffc4,
    inset 0 -2px 0 #79a853,
    0 4px 0 #173c29;
}
.account-site .account-nav a:hover,
.account-site .account-tabs a:hover {
  filter: brightness(1.08);
}
.account-site .account-tabs {
  gap: 10px;
  margin-bottom: 28px;
}
.account-site .account-submit,
.account-site .secondary-button {
  font-family: var(--font);
  box-shadow:
    inset 0 2px 0 #efffd94d,
    inset 0 -2px 0 #0b312533,
    0 4px 0 #0a3020;
}
.account-site .account-submit:active,
.account-site .secondary-button:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 2px #153f3655,
    0 2px 0 #0a3020;
}
.account-site .account-error,
.account-site .success-message {
  box-shadow: 0 3px 0 #25433033;
}
.account-site .profile-heading {
  padding-bottom: 20px;
  border-bottom: 2px solid #6d9c5955;
}
.account-site .profile-details {
  margin-top: 0;
}
.account-site .account-avatar.large {
  box-shadow:
    inset 0 2px 0 #c9f595,
    0 4px 0 #0a3020;
  border: 2px solid #102f20;
}
@media (min-width: 701px) {
  .account-nav {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 700px) {
  .account-site {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    background-size:
      900px 180px,
      auto;
  }
  .account-site .account-nav {
    gap: 10px;
    padding: 8px;
  }
  .account-site .account-nav a {
    font-size: 16px;
  }
  .account-site .toast {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}
