/* A single welcoming result panel; the existing meter animation stays intact. */
body.quiz-lp-theme .qcard.result-welcome {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: 28px 30px 26px;
  text-align: center;
  border: 1px solid #dce6f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 42px -28px #2148672b;
}

body.quiz-lp-theme .result-welcome > .mk {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: .13em;
  color: #2e79ac;
}

body.quiz-lp-theme .result-welcome .result-level {
  display: table;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: #eef6fc;
  color: #14254a;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

body.quiz-lp-theme .result-welcome .result-meter {
  display: flow-root;
  width: 100%;
  max-width: 420px;
  margin: 10px auto 8px;
  padding-inline: 28px;
}

body.quiz-lp-theme .result-welcome .result-meter .meter {
  margin: 34px 0 0;
}

body.quiz-lp-theme .result-welcome .result-meter .meter-track {
  height: 12px;
}

body.quiz-lp-theme .result-welcome .result-meter .meter-pin {
  width: 22px;
  height: 22px;
  border-width: 3px;
}

body.quiz-lp-theme .result-welcome .result-meter .meter-tip {
  bottom: 22px;
  padding: 4px 9px;
  font-size: 11px;
  line-height: 1.3;
}

body.quiz-lp-theme .result-welcome .result-meter .meter-labels {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.3;
}

body.quiz-lp-theme .result-welcome .result-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 260px;
  margin: 8px auto 12px;
}

body.quiz-lp-theme .result-welcome .result-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
}

body.quiz-lp-theme .result-welcome .result-illustration.is-pair {
  max-width: 280px;
  gap: 4px;
}

body.quiz-lp-theme .result-welcome .result-illustration.is-pair img {
  width: 50%;
}

body.quiz-lp-theme .result-welcome h2.t.result-title {
  margin: 4px 0 12px;
  color: #14254a;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.quiz-lp-theme .result-welcome .result-title .accent {
  color: #2e79ac;
}

body.quiz-lp-theme .result-welcome p.lead.result-summary {
  max-width: 43ch;
  margin: 0 auto 18px;
  color: #495d76;
  font-size: 18px;
  line-height: 1.45;
}

body.quiz-lp-theme .result-welcome .result-time-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #dceaf5;
  border-radius: 14px;
  background: #eef6fc;
  color: #14254a;
}

body.quiz-lp-theme .result-welcome .result-time-note > svg {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: #2e79ac;
}

body.quiz-lp-theme .result-welcome .result-time-note > div {
  min-width: 0;
  text-align: left;
}

body.quiz-lp-theme .result-welcome .result-time-note strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

body.quiz-lp-theme .result-welcome .result-time-note span {
  display: block;
  margin-top: 4px;
  color: #495d76;
  font-size: 16px;
  line-height: 1.35;
}

body.quiz-lp-theme .result-welcome .cta-row {
  width: 100%;
  margin-top: 16px;
}

body.quiz-lp-theme .result-welcome .cta-row button#next {
  justify-content: center;
  width: 100%;
  min-width: 0;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 13px;
  font-size: 19px;
  line-height: 1.2;
}

@media (max-width: 640px) {
  body.quiz-lp-theme .qcard.result-welcome {
    padding: 24px 16px 22px;
    border-radius: 18px;
  }

  body.quiz-lp-theme .result-welcome > .mk {
    font-size: 11px;
    letter-spacing: .12em;
  }

  body.quiz-lp-theme .result-welcome .result-level {
    padding: 6px 14px;
    font-size: 14px;
  }

  body.quiz-lp-theme .result-welcome .result-meter .meter-labels {
    font-size: 11px;
  }

  body.quiz-lp-theme .result-welcome .result-illustration {
    height: 225px;
    margin-top: 6px;
    margin-bottom: 10px;
  }

  body.quiz-lp-theme .result-welcome h2.t.result-title {
    font-size: clamp(24px, 6.8vw, 28px);
  }

  body.quiz-lp-theme .result-welcome p.lead.result-summary {
    margin-bottom: 16px;
    font-size: 16px;
  }

  body.quiz-lp-theme .result-welcome .result-time-note {
    gap: 12px;
    padding: 12px;
  }

  body.quiz-lp-theme .result-welcome .result-time-note > svg {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  body.quiz-lp-theme .result-welcome .result-time-note strong {
    font-size: 17px;
  }

  body.quiz-lp-theme .result-welcome .result-time-note span {
    font-size: 15px;
  }

  body.quiz-lp-theme .result-welcome .cta-row button#next {
    padding: 15px 18px;
    font-size: 17px;
  }
}
