.tour-signup-tab[hidden], .tour-signup [hidden] { display: none; }
.tour-signup-tab {
  position: fixed;
  z-index: 15;
  inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
  min-height: 44px;
  padding: .6rem .85rem;
  border: 1px solid #d0a6ff;
  border-radius: .7rem;
  color: #fff;
  background: #321759;
  box-shadow: 0 .35rem 1.4rem #120921ad;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.tour-signup {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(94vw, 38rem);
  max-height: min(92vh, 92dvh);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  isolation: isolate;
  border: 1px solid #bc8bfa;
  border-radius: 1rem;
  background: #170d24;
  color: #fff;
  box-shadow: 0 1rem 4rem #000b;
  color-scheme: dark;
}
.tour-signup::backdrop { background: #090513b8; }
.tour-signup-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#170c24fa 0%, #170c24e8 42%, #170c2450 100%),
    url('./assets/chance-hero.webp') center 44% / cover;
}
.tour-signup-copy { padding: clamp(1.1rem, 5vw, 2.5rem); }
.tour-signup-copy h2 {
  max-width: 14ch;
  margin: .35rem 0 .65rem;
  color: #ffe86b;
  font: 900 clamp(1.65rem, 6.6vw, 3.35rem)/1.02 system-ui, sans-serif;
  letter-spacing: -.045em;
}
.tour-signup-copy p { max-width: 31rem; line-height: 1.45; color: #fff; }
.tour-signup-copy .tour-signup-kicker {
  padding-inline-end: 2.5rem; margin: 0; color: #f4dfff;
  font-size: .875rem; font-weight: 800; letter-spacing: .025em;
}
.tour-signup-close {
  position: absolute; top: .45rem; right: .45rem;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid #cbc0d5; border-radius: 50%;
  background: #190e26; color: #fff;
  font: 600 1.65rem/1 system-ui, sans-serif; cursor: pointer;
}
.tour-signup form { display: grid; gap: .5rem; max-width: 24rem; }
.tour-signup label { font-weight: 750; }
.tour-signup input, .tour-signup form button {
  width: 100%; min-height: 46px; padding: .65rem .8rem; border-radius: .5rem;
  font: inherit; font-size: 1rem;
}
.tour-signup input { border: 1px solid #eee0fb; background: #fff; color: #181123; }
.tour-signup form button { border: 0; background: #ffe86b; color: #1e1032; font-weight: 900; cursor: pointer; }
.tour-signup form button:disabled { opacity: .75; cursor: wait; }
.tour-signup #tour-signup-consent { margin: .15rem 0; font-size: .875rem; }
.tour-signup a { color: #fff; text-decoration: underline; }
.tour-signup-status:empty { display: none; }
.tour-signup :focus-visible, .tour-signup-tab:focus-visible { outline: 3px solid #f0a7ff; outline-offset: 3px; }
@media (max-width: 35rem) {
  .tour-signup-art {
    background: linear-gradient(180deg,#200b2f69 0%, #170c24da 44%, #170c24fa 90%),
      url('./assets/chance-hero.webp') center 35% / cover;
  }
  .tour-signup-copy { padding-top: 2.8rem; }
}
