body.club-match-open {
  overflow: hidden;
  width: 100%;
}

.club-match[hidden] {
  display: none;
}

.club-match {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text);
  font-family: var(--font-body);
  opacity: 0;
  visibility: hidden;
  transition: opacity 380ms ease, visibility 0s linear 380ms;
}

.club-match.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 380ms ease, visibility 0s linear 0s;
}

.club-match-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.club-match-dialog {
  position: relative;
  width: min(510px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border: 1px solid rgba(181, 154, 123, 0.55);
  border-radius: 3px;
  background: #080808;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.club-match.is-open .club-match-dialog {
  opacity: 1;
  transform: translateY(0);
}

.club-match-content {
  max-height: calc(100dvh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--gold) #111;
  scrollbar-width: thin;
}

.club-match-content::-webkit-scrollbar {
  width: 7px;
}

.club-match-content::-webkit-scrollbar-track {
  background: #111;
}

.club-match-content::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.club-match-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

.club-match-close:hover {
  background: var(--gold);
  color: #fff;
}

.club-match-close span,
.club-match-close span::after {
  width: 20px;
  height: 1px;
  display: block;
  background: currentColor;
  transform: rotate(45deg);
}

.club-match-close span::after {
  content: "";
  transform: rotate(90deg);
}

.club-match-screen {
  min-height: 590px;
  padding: 62px 44px 42px;
  animation: clubMatchScreenIn 360ms ease both;
}

.club-match-screen h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}

html[lang="de-CH"] .club-match-screen h2 {
  font-family: "Forexs Regular DE", var(--font-display);
}

.club-match-screen p {
  margin: 0;
}

.club-match-eyebrow {
  margin-bottom: 14px !important;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.club-match-lead {
  margin-top: 20px !important;
  color: rgba(255, 255, 255, 0.83);
  font-size: 16px;
  line-height: 1.65;
}

.club-match-reassurance {
  margin-top: 22px !important;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.club-match-note {
  margin-top: 13px !important;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  text-align: center;
}

.club-match-intro {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.club-match-intro .club-match-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.club-match-intro .club-match-primary {
  margin-top: 32px;
}

.club-match-primary,
.club-match-secondary,
.club-match-text-button {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.club-match-primary {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 20px;
  border: 2px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
}

.club-match-primary:hover {
  background: #080808;
  color: #fff;
}

.club-match-primary:disabled {
  cursor: wait;
  opacity: 0.66;
}

.club-match-primary svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: currentColor;
}

.club-match-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -12px 0 10px -10px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.67);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 180ms ease;
}

.club-match-back:hover {
  color: var(--gold-light);
}

.club-match-back span {
  width: 8px;
  height: 8px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}

.club-match-progress {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
}

.club-match-progress span {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: transparent;
  transition: border-color 320ms ease, background-color 320ms ease;
}

.club-match-progress span.is-active {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.club-match-question h2 {
  max-width: 420px;
  font-size: 29px;
}

.club-match-support,
.club-match-fast {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.5;
}

.club-match-support {
  margin-top: 12px !important;
}

.club-match-fast {
  margin: -7px 0 12px !important;
  color: var(--gold-light);
}

.club-match-answers {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.club-match-answer {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.club-match-answer:hover:not(:disabled),
.club-match-answer.is-selected {
  border-color: var(--gold-light);
  background: rgba(138, 111, 85, 0.2);
  color: #fff;
}

.club-match-answer:disabled {
  cursor: default;
}

.club-match-answer-mark {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.club-match-answer.is-selected .club-match-answer-mark {
  border-color: var(--gold-light);
}

.club-match-answer.is-selected .club-match-answer-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
}

.club-match-confirmation {
  min-height: 24px;
  margin-top: 18px !important;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.club-match-confirmation.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.club-match-result,
.club-match-contact,
.club-match-final {
  padding-bottom: 48px;
}

.club-match-result .club-match-lead {
  margin-bottom: 24px !important;
}

.club-match-result-image {
  width: min(300px, 100%);
  margin: 0 auto 23px;
}

.club-match-result-image img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(181, 154, 123, 0.38);
}

.club-match-result-image figcaption {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.club-match-result > p:not(.club-match-eyebrow):not(.club-match-lead) {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.club-match-invitation {
  color: #fff !important;
  font-weight: 600;
}

.club-match-result-trust,
.club-match-contact-trust {
  display: grid;
  gap: 7px;
  margin: 21px 0 26px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
  list-style: none;
}

.club-match-result-trust li,
.club-match-contact-trust li {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.club-match-result-trust li span,
.club-match-contact-trust li span {
  color: var(--gold-light);
}

.club-match-contact form {
  margin-top: 28px;
}

.club-match-field {
  margin-bottom: 20px;
}

.club-match-field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.club-match-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0;
  outline: 0;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.club-match-field input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.club-match-field input:focus {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.055);
}

.club-match-field input[aria-invalid="true"] {
  border-color: #c69584;
}

.club-match-error {
  min-height: 19px;
  margin-top: 5px !important;
  color: #e5b3a2;
  font-size: 12px;
}

.club-match-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.club-match-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 4px;
}

.club-match-consent input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.club-match-consent input[aria-invalid="true"] {
  outline: 1px solid #c69584;
  outline-offset: 2px;
}

.club-match-consent label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}

.club-match-consent a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.club-match-consent-error {
  margin-left: 34px !important;
}

.club-match-submit-status {
  min-height: 20px;
  margin-top: 8px !important;
  color: #e5b3a2;
  font-size: 12px;
  text-align: center;
}

.club-match-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 13px;
  border-left: 2px solid var(--gold);
  background: rgba(138, 111, 85, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.club-match-method strong {
  color: #fff;
  font-weight: 600;
}

.club-match-contact-trust {
  margin: 23px 0;
}

.club-match-privacy {
  margin-top: 15px !important;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.55;
}

.club-match-privacy a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.club-match-final {
  text-align: center;
}

.club-match-failure {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.club-match-failure .club-match-progress {
  margin-right: auto;
  margin-left: auto;
}

.club-match-failure .club-match-primary {
  margin-top: 34px;
}

.club-match-final .club-match-progress {
  margin-right: auto;
  margin-left: auto;
}

.club-match-final-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 8px auto 20px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 23px;
}

.club-match-final > p:not(.club-match-lead):not(.club-match-signature):not(.club-match-copy-status) {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
}

.club-match-signature {
  margin-top: 12px !important;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.club-match-final .club-match-contact-trust {
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.club-match-fallback {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.club-match-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.club-match-secondary:hover {
  background: rgba(138, 111, 85, 0.22);
  color: #fff;
}

.club-match-copy-status {
  min-height: 20px;
  margin-top: 8px !important;
  color: var(--gold-light);
  font-size: 12px;
}

.club-match-text-button {
  min-height: 44px;
  margin-top: 3px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.club-match-text-button:hover {
  color: #fff;
}

@keyframes clubMatchScreenIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 620px) {
  .club-match {
    place-items: end center;
    padding: max(10px, env(safe-area-inset-top)) 0 0;
  }

  .club-match-dialog {
    width: 100%;
    max-height: calc(100dvh - max(10px, env(safe-area-inset-top)));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    transform: translateY(34px);
  }

  .club-match-content {
    max-height: calc(100dvh - max(10px, env(safe-area-inset-top)));
  }

  .club-match-screen {
    min-height: calc(100dvh - max(10px, env(safe-area-inset-top)));
    padding: 58px 24px calc(30px + env(safe-area-inset-bottom));
  }

  .club-match-screen h2 {
    font-size: 28px;
  }

  .club-match-intro {
    min-height: calc(100dvh - max(10px, env(safe-area-inset-top)));
  }

  .club-match-question h2 {
    font-size: 25px;
  }

  .club-match-answer {
    min-height: 56px;
    padding: 11px 13px;
    font-size: 13px;
  }

  .club-match-result,
  .club-match-contact,
  .club-match-final {
    padding-bottom: calc(34px + env(safe-area-inset-bottom));
  }

  .club-match-result-image {
    width: min(260px, 100%);
  }

  .club-match-result-image img {
    height: 138px;
  }
}

@media (max-width: 360px) {
  .club-match-screen {
    padding-right: 18px;
    padding-left: 18px;
  }

  .club-match-screen h2 {
    font-size: 25px;
  }

  .club-match-question h2 {
    font-size: 23px;
  }

  .club-match-primary {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 12px;
  }

  .club-match-fallback {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .club-match,
  .club-match-dialog,
  .club-match-screen,
  .club-match-answer,
  .club-match-confirmation,
  .club-match-progress span {
    animation: none !important;
    transition: none !important;
  }
}
