/*! Copyright (c) MatchFlow.gg. All rights reserved. Proprietary: see https://matchflow.gg/terms */
.wa-page {
  min-height: 100vh;
}
.wa-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 468px);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: 100vh;
  overflow-x: clip;
  padding: calc(var(--wh-topbar) + 28px) max(var(--wh-gutter), calc((100% - var(--wh-max) - 120px) / 2 + var(--wh-gutter))) 40px;
}
.wa-stage {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: -6vw;
  width: min(78vw, 1500px);
  aspect-ratio: 1800 / 1012;
  transform: translateY(-50%);
}
.wa-stage .wh-hero-art {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 62%, transparent 96%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 62%, transparent 96%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
}
.wa-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 34% 26% at 22% 86%, rgba(7, 6, 26, 0.92), transparent 100%),
    radial-gradient(ellipse 40% 70% at 86% 50%, rgba(7, 6, 26, 0.8), transparent 100%);
  pointer-events: none;
}
.wa-pitch {
  align-self: end;
  max-width: 520px;
  padding-bottom: 12px;
}
.wa-pitch-title {
  font-family: "Outfit", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  text-shadow: 0 6px 40px rgba(3, 2, 20, 0.7);
}
.wa-pitch .wh-proof-list {
  margin-top: 18px;
}
.wa-card {
  position: relative;
  padding: 28px 28px 24px;
  border: 1px solid var(--wh-line-strong);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(61, 139, 255, 0.1), transparent 40%),
    linear-gradient(340deg, rgba(208, 84, 255, 0.1), transparent 40%),
    rgba(16, 12, 48, 0.78);
  box-shadow: var(--wh-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
.wa-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--wh-line);
  border-radius: 14px;
  background: rgba(7, 6, 26, 0.5);
}
.wa-tab {
  display: grid;
  place-items: center;
  min-height: 40px;
  text-decoration: none;
  border: 1px solid var(--wh-gradient-rim);
  border-radius: 11px;
  background: none;
  color: var(--wh-muted);
  font: inherit;
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
}
.wa-tab[aria-selected="true"] {
  background: var(--wh-gradient);
  background-origin: border-box;
  color: #fff;
  box-shadow: 0 8px 22px rgba(142, 97, 255, 0.32);
}
.wa-head {
  margin: 22px 0 18px;
}
.wa-head :is(h1, h2) {
  font-size: 1.7rem;
}
.wa-head p {
  margin-top: 6px;
  color: var(--wh-muted);
  font-size: 14.5px;
}
.wa-invited {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(82, 226, 255, 0.45);
  border-radius: 12px;
  background: rgba(10, 60, 84, 0.45);
  color: #d4f6ff;
  font-size: 14px;
  font-weight: 700;
}
.wa-invite {
  margin-bottom: 14px;
}
.wa-invite em {
  color: var(--wh-dim);
  font-style: normal;
  font-weight: 600;
}
.wa-invite input {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wa-invite input::placeholder {
  letter-spacing: 0.12em;
}
.wa-oauth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wa-oauth .wh-button {
  min-height: 46px;
  font-size: 14.5px;
}
.wa-oauth .fa-discord {
  color: #8c9eff;
}
.wa-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: var(--wh-dim);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wa-divider::before,
.wa-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--wh-line);
}
.wa-form {
  display: grid;
  gap: 12px;
}
.wa-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wa-field {
  display: grid;
  gap: 6px;
}
.wa-field > span {
  color: var(--wh-muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.wa-input {
  position: relative;
  display: flex;
  align-items: center;
}
.wa-input > i {
  position: absolute;
  left: 14px;
  color: var(--wh-dim);
  font-size: 14px;
  pointer-events: none;
}
.wa-input input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--wh-line);
  border-radius: 12px;
  background: rgba(7, 6, 26, 0.55);
  color: var(--wh-text);
  font: inherit;
  font-size: 15px;
  color-scheme: dark;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.wa-input input::placeholder {
  color: rgba(196, 188, 244, 0.42);
}
.wa-input input:focus {
  outline: none;
  border-color: rgba(142, 97, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(142, 97, 255, 0.2);
}
.wa-hint {
  color: var(--wh-dim);
  font-size: 12px;
}
.wa-bodies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.wa-bodies legend {
  margin-bottom: 6px;
  padding: 0;
  color: var(--wh-muted);
  font-size: 12.5px;
  font-weight: 800;
}
.wa-body {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 8px 12px 0 10px;
  border: 1px solid var(--wh-line);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 60% 70% at 26% 100%, rgba(142, 97, 255, 0.34), transparent 70%),
    rgba(7, 6, 26, 0.45);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.wa-body input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wa-body img {
  flex: none;
  width: auto;
  height: 84px;
  margin-bottom: -4px;
  filter: drop-shadow(0 6px 10px rgba(3, 2, 20, 0.5));
  transition: transform 220ms var(--wh-ease);
}
.wa-body:hover img {
  transform: translateY(-3px);
}
.wa-body:has(input:focus-visible) {
  outline: 3px solid var(--wh-cyan);
  outline-offset: 2px;
}
.wa-body strong {
  align-self: center;
  font-size: 14.5px;
}
.wa-body:has(input:checked) {
  border-color: rgba(178, 125, 255, 0.9);
  background: rgba(88, 60, 190, 0.28);
  box-shadow: 0 0 0 3px rgba(142, 97, 255, 0.18);
}
.wa-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--wh-muted);
  font-size: 13px;
  line-height: 1.5;
}
.wa-agree input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #8e61ff;
}
.wa-agree a {
  color: #cdbbff;
  font-weight: 700;
}
.wa-submit {
  width: 100%;
  margin-top: 4px;
}
.wa-foot {
  margin-top: 16px;
  color: var(--wh-dim);
  font-size: 13.5px;
  text-align: center;
}
.wa-foot a,
.wa-link {
  color: #cdbbff;
  font-weight: 800;
}
.wa-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.wa-link:disabled {
  color: var(--wh-dim);
  text-decoration: none;
  cursor: default;
}
.wa-code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.4em;
}
.wa-alert {
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 120, 170, 0.45);
  border-radius: 12px;
  background: rgba(96, 18, 58, 0.45);
  color: #ffd4e6;
  font-size: 14px;
  font-weight: 700;
}
.wa-alert.is-ok {
  border-color: rgba(82, 226, 255, 0.45);
  background: rgba(10, 60, 84, 0.45);
  color: #d4f6ff;
}
.wa-card [hidden] {
  display: none;
}
.wa-submit[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}
.wa-top-actions {
  margin-left: auto;
}
.wa-top-actions .wh-button {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 12px;
}
.wa-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  padding: 0 var(--wh-gutter) 28px;
  color: var(--wh-dim);
  font-size: 13px;
}
.wa-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}
.wa-footer a {
  color: var(--wh-muted);
  font-weight: 700;
  text-decoration: none;
}
.wa-footer a:hover {
  color: #fff;
}
.wa-shell .wh-bubble {
  animation: none;
  opacity: 1;
  transform: none;
}
@media (min-width: 901px) {
  .wa-shell:has(.wa-card[data-mode="signup"]) {
    grid-template-columns: minmax(0, 1fr) minmax(0, min(70vw, 820px));
    gap: 24px;
    min-height: calc(100svh - 49px);
    padding-top: calc(var(--wh-topbar) + 12px);
    padding-bottom: 12px;
  }
  .wa-card[data-mode="signup"] {
    padding: 18px 24px;
  }
  .wa-shell:has(.wa-card[data-mode="signup"]) .wa-pitch-title {
    font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  }
  #wa-signup .wa-head {
    margin: 10px 0;
  }
  .wa-signup-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 14px;
  }
  .wa-signup-options :is(.wa-invite, .wa-invited) {
    margin-bottom: 0;
  }
  #wa-signup .wa-divider {
    margin: 8px 0;
  }
  #wa-signup .wa-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 8px 12px;
  }
  #wa-signup .wa-row {
    display: contents;
  }
  #wa-signup :is(.wa-field, .wa-input, .wa-bodies) {
    min-width: 0;
  }
  #wa-signup .wa-body {
    gap: 6px;
    padding: 4px 6px 0;
  }
  #wa-signup .wa-body img {
    height: 52px;
  }
  #wa-signup .wa-body strong {
    font-size: 13px;
  }
  #wa-signup :is(.wa-agree, .wa-submit, .wa-hint) {
    grid-column: 1 / -1;
  }
  #wa-signup .wa-submit {
    min-height: 46px;
    padding-block: 10px;
    margin-top: 0;
  }
  #wa-signup .wa-foot {
    margin-top: 10px;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .wa-shell:has(.wa-card[data-mode="signup"]) {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
  }
  .wa-shell:has(.wa-card[data-mode="signup"]) .wa-pitch {
    display: none;
  }
}
@media (max-width: 900px) {
  .wa-shell {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--wh-topbar) + 12px);
    gap: 0;
  }
  .wa-stage {
    position: relative;
    top: auto;
    left: 50%;
    width: 150vw;
    transform: translateX(-50%);
    margin-bottom: -22vw;
  }
  .wa-stage .wh-hero-art {
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 16%, #000 50%, transparent 92%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 16%, #000 50%, transparent 92%);
  }
  .wa-shell::before {
    display: none;
  }
  .wa-pitch {
    position: relative;
    text-align: center;
    margin: 0 auto 18px;
  }
  .wa-pitch :is(.wh-kicker, .wh-proof-list) {
    display: none;
  }
  .wa-pitch-title {
    font-size: 1.9rem;
  }
  .wa-card {
    padding: 20px 16px 18px;
  }
  .wa-top-actions .wh-button span {
    display: none;
  }
}
@media (max-width: 420px) {
  .wa-row {
    grid-template-columns: 1fr;
  }
}
