body.tida-guest-page:is(.tida-create-hero,.tida-sign-in) {
  width: 100%;
  max-width: none;
  margin: 0;
  background-color: #091321;
}
:is(.tida-create-hero,.tida-sign-in) #containerAPI > .bdr.bg_main {
  width: min(100%, 480px);
  max-width: none;
  margin-inline: auto;
  background: #0c1b2d;
  box-shadow: 0 0 65px #020814;
}
.create-hero {
  --create-ink: #edf2e8;
  --create-muted: #b6c6d4;
  --create-gold: #e3bc76;
  color: var(--create-ink);
}
.create-hero-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  height: clamp(210px, 61vw, 286px);
  overflow: hidden;
  background-color: #14263a;
}
.create-hero-cover > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.create-hero-cover::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, #09132137, transparent 22%, transparent 38%, #0c1b2d80 63%, #0c1b2d 100%);
}
:is(#create-hero,#guest-sign-in,#guest-recovery) .create-hero-home {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  left: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 3px 8px;
  border: 1px solid #e3bc766c;
  border-radius: 5px;
  background: #0b1628e8;
  color: #ffe6a5 !important;
  font: bold 14px Georgia, serif;
}
:is(#create-hero,#guest-sign-in,#guest-recovery) .create-hero-home .tida-icon { width: 16px; height: 18px; }
.create-hero-step {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: 11px;
  padding: 4px 8px;
  border: 1px solid #e3bc766c;
  border-radius: 5px;
  background: #0b1628e8;
  color: var(--create-gold);
  font-size: 12px;
}
:is(#create-hero,#guest-sign-in,#guest-recovery) h1 {
  margin: 0;
  padding: 0 14px 11px;
  color: #ffe2a0 !important;
  font: bold clamp(28px, 8vw, 38px)/1.08 Georgia, serif;
  text-align: center;
  text-shadow: 0 1px #fff4c9, 0 3px #824e2a, 0 4px 9px #031024;
  overflow-wrap: anywhere;
}
.create-hero-content {
  display: grid;
  gap: 13px;
  padding: 8px clamp(12px, 4vw, 24px) 15px;
  background: linear-gradient(#0c1b2d, #14263a 80%, #0c1b2d);
}
.create-hero-intro {
  margin: 0;
  color: var(--create-muted);
  font: 14px/1.5 "Segoe UI", Arial, sans-serif;
}
.create-hero-form { display: grid; gap: 8px; margin: 0; min-width: 0; }
.create-hero-form label { font-weight: 600; color: var(--create-ink); font-size: 13px; }
.create-hero-hint { margin-top: -5px; color: var(--create-muted); font-size: 12px; }
:is(#create-hero,#guest-sign-in,#guest-recovery) .inp {
  min-width: 0;
  border-color: #55758a !important;
  background: #0a1828 !important;
  color: var(--create-ink) !important;
  font-size: 16px;
}
:is(#create-hero,#guest-sign-in,#guest-recovery) .create-hero-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 7px 10px;
  border: 1px solid var(--create-gold) !important;
  border-radius: 6px;
  background: linear-gradient(#307b57, #235e49 54%, #174633 55%, #206246) !important;
  color: #fff5d6 !important;
  font: bold 15px/1.25 "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  box-shadow: 0 3px #060e1d, inset 0 1px #fff8de7a !important;
}
#create-hero .create-hero-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  color: var(--create-gold) !important;
}
#create-hero .create-hero-back .tida-icon { width: 17px; height: 17px; transform: rotate(180deg); }
.create-hero-choices {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.create-hero-choices:is(.create-hero-choices--reg4,.create-hero-choices--reg5) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.create-hero-choices li { min-width: 0; }
#create-hero .create-hero-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  height: 100%;
  padding: 6px;
  border: 1px solid #987851;
  border-radius: 6px;
  background: linear-gradient(145deg, #234862, #0c1b2d 78%);
  color: var(--create-ink) !important;
}
#create-hero .create-hero-choice:focus-visible { outline-offset: 2px; }
.create-hero-portrait {
  display: block;
  width: 66px;
  height: 66px;
  border-radius: 3px;
  background: #14263a var(--create-hero-art) var(--portrait-position, center)/var(--portrait-scale, 235%) auto no-repeat;
}
.create-hero-portrait--male { --portrait-position: 87% 30%; }
.create-hero-portrait--female { --portrait-position: 12% 30%; }
.create-hero-portrait--atlants { --portrait-position: 0 35%; --portrait-scale: 200%; }
.create-hero-portrait--tectons { --portrait-position: 100% 35%; --portrait-scale: 200%; }
.create-hero-portrait--class1 { --portrait-position: 45% 24%; --portrait-scale: 340%; }
.create-hero-portrait--class2 { --portrait-position: 10% 29%; --portrait-scale: 340%; }
.create-hero-portrait--class3 { --portrait-position: 92% 30%; --portrait-scale: 340%; }
.create-hero-choice-copy { display: grid; gap: 4px; }
.create-hero-choice strong {
  color: #ffe2a0;
  font: bold 16px/1.18 Georgia, serif;
  overflow-wrap: anywhere;
}
.create-hero-choice small { color: var(--create-muted); font: 12px/1.35 "Segoe UI", Arial, sans-serif; overflow-wrap: anywhere; }
#create-hero .create-hero-choice > .tida-icon { width: 15px; height: 15px; color: var(--create-gold); }
#create-hero .create-hero-choices:is(.create-hero-choices--reg4,.create-hero-choices--reg5) .create-hero-choice {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 0;
  overflow: hidden;
  padding: 0;
}
.create-hero-choices:is(.create-hero-choices--reg4,.create-hero-choices--reg5) .create-hero-portrait {
  width: 100%;
  height: clamp(80px, 29vw, 126px);
  border-radius: 0;
}
.create-hero-choices:is(.create-hero-choices--reg4,.create-hero-choices--reg5) .create-hero-choice-copy { padding: 9px 10px; }
#create-hero .create-hero-choices:is(.create-hero-choices--reg4,.create-hero-choices--reg5) .create-hero-choice > .tida-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  box-sizing: content-box;
  padding: 3px;
  border-radius: 4px;
  background: #0c1b2de8;
}
:is(#create-hero,#guest-sign-in,#guest-recovery) .game-language-switch { padding: 2px 6px; background: transparent !important; }
:is(#create-hero,#guest-sign-in,#guest-recovery) .game-language-switch > a {
  min-height: 36px;
  padding: 4px 8px;
  border: 0;
  background: transparent !important;
  color: var(--create-muted) !important;
  font: 12px/1.3 "Segoe UI", Arial, sans-serif;
}
:is(#create-hero,#guest-sign-in,#guest-recovery) .game-language-switch > a[aria-current] {
  color: var(--create-gold) !important;
  text-decoration: underline;
  text-underline-offset: 5px;
}
:is(.tida-create-hero,.tida-sign-in) .guest-form-footer { padding-top: 3px; }
@media (hover: hover) {
  #create-hero :is(.create-hero-choice,.create-hero-submit):hover { filter: brightness(1.14); }
}
@media (min-width: 481px) {
  :is(.tida-create-hero,.tida-sign-in) #containerAPI {
    background-image: linear-gradient(#08101b9e, #08101bf2), url('/img/ui/guest-tida-citadel.webp');
    background-position: center 40%;
    background-size: cover;
    background-attachment: fixed;
  }
  :is(.tida-create-hero,.tida-sign-in) #containerAPI > .bdr.bg_main { border-inline: 1px solid #8d7558b5; }
}
