.welcome-heroes { display:none; }

.site-entry {
  color-scheme:dark;
  background:
    linear-gradient(105deg, #101d27c7 1%, #14242b63 50%, #101c28bd 100%),
    url("./scenes/pawtopia.webp") center 45% / cover fixed,
    #11242c;
}

.site-entry main {
  --welcome-gold:#f8d68b;
  --welcome-cream:#fff0cf;
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);
  grid-template-areas:"hero account" "art account";
  align-content:center;
  align-items:start;
  gap:1.2rem clamp(1.5rem,4vw,4.25rem);
  width:min(100% - 4rem,76rem);
  min-height:100svh;
  padding-block:clamp(2rem,5vh,4.5rem);
}

.site-entry .world-art,
.site-entry #account-links {
  display:none;
}

.site-entry #online-hero {
  grid-area:hero;
  margin:0;
  padding:0;
  border:0;
  background:none;
}

.site-entry #online-title {
  max-width:11ch;
  margin:0;
  color:var(--welcome-cream);
  font:800 clamp(3rem,6vw,5.3rem)/.95 Georgia,serif;
  letter-spacing:-.045em;
  text-wrap:balance;
  text-shadow:0 3px 2px #152525, 0 6px 24px #0b1825;
}

.site-entry #online-intro {
  margin:.9rem 0 0;
  color:#fff4db;
  font-size:clamp(.95rem,1.5vw,1.17rem);
  font-weight:650;
  text-shadow:0 1px 4px #091415, 0 2px 12px #091415;
}

.site-entry .welcome-heroes {
  grid-area:art;
  display:block;
  position:relative;
  overflow:hidden;
  margin:0;
  padding:.3rem;
  border:1px solid #f8d68b91;
  border-radius:1.35rem;
  background:#172528;
  box-shadow:0 1rem 2.4rem #09171bb5, inset 0 0 0 1px #f8d68b31;
}

.site-entry .welcome-heroes img {
  display:block;
  width:100%;
  height:auto;
  max-height:28rem;
  object-fit:cover;
  object-position:center 24%;
  border-radius:1.05rem;
}

.site-entry #online-enabled,
.site-entry #online-disabled {
  grid-area:account;
  position:relative;
  width:100%;
  margin:0;
  padding:clamp(1.3rem,3vw,2.55rem);
  border:1px solid #f8d68bae;
  border-radius:1.4rem;
  background:linear-gradient(155deg,#243b36,#132329 58%,#182123);
  box-shadow:0 1rem 3rem #081415c9, inset 0 0 0 .28rem #f8d68b14;
}

.site-entry #online-enabled > section { margin:0; }

.site-entry #account-title {
  margin:0 0 1rem;
  color:var(--welcome-cream);
  font:750 clamp(1.45rem,3vw,2.1rem)/1.15 Georgia,serif;
}

.site-entry #account-signin form,
.site-entry #password-upgrade { max-width:none; }

.site-entry .welcome-field {
  position:relative;
  padding-left:2.35rem;
  margin-bottom:.85rem;
}

.site-entry .welcome-field::before,
.site-entry .welcome-field::after {
  content:"";
  position:absolute;
  pointer-events:none;
  top:calc(100% - 1.48rem);
  color:var(--welcome-gold);
}

.site-entry .welcome-field::before {
  left:.42rem;
  width:.55rem;
  height:.48rem;
  border-radius:55% 55% 45% 45%;
  background:currentColor;
  box-shadow:-.28rem -.32rem 0 -.105rem, 0 -.48rem 0 -.11rem, .28rem -.32rem 0 -.105rem;
  transform:translateY(-45%) rotate(65deg);
}

.site-entry .welcome-field::after {
  left:1.35rem;
  width:.46rem;
  height:.46rem;
  border-top:2px solid;
  border-right:2px solid;
  transform:translateY(-50%) rotate(45deg);
}

.site-entry #account-signin label,
.site-entry #password-upgrade label { color:#ffe9b7; font-weight:750; }

.site-entry #account-signin input,
.site-entry #password-upgrade input,
.site-entry #key-display {
  padding:.65rem .8rem;
  border:1px solid #79968e;
  border-radius:.65rem;
  background:#0f1c21;
  color:#fff7e5;
}

.site-entry #online-enabled :is(button, a, input, summary):focus-visible {
  outline:3px solid #b9f8dd;
  outline-offset:3px;
}

.site-entry #online-enabled button {
  min-height:44px;
  padding:.6rem 1rem;
  border:1px solid #eebd70;
  border-radius:.65rem;
  background:#f8d68b;
  color:#202d29;
  font-weight:800;
}

.site-entry #online-enabled button:enabled:hover { background:#ffe5a6; }

.site-entry #password-signin button {
  width:calc(100% - 2.35rem);
  margin-left:2.35rem;
}

.site-entry #account-signin details {
  margin:.18rem 0 0;
  border-top:1px solid #71918568;
}

.site-entry #account-signin details:first-of-type { margin-top:1rem; }

.site-entry #account-signin details > summary {
  padding:.65rem .15rem;
  color:#ffedc8;
  font-weight:650;
  cursor:pointer;
}

.site-entry #entry-actions { margin:.8rem 0 0; }

.site-entry #enter-world {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:.4rem .8rem;
  border:1px solid #9ebdaf91;
  border-radius:.65rem;
  color:#e9f4e7;
  font-weight:650;
  text-decoration:none;
}

.site-entry #enter-world:hover { background:#90b79b20; }

.site-entry #account-recovery {
  padding:.15rem .85rem .85rem;
  border:1px solid #f8d68b68;
  border-radius:.75rem;
  background:#151b17;
}

.site-entry #hide-recovery { margin-top:.5rem; }

@media (max-width:760px) {
  .site-entry { background-attachment:scroll; }
  .site-entry main {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"hero" "art" "account";
    align-content:start;
    width:min(100% - 2rem,33rem);
    gap:.85rem;
    padding-block:1.4rem 2rem;
  }
  .site-entry #online-title {
    max-width:none;
    font-size:clamp(2.2rem,9vw,3.5rem);
  }
  .site-entry #online-intro { margin-top:.45rem; }
  .site-entry .welcome-heroes img {
    height:clamp(8rem,29vw,13rem);
    object-position:center 14%;
  }
}
