/* Headless quiz shell — fullscreen white canvas + centered card.
 * Must beat legacy dnk-quiz-style.css (#F5F3F0 intro sides, card chrome). */

html:has(.quiz-outer-wrapper),
html:has(.quiz-intro-wrapper),
body:has(.quiz-outer-wrapper),
body:has(.quiz-intro-wrapper),
body:not(.elementor-editor-active):has(.quiz-outer-wrapper),
body:not(.elementor-editor-active):has(.quiz-intro-wrapper) {
  background: #ffffff !important;
}

body:has(.quiz-outer-wrapper) > header,
body:has(.quiz-intro-wrapper) > header {
  display: none !important;
}

body:has(.quiz-outer-wrapper),
body:has(.quiz-intro-wrapper) {
  margin: 0 !important;
  overflow: hidden !important;
}

body:not(.elementor-editor-active) .quiz-outer-wrapper,
body:has(.quiz-outer-wrapper) .quiz-outer-wrapper {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  background: #ffffff !important;
  z-index: 9999 !important;
  padding: env(safe-area-inset-top) 16px max(20px, env(safe-area-inset-bottom)) !important;
  box-sizing: border-box !important;
}

body:not(.elementor-editor-active) .quiz-intro-wrapper,
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  /* color only — shorthand `background` would wipe inline / CSS-var image */
  background-color: #ffffff !important;
  z-index: 10000 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: center !important;
  overflow-y: auto !important;
  padding: env(safe-area-inset-top) 16px max(72px, env(safe-area-inset-bottom) + 52px) !important;
  box-sizing: border-box !important;
}

/* Intro background image from CMS (non-hair — hair uses its own bottom/cover rules) */
body:not(.elementor-editor-active) .quiz-intro-wrapper.has-intro-bg:not(.quiz-intro-wrapper--hair),
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper.has-intro-bg:not(.quiz-intro-wrapper--hair) {
  background: var(--intro-bg-desktop) center center / cover no-repeat transparent !important;
  background-attachment: scroll !important;
  min-height: 100dvh !important;
}

@media (max-width: 767px) {
  body:not(.elementor-editor-active)
    .quiz-intro-wrapper.has-intro-bg:not(.quiz-intro-wrapper--hair),
  body:has(.quiz-intro-wrapper) .quiz-intro-wrapper.has-intro-bg:not(.quiz-intro-wrapper--hair) {
    background: var(--intro-bg-mobile, var(--intro-bg-desktop)) center center / cover no-repeat
      transparent !important;
    background-attachment: scroll !important;
  }
}

/* Trust line under logo — DNK / WL card intros only (hair uses dnk-quiz-hair-intro.css) */
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .quiz-intro-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  text-align: center;
}

body:has(.quiz-intro-wrapper)
  .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair)
  .quiz-intro-trust-stars {
  display: inline-flex;
  gap: 1px;
  color: #e8a317;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.5px;
}

body:has(.quiz-intro-wrapper)
  .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair)
  .quiz-intro-trust-text {
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: #555555;
}

/* DNK / WL intro: first line bold, second line light (CMS headline HTML) */
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .title {
  font-weight: 300;
  /* Legacy sheet uses margin-bottom: -20px for a subtitle; without one it overlaps the CTAs. */
  margin-bottom: 16px !important;
}
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .title b,
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .title strong {
  font-weight: 700;
}

body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .sub_title {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  color: #000;
  text-align: center;
}

/* DNK / WL intro meta + legal line — black like the headline */
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .quiz-meta,
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .quiz-length,
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .quiz-gdpr,
body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .quiz-gdpr-mini {
  color: #000;
}

body:has(.quiz-intro-wrapper) .quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .quiz-gdpr-mini {
  margin-top: 12px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 300;
  text-align: center;
}

/* Next / Back — fixed footer with white→transparent fade (legacy dnk-quiz) */
body:has(.quiz-outer-wrapper) .dnkqz-quiz-nav {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 30 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 0 !important;
  /* Short fade sits in this top pad only */
  padding: 28px 16px 20px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  background: transparent !important;
}

/* Solid white under buttons; short fade just above Naprej */
body:has(.quiz-outer-wrapper) .dnkqz-quiz-nav::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  /* ~button stack (~110px) + short 28px fade */
  height: 140px !important;
  pointer-events: none !important;
  z-index: -1 !important;
  background: linear-gradient(
    to top,
    #ffffff 0%,
    #ffffff 80%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-nav .dnkqz-quiz-btn {
  order: 1;
  width: min(100%, 220px) !important;
  height: 50px !important;
  border-radius: 999px !important;
  background: #35ac5a !important;
  color: #fff !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-family: var(--font-fira), 'Fira Sans', sans-serif !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-nav .dnkqz-quiz-btn .dnkqz-btn-arrow {
  font-family: 'Segoe UI Symbol', 'Arial Unicode MS', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  color: #fff !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-nav .dnkqz-quiz-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-back-btn-wrap {
  order: 2;
  position: static !important;
  left: auto !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-back-btn-wrap .dnkqz-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 8px !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  color: #bdbdbd !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  font-family: var(--font-fira), 'Fira Sans', sans-serif !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-back-btn-wrap .dnkqz-back-chevron {
  font-family: 'Segoe UI Symbol', 'Arial Unicode MS', sans-serif !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  color: #bdbdbd !important;
  transform: translateY(-1px);
}

body:has(.quiz-outer-wrapper) .dnkqz-back-btn-wrap .dnkqz-back-btn-label {
  color: #bdbdbd !important;
  font-weight: 300 !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-back-btn-wrap .dnkqz-back-btn img {
  display: none !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-back-btn-wrap .dnkqz-back-btn-label {
  color: #ccc !important;
  font-size: 16px !important;
  font-weight: 300 !important;
}

body:has(.quiz-outer-wrapper) .dnk-quiz-outer-wrapper {
  width: 100% !important;
  max-width: 800px !important;
  height: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  background: #ffffff !important;
}

body:has(.quiz-outer-wrapper) .dnk-quiz-outer-wrapper .top-section {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 800px !important;
}

/* One brand-mark size across weight-loss / hair / DNK (overrides per-kind sheets). */
body:has(.quiz-outer-wrapper) .dnk-quiz-logo,
.dnk-quiz-outer-wrapper--hair.dnkqz-hair-quiz-active .top-section .dnk-quiz-logo,
.dnk-quiz-outer-wrapper--hair.has-hair-motivation-intro.dnkqz-hair-quiz-active
  .top-section
  .dnk-quiz-logo {
  width: 160px !important;
  max-width: 160px !important;
  margin-top: 24px !important;
  margin-bottom: 8px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Hair quiz: space above the logo (hair sheet zeros margin-top). */
.dnk-quiz-outer-wrapper--hair.dnkqz-hair-quiz-active {
  padding-top: max(24px, env(safe-area-inset-top, 0px)) !important;
}

body:not(.elementor-editor-active)
  .quiz-outer-wrapper:has(.dnk-quiz-outer-wrapper--hair.dnkqz-hair-quiz-active) {
  padding-top: max(16px, env(safe-area-inset-top, 0px)) !important;
}

body:has(.quiz-outer-wrapper) .dnk-quiz-logo .quiz-intro-logo,
body:has(.quiz-outer-wrapper) .dnk-quiz-logo img,
.dnk-quiz-outer-wrapper--hair.dnkqz-hair-quiz-active .top-section .dnk-quiz-logo img,
.dnk-quiz-outer-wrapper--hair.dnkqz-hair-quiz-active .top-section .quiz-intro-logo {
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

.quiz-intro-wrapper--hair .quiz-intro-hair-logo-img,
.email-collection-hair-logo img {
  width: auto !important;
  max-width: 160px !important;
  max-height: none !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Hair email capture: one centered column (chrome logo hidden in hair-intro.css) */
body:has(.quiz-outer-wrapper) #dnkqz-email-collection.email-collection-hair {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-hair
  .email-collection-content {
  width: 100% !important;
  max-width: 420px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* DNK / DNK Pro email capture — 520px column + logo */
body:has(.quiz-outer-wrapper) #dnkqz-email-collection.email-collection-dnk {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  padding-top: 24px !important;
}

body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-dnk
  .email-collection-content {
  width: 100% !important;
  max-width: 520px !important;
  margin: 24px auto 0 !important;
  text-align: center !important;
}

body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-dnk
  .email-collection-hair-logo {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto 28px !important;
}

body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-dnk
  .email-collection-hair-logo
  img {
  width: auto !important;
  max-width: 160px !important;
  height: auto !important;
}

body:has(.quiz-outer-wrapper) #dnkqz-email-collection.email-collection-dnk .email-collection-title {
  font-size: 28px !important;
  font-weight: 300 !important;
  line-height: 1.3 !important;
  color: #000 !important;
  margin: 0 0 14px !important;
}

body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-dnk
  .email-collection-title
  b,
body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-dnk
  .email-collection-title
  strong {
  font-weight: 700 !important;
  color: #000 !important;
}

body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-dnk
  .email-collection-description {
  font-size: 16px !important;
  font-weight: 300 !important;
  color: #000 !important;
  line-height: 1.45 !important;
  margin: 0 0 28px !important;
  white-space: pre-line !important;
}

body:has(.quiz-outer-wrapper) #dnkqz-email-collection.email-collection-dnk .email-collection-form {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

body:has(.quiz-outer-wrapper) #dnkqz-email-collection.email-collection-dnk .email-collection-input {
  width: 100% !important;
  max-width: 340px !important;
  margin: 0 auto !important;
  padding: 10px 22px !important;
  border: 1px solid #ddd !important;
  border-radius: 9999px !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  text-align: left !important;
  box-sizing: border-box !important;
  color: #000 !important;
}

body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-dnk
  .email-collection-input::placeholder {
  color: #000 !important;
  opacity: 1 !important;
}

body:has(.quiz-outer-wrapper)
  #dnkqz-email-collection.email-collection-dnk
  .email-collection-privacy,
body:has(.quiz-outer-wrapper) #dnkqz-email-collection.email-collection-dnk .email-privacy-text {
  margin-top: 4px !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  color: #000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

body:has(.quiz-outer-wrapper) #dnkqz-email-collection.email-collection-dnk .email-privacy-icon {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget {
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  align-items: center !important;
  background: #ffffff !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-question-label,
body:has(.quiz-outer-wrapper) .dnkqz-content,
body:has(.quiz-outer-wrapper) .dnkqz-progress,
body:has(.quiz-outer-wrapper) .options_wrapper {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/*
 * Clear the fixed Next/Back + fade footer OUTSIDE the options scroller.
 * Padding inside `.options_wrapper` (overflow-y: auto) used to lengthen the
 * scrollbar track under Naprej; reserve the space on the widget instead so the
 * scrollbar ends above the buttons.
 */
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget {
  padding-bottom: 140px !important;
  box-sizing: border-box !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .options_wrapper {
  padding-bottom: 8px !important;
}

/* Hair content screens: no 160px phantom pad — scroll only with .dnkqz-can-scroll */
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-motivation-intro
  .options_wrapper,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-results-expectations
  .options_wrapper,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-goals-motivation
  .options_wrapper {
  padding-bottom: 8px !important;
  overflow-y: hidden !important;
}

body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-motivation-intro
  .options_wrapper.dnkqz-can-scroll,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-results-expectations
  .options_wrapper.dnkqz-can-scroll,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-goals-motivation
  .options_wrapper.dnkqz-can-scroll {
  overflow-y: auto !important;
}

body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-motivation-intro
  .options_wrapper.dnkqz-needs-footer-pad,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-results-expectations
  .options_wrapper.dnkqz-needs-footer-pad,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget.has-goals-motivation
  .options_wrapper.dnkqz-needs-footer-pad {
  padding-bottom: 20px !important;
}

/* Hair steps — match plugin Fira metrics */
body:has(.quiz-outer-wrapper) .dnk-quiz-outer-wrapper--hair {
  font-family: var(--font-fira), 'Fira Sans', sans-serif;
}

body:has(.quiz-outer-wrapper) .dnk-quiz-outer-wrapper--hair .dnkqz-question-label {
  font-family: var(--font-fira), 'Fira Sans', sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #1a1a1a !important;
}

body:has(.quiz-outer-wrapper) .dnk-quiz-outer-wrapper--hair .dnkqz-multiple-choise {
  font-family: var(--font-fira), 'Fira Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: #979797 !important;
  text-align: left !important;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

/* Image-grid steps keep the helper centered under the question */
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget:has(.options_wrapper.question-hair_length_female)
  .dnkqz-multiple-choise,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget:has(.options_wrapper.question-hair_length_male)
  .dnkqz-multiple-choise,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget:has(.options_wrapper.question-density_female)
  .dnkqz-multiple-choise,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-quiz-widget:has(.options_wrapper.question-density_male)
  .dnkqz-multiple-choise {
  text-align: center !important;
}

body:has(.quiz-outer-wrapper) .dnk-quiz-outer-wrapper--hair .dnkqz-hair-length-text {
  font-family: var(--font-fira), 'Fira Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
}

/* DNK / WL gender CTAs stacked, width = label */
.quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .quiz-intro-gender-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 8px;
}

/* Intro CTAs as real buttons (legacy used divs) — hair buttons styled in hair-intro.css */
.quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .start-quiz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: none;
  margin: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.quiz-intro-wrapper:not(.quiz-intro-wrapper--hair) .btnman {
  margin-bottom: 0 !important;
}

/*
 * Desktop legacy rule sets `padding: 12px 20px` on pills and kills the left reserve for the
 * ::before ring, so the circle sits on top of the label. Keep the ring + text clear always.
 * Image-card options (hair length / density / strand) have no ring — hair-intro.css owns them.
 */
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .dnkqz-radio:not(.consent-checkbox):not(.dnkqz-hair-length-option):not(.dnkqz-strand-option),
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget label.dnkqz-checkbox:not(.consent-checkbox) {
  position: relative !important;
  padding-left: 46px !important;
  box-sizing: border-box !important;
}

/* Strand pills — no extra ring inset from the generic text-radio rule */
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-radio.dnkqz-strand-option {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-radio input[type='radio'],
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-checkbox input[type='checkbox'] {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* Hair text radios: stack full-width so long SI labels don't collide with the ring.
 * Image grids (length / density / strand) keep the 2–3 column layout from hair-intro.css. */
@media (min-width: 768px) {
  body:has(.quiz-outer-wrapper)
    .dnk-quiz-outer-wrapper--hair
    .options_wrapper:not(.question-hair_length_female):not(.question-hair_length_male):not(
      .question-density_female
    ):not(.question-density_male):not(.question-strand)
    .options_radio,
  body:has(.quiz-outer-wrapper)
    .dnk-quiz-outer-wrapper--hair
    .options_wrapper:not(.question-hair_length_female):not(.question-hair_length_male):not(
      .question-density_female
    ):not(.question-density_male):not(.question-strand)
    .dnkqz-checkbox-options {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    float: none !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }

  body:has(.quiz-outer-wrapper)
    .dnk-quiz-outer-wrapper--hair
    .options_wrapper:not(.question-hair_length_female):not(.question-hair_length_male):not(
      .question-density_female
    ):not(.question-density_male):not(.question-strand)
    .dnkqz-radio,
  body:has(.quiz-outer-wrapper)
    .dnk-quiz-outer-wrapper--hair
    .options_wrapper:not(.question-hair_length_female):not(.question-hair_length_male):not(
      .question-density_female
    ):not(.question-density_male):not(.question-strand)
    label.dnkqz-checkbox {
    float: none !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
  }
}

/* Interstitial (no-answer) screens */
body:has(.quiz-outer-wrapper) .dnkqz-interstitial {
  width: 100%;
  max-width: 560px;
  margin: 12px auto 0;
  text-align: left;
  box-sizing: border-box;
  padding: 0 8px;
}

body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-interstitial.question-motivation_intro_female,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-interstitial.question-motivation_intro_male,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-interstitial.question-results_expectations_female,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .dnkqz-interstitial.question-results_expectations_male {
  max-width: 340px !important;
  padding: 0 !important;
  margin-top: 4px !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-headline {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 12px;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
  margin: 0 0 12px;
  white-space: pre-wrap;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-cta {
  font-size: 15px;
  font-weight: 500;
  color: #1fb15a;
  margin: 0 0 16px;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-card {
  display: flex;
  gap: 12px;
  align-items: stretch;
  background: #f7f8f9;
  border-radius: 12px;
  overflow: hidden;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-card-image {
  width: 112px;
  min-height: 112px;
  object-fit: cover;
  flex-shrink: 0;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-card-copy {
  padding: 12px 12px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-card-quote {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 300;
}

body:has(.quiz-outer-wrapper) .dnkqz-interstitial-card-author {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

body:has(.quiz-outer-wrapper) .dnkqz-option-image {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Hair length/density cards: kill thumbnail sizing from .dnkqz-option-image */
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .options_wrapper.question-hair_length_female
  .dnkqz-option-image.dnkqz-hair-length-image,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .options_wrapper.question-hair_length_male
  .dnkqz-option-image.dnkqz-hair-length-image {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  margin-right: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
  flex-shrink: 0 !important;
}

/* Density: fill card (no letterbox), crop to show head + shoulders */
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .options_wrapper.question-density_female
  .dnkqz-option-image.dnkqz-hair-length-image,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper--hair
  .options_wrapper.question-density_male
  .dnkqz-option-image.dnkqz-hair-length-image {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: calc(100% - 42px) !important;
  margin: 0 !important;
  margin-right: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  object-fit: cover !important;
  object-position: center 28% !important;
  background: #fff !important;
  flex: 1 1 0 !important;
  flex-shrink: 1 !important;
  align-self: stretch !important;
}

/* Generic thumbnail for inline option images — hair length/density cards size themselves in hair-intro.css */
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper:not(.question-hair_length_female):not(.question-hair_length_male):not(
    .question-density_female
  ):not(.question-density_male):not(.question-strand)
  .dnkqz-hair-length-image {
  width: 72px;
  height: 72px;
  border-radius: 12px;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper:not(.question-hair_length_female):not(.question-hair_length_male):not(
    .question-density_female
  ):not(.question-density_male):not(.question-strand)
  .dnkqz-radio--with-image {
  align-items: center;
}

/* Do not clamp hair hero — sizing lives in dnk-quiz-hair-intro.css */

/* DNK stats interstitial (layout=stats) — fixed 350px column */
body:has(.quiz-outer-wrapper) .dnkqz-interstitial.question-stats_after_goals,
body:has(.quiz-outer-wrapper) .dnkqz-interstitial:has(.ns-stats) {
  width: 350px !important;
  max-width: 350px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:has(.quiz-outer-wrapper) .ns-stats {
  width: 350px !important;
  max-width: 350px !important;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  box-sizing: border-box;
}
.ns-stats__title {
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 14px;
  color: #0b1f24;
}
.ns-stats__highlights {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 10px 0 18px;
}
.ns-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
}
.ns-stat__icon {
  grid-row: 1 / 3;
  color: #1aa374;
}
.ns-stat__value {
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
}
.ns-stat__text {
  font-size: 12px;
  line-height: 1.25;
  color: #4b5e63;
  white-space: pre-line;
}
.ns-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ns-bar__label {
  font-weight: 700;
  color: #0b1f24;
  margin-bottom: 6px;
}
.ns-bar__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.ns-bar__track {
  height: 14px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  flex: 1;
}
.ns-bar__before {
  height: 100%;
  background: #e39aa0;
}
.ns-bar__after {
  height: 100%;
  background: #0f6a67;
}
.ns-bar__nums {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #60757a;
  align-items: center;
  white-space: nowrap;
}

/* Finish loader: live #preloader_dnk is display:none until shown */
body:has(.quiz-outer-wrapper) #preloader_dnk[style*='display: flex'],
body:has(.quiz-outer-wrapper) #preloader_dnk[style*='display:flex'] {
  display: flex !important;
}

/* Tip / “Ali ste vedeli?” — same column width as answer pills, always centered */
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info-wrap,
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .options_wrapper .dnkqz-extra-info-wrap,
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .options_wrapper > .dnkqz-extra-info-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  float: none !important;
  clear: both !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info,
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .options_wrapper .dnkqz-extra-info,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper
  > .dnkqz-extra-info-wrap
  .dnkqz-extra-info {
  display: block !important;
  float: none !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 600px !important;
  margin: 20px auto !important;
  box-sizing: border-box !important;
  text-align: left;
}

/* Mobile: tip box on the same centered 320px axis as Naprej; copy centered under bulb */
@media (max-width: 767px) {
  body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .options_wrapper > .dnkqz-extra-info-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  body:has(.quiz-outer-wrapper)
    .dnkqz-quiz-widget
    .options_wrapper
    > .dnkqz-extra-info-wrap
    .dnkqz-extra-info {
    align-self: stretch !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-multiple-choise {
  text-align: center;
  color: #979797;
  font-size: 14px;
  font-weight: 300;
  margin: -4px 0 16px;
}

/* DNK + hair text steps: full-width left-aligned helper (WL stays centered) */
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper:not(.dnk-quiz-outer-wrapper--weightloss)
  .dnkqz-quiz-widget
  .dnkqz-multiple-choise {
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}

/* DNK + DNK Pro: answer pill line-height */
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper:not(.dnk-quiz-outer-wrapper--hair):not(
    .dnk-quiz-outer-wrapper--weightloss
  )
  .dnkqz-checkbox,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper:not(.dnk-quiz-outer-wrapper--hair):not(
    .dnk-quiz-outer-wrapper--weightloss
  )
  .dnkqz-checkbox-label,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper:not(.dnk-quiz-outer-wrapper--hair):not(
    .dnk-quiz-outer-wrapper--weightloss
  )
  .dnkqz-checkbox-label-text,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper:not(.dnk-quiz-outer-wrapper--hair):not(
    .dnk-quiz-outer-wrapper--weightloss
  )
  .dnkqz-radio,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper:not(.dnk-quiz-outer-wrapper--hair):not(
    .dnk-quiz-outer-wrapper--weightloss
  )
  .dnkqz-radio-label,
body:has(.quiz-outer-wrapper)
  .dnk-quiz-outer-wrapper:not(.dnk-quiz-outer-wrapper--hair):not(
    .dnk-quiz-outer-wrapper--weightloss
  )
  .dnkqz-radio-label-text {
  line-height: 16px;
}

/* Activity question — two-line pills (title + parenthetical detail) */
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-activity
  .dnkqz-question-label {
  text-align: left;
  font-weight: 300;
  color: #000;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .options_wrapper.question-activity .options_radio {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  float: none !important;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .options_wrapper.question-activity .dnkqz-radio {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  min-height: 56px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  padding-right: 18px !important;
  white-space: normal !important;
  line-height: 1.25 !important;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-activity
  .dnkqz-radio-label {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  line-height: 1.25 !important;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-activity
  .dnkqz-activity-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.25 !important;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-activity
  .dnkqz-option-main {
  font-size: 16px;
  font-weight: 300 !important;
  color: #0b1f24;
  line-height: 1.25;
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .options_wrapper.question-activity .dnkqz-radio,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-activity
  .dnkqz-radio-label,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-activity
  .dnkqz-radio-label-text,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-activity
  .dnkqz-activity-label {
  font-weight: 300 !important;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-activity
  .dnkqz-option-sub {
  font-size: 13px;
  font-weight: 300;
  color: #6b7a80;
  line-height: 1.3;
}

/* Tip title — black for DNK / hair (“Zakaj…”, “Ali ste vedeli?”) */
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info-title,
body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info-title strong {
  font-weight: 700;
  color: #000 !important;
}

@media (max-width: 767px) {
  body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info-title,
  body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info-title strong,
  body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info-content,
  body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info-content p {
    text-align: center !important;
  }
}

body:has(.quiz-outer-wrapper) .dnkqz-quiz-widget .dnkqz-extra-info-title-no-content {
  font-weight: 300;
  color: #000;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-body_metrics
  .dnkqz-question-label,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-bmi_calculation
  .dnkqz-question-label {
  text-align: left;
  font-weight: 700;
  margin-bottom: 20px;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-body_metrics
  .options_group
  .dnkqz-group-row,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-bmi_calculation
  .options_group
  .dnkqz-group-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-body_metrics
  .dnkqz-answer-input,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-bmi_calculation
  .dnkqz-answer-input {
  border-radius: 9999px;
  border: 1px solid #bcbcbc;
  height: 40px;
  padding: 0 16px;
  background: #fff;
  max-width: 220px;
  flex: 0 0 220px;
  font-weight: 400;
}

body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-body_metrics
  .dnkqz-extra-info-title,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-bmi_calculation
  .dnkqz-extra-info-title,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-body_metrics
  .dnkqz-extra-info-title
  strong,
body:has(.quiz-outer-wrapper)
  .dnkqz-quiz-widget
  .options_wrapper.question-bmi_calculation
  .dnkqz-extra-info-title
  strong {
  font-weight: 700;
  color: #000 !important;
  font-size: 15px;
}

@media (max-width: 640px) {
  body:has(.quiz-outer-wrapper)
    .dnkqz-quiz-widget
    .options_wrapper.question-body_metrics
    .options_group
    .dnkqz-group-row,
  body:has(.quiz-outer-wrapper)
    .dnkqz-quiz-widget
    .options_wrapper.question-bmi_calculation
    .options_group
    .dnkqz-group-row {
    flex-direction: column;
    align-items: stretch;
  }
  body:has(.quiz-outer-wrapper)
    .dnkqz-quiz-widget
    .options_wrapper.question-body_metrics
    .dnkqz-answer-input,
  body:has(.quiz-outer-wrapper)
    .dnkqz-quiz-widget
    .options_wrapper.question-bmi_calculation
    .dnkqz-answer-input {
    max-width: 100%;
    flex: 1 1 auto;
  }
}

/* DNK motivation_ai overlay — React mounts with .dnkqz-flex */
body:has(.quiz-outer-wrapper) #dnkqz-motivation-overlay.dnkqz-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: #fff !important;
}

body:has(.quiz-outer-wrapper) #dnkqz-motivation-overlay .dnkqz-motivation-box {
  background: #fff !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  box-shadow: none !important;
  padding: 24px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

body:has(.quiz-outer-wrapper) #dnkqz-motivation-overlay .motivation_text {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
}

/* BMI calculation overlay (body_metrics motivationAiHtml) — shared with WL sheet */
body:has(.quiz-outer-wrapper) .ns-itm {
  max-width: 360px;
  margin: 0 auto;
  padding: 20px 18px;
  text-align: center;
}

body:has(.quiz-outer-wrapper) .ns-itm__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
  color: #0b1f24;
  margin-bottom: 14px;
}

body:has(.quiz-outer-wrapper) .ns-itm__title b {
  font-weight: 700;
}

body:has(.quiz-outer-wrapper) .ns-spinner {
  --size: 100px;
  --dot: 14px;
  --r: 42px;
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 16px auto 24px;
  animation: ns-rotate 2s linear infinite;
}

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

body:has(.quiz-outer-wrapper) .ns-spinner i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--dot);
  height: var(--dot);
  margin-left: calc(var(--dot) / -2);
  margin-top: calc(var(--dot) / -2);
  border-radius: 50%;
  background: #1aa374;
  opacity: 0.25;
  transform-origin: center center;
}

body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(1) {
  transform: rotate(0deg) translateY(calc(-1 * var(--r)));
  opacity: 0.25;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(2) {
  transform: rotate(30deg) translateY(calc(-1 * var(--r)));
  opacity: 0.3;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(3) {
  transform: rotate(60deg) translateY(calc(-1 * var(--r)));
  opacity: 0.35;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(4) {
  transform: rotate(90deg) translateY(calc(-1 * var(--r)));
  opacity: 0.4;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(5) {
  transform: rotate(120deg) translateY(calc(-1 * var(--r)));
  opacity: 0.48;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(6) {
  transform: rotate(150deg) translateY(calc(-1 * var(--r)));
  opacity: 0.56;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(7) {
  transform: rotate(180deg) translateY(calc(-1 * var(--r)));
  opacity: 0.64;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(8) {
  transform: rotate(210deg) translateY(calc(-1 * var(--r)));
  opacity: 0.72;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(9) {
  transform: rotate(240deg) translateY(calc(-1 * var(--r)));
  opacity: 0.8;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(10) {
  transform: rotate(270deg) translateY(calc(-1 * var(--r)));
  opacity: 0.88;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(11) {
  transform: rotate(300deg) translateY(calc(-1 * var(--r)));
  opacity: 0.96;
}
body:has(.quiz-outer-wrapper) .ns-spinner i:nth-child(12) {
  transform: rotate(330deg) translateY(calc(-1 * var(--r)));
  opacity: 1;
}

body:has(.quiz-outer-wrapper) .ns-review {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 2px 2px 4.7px -1px #00000030;
  text-align: center;
}

body:has(.quiz-outer-wrapper) .ns-review img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

body:has(.quiz-outer-wrapper) .ns-review__text {
  padding: 17px 12px;
  font-size: 11px;
  font-weight: 300;
  color: #0b1f24;
}

body:has(.quiz-outer-wrapper) .ns-review__testimonial {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 8px;
  font-weight: 300;
}

body:has(.quiz-outer-wrapper) .ns-verified {
  color: #1aa374;
  font-weight: 700;
}

@media (min-width: 420px) {
  body:has(.quiz-outer-wrapper) .ns-itm {
    padding: 24px;
  }

  body:has(.quiz-outer-wrapper) .ns-itm__title {
    font-size: 24px;
  }
}

/* Micronutrients chart interstitial (after caffeine question) */
body:has(.quiz-outer-wrapper) .dnkqz-interstitial.question-micronutrients_after_caffeine {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 8px;
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient__lead {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 300;
  color: #0b1f24;
  max-width: 100%;
  text-align: left;
  align-self: stretch;
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient__card {
  width: 100%;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient__graf {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient__study {
  position: relative;
  padding: 28px 18px 20px;
  background: #eaf6f4;
  border-radius: 16px;
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient__trophy {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1aa374;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient__trophy img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient__study-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: #0b1f24;
  text-align: center;
}

body:has(.quiz-outer-wrapper) .dnkqz-micronutrient__study-text b {
  font-weight: 700;
}
