.quiz { max-width: 640px; margin: 0 auto; padding: 18px 18px 40px; min-height: 100vh; display: flex; flex-direction: column; }
.quiz[hidden] { display: none; }
.quiz-top { margin-bottom: 18px; }
.bar { height: 12px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--clay); transition: width .35s ease; }
.quiz-meta { display: flex; justify-content: space-between; align-items: center; min-height: 40px; font-size: 14px; color: var(--muted); }
.back { background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; padding: 8px 0; }

.screen { flex: 1; }
.q-head { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: end; margin-bottom: 14px; }
.q-head img { width: 96px; height: 130px; object-fit: contain; object-position: bottom; animation: pop .35s cubic-bezier(.2,.9,.3,1.3); }
.q-head h1 { font-size: clamp(28px, 7vw, 40px); }
.q-head h2 { font-size: clamp(24px, 6vw, 32px); margin: 0; }
.q-hint { color: var(--muted); font-size: 15px; margin: -4px 0 16px; }
.opts { display: grid; gap: 12px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; text-align: left; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 3px solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); transition: transform .08s, box-shadow .08s, background .15s; }
.opt:hover { background: #FFF8EC; }
.opt:active { transform: translate(3px, 3px); box-shadow: none; }
.opt .ico { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 17px; background: var(--cream); }
.opt[aria-pressed="true"] { background: var(--idea-bg); }
.opt[aria-pressed="true"] .ico { background: var(--olive); color: var(--paper); }
.screen .btn { margin-top: 18px; }
.inter { text-align: center; padding-top: 20px; animation: pop .35s cubic-bezier(.2,.9,.3,1.3); }
.inter img { width: 170px; margin: 0 auto 16px; }
.inter p { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.25; }
.calcing { text-align: center; padding-top: 30px; }
.calcing img { width: 160px; margin: 0 auto 10px; animation: bob 1.2s ease-in-out infinite; }
.calcing ul { list-style: none; padding: 0; font-weight: 600; }
.calcing li { opacity: .25; transition: opacity .3s; margin: 8px 0; }
.calcing li.on { opacity: 1; }
@keyframes pop { 0% { opacity: 0; transform: scale(.8); } 70% { opacity: 1; transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Resultado */
.result-hero { padding: 28px 0 48px; }
.result-grid { display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: end; }
.r-pose { width: 120px; height: 170px; object-fit: contain; object-position: bottom; }
@media (min-width: 640px) { .result-grid { grid-template-columns: 1fr 170px; } .r-pose { width: 170px; height: 230px; } }
.r-hello { font-family: var(--display); font-weight: 700; font-size: 20px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.barras { display: grid; gap: 10px; }
.barra { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-weight: 600; font-size: 15.5px; }
.barra .track { grid-column: 1 / -1; height: 18px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); overflow: hidden; }
.barra .fillbar { height: 100%; background: var(--line); }
.barra.anchor .fillbar { background: var(--brick); }
.barra.anchor { color: var(--brick); }
.rota { padding-left: 0; list-style: none; counter-reset: r; }
.rota li { counter-increment: r; position: relative; padding: 14px 14px 14px 62px; margin-bottom: 12px; background: var(--paper); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.rota li::before { content: counter(r); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--clay); border: 2px solid var(--ink);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.rota strong { display: block; font-family: var(--display); font-size: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14.5px; margin: 12px 0 !important; }
.consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--olive); }
@media (prefers-reduced-motion: reduce) { .q-head img, .inter, .calcing img { animation: none; } }
