/* quiz-only styles; shares the tokens and buttons from styles.css */
.quiz-body { min-height: 100vh; }
.qwrap { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 80px; text-align: center; }

.kicker { font-family: var(--pix); font-size: 11px; letter-spacing: 2px;
          color: var(--cyan); margin: 24px 0 26px; }

.qtitle { margin: 0 0 26px; display: flex; flex-direction: column; gap: 14px; }
.qtitle span { font-family: var(--pix); font-weight: 400; line-height: 1.1; }
.qtitle span:first-child { font-size: clamp(22px, 6.4vw, 42px); color: var(--yellow);
                           text-shadow: 4px 4px 0 var(--red); }
.qtitle span:last-child  { font-size: clamp(16px, 4.6vw, 31px); color: var(--bone);
                           text-shadow: 4px 4px 0 var(--cyan); }

.blurb { font-size: clamp(20px, 3.8vw, 26px); margin: 0 0 34px; }


.qmeta { display: flex; justify-content: space-between; align-items: center;
         font-family: var(--pix); font-size: 10px; letter-spacing: 1px; margin: 20px 0 14px; }
#qnum { color: var(--cyan); }
.hintword { color: var(--red); }

.bar { display: flex; gap: 8px; margin-bottom: 30px; }
.pip { flex: 1; height: 10px; background: var(--violet); }
.pip.done { background: var(--cyan); }
.pip.now  { background: var(--yellow); }

.qq { font-family: var(--pix); font-weight: 400; font-size: clamp(15px, 3.6vw, 22px);
      line-height: 1.75; color: var(--bone); margin: 0 0 30px; text-align: left; }

.answers { display: flex; flex-direction: column; gap: 12px; }
.ans { font-family: var(--body); font-size: clamp(20px, 3.4vw, 25px); text-align: left;
       background: var(--violet); color: var(--bone); border: 3px solid var(--violet);
       border-left: 8px solid var(--red); padding: 18px 20px; min-height: 60px;
       cursor: pointer; line-height: 1.3;
       transition: transform .08s steps(2,end), background .08s steps(2,end); }
.ans:hover, .ans:focus-visible { background: #2e2450; border-left-color: var(--yellow);
                                 transform: translateX(5px); }
.ans:active { transform: translateX(8px); }

.sprite { display: flex; justify-content: center; margin: 4px 0 22px; }
.sprite svg { image-rendering: pixelated; }

.rolename { margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.rolename span { font-family: var(--pix); font-weight: 400; line-height: 1.1;
                 font-size: clamp(20px, 6vw, 42px); color: var(--yellow);
                 text-shadow: 5px 5px 0 var(--red); }

.roleline { font-size: clamp(21px, 3.6vw, 28px); margin: 0 auto 30px; max-width: 30ch; }

.pixrow { display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; }
.pixrow i { width: 12px; height: 12px; display: block; }
.pixrow i:nth-child(1), .pixrow i:nth-child(7) { background: var(--red); }
.pixrow i:nth-child(2), .pixrow i:nth-child(6) { background: var(--yellow); }
.pixrow i:nth-child(3), .pixrow i:nth-child(5) { background: var(--cyan); }
.pixrow i:nth-child(4) { background: var(--bone); }

#result .cta, #start .btn { justify-content: center; }
@media (max-width: 720px) { .ans { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .ans { transition: none; } }

.start-cab { width: 170px; margin: 10px auto 0; }
@media (max-width: 720px) { .start-cab { width: 140px; } }

.note { font-family: var(--body); font-size: 21px; line-height: 1.4;
        color: var(--yellow); margin: 18px auto 0; max-width: 34ch; }
.btn[disabled] { opacity: .55; cursor: progress; }
