:root {
  color-scheme: light;
  --bg: #f7f1e6;
  --card: #fffdfa;
  --ink: #211f1a;
  --muted: #716b61;
  --line: #e6dccb;
  --green: #1c7a5a;
  --green-soft: #e9f5ee;
  --gold: #d9a735;
  --gold-light: #f4d58d;
  --gold-deep: #9f7620;
  --gold-soft: #fff3cf;
  --red: #b95342;
  --shadow: 0 18px 60px rgba(39, 33, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -120px, rgba(217, 167, 53, 0.2), transparent 260px),
    linear-gradient(180deg, rgba(28, 122, 90, 0.09), transparent 320px),
    var(--bg);
}

button {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.quiz-panel {
  width: min(100%, 560px);
  min-height: min(760px, calc(100vh - 44px));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.eyebrow,
.brand-name,
.question-kicker,
.result-label {
  margin: 0;
}

.eyebrow {
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}

.brand-name {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 850;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 18px 14px;
}

.progress-track {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: #ece3d6;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
  transition: width 240ms ease;
}

#progressText {
  display: none;
}

.screen {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: auto 0;
}

.hero-media,
.question-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #e8dfd0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.question-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  min-height: 280px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.question-image img {
  width: 100%;
  height: auto;
  max-height: min(52vh, 430px);
  object-fit: contain;
  display: block;
}

.hero-media img {
  min-height: 280px;
}

.media-badge {
  display: none;
}

.hero-copy {
  text-align: center;
}

.hero-after-media {
  margin-top: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(28, 122, 90, 0.14);
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.hero-copy h1,
.question-title,
.result-title {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: clamp(28px, 6.2vw, 36px);
  font-weight: 950;
  max-width: 440px;
  margin: 0 auto;
}

.hero-copy p {
  margin: 0 auto;
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.hero-copy h1 + p {
  margin-top: 16px;
}

.hero-surprise {
  display: block;
  margin-top: 14px;
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.3;
}

.hero-participants {
  margin-top: 13px;
  color: #91887b;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.primary-action,
.secondary-action,
.answer,
.mini-button {
  border: 0;
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.primary-action,
.secondary-action {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(159, 118, 32, 0.28);
  background:
    linear-gradient(180deg, #f6df9e 0%, var(--gold) 46%, var(--gold-deep) 100%);
  color: #151007;
  font-size: 16px;
  font-weight: 900;
  box-shadow:
    0 14px 34px rgba(159, 118, 32, 0.24),
    0 0 26px rgba(217, 167, 53, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.primary-action:hover,
.secondary-action:hover {
  box-shadow:
    0 16px 38px rgba(159, 118, 32, 0.3),
    0 0 34px rgba(244, 213, 141, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.primary-action:hover,
.secondary-action:hover,
.answer:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.trust-row span {
  padding: 7px 9px;
  border: 1px solid rgba(159, 118, 32, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.78);
  color: #5b4a22;
  box-shadow: 0 8px 18px rgba(80, 57, 21, 0.05);
}

.question-shell,
.result-shell {
  width: 100%;
  margin: auto 0;
}

.question-image {
  width: 100%;
  margin-bottom: 18px;
}

.question-image img {
  max-height: min(52vh, 430px);
}

.image-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #6f6354;
  background:
    linear-gradient(135deg, rgba(28, 122, 90, 0.15), rgba(217, 167, 53, 0.2)),
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    #efe7d9;
  background-size: auto, 28px 28px, 28px 28px, auto;
  text-align: center;
  font-weight: 850;
}

.question-kicker,
.result-label {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
}

.question-title {
  margin-top: 8px;
  font-size: clamp(25px, 6vw, 34px);
  font-weight: 950;
  text-align: center;
}

.visual-question .question-title {
  margin-top: 6px;
  font-size: clamp(24px, 5.5vw, 32px);
}

.full-image-question .question-image {
  aspect-ratio: auto;
  min-height: 0;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #eee5d5;
}

.full-image-question .question-image img {
  min-height: 0;
  object-fit: contain;
}

.full-image-question .question-title {
  margin-top: 0;
  font-size: clamp(20px, 4.6vw, 24px);
  line-height: 1.22;
  text-align: left;
}

.full-image-question .answer-grid {
  margin-top: 22px;
}

.challenge-image-question .question-image {
  aspect-ratio: auto;
  margin-bottom: 22px;
}

.challenge-image-question .question-title,
.challenge-image-question .question-subtitle {
  text-align: center;
}

.challenge-image-question .question-subtitle {
  margin-top: 8px;
  font-size: 15px;
}

.challenge-image-question .answer {
  min-height: 56px;
  border-color: rgba(159, 118, 32, 0.26);
  border-radius: 12px;
  background: #fffdfa;
}

.challenge-image-question .answer-icon {
  background: #f3eadb;
  color: #a7803b;
}

.challenge-image-question .question-footer .secondary-action {
  margin-top: 18px;
}

.puzzle-feeling-question .question-image {
  aspect-ratio: auto;
  margin-bottom: 22px;
}

.puzzle-feeling-question .question-title {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.puzzle-feeling-question .answer {
  min-height: 56px;
  border-color: rgba(159, 118, 32, 0.22);
  border-radius: 12px;
  background: #fffdfa;
}

.puzzle-feeling-question .answer:not(.multi-answer) .answer-icon {
  width: 30px;
  height: 30px;
  border: 2px solid #d7cdbd;
  border-radius: 50%;
  background: #fff;
  color: transparent;
  font-size: 0;
}

.puzzle-feeling-question .answer[data-id="none"] {
  border-style: dashed;
  background: rgba(255, 253, 250, 0.72);
  color: #9d978f;
  font-style: italic;
}

.puzzle-feeling-question .answer[data-id="none"] .answer-icon {
  border: 0;
  background: #edf0ef;
  color: #b0b0b0;
  font-size: 18px;
}

.knowledge-question .question-image {
  aspect-ratio: auto;
  margin-bottom: 22px;
}

.knowledge-question .question-title {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.knowledge-question .answer {
  min-height: 56px;
  border-color: rgba(159, 118, 32, 0.22);
  border-radius: 12px;
  background: #fffdfa;
}

.knowledge-question .answer[data-id="dont-know"] {
  border-style: dashed;
  background: rgba(255, 253, 250, 0.72);
  color: #9d978f;
  font-style: italic;
}

.knowledge-question .answer[data-id="dont-know"] .answer-icon {
  border: 0;
  background: #edf0ef;
  color: #9d978f;
}

.question-subtitle {
  margin: 10px auto 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.answer-grid {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.visual-answer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-card-grid {
  gap: 10px;
}

.answer {
  position: relative;
  width: 100%;
  min-height: 68px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
}

.answer.has-thumb {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 156px;
  padding: 12px;
  text-align: center;
}

.profile-card-answer {
  min-height: auto;
  height: 100%;
  grid-template-rows: auto minmax(56px, 1fr);
  align-content: stretch;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 11px;
  text-align: left;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.answer.profile-card-answer {
  padding: 0;
}

.profile-card-answer .answer-thumb {
  width: 100%;
  height: clamp(138px, 24vw, 188px);
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

.profile-card-answer > span:not(.answer-thumb) {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
}

.visual-question .profile-card-answer {
  min-height: auto;
}

.visual-question .profile-card-answer .answer-thumb {
  height: clamp(138px, 24vw, 188px);
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.visual-question .profile-card-answer > span:not(.answer-thumb) {
  min-height: 56px;
  align-items: center;
  padding: 9px 12px;
}

.profile-card-answer strong {
  font-size: 14px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.card-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  font-style: normal;
  font-size: 0;
  line-height: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 2;
}

.card-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #81776a;
  border-right: 2px solid #81776a;
  transform: translate(-62%, -50%) rotate(45deg);
}

.answer:not(.profile-card-answer) {
  padding-right: 78px;
}

.answer-thumb {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(28, 122, 90, 0.92), rgba(13, 77, 55, 0.92)),
    #1c7a5a;
  font-size: 18px;
  font-weight: 950;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.12);
}

.answer-thumb.image-thumb {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(217, 167, 53, 0.2), transparent 50%),
    #16120d;
  color: transparent;
  box-shadow: none;
}

.answer-thumb.image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.avatar-lecturas {
  background:
    radial-gradient(circle at 22% 20%, #ffe277 0 3%, transparent 4%),
    radial-gradient(circle at 46% 18%, #ffe277 0 3%, transparent 4%),
    radial-gradient(circle at 72% 18%, #ffe277 0 3%, transparent 4%),
    linear-gradient(150deg, #26374a, #d8b07a 48%, #6d4730);
}

.avatar-devocional {
  background:
    radial-gradient(circle at 50% 34%, #7d4b34 0 17%, transparent 18%),
    linear-gradient(145deg, #f4d98e, #e8b274 54%, #8fbf9b);
}

.avatar-cultos {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 2px, transparent 2px 34px),
    linear-gradient(160deg, #a96641, #f6d889 44%, #6e4a32);
}

.avatar-conexion {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 242, 172, 0.9), transparent 18%),
    linear-gradient(155deg, #354351, #a98574 58%, #3b2a2f);
}

.avatar-rendi {
  background:
    radial-gradient(circle at 52% 48%, #28211e 0 18%, transparent 19%),
    linear-gradient(155deg, #77533e, #f0c386 44%, #32251f);
}

.avatar-dificil {
  background:
    radial-gradient(circle at 56% 33%, #b25b45 0 15%, transparent 16%),
    linear-gradient(145deg, #f3d17a, #e4aa70 54%, #78624d);
}

.avatar-confundido {
  background:
    radial-gradient(circle at 50% 38%, #3e312b 0 16%, transparent 17%),
    linear-gradient(160deg, #d6c2a0, #8aa0b3 47%, #c89c64);
}

.avatar-melhorar {
  background:
    radial-gradient(circle at 53% 33%, #b99778 0 15%, transparent 16%),
    linear-gradient(145deg, #d8ecf2, #f0d2a4 55%, #9cb88e);
}

.avatar-cristiano {
  background:
    radial-gradient(circle at 50% 32%, #9c7652 0 15%, transparent 16%),
    linear-gradient(150deg, #b7dff1, #eed39b 52%, #89b55f);
}

.avatar-cristiana {
  background:
    radial-gradient(circle at 50% 31%, #8d623f 0 15%, transparent 16%),
    linear-gradient(145deg, #bde6f4, #f4db9a 52%, #b8ca78);
}

.avatar-AB,
.avatar-NO,
.avatar-JC,
.avatar-JO,
.avatar-JS,
.avatar-MS,
.avatar-DV,
.avatar-SN,
.avatar-DN,
.avatar-SM,
.avatar-SL,
.avatar-EL,
.avatar-EZ,
.avatar-JR,
.avatar-IS,
.avatar-OS,
.avatar-AA {
  font-size: 0;
}

.avatar-AB {
  background:
    radial-gradient(circle at 50% 32%, #8d623f 0 13%, transparent 14%),
    linear-gradient(145deg, #d6eff7, #e7c17d 54%, #7ea56c);
}

.avatar-NO {
  background:
    radial-gradient(circle at 50% 33%, #ad8c74 0 14%, transparent 15%),
    linear-gradient(145deg, #b9ddea, #d5b083 54%, #6c8c5d);
}

.avatar-JC,
.avatar-JO {
  background:
    radial-gradient(circle at 50% 32%, #7b4e32 0 14%, transparent 15%),
    linear-gradient(145deg, #d7eef7, #e5bf79 52%, #92734e);
}

.avatar-JS,
.avatar-MS,
.avatar-DV,
.avatar-SN {
  background:
    radial-gradient(circle at 50% 31%, #6d432c 0 14%, transparent 15%),
    linear-gradient(145deg, #bfe7f7, #e8c174 53%, #8aa86a);
}

.avatar-DN,
.avatar-SM,
.avatar-SL,
.avatar-EL,
.avatar-EZ,
.avatar-JR,
.avatar-IS,
.avatar-OS,
.avatar-AA {
  background:
    radial-gradient(circle at 50% 31%, #856247 0 14%, transparent 15%),
    linear-gradient(145deg, #c7e7ef, #d9bd8c 52%, #7b9670);
}

.avatar-edad18 {
  background:
    radial-gradient(circle at 50% 34%, #8c5f43 0 15%, transparent 16%),
    linear-gradient(145deg, #bde5f2, #f2d07b 54%, #77a76d);
}

.avatar-edad35 {
  background:
    radial-gradient(circle at 50% 33%, #7d5238 0 15%, transparent 16%),
    linear-gradient(145deg, #b9dfef, #e9c58f 54%, #7fa16c);
}

.avatar-edad45 {
  background:
    radial-gradient(circle at 50% 33%, #7b6047 0 15%, transparent 16%),
    linear-gradient(145deg, #c5e3ec, #d8c09b 54%, #819b6e);
}

.avatar-edad55 {
  background:
    radial-gradient(circle at 50% 33%, #9d856c 0 15%, transparent 16%),
    linear-gradient(145deg, #d2eaf0, #d6c6a6 54%, #8fa27a);
}

.visual-answer strong {
  font-size: 15px;
}

.answer:hover {
  border-color: #d8cbb8;
  box-shadow: 0 8px 22px rgba(39, 33, 22, 0.08);
}

.answer[data-selected="true"] {
  border-color: rgba(217, 167, 53, 0.72);
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(217, 167, 53, 0.2);
}

.answer:focus-visible {
  outline: 2px solid rgba(217, 167, 53, 0.42);
  outline-offset: 2px;
}

.answer:disabled {
  cursor: default;
}

.answer.answer-correct {
  border-color: rgba(28, 122, 90, 0.68);
  background: #e4f6eb;
  box-shadow: inset 0 0 0 1px rgba(28, 122, 90, 0.26);
}

.answer.answer-correct .answer-icon {
  background: var(--green-soft);
  color: var(--green);
}

.answer.answer-correct .answer-thumb {
  background: var(--green);
}

.answer.answer-correct .answer-icon::before {
  content: none;
}

.answer.answer-wrong {
  border-color: rgba(185, 83, 66, 0.5);
  background: #fde9e5;
  color: #4a2119;
}

.answer.answer-wrong .answer-icon {
  background: #fff1ef;
  color: var(--red);
}

.answer.answer-wrong .answer-thumb {
  background: var(--red);
}

.answer.answer-wrong .answer-icon::before {
  content: none;
}

.answer.answer-selected {
  transform: none;
}

.answer-result-mark {
  position: absolute;
  right: 46px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  font-size: 16px;
  font-weight: 950;
  pointer-events: none;
  animation: feedback-pop 260ms ease both;
}

.answer-correct .answer-result-mark {
  background: var(--green);
}

.answer-wrong .answer-result-mark {
  background: var(--red);
}

.answer-stat {
  position: absolute;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 46px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
  animation: feedback-pop 260ms ease both;
}

.answer.answer-revealed:not(.profile-card-answer) {
  padding-right: 130px;
}

.answer-correct .answer-stat {
  color: var(--green);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(28, 122, 90, 0.18);
}

.answer-wrong .answer-stat {
  color: var(--red);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(185, 83, 66, 0.18);
}

.profile-card-answer .answer-result-mark {
  left: 8px;
  right: auto;
  top: 8px;
  transform: none;
}

.profile-card-answer .answer-stat {
  right: 8px;
  top: 8px;
  transform: none;
}

@keyframes feedback-pop {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.profile-card-answer .answer-result-mark,
.profile-card-answer .answer-stat {
  animation-name: feedback-pop-card;
}

@keyframes feedback-pop-card {
  from {
    opacity: 0;
    transform: scale(0.86);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.answer-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #d7cdbd;
  color: transparent;
  background: #fff;
  font-size: 0;
}

.answer:not(.multi-answer) .answer-icon {
  border: 0;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.answer.multi-answer[data-selected="true"] .answer-icon {
  border-color: var(--green);
  background:
    radial-gradient(circle at center, var(--green) 0 42%, transparent 45%),
    #fff;
}

.answer strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.answer span span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.question-footer {
  margin-top: 16px;
}

.secondary-action {
  margin-top: 0;
}

.secondary-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.result-shell {
  text-align: center;
}

.analysis-shell {
  width: 100%;
  margin: auto 0;
  text-align: center;
}

.analysis-loader {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: var(--green-soft);
}

.analysis-progress {
  width: min(100%, 380px);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.analysis-progress-track {
  flex: 1;
  height: 13px;
  border-radius: 999px;
  background: #e4efe8;
  overflow: hidden;
}

.analysis-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 120ms linear;
}

.analysis-progress strong {
  width: 44px;
  color: var(--green);
  text-align: right;
  font-size: 14px;
}

.analysis-loader::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 6px solid rgba(28, 122, 90, 0.16);
  border-top-color: var(--green);
  animation: spin 1s linear infinite;
}

.analysis-loader span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.analysis-loader span:nth-child(2),
.analysis-loader span:nth-child(3) {
  display: none;
}

.analysis-shell h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.08;
}

.analysis-shell p {
  max-width: 420px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.45;
}

.analysis-steps {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin: 22px auto 0;
}

.analysis-steps span {
  position: relative;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.analysis-steps span.checked {
  padding-left: 38px;
  border-color: rgba(28, 122, 90, 0.32);
  background: var(--green-soft);
}

.analysis-steps span.checked::before {
  content: "✓";
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 950;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.result-heading {
  margin: 0 auto 18px;
  max-width: 440px;
  color: #08213d;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.08;
  font-weight: 950;
}

.result-image {
  width: min(100%, 350px);
  min-height: 330px;
  margin: 0 auto 16px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(184, 146, 69, 0.18);
  background: #d8ebf2;
  box-shadow: 0 14px 34px rgba(42, 32, 18, 0.1);
}

.result-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
}

.result-placeholder {
  display: grid;
  place-items: center;
  padding: 22px;
  color: #2b6076;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.85), transparent 0 18%, transparent 18%),
    linear-gradient(180deg, #a7d7eb, #e4f4f7 50%, #9dc774 51%, #5e8f51);
  font-weight: 900;
}

.result-message {
  margin: 0 auto 18px;
  padding: 18px 18px 17px;
  border: 1px solid rgba(185, 83, 66, 0.16);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(121, 62, 42, 0.08);
  text-align: left;
}

.result-message.low,
.result-message.medium,
.result-message.good {
  background: linear-gradient(180deg, #fff4f1, #fdebea);
  color: #7c3428;
}

.result-message h2 {
  margin: 0;
  color: #7f2f24;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 950;
}

.result-message p {
  margin: 10px 0 0;
  color: #74463f;
  line-height: 1.5;
  font-size: 14.5px;
  white-space: pre-line;
}

.chart-card {
  margin: 0 auto 14px;
  width: min(100%, 360px);
  padding: 20px 14px 14px;
  border: 1px solid rgba(184, 146, 69, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffefa, #fffaf0);
  box-shadow: 0 12px 28px rgba(69, 51, 21, 0.07);
  text-align: center;
}

.chart-label {
  width: max-content;
  margin: 0 auto 14px;
  padding: 6px 14px;
  border: 1px solid rgba(184, 146, 69, 0.24);
  border-radius: 999px;
  background: #fff8e4;
  color: #5b4218;
  font-size: 11.5px;
  font-weight: 900;
}

.bar-chart {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 22px;
  padding-top: 8px;
}

.bar-group {
  width: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  color: #6f675c;
  font-size: 11px;
}

.bar-stage {
  width: 100%;
  height: 156px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 6px;
  border-bottom: 1px solid rgba(184, 146, 69, 0.22);
}

.bar {
  width: 24px;
  min-height: 14px;
  border-radius: 8px 8px 5px 5px;
  display: block;
  margin: 0;
  box-shadow: inset 0 -10px 16px rgba(32, 24, 10, 0.12);
}

.bar.average {
  background: #b89245;
}

.bar.user {
  background: #1e8e4a;
}

.bar-group b {
  margin-top: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(30, 142, 74, 0.18);
  border-radius: 999px;
  background: #f5fff8;
  color: #155f35;
  font-size: 11px;
}

.bar-group span {
  margin-top: 10px;
  color: #6b5a32;
}

.chart-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10.5px;
}

.result-alert {
  width: min(100%, 360px);
  margin: 0 auto 10px;
  padding: 16px;
  border: 1px solid rgba(184, 146, 69, 0.2);
  border-radius: 15px;
  background: #fff7e8;
  color: #674c18;
  box-shadow: 0 10px 24px rgba(69, 51, 21, 0.06);
  line-height: 1.4;
  font-size: 14px;
}

.good-news {
  width: min(100%, 360px);
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid rgba(184, 146, 69, 0.22);
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 12px 28px rgba(69, 51, 21, 0.07);
  text-align: left;
}

.good-news h2 {
  margin: 0 0 12px;
  color: #176846;
  font-size: 22px;
}

.good-news p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.good-news strong {
  color: #176846;
}

.good-news .product-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4d894, #dcb157);
  color: #2f2410;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 5px 12px rgba(119, 82, 20, 0.12);
  white-space: nowrap;
}

.result-title {
  margin-top: 8px;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 950;
}

.result-card,
.offer-band {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.result-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  text-align: left;
}

.score-box {
  padding: 16px;
  border-radius: 14px;
  background: var(--green-soft);
  text-align: center;
}

.score-box strong {
  display: block;
  color: var(--green);
  font-size: 48px;
  line-height: 0.95;
}

.score-box span {
  display: block;
  margin-top: 7px;
  font-weight: 900;
}

.insight-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.offer-band {
  padding: 18px;
  border-color: rgba(184, 146, 69, 0.22);
  background: linear-gradient(180deg, #fffefa, #fffaf2);
  box-shadow: 0 14px 34px rgba(69, 51, 21, 0.08);
  text-align: left;
}

.offer-band h2 {
  margin: 0;
  color: #242218;
  font-size: 24px;
  line-height: 1.1;
}

.offer-band p {
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.bonus-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.bonus-list span {
  padding: 11px 13px 11px 14px;
  border: 1px solid rgba(184, 146, 69, 0.2);
  border-left: 3px solid #b89245;
  border-radius: 12px;
  background: #fffdf8;
  color: #4c3a19;
  box-shadow: 0 8px 18px rgba(69, 51, 21, 0.06);
  font-size: 13.2px;
  font-weight: 820;
  line-height: 1.35;
}

.offer-actions {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.offer-actions .primary-action {
  margin: 0;
  background:
    linear-gradient(180deg, #f6df9e 0%, var(--gold) 46%, var(--gold-deep) 100%);
  box-shadow:
    0 14px 34px rgba(159, 118, 32, 0.24),
    0 0 26px rgba(217, 167, 53, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  color: #151007;
  font-weight: 950;
}

.mini-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 620px) {
  .app-shell {
    padding: 0;
  }

  .quiz-panel {
    min-height: 100vh;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .topbar {
    padding: 12px 15px;
  }

  .progress-wrap {
    padding: 0 15px 12px;
  }

  .screen {
    padding: 13px;
  }

  .question-shell {
    margin: 0;
  }

  .hero-media,
  .hero-media img {
    min-height: 250px;
  }

  .question-image,
  .image-placeholder {
    min-height: 190px;
  }

  .question-image img {
    max-height: min(48vh, 360px);
  }

  .visual-question .question-title {
    font-size: clamp(21px, 6vw, 28px);
    line-height: 1.08;
  }

  .visual-answer-grid.profile-card-grid,
  .visual-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .answer.has-thumb {
    min-height: auto;
  }

  .answer-thumb {
    width: 74px;
    height: 74px;
  }

  .profile-card-answer .answer-thumb {
    width: 100%;
    height: clamp(104px, 32vw, 138px);
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .visual-question .profile-card-answer .answer-thumb {
    height: clamp(104px, 32vw, 138px);
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .profile-card-answer > span:not(.answer-thumb) {
    min-height: 58px;
    padding: 8px 9px;
  }

  .visual-question .profile-card-answer > span:not(.answer-thumb) {
    min-height: 58px;
    padding: 8px 9px;
  }

  .profile-card-answer strong {
    font-size: 12.5px;
    line-height: 1.16;
  }
}

@media (max-width: 360px) {
  .visual-answer-grid {
    gap: 7px;
  }

  .answer.has-thumb {
    min-height: auto;
    padding: 0;
  }

  .profile-card-answer .answer-thumb {
    width: 100%;
    height: clamp(98px, 31vw, 112px);
    min-height: 0;
    border-radius: 0;
  }

  .visual-question .profile-card-answer .answer-thumb {
    height: clamp(98px, 31vw, 112px);
    min-height: 0;
  }

  .profile-card-answer > span:not(.answer-thumb),
  .visual-question .profile-card-answer > span:not(.answer-thumb) {
    min-height: 54px;
    padding: 7px 8px;
  }

  .visual-answer strong {
    font-size: 12px;
  }
}

.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 24, 14, 0.48);
  backdrop-filter: blur(4px);
}

.popup-card {
  width: min(100%, 420px);
  padding: 23px 22px 22px;
  border-radius: 22px;
  border: 1px solid rgba(184, 146, 69, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 249, 235, 0.72), rgba(255, 253, 250, 0) 42%),
    var(--card);
  box-shadow:
    0 24px 62px rgba(28, 22, 12, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  text-align: center;
}

.popup-status {
  width: 52px;
  height: 52px;
  margin: 0 auto 13px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
  font-weight: 950;
  box-shadow:
    0 0 0 6px rgba(217, 167, 53, 0.15),
    0 10px 20px rgba(65, 44, 15, 0.16);
}

.popup-status.is-correct {
  background: var(--green);
}

.popup-status.is-wrong {
  background: var(--red);
}

.popup-card h2 {
  margin: 0;
  color: #2d281d;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 950;
}

.popup-card p {
  margin: 10px auto 0;
  max-width: 350px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.popup-bonus {
  margin-top: 16px;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(184, 146, 69, 0.28);
  background:
    linear-gradient(180deg, #fff8e4, #fffdf7),
    var(--gold-soft);
  color: #6a4a0d;
  box-shadow:
    0 10px 22px rgba(105, 74, 13, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.popup-bonus span {
  display: block;
  color: #8b6416;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950;
}

.popup-bonus strong {
  display: block;
  margin-top: 5px;
  color: #2f2410;
  font-size: 16px;
  line-height: 1.28;
}

.popup-card .secondary-action {
  margin-top: 17px;
}

.hidden {
  display: none !important;
}

.vsl-shell {
  width: min(100%, 390px);
  margin: 0 auto;
  text-align: center;
}

.vsl-title-section {
  width: min(100%, 352px);
  margin: 0 auto 16px;
}

.vsl-title-section h1 {
  margin: 0;
  color: #2d281d;
  font-size: clamp(19px, 4.7vw, 23px);
  line-height: 1.18;
  font-weight: 760;
}

.vsl-player-wrap {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 19, 12, 0.2), rgba(23, 19, 12, 0.58)),
    url("./assets/hero/landing-hero-640.webp") center / cover;
  box-shadow:
    0 18px 48px rgba(62, 43, 15, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.vsl-player-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  background: rgba(18, 13, 7, 0.38);
  backdrop-filter: blur(7px);
  transition:
    opacity 160ms ease,
    visibility 160ms ease;
  pointer-events: none;
}

.vsl-player-wrap.is-paused::after {
  opacity: 1;
  visibility: visible;
}

.vsl-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, #2b201e 0 22%, #f7f5ef 22% 78%, #372924 78%),
    #f7f5ef;
}

.vsl-tap-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vsl-control-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 0;
  background: transparent;
  pointer-events: none;
}

.vsl-play-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #f8dfa2, var(--gold) 48%, var(--gold-deep));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 0 9px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.vsl-play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 26px solid #1c160c;
}

.vsl-play-icon-small {
  width: 52px;
  height: 52px;
  margin: 0 auto 4px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.24),
    0 0 0 6px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.vsl-play-icon-small::before {
  margin-left: 4px;
  border-top-width: 11px;
  border-bottom-width: 11px;
  border-left-width: 18px;
}

.vsl-pause-nudge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  width: min(calc(100% - 32px), 270px);
  gap: 5px;
  padding: 18px 16px 17px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  color: #fffefa;
  background: rgba(22, 17, 9, 0.84);
  backdrop-filter: blur(8px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-align: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.vsl-pause-nudge strong {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 950;
}

.vsl-pause-nudge span {
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 254, 250, 0.82);
}

.vsl-progress-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.vsl-progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f8dfa2, var(--gold), var(--gold-deep));
  transition: width 240ms linear;
}

.vsl-video-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  padding: 20px;
  color: #1f1f1f;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    linear-gradient(90deg, #3a2c25, #f6f2eb 30% 70%, #3a2c25);
}

.sound-icon {
  display: block;
  margin: 0 auto 18px;
  font-size: 56px;
  line-height: 1;
  font-weight: 950;
}

.vsl-video-placeholder strong,
.vsl-video-placeholder p {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 950;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}

.vsl-video-placeholder p {
  margin-top: 22px;
}

.vsl-locked {
  width: min(100%, 340px);
  margin: 14px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
}

.vsl-mini-loader {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border: 4px solid #e4efe8;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.vsl-locked p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.vsl-offer {
  margin-top: 14px;
}

.vsl-main-cta {
  width: min(100%, 342px);
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  color: #fffef9;
  background: linear-gradient(145deg, #176b4c, #0d4f38);
  box-shadow:
    0 14px 28px rgba(13, 79, 56, 0.2),
    0 0 0 6px rgba(184, 146, 69, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
}

.vsl-main-cta:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .58;
}

.checkout-card {
  width: min(100%, 336px);
  margin: 12px auto 0;
  overflow: hidden;
  border: 1px solid rgba(184, 146, 69, 0.26);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffefa, #fff8ea);
  box-shadow: 0 12px 30px rgba(69, 51, 21, 0.08);
}

.checkout-header {
  padding: 8px;
  color: #f6df9b;
  background: linear-gradient(145deg, #1c241e, #121a18);
  font-size: 12px;
  font-weight: 850;
}

.checkout-body {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  text-align: left;
}

.checkout-body strong {
  color: #2d281d;
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 780;
}

.price-box {
  min-height: 72px;
  padding: 9px 8px;
  border: 1px solid rgba(184, 146, 69, 0.2);
  border-radius: 10px;
  background: #fffdf7;
  text-align: right;
}

.price-box span {
  display: block;
  color: #8a8174;
  font-size: 10px;
  text-decoration: line-through;
}

.price-box b {
  display: block;
  margin-top: 2px;
  color: #13251e;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.price-box small {
  display: block;
  margin-top: 3px;
  color: #7a6d56;
  font-size: 9px;
}

.urgency-box {
  width: min(100%, 360px);
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(184, 146, 69, 0.24);
  border-radius: 13px;
  background: linear-gradient(180deg, #fff7e3, #fffdf8);
  color: #654916;
  box-shadow: 0 8px 20px rgba(69, 51, 21, 0.06);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.trust-line {
  width: min(100%, 330px);
  margin: 15px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #176b4c;
  font-size: 12.5px;
  font-weight: 760;
}

.payment-info {
  width: min(100%, 360px);
  margin: 18px auto 0;
  padding: 22px 20px 24px;
  border-radius: 12px 12px 0 0;
  color: #fffef9;
  background:
    linear-gradient(180deg, rgba(184, 146, 69, 0.14), transparent 42%),
    #171d1a;
  box-shadow: 0 -10px 30px rgba(39, 33, 22, 0.08);
}

.payment-info h2 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 17px;
  padding: 9px 16px;
  border: 1px solid rgba(246, 223, 155, 0.38);
  border-radius: 999px;
  color: #f6df9b;
  background: rgba(184, 146, 69, 0.12);
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 850;
}

.payment-info h3 {
  margin: 0;
  color: #fffef9;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.25;
}

.payment-info p {
  margin: 8px 0 0;
  color: rgba(255, 254, 249, 0.78);
  line-height: 1.45;
  font-size: 13.5px;
}

.yellow-note {
  width: max-content;
  max-width: 100%;
  margin: 20px auto 12px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #2f2410;
  background: linear-gradient(180deg, #f7de95, #dcb157);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}
