:root {
  --bg: #f3f4f6;
  --card: #ffffff;
  --selected: #e5f6eb;
  --sel: #e5f6eb;
  --sub: #5a6575;
  --text: #2c3348;
  --line: #d4dae3;
  --acc: #1f9d57;
  --track: #d7dce3;
  --green: #1f9d57;
  --green-dark: #1a6b3c;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  min-height: 100dvh;
  background: #e6e8ee;
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.phone {
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  touch-action: manipulation;
}

.quiz button {
  touch-action: manipulation;
}

.quiz {
  flex: 1;
  padding: calc(20px + env(safe-area-inset-top)) 16px 32px;
}

.quiz__progress {
  width: min(78%, 300px);
  margin: 8px auto 20px;
  height: 6px;
  border-radius: 999px;
  background: #d7dce3;
  overflow: hidden;
}

.quiz__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.quiz__qnum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #8b95a8;
}

.quiz__qnum-id {
  font-size: 11px;
  font-weight: 500;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: none;
  letter-spacing: 0;
  color: #a0a8b8;
}

.quiz__question {
  margin: 0 4px 22px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: left;
  color: #2a3148;
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

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

.quiz__shop-tile {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 104px;
  margin: 0;
  padding: 12px 10px 14px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: var(--card);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.quiz__shop-tile:active {
  transform: scale(0.98);
}

.quiz__shop-tile.is-selected {
  border-color: var(--acc);
  background: var(--sel);
}

.quiz__shop-tile-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding-top: 4px;
}

.quiz__shop-tile-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.quiz__shop-tile-label {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  color: #2a3148;
}

.quiz__shop-tile-mark {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--acc);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.quiz__shop-tile.is-selected .quiz__shop-tile-mark {
  opacity: 1;
  transform: scale(1);
}

.quiz__shop-check-icon {
  display: block;
}

.quiz__option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 97px;
  padding: 5px 16px 5px 8px;
  border: 0;
  border-radius: 18px;
  background: var(--card);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
}

.quiz__option:active {
  transform: scale(0.99);
}

.quiz__option.is-selected {
  background: var(--selected);
}

.quiz__photo-slot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 82px;
  padding: 2px 8px;
}

.quiz__photo-slot--icon {
  width: 78px;
  height: 58px;
  padding: 0 8px;
}

.quiz__photo-slot .quiz__photo {
  flex: none;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

.quiz__photo-slot .quiz__photo--cover {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}

.quiz__photo--cover {
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 14px;
}

.quiz__photo--empty {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8ecef 0%, #dfe5ea 100%);
}

.quiz__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.quiz__title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #2a3148;
}

.quiz__sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #6d7872;
}

.quiz__split {
  height: 1px;
  margin: 6px 2px;
  background: #cfd5db;
}

.quiz__back {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 0 4px -4px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #2a3330;
  cursor: pointer;
}

.quiz__back:active {
  background: rgba(28, 36, 32, 0.06);
}

.quiz__back svg {
  width: 22px;
  height: 22px;
}

.quiz__back-spacer {
  display: block;
  height: 40px;
}

.quiz__grid {
  display: grid;
  gap: 12px;
}

.quiz__grid--2 {
  grid-template-columns: 1fr 1fr;
}

.quiz__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 10px 16px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}

.quiz__tile.is-selected {
  background: var(--selected);
}

.quiz__tile img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.quiz__tile--portrait {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.quiz__tile--portrait .quiz__tile-photo {
  display: block;
  width: 100%;
  height: 168px;
  max-height: none;
  object-fit: cover;
  object-position: 50% 18%;
}

.quiz__tile--portrait .quiz__tile-photo[src*=".jpg"],
.quiz__tile--portrait .quiz__tile-photo[src*=".jpeg"],
.quiz__tile--portrait .quiz__tile-photo[src*=".png"] {
  height: 200px;
  object-fit: cover;
  object-position: 50% 12%;
  background: #eef0f2;
}

.quiz__tile--portrait .quiz__tile-photo[src$=".svg"] {
  object-fit: contain;
  background: #f7f8fa;
}

.quiz__tile--portrait .quiz__tile-label {
  padding: 12px 8px 14px;
  text-align: center;
}

.quiz__tile-label {
  font-size: 16px;
  font-weight: 600;
  color: #2a3148;
}

.quiz__btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 16px 20px;
  border: 0;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.quiz__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quiz__btn--ghost {
  background: #fff;
  color: #2a3148;
  border: 1px solid #d5dae0;
}

.quiz__actions {
  margin-top: 16px;
}

.quiz__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.quiz__input {
  flex: 1;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  color: #2a3148;
}

.quiz__input--text {
  font-size: 17px;
  font-weight: 500;
}

.quiz__unit {
  font-size: 18px;
  font-weight: 600;
  color: #5e6964;
}

.quiz__slider-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 4px 2px 20px;
}

.quiz__slider-cm {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #2a3148;
}

.quiz__slider-unit {
  font-size: 20px;
  font-weight: 600;
  color: #6d7872;
}

.quiz__range {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.quiz__range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: #d7dce3;
}

.quiz__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 2px 10px rgba(31, 157, 87, 0.5), 0 0 0 1px rgba(31, 157, 87, 0.25);
}

.quiz__range::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: #d7dce3;
}

.quiz__range::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 2px 10px rgba(31, 157, 87, 0.5), 0 0 0 1px rgba(31, 157, 87, 0.25);
}

.quiz__slider-labels {
  display: flex;
  justify-content: space-between;
  margin: 0 2px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #8b95a8;
}

.quiz__field--under-slider {
  margin-top: 4px;
}

.quiz__field--under-slider .quiz__input {
  padding: 12px 14px;
  font-size: 18px;
}

.quiz__field--stepper {
  gap: 8px;
}

.quiz__field--stepper .quiz__input {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 28px;
  padding: 14px 10px;
}

.quiz__step-btn {
  flex: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #2a3148;
  font-family: inherit;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e1e4ea;
}

.quiz__step-btn:active {
  background: var(--selected);
  transform: scale(0.97);
}

.quiz__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #5a6575;
}

.quiz__stack--email {
  gap: 0;
  margin-top: 4px;
}

.quiz__email-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 4px 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--selected);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--green-dark);
}

.quiz__email-badge-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--acc);
  color: #fff;
  flex: none;
}

.quiz__email-headline {
  margin: 0 4px 22px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #2a3148;
}

.quiz__float-field {
  position: relative;
  margin: 0 2px 8px;
}

.quiz__float-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 22px 16px 10px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: #2a3148;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow 0.15s ease;
}

.quiz__float-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--acc);
}

.quiz__float-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: 500;
  color: #8b95a8;
  pointer-events: none;
  transition:
    top 0.15s ease,
    transform 0.15s ease,
    font-size 0.15s ease,
    color 0.15s ease;
}

.quiz__float-field.is-focused .quiz__float-label,
.quiz__float-field.is-filled .quiz__float-label {
  top: 12px;
  transform: none;
  font-size: 12px;
  font-weight: 600;
  color: #8b95a8;
}

.quiz__float-field.is-focused .quiz__float-label {
  color: var(--green-dark);
}

.quiz__consent--email {
  margin: 16px 4px 0;
}

.quiz__email-legal {
  margin: 14px 4px 0;
  font-size: 11px;
  line-height: 1.5;
  color: #8a939c;
}

.quiz__error--email {
  margin: 8px 4px 0;
}

.quiz:has(.quiz__stack--email) [data-body] {
  padding-bottom: 88px;
}

.quiz--progress-insight .quiz__progress,
.quiz--progress-insight .quiz__disclaimer {
  display: none;
}

.quiz__progress-insight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 12px 0 24px;
}

.quiz__progress-insight-icon {
  display: block;
  width: min(52vw, 200px);
  height: auto;
  margin: 8px auto 28px;
  object-fit: contain;
  transform: rotate(4deg);
}

.quiz__progress-insight-title {
  margin: 0 6px 16px;
  max-width: 340px;
  font-size: clamp(22px, 5.2vw, 28px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #2a3148;
}

.quiz__progress-insight-sub {
  margin: 0 8px;
  max-width: 320px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: #5a6575;
}

.quiz__progress-insight-bar {
  width: 100%;
  margin-top: 28px;
}

.quiz__progress-insight-bar-pct {
  display: block;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  color: var(--txt);
}

.quiz__progress-insight-bar-outer {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}

.quiz__progress-insight-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--acc);
  will-change: width;
}

.quiz__error {
  margin: 10px 0 0;
  font-size: 14px;
  color: #c62828;
}

.quiz__disclaimer {
  margin: 28px 4px 0;
  font-size: 11px;
  line-height: 1.45;
  color: #8a939c;
}

.quiz__note {
  margin: 12px 4px 0;
  font-size: 12px;
  color: #7a848e;
}

.quiz__note--top {
  margin: -10px 4px 18px;
}

.quiz__info--screen {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: -6px;
}

.quiz__info-why {
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 4px 0 8px;
}

.quiz__info-why-hero {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
}

.quiz__info-why-hero-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(42, 49, 72, 0.1);
}

.quiz__info-why-hero-img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.quiz__info-why-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acc);
}

.quiz__info-why-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.quiz__info-why-card {
  width: 100%;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: var(--card);
  text-align: left;
  box-shadow: 0 2px 12px rgba(42, 49, 72, 0.06);
}

.quiz__info-why-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 8px 6px;
}

.quiz__info-why-compare-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.quiz__info-why-compare-tag {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--sub);
}

.quiz__info-why-compare-tag.is-acc {
  color: var(--acc);
  font-weight: 600;
}

.quiz__info-why-before {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sub);
  text-decoration: line-through;
  text-decoration-color: rgba(90, 101, 117, 0.65);
}

.quiz__info-why-plan {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.quiz__info-why-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--acc);
  padding-top: 16px;
}

.quiz__info-why-divider {
  height: 1px;
  margin: 16px 0 14px;
  background: var(--line);
}

.quiz__info-why-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quiz__info-why-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz__info-why-row-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e8f6ee;
}

.quiz__info-why-row-icon img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.quiz__info-why-row-text {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

.quiz:has(.quiz__info-why) [data-body] {
  padding-bottom: 8px;
}

.quiz__info-icon-hero-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
}

.quiz__info-icon-hero {
  width: min(72%, 200px);
  max-height: 160px;
  object-fit: contain;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.quiz__info-icon-hero.is-visible {
  opacity: 1;
  transform: none;
}

.quiz__almost-blocks {
  width: 100%;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz__almost-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(42, 49, 72, 0.05);
  min-height: 56px;
}

.quiz__almost-block-text {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #2a3148;
}

.quiz__almost-block-mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.25 8.25 6.5 11.5 12.75 4.75' fill='none' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.quiz__info-hero {
  display: block;
  width: 100%;
  max-height: 260px;
  margin: 0 0 16px;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.quiz__info-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.quiz__info-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 260px;
  margin: 0 0 16px;
  width: 100%;
}

.quiz__info-photo-grid-cell {
  overflow: hidden;
  border-radius: 18px;
  min-height: 0;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.quiz__info-photo-grid-cell.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.quiz__info-photo-grid-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz__info-eyebrow {
  display: inline-block;
  align-self: flex-start;
  margin: 0 4px 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sel);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
}

.quiz__info-heading {
  margin: 0 4px 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #2a3148;
}

.quiz__info-lead {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #2a3148;
}

.quiz__info-text {
  margin: 0 4px 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--sub);
}

.quiz__info-studies {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 4px 0;
}

.quiz__info-study {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f3f5f8;
  border: 1px solid #e4e9ef;
}

.quiz__info-study-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 0 12px;
  object-fit: contain;
  object-position: left center;
}

.quiz__info-study-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4a5368;
}

.quiz__info-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px 4px 0;
  padding: 0;
  list-style: none;
}

.quiz__info-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #2a3148;
}

.quiz__info-bullet-icon {
  flex: none;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.quiz__social-proof {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 4px 0 0;
}

.quiz__social-marquee {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 -8px 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.quiz__social-row {
  overflow: hidden;
  width: 100%;
}

.quiz__social-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
  will-change: transform;
}

.quiz__social-row--left .quiz__social-track {
  animation: quiz-social-marquee-left linear infinite;
}

.quiz__social-row--right .quiz__social-track {
  animation: quiz-social-marquee-right linear infinite;
}

@keyframes quiz-social-marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes quiz-social-marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.quiz__social-bubble {
  display: inline-flex;
  flex: none;
  align-items: flex-start;
  gap: 12px;
  max-width: min(320px, 82vw);
  padding: 14px 18px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(42, 49, 72, 0.06);
}

.quiz__social-avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  color: #2a3148;
  line-height: 1;
}

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

.quiz__social-review {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.quiz__social-stars {
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
  color: #f4a91c;
}

.quiz__social-phrase {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.quiz__social-meta {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #7a848e;
}

.quiz__social-heading {
  margin: 0 8px 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
  color: #2a3148;
}

.quiz__social-count {
  color: var(--green);
}

.quiz__social-sub {
  margin: 0 12px;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
  color: var(--sub);
}

.quiz:has(.quiz__social-proof) .quiz__disclaimer {
  margin-top: auto;
}

.quiz:has(.quiz__social-proof) [data-body] {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 88px;
}

.quiz:has(.quiz__info--screen) .quiz__question {
  display: none;
}

.quiz:has(.quiz__info--screen) [data-body] {
  padding-bottom: 8px;
}

.quiz__question--screen {
  margin-bottom: 18px;
}

@keyframes quiz-answer-banner-in {
  from {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.quiz__answer-banner {
  position: fixed;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(calc(100% - 32px), 398px);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31, 157, 85, 0.25);
  background: var(--sel);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  animation: quiz-answer-banner-in 250ms ease-out both;
  pointer-events: none;
}

.quiz__answer-banner-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.quiz__answer-banner-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.quiz__answer-banner-icon--heart {
  width: 60px;
  height: 60px;
}

.quiz__answer-banner-icon--heart img {
  width: 60px;
  height: 60px;
}

.quiz__answer-banner-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #0f4a2a;
}

.quiz__option--check {
  gap: 10px;
  min-height: 108px;
  padding: 5px 12px 5px 8px;
}

.quiz__option--check .quiz__copy {
  flex: 1;
  min-width: 0;
}

.quiz__option--check .quiz__check {
  flex: none;
  margin-left: 4px;
}

.quiz__option--check .quiz__photo-slot:not(.quiz__photo-slot--icon) {
  width: 100px;
  height: 80px;
}

.quiz__option--check .quiz__photo-slot--icon {
  flex: none;
  width: 78px;
  height: 58px;
  padding: 0 8px;
}

.quiz__check {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: transparent;
}

.quiz__check-mark {
  display: block;
  width: 20px;
  height: 20px;
}

.quiz__option--check.is-selected .quiz__check {
  border-color: var(--acc);
  background: #fff;
  color: var(--acc);
}

.quiz:has(.quiz__scale-likert) {
  display: flex;
  flex-direction: column;
  min-height: min(100dvh, 100vh);
}

.quiz:has(.quiz__scale-likert) .quiz__question--scale {
  margin: 8px 0 12px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  color: #2a3148;
}

.quiz__scale-head-prompt {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: var(--sub);
}

.quiz__stack {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.quiz__stack--event-date {
  gap: 12px;
}

.quiz__event-date-hero {
  display: flex;
  justify-content: center;
  margin: 4px 0 8px;
}

.quiz__event-date-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.quiz__date-wheels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 8px 0 4px;
  padding: 12px 8px;
  border-radius: 20px;
  background: #eef0f3;
}

.quiz__date-wheels--birthday {
  max-width: min(100%, 320px);
  margin-left: auto;
  margin-right: auto;
}

.quiz__date-wheels--birthday .quiz__wheel-slot--year,
.quiz__date-wheels--birthday > .quiz__date-wheels-dot:last-of-type {
  display: none;
}

.quiz__date-wheels--birthday .quiz__wheel-slot--month {
  flex: 1.25 1 0;
  max-width: 148px;
}

.quiz__event-date-birthday-hint {
  margin: 10px 4px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--text);
}

.quiz__date-wheels-dot {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--sub);
  user-select: none;
}

.quiz__wheel-slot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 120px;
}

.quiz__wheel {
  position: relative;
  height: 220px;
}

.quiz__wheel-viewport {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 22%,
    #000 78%,
    transparent 100%
  );
}

.quiz__wheel-viewport::-webkit-scrollbar {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .quiz__wheel-viewport {
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
    cursor: grab;
  }

  .quiz__wheel-viewport:active {
    cursor: grabbing;
  }

  .quiz__wheel-viewport::-webkit-scrollbar {
    display: block;
    width: 6px;
  }

  .quiz__wheel-viewport::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--line);
  }
}

.quiz__wheel-track {
  display: flex;
  flex-direction: column;
}

.quiz__wheel-pad {
  flex: 0 0 88px;
  scroll-snap-align: center;
}

.quiz__wheel-item {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  color: #8a93a8;
  cursor: pointer;
  scroll-snap-align: center;
  transition: color 0.12s ease, background 0.12s ease;
}

.quiz__wheel-item.is-active {
  color: #2a3148;
  background: #fff;
}

.quiz__wheel-shade {
  pointer-events: none;
  position: absolute;
  inset: 88px 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.quiz__event-date-unknown {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  padding: 10px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: var(--sub);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.quiz__event-date-unknown:active {
  opacity: 0.75;
}

.quiz__event-date-picker {
  width: 100%;
  min-height: 236px;
}

.quiz__calendar {
  padding: 14px 12px 16px;
  border-radius: 20px;
  background: #eef0f3;
}

.quiz__calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.quiz__calendar-title {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #2a3148;
  text-transform: capitalize;
}

.quiz__calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  color: #2a3148;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(42, 49, 72, 0.06);
}

.quiz__calendar-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quiz__calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.quiz__calendar-weekday {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--sub);
}

.quiz__calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.quiz__calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #2a3148;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.quiz__calendar-day--pad {
  background: transparent;
  pointer-events: none;
}

.quiz__calendar-day.is-disabled {
  opacity: 0.28;
  background: transparent;
  cursor: not-allowed;
}

.quiz__calendar-day:not(.is-disabled):not(.quiz__calendar-day--pad):hover {
  border-color: var(--line);
}

.quiz__calendar-day.is-selected {
  border-color: var(--acc);
  background: var(--sel);
  color: #1a6b3c;
}

@media (hover: hover) and (pointer: fine) {
  .quiz__calendar-day {
    min-height: 44px;
  }
}

.quiz:has(.quiz__scale-likert) [data-body] {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 calc(20px + env(safe-area-inset-bottom));
}

.quiz__scale-likert {
  width: 100%;
  margin: 0;
  transform: translateY(clamp(-24px, -6dvh, -8px));
}

.quiz__scale-likert-card {
  padding: 8px;
  border-radius: 20px;
  background: #eef0f3;
}

.quiz__scale-likert-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  padding: 0;
}

.quiz__scale-likert-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 0 rgba(42, 49, 72, 0.04);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.quiz__scale-likert-btn.is-selected {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green), 0 1px 0 rgba(42, 49, 72, 0.04);
}

.quiz__scale-likert-btn:active {
  transform: scale(0.97);
}

.quiz__scale-likert-icon {
  display: block;
  width: calc(44px * 1.15);
  height: calc(44px * 1.15);
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
}

.quiz__scale-likert-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 6px;
  padding: 0 2px;
}

.quiz__scale-likert-label-spacer {
  display: block;
}

.quiz__scale-likert-edge {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--sub);
}

.quiz__scale-likert-edge.is-end {
  text-align: right;
}

.quiz__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quiz__chip {
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.quiz__chip.is-selected {
  background: var(--selected);
  color: #1a5c36;
}

.quiz__stack--body-map {
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.quiz__body-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.quiz__body-map-stage {
  position: relative;
  flex: 0 1 auto;
  width: min(100%, calc(50dvh * 3 / 5), 280px);
  max-height: min(50vh, 50dvh);
  aspect-ratio: 3 / 5;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

.quiz__body-map-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.quiz__body-map-all-glow,
.quiz__body-map-zones {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: var(--body-map-mask);
  mask-image: var(--body-map-mask);
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Kūno žemėlapio švytėjimas – ta pati raudona kaip prognozės „Dabar“ (#e84855). */
@keyframes quiz-body-zone-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.85;
  }
}

.quiz__body-map-all-glow {
  opacity: 0;
  transition: opacity 280ms ease;
  background: radial-gradient(
    ellipse 72% 88% at 50% 42%,
    rgba(229, 72, 77, 0.75) 0%,
    rgba(229, 72, 77, 0.2) 48%,
    rgba(229, 72, 77, 0) 82%
  );
}

.quiz__body-map-all-glow.is-active {
  animation: quiz-body-zone-pulse 1.6s ease-in-out infinite;
}

.quiz__body-blob {
  position: absolute;
  opacity: 0;
  transform: scale(0.92);
  transition: transform 250ms ease;
  background: radial-gradient(
    ellipse at center,
    rgba(229, 72, 77, 0.75) 0%,
    rgba(229, 72, 77, 0.12) 55%,
    rgba(229, 72, 77, 0) 88%
  );
  border: none;
}

.quiz__body-blob.is-active {
  transform: scale(1);
  animation: quiz-body-zone-pulse 1.6s ease-in-out infinite;
}

.quiz__question-sub {
  margin: -6px 0 14px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--sub);
  text-align: center;
}

.quiz__body-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  flex-shrink: 0;
}

.quiz__body-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.quiz__body-chip.is-selected {
  border-color: var(--acc);
  background: var(--acc);
  color: #fff;
}

.quiz:has(.quiz__stack--body-map) [data-body] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 4px;
}

.quiz__sticky-actions--body-map {
  margin-top: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--bg);
}

.quiz__target-top {
  margin-bottom: 8px;
}

.quiz__target-top .quiz__slider-head {
  margin-bottom: 12px;
}

.quiz__target-top .quiz__field--stepper {
  margin-bottom: 4px;
}

/* —— Value dial (height, weight, target) —— */
.quiz__dial {
  gap: 0;
}

.quiz__dial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 18px;
  padding: 0 2px;
  touch-action: manipulation;
}

.quiz__dial-btn {
  flex: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #2a3148;
  font-family: inherit;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e1e4ea;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.quiz__dial-btn:active {
  background: var(--selected);
}

.quiz__dial-value-wrap {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.quiz__dial-value {
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: inherit;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #2a3148;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.quiz__dial-value:active {
  background: rgba(229, 246, 235, 0.6);
}

.quiz__dial-unit {
  font-size: 20px;
  font-weight: 600;
  color: #6d7785;
}

.quiz__dial .quiz__weight-ruler-viewport {
  margin: 0 0 18px;
}

.quiz__dial-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 4px 0 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--selected);
}

.quiz__dial-info-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.quiz__dial-info-icon img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(44, 51, 72, 0.18));
}

.quiz__dial-info-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #3d4659;
}

.quiz__stack--target .quiz__target-compare {
  margin-top: 8px;
}

.quiz__sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 20px -16px 0;
  padding: 16px 16px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, var(--bg) 28%);
}

.quiz__sticky-actions--insight-pending {
  display: none;
}

.quiz__sticky-actions .quiz__btn {
  margin-top: 0;
  box-shadow: 0 4px 20px rgba(31, 157, 87, 0.22);
}

.quiz:has(.quiz__sticky-actions) [data-body] {
  padding-bottom: 8px;
}

.quiz__weight-ruler {
  position: relative;
  margin: 8px 0 20px;
  padding: 0 4px;
}

.quiz__weight-ruler-viewport {
  position: relative;
  height: 72px;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, #fafbfc 0%, #eceff3 100%);
  box-shadow: inset 0 2px 0 #fff, inset 0 -1px 0 #d8dde5;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.quiz__weight-ruler-viewport.is-dragging {
  cursor: grabbing;
}

.quiz__weight-ruler-strip {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  will-change: transform;
}

.quiz__weight-ruler-tick {
  position: absolute;
  bottom: 22px;
  width: 1px;
  height: 10px;
  background: #b8c0cb;
  transform: translateX(-50%);
}

.quiz__weight-ruler-tick.is-half {
  height: 6px;
  bottom: 24px;
  background: #d0d6de;
}

.quiz__weight-ruler-tick.is-major {
  height: 16px;
  width: 2px;
  background: #8b95a3;
}

.quiz__weight-ruler-num {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #6d7785;
  white-space: nowrap;
}

.quiz__weight-ruler-needle-center {
  position: absolute;
  bottom: 6px;
  left: 50%;
  z-index: 3;
  width: 4px;
  height: 34px;
  margin-left: -2px;
  border-radius: 2px 2px 0 0;
  background: var(--green);
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(31, 157, 87, 0.35);
  pointer-events: none;
}

.quiz__weight-ruler-needle-center::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px #fff;
}

.quiz__target-compare {
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: #fff;
}

.quiz__target-compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 8px;
  margin-bottom: 16px;
}

.quiz__target-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quiz__target-col--goal {
  text-align: right;
  align-items: flex-end;
}

.quiz__target-col-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #8b95a8;
}

.quiz__target-col-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #fff, 0 1px 3px rgba(42, 49, 72, 0.15);
}

.quiz__target-col-dot--now {
  background: #e84855;
}

.quiz__target-col-dot--goal {
  background: var(--green);
}

.quiz__target-col-kg {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #2a3148;
}

.quiz__target-col--goal .quiz__target-col-kg {
  color: var(--green);
}

.quiz__target-col-bmi {
  font-size: 14px;
  font-weight: 500;
  color: #8b95a8;
}

.quiz__target-arrow {
  align-self: center;
  padding-top: 18px;
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
}

.quiz__target-bmi-bar {
  position: relative;
  margin-bottom: 14px;
  padding-top: 4px;
}

.quiz__target-bmi-bar .quiz__bmi-track {
  margin: 0;
  position: relative;
}

.quiz__target-bmi-marker {
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.quiz__target-bmi-marker--now {
  z-index: 2;
}

.quiz__target-bmi-marker--goal {
  z-index: 1;
}

.quiz__bmi-track.is-markers-overlap .quiz__target-bmi-marker--goal {
  z-index: 3;
}

.quiz__bmi-track.is-markers-overlap .quiz__target-bmi-marker--now {
  z-index: 2;
}

.quiz__target-bmi-dot {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(42, 49, 72, 0.22);
}

.quiz__target-bmi-dot--now {
  border: 2px solid #fff;
  background: #e84855;
}

.quiz__target-bmi-dot--goal {
  border: 2px solid #fff;
  background: var(--green);
}

.quiz__target-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  background: #e8f7ee;
}

.quiz__target-banner-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  font-size: 18px;
  color: #e05d7a;
  line-height: 1;
}

.quiz__target-banner-text {
  margin: 0;
  padding-top: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #2a3148;
}

.quiz__bmi-scale {
  position: relative;
  padding-top: 50px;
  margin: 8px 0 14px;
}

.quiz__bmi-pin {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.quiz__bmi-tip {
  position: relative;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(31, 157, 87, 0.35);
}

.quiz__bmi-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--green);
  transform: rotate(45deg);
  border-radius: 2px;
}

.quiz__bmi-pin--under .quiz__bmi-tip,
.quiz__bmi-pin--under .quiz__bmi-tip::after {
  background: #5aa8e8;
  box-shadow: 0 4px 14px rgba(90, 168, 232, 0.35);
}

.quiz__bmi-pin--over .quiz__bmi-tip,
.quiz__bmi-pin--over .quiz__bmi-tip::after {
  background: #e8a84a;
  box-shadow: 0 4px 14px rgba(232, 168, 74, 0.35);
}

.quiz__bmi-pin--obese .quiz__bmi-tip,
.quiz__bmi-pin--obese .quiz__bmi-tip::after {
  background: #e76a6a;
  box-shadow: 0 4px 14px rgba(231, 106, 106, 0.35);
}

.quiz__bmi-dot {
  width: 22px;
  height: 22px;
  margin-top: 10px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 2px 10px rgba(42, 49, 72, 0.18);
}

.quiz__bmi-pin--under .quiz__bmi-dot {
  background: #5aa8e8;
}

.quiz__bmi-pin--over .quiz__bmi-dot {
  background: #e8a84a;
}

.quiz__bmi-pin--obese .quiz__bmi-dot {
  background: #e76a6a;
}

.quiz__bmi-track {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #5aa8e8 0%,
    #5aa8e8 12%,
    #72d492 16%,
    #8fe0a8 38%,
    #f2c96a 42%,
    #f2c96a 50%,
    #f0a858 50%,
    #f0a858 58%,
    #e86868 62%,
    #e86868 100%
  );
  box-shadow:
    0 0 0 1px rgba(42, 49, 72, 0.12),
    0 2px 5px rgba(42, 49, 72, 0.06);
}

.quiz__bmi-zone-labels {
  position: relative;
  height: 28px;
  margin: 0 0 22px;
}

.quiz__target-bmi-bar .quiz__bmi-zone-labels {
  margin: 8px 0 0;
}

.quiz__bmi-zone-label {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--sub);
  white-space: nowrap;
  opacity: 0.72;
}

.quiz__bmi-zone-label.is-active {
  color: #2a3148;
  opacity: 1;
}

.quiz__bmi-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 4px;
  border-right: 1px solid #e0e4ea;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: #8b95a8;
}

.quiz__bmi-label:last-child {
  border-right: 0;
}

.quiz__bmi-label.is-active {
  margin: 0 2px;
  border: 0;
  border-radius: 999px;
  background: #e5f6eb;
  color: #1a5c36;
  font-weight: 600;
}

.quiz__bmi-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 18px;
  background: #e8f7ee;
  border: 1px solid #d4ebdd;
}

.quiz__bmi-card--under {
  background: #eef6fc;
  border-color: #d3e6f5;
}

.quiz__bmi-card--over {
  background: #fdf6e8;
  border-color: #f0e0c8;
}

.quiz__bmi-card--obese {
  background: #fdf0f0;
  border-color: #f0d4d4;
}

.quiz__bmi-card-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.quiz__bmi-card-icon svg {
  width: 22px;
  height: 22px;
}

.quiz__bmi-card--under .quiz__bmi-card-icon {
  background: #5aa8e8;
}

.quiz__bmi-card--over .quiz__bmi-card-icon {
  background: #e8a84a;
}

.quiz__bmi-card--obese .quiz__bmi-card-icon {
  background: #e76a6a;
}

.quiz__bmi-card-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #1a5c36;
}

.quiz__bmi-card--under .quiz__bmi-card-title {
  color: #2a6a9c;
}

.quiz__bmi-card--over .quiz__bmi-card-title {
  color: #9a6a1a;
}

.quiz__bmi-card--obese .quiz__bmi-card-title {
  color: #a63a3a;
}

.quiz__bmi-card-text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #5a6575;
}

.quiz__forecast {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz__forecast-head {
  text-align: center;
  padding: 0 12px;
  margin-bottom: 6px;
}

.quiz__forecast-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.03em;
  color: #2a3148;
  text-wrap: balance;
}

.quiz__forecast-accent {
  color: var(--green);
}

.quiz__forecast-grid-v--bg {
  stroke: #eceff4;
  stroke-dasharray: none;
}

.quiz__forecast-line-glow {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.9s cubic-bezier(0.33, 1, 0.68, 1);
}

.quiz__forecast-kg-label {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  fill: #8b95a8;
}

.quiz__forecast-kg-label--goal {
  fill: var(--green);
}

.quiz__forecast-axis {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  fill: #b0b8c5;
}

.quiz__forecast-axis--goal {
  fill: var(--green);
}

.quiz__forecast-axis--occasion {
  fill: #c47a12;
  font-weight: 700;
  font-size: 10px;
}

.quiz__forecast-occasion {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.quiz__forecast-occasion.is-visible {
  opacity: 1;
}

.quiz__forecast-pill-bg--occasion {
  fill: #fff;
  stroke: #f0c23b;
  stroke-width: 1;
}

.quiz__forecast-pill-title--occasion {
  fill: #9a5a10;
}

.quiz:has(.quiz__forecast-benefits) {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

.quiz:has(.quiz__forecast) [data-body] {
  padding-bottom: 0;
}

.quiz:has(.quiz__forecast-benefits) .quiz__disclaimer {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.35;
}

.quiz__forecast-benefits {
  margin: 12px 2px 2px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.quiz__forecast-benefit {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.quiz__forecast-benefit-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-height: 24px;
  font-size: 19px;
  line-height: 1;
}

.quiz__forecast-benefit-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.quiz__forecast-benefit-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.32;
  color: #3d4659;
}

.quiz__forecast-benefit.is-lead .quiz__forecast-benefit-text {
  font-weight: 600;
  font-size: 14px;
  color: #2a3148;
}

@media (max-width: 480px) {
  .quiz__forecast {
    gap: 6px;
  }

  .quiz__forecast-head {
    margin-bottom: 0;
    padding: 0 4px;
  }

  .quiz__forecast-title {
    font-size: 19px;
    line-height: 1.28;
  }

  .quiz__forecast-chart {
    margin: 0;
    width: 100%;
  }

  .quiz__forecast-svg {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 360 / 228;
  }

  .quiz__forecast-benefits {
    margin: 8px 0 0;
    gap: 8px;
  }

  .quiz__forecast-benefit {
    gap: 8px;
  }

  .quiz__forecast-benefit-icon {
    width: 22px;
    min-height: 22px;
    font-size: 17px;
  }

  .quiz__forecast-benefit-text {
    font-size: 13px;
    line-height: 1.3;
  }

  .quiz__forecast-benefit.is-lead .quiz__forecast-benefit-text {
    font-size: 13px;
  }

  .quiz:has(.quiz__forecast-benefits) {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .quiz:has(.quiz__forecast-benefits) .quiz__sticky-actions {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
  }
}

.quiz__forecast-chart {
  width: 100%;
  margin: 0;
  padding-bottom: 4px;
  overflow: visible;
}

.quiz__forecast-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  aspect-ratio: 360 / 228;
}

.quiz__forecast-panel {
  fill: #fff;
  filter: drop-shadow(0 8px 24px rgba(44, 51, 72, 0.08));
}

.quiz__forecast-grid-h {
  stroke: #e2e6ed;
  stroke-width: 1;
  stroke-dasharray: 5 6;
}

.quiz__forecast-grid-v {
  stroke: #dde1e9;
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

.quiz__forecast-line,
.quiz__forecast-line-glow {
  transition: none;
}

.quiz__forecast-area {
  opacity: 0;
  transition: opacity 0.9s ease 0.6s;
}

.quiz__forecast-area.is-visible {
  opacity: 1;
}

.quiz__forecast-dot {
  opacity: 0;
  transform-origin: center;
  transform: scale(0.85);
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quiz__forecast-dot.is-visible {
  opacity: 1;
  transform: scale(1);
}

.quiz__forecast-traveler {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(31, 157, 87, 0.55));
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.quiz__forecast-traveler.is-done {
  opacity: 0;
}

.quiz__forecast-dot-halo {
  filter: drop-shadow(0 2px 4px rgba(44, 51, 72, 0.12));
}

.quiz__forecast-week {
  text-anchor: middle;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  fill: #7a8494;
}

.quiz__forecast-pill {
  opacity: 0;
  animation: forecast-pill-in 0.45s ease forwards;
  animation-play-state: paused;
}

.quiz__forecast-pill.is-visible {
  animation-play-state: running;
}

@keyframes forecast-pill-in {
  to {
    opacity: 1;
  }
}

.quiz__forecast-pill-bg {
  filter: drop-shadow(0 4px 10px rgba(44, 51, 72, 0.14));
}

.quiz__forecast-pill-bg--start {
  fill: #fff;
  stroke: #f0d4d7;
  stroke-width: 1;
}

.quiz__forecast-pill-bg--goal {
  fill: #fff;
  stroke: #c8ead6;
  stroke-width: 1;
}

.quiz__forecast-pill-title {
  text-anchor: middle;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  fill: #5a6575;
}

.quiz__forecast-pill:has(.quiz__forecast-pill-bg--start) .quiz__forecast-pill-title {
  fill: #c73d4a;
}

.quiz__forecast-pill:has(.quiz__forecast-pill-bg--goal) .quiz__forecast-pill-title {
  fill: #1a7a45;
}

.quiz__forecast-pill-kg {
  text-anchor: middle;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 800;
  fill: #2a3148;
}

.quiz__chart svg {
  width: 100%;
  height: auto;
}

.quiz:has(.quiz__summary-lifestyle) .quiz__question--screen {
  text-align: center;
}

.quiz:has(.quiz__summary-lifestyle) {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.quiz:has(.quiz__summary-lifestyle) [data-body] {
  padding-bottom: 12px;
}

.quiz:has(.quiz__summary-lifestyle) .quiz__disclaimer {
  margin-top: 4px;
  padding-bottom: 4px;
}

.quiz__question--screen + .quiz__question-sub {
  margin-top: -10px;
  margin-bottom: 12px;
  text-align: center;
}

.quiz__summary-lifestyle {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz__summary-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  width: 100%;
}

.quiz__summary-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
}

.quiz__summary-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.quiz__summary-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 46%;
  padding: 5px 9px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 12px rgba(42, 49, 72, 0.1);
  font-size: 11px;
  font-weight: 700;
  color: #2a3148;
}

.quiz__summary-badge--tl {
  top: 20%;
  left: 0;
}

.quiz__summary-badge--tr {
  top: 20%;
  right: 0;
}

.quiz__summary-badge--bl {
  bottom: 14%;
  left: 0;
}

.quiz__summary-badge--br {
  bottom: 14%;
  right: 0;
}

.quiz__summary-badge-icon {
  flex: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.quiz__summary-badge-label {
  line-height: 1.15;
}

.quiz__summary-uplift {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--selected);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #1a5c36;
}

.quiz__summary-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quiz__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
  max-height: 60px;
  padding: 6px 10px 6px 6px;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.quiz__summary-row-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.quiz__summary-row-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.quiz__summary-row-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.quiz__summary-row-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  color: #2a3148;
}

.quiz__summary-row-right {
  flex: none;
  width: 48%;
  max-width: 168px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
  padding-top: 1px;
}

.quiz__summary-row-value {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: right;
  color: var(--sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(-1px);
}

.quiz__summary-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e8ebf0;
  overflow: hidden;
}

.quiz__summary-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 0.35s ease;
}

.quiz__summary-bar-fill.is-good {
  background: #1f9d55;
}

.quiz__summary-bar-fill.is-mid {
  background: #e9b93a;
}

.quiz__summary-bar-fill.is-bad {
  background: #e5484d;
}

.quiz__summary-plan {
  margin-bottom: 4px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #e8f5ee;
  box-shadow: 0 4px 18px rgba(31, 157, 85, 0.06);
}

.quiz__summary-plan-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #2a3148;
}

.quiz__summary-plan-list {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz__summary-plan-item {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #3d4659;
}

.quiz__mid-analysis {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin: 4px 0 8px;
}

.quiz__mid-ring {
  position: relative;
  align-self: center;
  width: 140px;
  height: 140px;
  margin: 4px 0 6px;
}

.quiz__mid-ring-svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.quiz__mid-ring-bg {
  fill: none;
  stroke: #e8ecf0;
  stroke-width: 8;
}

.quiz__mid-ring-fill {
  fill: none;
  stroke: var(--green);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 80ms linear;
}

.quiz__mid-ring-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #2a3148;
  pointer-events: none;
}

.quiz__mid-analysis-lines {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz__mid-analysis-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(42, 49, 72, 0.05);
  min-height: 64px;
}

.quiz__mid-line-icon {
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.quiz__mid-line-text {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #8a939c;
}

.quiz__mid-analysis-line.is-done .quiz__mid-line-text {
  color: #2a3148;
}

.quiz__mid-line-mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #e0e5eb;
  background: transparent;
}

.quiz__mid-analysis-line.is-done .quiz__mid-line-mark {
  border: none;
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.25 8.25 6.5 11.5 12.75 4.75' fill='none' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.quiz__mid-tip {
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #e8f7ee;
  border: 1px solid #cdebd6;
}

.quiz__mid-tip-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--green-dark);
}

.quiz__mid-tip-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #1f6b3c;
}

.quiz__mid-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 280ms ease;
}

.quiz__mid-sheet-backdrop.is-visible {
  background: rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.quiz__mid-sheet {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--card);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 300ms ease-out;
}

.quiz__mid-sheet-backdrop.is-visible .quiz__mid-sheet {
  transform: translateY(0);
}

.quiz__mid-sheet-hint {
  margin: 0 4px 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--sub);
}

.quiz__mid-sheet-q {
  margin: 0 4px 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.quiz__mid-sheet-actions {
  display: flex;
  gap: 12px;
}

.quiz__mid-sheet-btn {
  flex: 1;
  min-height: 52px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.quiz__mid-sheet-btn--no {
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--line);
}

.quiz__mid-sheet-btn--yes {
  background: var(--acc);
  color: #fff;
}

.quiz__diet-yoyo {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 8px;
}

.quiz__yoyo-chart {
  padding: 0;
  border-radius: 16px;
  background: #faf9f7;
  box-shadow: 0 1px 0 rgba(30, 42, 74, 0.06), 0 8px 24px rgba(30, 42, 74, 0.06);
  overflow: hidden;
}

.quiz__yoyo-chart-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.quiz__yoyo-studies {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quiz__yoyo-study {
  display: grid;
  grid-template-columns: 88px 1px 1fr;
  gap: 14px;
  align-items: center;
}

.quiz__yoyo-study-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 56px;
  flex: none;
}

.quiz__yoyo-study-logo img {
  display: block;
  max-width: 86px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.quiz__yoyo-study-rule {
  width: 1px;
  align-self: stretch;
  min-height: 48px;
  background: #e2e7ee;
}

.quiz__yoyo-study-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--sub);
}

.quiz:has(.quiz__diet-yoyo) [data-body] {
  padding-bottom: 88px;
}

.quiz:has(.quiz__loader) [data-body] {
  padding-bottom: 8px;
}

.quiz:has(.quiz__loader) .quiz__disclaimer {
  margin-top: 8px;
}

.quiz__loader {
  width: 100%;
  margin: 4px 0 0;
}

.quiz__loader-head {
  margin: 0 0 22px;
}

.quiz__loader-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--text);
}

.quiz__loader-title-line {
  display: block;
}

.quiz__loader-title-acc {
  display: block;
  color: var(--acc);
}

.quiz__loader-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiz__loader-step {
  margin: 0 0 16px;
  opacity: 0.45;
  transition: opacity 0.28s ease;
}

.quiz__loader-step.is-active,
.quiz__loader-step.is-done {
  opacity: 1;
}

.quiz__loader-step-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.quiz__loader-step-icon {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  object-fit: contain;
}

.quiz__loader-step-label {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

.quiz__loader-step-pct {
  flex: none;
  min-width: 40px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  color: var(--sub);
}

.quiz__loader-step-pct.is-check {
  font-size: 16px;
  color: var(--acc);
}

.quiz__loader-step-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}

.quiz__loader-step-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--acc);
  transition: width 0.12s linear;
}

.quiz__loader-plan {
  margin-top: 8px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 2px 12px rgba(42, 49, 72, 0.06);
}

.quiz__loader-plan-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sub);
}

.quiz__loader-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.quiz__loader-plan-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.quiz__loader-plan-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.quiz__loader-plan-icon {
  flex: none;
  width: 22px;
  height: 22px;
  object-fit: contain;
  object-position: center;
}

.quiz__loader-plan-icon--meals {
  width: 30px;
  height: 30px;
  margin: -4px 0 -2px -3px;
  object-fit: contain;
  object-position: center;
}

.quiz__loader-plan-value {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  color: var(--text);
}

.quiz__btn--pending:disabled {
  opacity: 0.5;
  box-shadow: none;
}

.quiz--fade {
  animation: quizFade 0.25s ease;
}

@keyframes quizFade {
  from { opacity: 0.6; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 520px) {
  .phone {
    box-shadow: 0 0 0 1px #e1e4ea;
  }
}

@media (max-width: 380px) {
  .quiz__question { font-size: 26px; }
  .quiz__photo { width: 88px; height: 61px; }
}

.legal-doc {
  max-width: 560px;
  margin: 32px auto;
  padding: 0 16px 48px;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text, #2c3348);
}

.legal-doc h1 {
  font-size: 22px;
  margin: 0 0 8px;
}

.legal-doc h2 {
  font-size: 17px;
  margin: 28px 0 10px;
}

.legal-doc p,
.legal-doc ul {
  margin: 0 0 12px;
}

.legal-doc ul {
  padding-left: 1.25rem;
}

.legal-doc a {
  color: var(--green-dark, #1a6b3c);
}

.legal-updated {
  color: var(--sub, #5a6575);
  margin-bottom: 20px;
}

.legal-back {
  margin-top: 32px;
}
