.tqs-wrap {
  --tqs-orange: #df8250;
  --tqs-peach: #f1d7ca;
  --tqs-cream: #ffffff;
  --tqs-text: #34241d;
  max-width: 760px;
  margin: 0 auto;
  font-family: "Montserrat", Montserrat, Arial, sans-serif;
  color: var(--tqs-text);
}

.tqs-card {
  background: var(--tqs-cream);
  border: 1px solid rgba(223, 130, 80, 0.24);
  border-radius: 26px;
  padding: 30px;
  margin: 0 0 22px;
  box-shadow: 0 12px 32px rgba(52, 36, 29, 0.05);
}

.tqs-card h2,
.tqs-card h3 {
  margin: 0 0 14px;
  color: var(--tqs-orange);
  font-family: "Like That", LikeThat, Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.tqs-card h2 {
  font-size: clamp(34px, 6vw, 58px);
}

.tqs-quiz-card h2 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* Quizvragen volgen de rustigere FAQ-vraagstijl van de website.
   Hoofdtitels blijven Like That, maar vragen blijven Montserrat. */
.tqs-form .tqs-step > h2 {
  margin: 0 0 18px;
  color: var(--tqs-text);
  font-family: "Montserrat", Montserrat, Arial, sans-serif;
  font-size: clamp(21px, 4.2vw, 30px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.tqs-form .tqs-question > h2 {
  margin-bottom: 16px;
}

.tqs-card h3 {
  font-size: clamp(34px, 6vw, 58px);
}

.tqs-leaderboard-card h3 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.tqs-intro {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
}

.tqs-start-screen {
  text-align: center;
}

.tqs-start-visual {
  display: block;
  position: relative;
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tqs-start-visual:hover {
  transform: translateY(-2px);
}

.tqs-start-visual img {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

.tqs-start-pill {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(72%, 420px);
  min-height: 40px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(223, 130, 80, 0.18);
  box-shadow: 0 10px 28px rgba(52, 36, 29, 0.08);
  color: var(--tqs-orange);
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-indent: 0.28em;
}

.tqs-start-button {
  margin-top: 4px;
}

.tqs-progress {
  margin-bottom: 28px;
}

.tqs-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--tqs-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tqs-progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(241, 215, 202, 0.75);
}

.tqs-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--tqs-orange);
  transition: width 0.24s ease;
}

.tqs-step[hidden],
.tqs-form[hidden],
.tqs-start-screen[hidden],
.tqs-result[hidden],
.tqs-error[hidden],
.tqs-button[hidden] {
  display: none !important;
}

.tqs-label {
  display: block;
  margin-bottom: 8px;
  color: var(--tqs-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tqs-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tqs-name-grid p {
  margin: 0;
}

.tqs-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border: 1px solid rgba(223, 130, 80, 0.34);
  border-radius: 999px;
  outline: 0;
  font: inherit;
  background: #ffffff;
  color: var(--tqs-text);
}

.tqs-input:focus {
  border-color: var(--tqs-orange);
  box-shadow: 0 0 0 4px rgba(223, 130, 80, 0.12);
}

.tqs-question {
  border: 0;
  padding: 0;
  margin: 0;
}

.tqs-question legend {
  margin-bottom: 10px;
  color: var(--tqs-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tqs-answers {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.tqs-answer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(223, 130, 80, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tqs-answer:hover,
.tqs-answer:has(input:checked) {
  border-color: var(--tqs-orange);
  background: rgba(241, 215, 202, 0.32);
}

.tqs-answer:hover {
  transform: translateY(-1px);
}

.tqs-answer input {
  accent-color: var(--tqs-orange);
  margin-top: 4px;
}

.tqs-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.tqs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--tqs-orange);
  border-radius: 999px;
  background: var(--tqs-orange);
  color: #ffffff;
  padding: 12px 24px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tqs-button:hover {
  transform: translateY(-1px);
}

.tqs-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.tqs-button-secondary {
  background: transparent;
  color: var(--tqs-orange);
}

.tqs-result,
.tqs-error {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(223, 130, 80, 0.12);
  color: var(--tqs-text);
}

.tqs-error {
  background: rgba(223, 130, 80, 0.16);
}

.tqs-leaderboard {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.tqs-leaderboard li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 8px 0;
  line-height: 1.35;
  border-bottom: 1px solid rgba(223, 130, 80, 0.18);
}



.tqs-leaderboard li:last-child {
  border-bottom: 0;
}

.tqs-leaderboard-card {
  padding-bottom: 16px;
}

.tqs-leaderboard-card .tqs-leaderboard {
  margin-bottom: 0 !important;
}

.tqs-rank {
  font-weight: 700;
  color: var(--tqs-orange);
}

.tqs-leaderboard-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(223, 130, 80, 0.14);
  color: var(--tqs-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tqs-page-button {
  border: 1px solid rgba(223, 130, 80, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--tqs-orange);
  padding: 8px 13px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.tqs-page-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.tqs-player {
  min-width: 0;
}

.tqs-score {
  font-weight: 700;
  color: var(--tqs-orange);
}

.tqs-empty {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .tqs-card {
    padding: 20px;
    border-radius: 18px;
  }

  .tqs-form .tqs-step > h2 {
    font-size: clamp(20px, 5.4vw, 24px);
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .tqs-name-grid {
    grid-template-columns: 1fr;
  }

  .tqs-actions {
    flex-direction: column-reverse;
  }

  .tqs-button {
    width: 100%;
  }

  .tqs-start-pill {
    width: min(76%, 360px);
    min-width: 0;
    min-height: 38px;
    bottom: 12px;
    padding: 7px 14px;
    font-size: clamp(12px, 3.8vw, 15px);
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }

  .tqs-leaderboard-nav {
    gap: 7px;
    margin-top: 6px;
    padding-top: 8px;
    letter-spacing: 0.06em;
  }
}

/* v1.8 refinements: smaller scoreboard and safer placeholder spacing */
.tqs-wrap .tqs-input,
.tqs-wrap input.tqs-input[type="text"] {
  padding: 13px 24px !important;
  padding-left: 24px !important;
  text-indent: 0 !important;
  line-height: 1.25 !important;
  min-height: 46px;
}

.tqs-wrap .tqs-input::placeholder {
  color: rgba(52, 36, 29, 0.58);
  opacity: 1;
}

.tqs-wrap .tqs-leaderboard-card {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 30px 14px;
}

.tqs-wrap .tqs-leaderboard-card h3 {
  font-size: clamp(30px, 5.2vw, 48px);
  margin-bottom: 10px;
}

.tqs-wrap .tqs-leaderboard li {
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.25;
}

.tqs-wrap .tqs-leaderboard-nav {
  margin-top: 6px;
  padding-top: 8px;
  gap: 10px;
}

.tqs-wrap .tqs-page-button {
  padding: 7px 12px;
  font-size: 10px;
}

@media (max-width: 600px) {
  .tqs-wrap .tqs-input,
  .tqs-wrap input.tqs-input[type="text"] {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .tqs-wrap .tqs-leaderboard-card {
    padding: 22px 24px 14px;
  }

  .tqs-wrap .tqs-leaderboard-card h3 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .tqs-wrap .tqs-leaderboard li {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 6px 0;
    font-size: 15px;
  }
}


/* v1.9 refinements: smaller titles, orange questions and true white */
.tqs-wrap {
  --tqs-cream: #ffffff;
}

.tqs-wrap .tqs-card {
  background: #ffffff;
}

.tqs-wrap .tqs-start-pill {
  background: rgba(255, 255, 255, 0.98);
}

.tqs-wrap .tqs-card h2 {
  font-size: clamp(28px, 4.8vw, 46px);
}

.tqs-wrap .tqs-leaderboard-card h3 {
  font-size: clamp(28px, 4.8vw, 44px);
}

.tqs-wrap .tqs-form .tqs-step > h2,
.tqs-wrap .tqs-form .tqs-question > h2 {
  color: var(--tqs-orange);
}

.tqs-wrap .tqs-result {
  background: #ffffff;
  color: var(--tqs-orange);
  border: 1px solid rgba(223, 130, 80, 0.20);
  font-family: "Montserrat", Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tqs-wrap .tqs-result strong,
.tqs-wrap .tqs-result span {
  color: var(--tqs-orange);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

@media (max-width: 600px) {
  .tqs-wrap .tqs-card h2 {
    font-size: clamp(26px, 8vw, 38px);
  }

  .tqs-wrap .tqs-leaderboard-card h3 {
    font-size: clamp(26px, 8vw, 38px);
  }
}

/* v1.10 refinements: exact title size, restored question size and answer review */
.tqs-wrap .tqs-start-screen > h2,
.tqs-wrap .tqs-leaderboard-card > h3 {
  font-size: 32px !important;
}

.tqs-wrap .tqs-form .tqs-step > h2,
.tqs-wrap .tqs-form .tqs-question > h2 {
  color: var(--tqs-orange) !important;
  font-family: "Montserrat", Montserrat, Arial, sans-serif !important;
  font-size: clamp(21px, 4.2vw, 30px) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.tqs-wrap .tqs-result .tqs-score-message {
  color: var(--tqs-orange) !important;
  font-family: "Montserrat", Montserrat, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

.tqs-wrap .tqs-result .tqs-answer-review {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(223, 130, 80, 0.18);
  color: var(--tqs-text) !important;
  font-family: "Montserrat", Montserrat, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}

.tqs-wrap .tqs-result .tqs-answer-review h3 {
  margin: 0 0 12px;
  color: var(--tqs-orange) !important;
  font-family: "Montserrat", Montserrat, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

.tqs-wrap .tqs-result .tqs-answer-review ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.tqs-wrap .tqs-result .tqs-answer-review li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(223, 130, 80, 0.12);
}

.tqs-wrap .tqs-result .tqs-answer-review li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tqs-wrap .tqs-result .tqs-answer-review strong,
.tqs-wrap .tqs-result .tqs-answer-review span {
  display: block;
  color: var(--tqs-text) !important;
  font-family: "Montserrat", Montserrat, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}

.tqs-wrap .tqs-result .tqs-answer-review strong {
  margin-bottom: 5px;
  color: var(--tqs-orange) !important;
  font-weight: 600 !important;
}

.tqs-wrap .tqs-result .tqs-answer-review span + span {
  margin-top: 2px;
}

@media (max-width: 600px) {
  .tqs-wrap .tqs-start-screen > h2,
  .tqs-wrap .tqs-leaderboard-card > h3 {
    font-size: 32px !important;
  }

  .tqs-wrap .tqs-form .tqs-step > h2,
  .tqs-wrap .tqs-form .tqs-question > h2 {
    font-size: clamp(20px, 5.4vw, 24px) !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
  }
}
