*,
*::before,
*::after {
  box-sizing: border-box;
}

body.wl {
  margin: 0;
  background: #2c0612;
  color: #fff;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:where(.wl) :where(h1, h2, p, ul, ol) {
  margin: 0;
}
:where(.wl) :where(ul, ol) {
  padding: 0;
  list-style: none;
}
:where(.wl) :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:where(.wl) :where(a) {
  color: inherit;
}
:where(.wl) :where(:focus-visible) {
  outline: 2px solid #ff8fab;
  outline-offset: 3px;
  border-radius: 10px;
}

.wl [hidden] {
  display: none !important;
}

.wl:not(.is-start) .wl-only-start,
.wl:not(.is-invite) .wl-only-invite,
.wl:not(.is-quiz) .wl-only-quiz,
.wl:not(.is-handoff) .wl-only-handoff,
.wl:not(.is-result) .wl-only-result,
.wl:not(.is-error) .wl-only-error {
  display: none !important;
}

.wl-bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 6vw, 96px);
}

.wl-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wl-bar-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 240, 243, 0.68);
  text-decoration: none;
}
.wl-bar-link:hover {
  color: #fff;
}

.wl-screen {
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  padding: 110px clamp(20px, 6vw, 96px) 72px;
  background: radial-gradient(700px 480px at 80% 15%, rgba(255, 120, 150, 0.22) 0%, rgba(255, 120, 150, 0) 70%), linear-gradient(160deg, #8f1d3c 0%, #4a0b1d 70%);
}

.wl-inner {
  width: 100%;
  max-width: 880px;
}
.wl-inner--quiz {
  max-width: 820px;
  margin: 0 auto;
}

.wl-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff8fab;
  margin-bottom: 18px;
}

.wl-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 14ch;
}
.wl-title em {
  font-style: normal;
  color: #ff8fab;
}

.wl-lede {
  margin-top: 20px;
  max-width: 580px;
  font-size: 1.12rem;
  color: rgba(255, 240, 243, 0.68);
}

.wl-names {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px 28px;
  align-items: end;
  max-width: 780px;
}
.wl-names--single {
  grid-template-columns: minmax(0, 420px);
}

.wl-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wl-field > span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 240, 243, 0.68);
}
.wl-field input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(255, 240, 243, 0.16);
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #fff;
  padding: 4px 0 10px;
  border-radius: 0;
  caret-color: #ff8fab;
}
.wl-field input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.22);
}
.wl-field input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}
.wl-field input:focus {
  outline: none;
  border-bottom-color: #ff8fab;
}

.wl-vs {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff8fab;
  padding-bottom: 16px;
}

.wl-form-error {
  grid-column: 1/-1;
  color: #ffd7e0;
  font-weight: 600;
}
.wl-form-error:empty {
  display: none;
}

.wl-names .wl-btn {
  grid-column: 1/-1;
  justify-self: start;
}

.wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 99px;
  padding: 12px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.wl-btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}
.wl-btn--primary {
  background: #fff;
  border-color: #fff;
  color: #8f1d3c;
}
.wl-btn--primary:hover {
  background: #ffd7e0;
  border-color: #ffd7e0;
}
.wl-btn--big {
  font-size: 1.1rem;
  padding: 16px 32px;
}

.wl-text-btn {
  margin-top: 26px;
  font-weight: 600;
  color: rgba(255, 240, 243, 0.68);
}
.wl-text-btn:hover {
  color: #fff;
}

.wl-quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.wl-turn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #ff8fab;
}

.wl-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 240, 243, 0.68);
  font-variant-numeric: tabular-nums;
}

.wl-progress {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-bottom: 44px;
}
.wl-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff8fab, #fff);
  transition: width 0.35s ease;
}

.wl-question {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}

.wl-choices {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.wl-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px 22px;
  border-radius: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.wl-choice:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}
.wl-choice.is-picked {
  background: #fff;
  border-color: #fff;
  color: #8f1d3c;
}
.wl-choice--both {
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 20px;
}

.wl-choice-name {
  overflow-wrap: anywhere;
}

.wl-choice-key {
  font-size: 0.9rem;
  opacity: 0.55;
}

.wl-handoff-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.wl-send {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wl-reveal {
  position: relative;
  overflow: hidden;
  min-height: min(100vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 110px clamp(20px, 6vw, 96px) 64px;
  background: radial-gradient(700px 500px at 50% 35%, rgba(255, 120, 150, 0.28) 0%, rgba(255, 120, 150, 0) 70%), linear-gradient(160deg, #8f1d3c 0%, #4a0b1d 75%);
}

.wl-drumroll {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffd7e0;
  margin-bottom: 34px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.is-tugging .wl-drumroll {
  opacity: 1;
  animation: wl-blink 0.8s ease-in-out infinite;
}

.wl-arena {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.wl-side {
  position: relative;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.wl-side-name {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.wl-side-pct {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffd7e0;
  font-variant-numeric: tabular-nums;
}

.wl-crown {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  height: 2.6rem;
  opacity: 0;
  transform: scale(0.2) translateY(20px);
  transition: opacity 0.4s ease 0.3s, transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 0.3s;
}

.wl-rope {
  position: relative;
  height: 60px;
}

.wl-rope-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 99px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0 10px, rgba(255, 255, 255, 0.25) 10px 20px);
}

.wl-rope-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  color: #ff8fab;
  text-shadow: 0 4px 24px rgba(255, 143, 171, 0.6);
  transition: left 0.9s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.is-tugging .wl-rope-heart {
  animation: wl-tug 0.6s ease-in-out infinite alternate;
}

.wl-verdict-block {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
  pointer-events: none;
}
.is-revealed .wl-verdict-block {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wins-a .wl-side--a .wl-crown,
.wins-b .wl-side--b .wl-crown,
.wins-tie .wl-crown {
  opacity: 1;
  transform: none;
}

.wins-tie .wl-crown {
  font-size: 1.8rem;
}

.wins-a .wl-side--a,
.wins-b .wl-side--b {
  transform: scale(1.08);
}

.wins-a .wl-side--b,
.wins-b .wl-side--a {
  opacity: 0.6;
}

.wl-headline {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.wl-hook {
  margin-top: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: #ffd7e0;
}

.wl-verdict {
  margin: 10px auto 0;
  max-width: 560px;
  font-size: 1.05rem;
  color: rgba(255, 240, 243, 0.68);
}

.wl-result-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.wl-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wl-burst {
  position: absolute;
  bottom: 30%;
  color: #ff8fab;
  opacity: 0;
  animation: wl-float 2.8s ease-out forwards;
}

.wl-breakdown {
  padding: 72px clamp(20px, 6vw, 96px);
  background: #fff0f3;
  color: #2c0612;
}

.wl-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b3a48;
  margin-bottom: 18px;
}

.wl-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.wl-answer {
  padding: 18px 0 18px 18px;
  border-bottom: 1px solid rgba(44, 6, 18, 0.1);
  border-left: 3px solid #ffd7e0;
}
.wl-answer.is-agreed {
  border-left-color: #8f1d3c;
}

.wl-answer-q {
  font-weight: 600;
  color: #2c0612;
}

.wl-answer-picks {
  margin-top: 4px;
  font-size: 0.92rem;
  color: #6b3a48;
}
.wl-answer-picks b {
  font-weight: 600;
  color: #2c0612;
}

.wl-answer-callout {
  margin-top: 4px;
  font-size: 0.92rem;
  font-style: italic;
  color: #8f1d3c;
}

.wl-again {
  text-align: center;
  padding: 56px clamp(20px, 6vw, 96px) 64px;
  background: #ffd7e0;
  color: #2c0612;
}
.wl-again p {
  margin-top: 16px;
}
.wl-again a:not(.wl-btn) {
  color: #8f1d3c;
  font-weight: 600;
}
.wl-again .wl-btn--primary {
  background: #8f1d3c;
  border-color: #8f1d3c;
  color: #fff;
}

.wl-guide {
  padding: 24px clamp(20px, 6vw, 96px) 32px;
  background: #2c0612;
}

.wl-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 24px 64px;
  padding: 52px 0;
  border-bottom: 1px solid rgba(255, 240, 243, 0.16);
}
.wl-row:last-child {
  border-bottom: 0;
}
.wl-row h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.wl-row > div {
  max-width: 760px;
  color: rgba(255, 240, 243, 0.68);
  font-size: 1.02rem;
  line-height: 1.75;
}
.wl-row strong,
.wl-row em {
  color: #fff;
}

.wl-faq details {
  border-bottom: 1px solid rgba(255, 240, 243, 0.16);
}
.wl-faq details:first-child summary {
  padding-top: 0;
}
.wl-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #fff;
}
.wl-faq summary::-webkit-details-marker {
  display: none;
}
.wl-faq summary::after {
  content: "+";
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  color: #ff8fab;
  transition: transform 0.2s ease;
}
.wl-faq details[open] summary::after {
  transform: rotate(45deg);
}
.wl-faq details p {
  padding-bottom: 18px;
}

.wl-foot {
  padding: 44px clamp(20px, 6vw, 96px) 40px;
  text-align: center;
  color: rgba(255, 240, 243, 0.68);
  background: #2c0612;
  border-top: 1px solid rgba(255, 240, 243, 0.16);
}
.wl-foot a {
  color: #fff;
  font-weight: 500;
}

.wl-foot-meta {
  margin-top: 12px !important;
  font-size: 0.85rem;
}
.wl-foot-meta a {
  color: rgba(255, 240, 243, 0.68);
  text-decoration: none;
}

.wl-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  transform: translate(-50%, 16px);
  max-width: calc(100vw - 32px);
  padding: 11px 20px;
  border-radius: 99px;
  background: #fff;
  color: #8f1d3c;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wl-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes wl-tug {
  from {
    left: 30%;
  }
  to {
    left: 70%;
  }
}
@keyframes wl-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@keyframes wl-float {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift, 0), -420px) scale(1.1);
  }
}
@media (max-width: 860px) {
  .wl-answers,
  .wl-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .wl-names {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .wl-vs {
    display: none;
  }
  .wl-choices {
    grid-template-columns: 1fr 1fr;
  }
  .wl-choice--both {
    grid-column: 1/-1;
    order: 3;
    min-height: 56px;
  }
  .wl-choice {
    min-height: 84px;
    padding: 14px;
  }
  .wl-arena {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 1.4fr) minmax(0, 1fr);
    gap: 10px;
  }
  .wl-crown {
    font-size: 1.8rem;
    height: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wl-rope-heart,
  .wl-side,
  .wl-crown,
  .wl-verdict-block,
  .wl-choice,
  .wl-btn,
  .wl-progress span {
    transition: none;
  }
  .wl-drumroll,
  .wl-burst {
    animation: none;
  }
}