:root{--ink:#3f2925;--muted:#796863;--rust:#aa412f;--rust-dark:#732b22;--peach:#ffe1ca;--gold:#d2932c;--gold-soft:#fff1cc;--paper:#fffdf9;--line:#efd2c4;--green:#2e8067;--red:#bd4553;--shadow:0 20px 60px rgba(121,54,38,.14)}
*{box-sizing:border-box}html{min-height:100%;background:#fff0df;overflow-y:auto}body{min-height:100vh;margin:0;color:var(--ink);font-family:ui-rounded,"SF Pro Rounded","Nunito",system-ui,-apple-system,sans-serif;background:radial-gradient(circle at 11% 10%,rgba(255,255,255,.95) 0 5px,transparent 6px),radial-gradient(circle at 91% 18%,rgba(209,139,48,.42) 0 4px,transparent 5px),linear-gradient(150deg,#fffaf2 0%,#ffe6d5 58%,#ffeab1 155%);background-size:120px 120px,160px 160px,auto;overflow-y:auto}button{font:inherit}.quiz-shell{width:min(100%,900px);min-height:100vh;margin:0 auto;padding:max(28px,env(safe-area-inset-top)) 20px max(38px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px}.crumb{display:inline-flex;color:var(--rust);font-size:.9rem;font-weight:900;text-decoration:none}.quiz-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.live-score{padding:8px 12px;border:2px solid #fff;border-radius:99px;background:rgba(255,255,255,.82);color:var(--rust-dark);font-size:.84rem;font-weight:950}.quiz-heading h1{margin:0;color:var(--rust-dark);font-size:clamp(1.45rem,5vw,2rem);letter-spacing:-.035em}.quiz-heading p{margin:5px 0 0;color:var(--muted);font-weight:750}.progress-line{display:flex;align-items:center;gap:12px}.progress-track{flex:1;height:11px;overflow:hidden;border:2px solid #fff;border-radius:99px;background:rgba(255,255,255,.7)}.progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#ed9e62,var(--rust));transition:width .3s ease}.progress-text{min-width:80px;color:var(--muted);text-align:right;font-size:.83rem;font-weight:900}.quiz-card{flex:1;min-height:515px;padding:clamp(23px,5vw,42px);border:3px solid #fff;border-radius:30px;background:var(--paper);box-shadow:var(--shadow);display:flex;flex-direction:column}.category{width:fit-content;margin:0 0 26px;padding:7px 11px;border-radius:99px;background:var(--peach);color:var(--rust);font-size:.74rem;font-weight:950;letter-spacing:.035em;text-transform:uppercase}.question{margin:auto 0 28px;font-size:clamp(1.38rem,5vw,2.1rem);line-height:1.3;letter-spacing:-.024em}.stimulus{margin:-10px 0 24px;padding:14px 16px;border-left:5px solid var(--gold);border-radius:12px;background:#fff8e8;color:#5c4937;font-weight:720;line-height:1.55}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:auto}.choice{min-height:59px;padding:10px 13px;border:3px solid var(--line);border-radius:17px;background:#fff;color:var(--ink);cursor:pointer;font-weight:900;line-height:1.3}.choice:hover,.choice.selected{border-color:var(--rust);background:var(--peach)}.choice:disabled{cursor:default}.choice.correct{border-color:var(--green);color:var(--green);background:#e8faf2}.choice.wrong{border-color:var(--red);color:var(--red);background:#fff0f2}.feedback{min-height:62px;margin:22px 0 15px;padding:12px 14px;border-radius:14px;background:#f5efec;color:var(--muted);font-weight:780;line-height:1.42}.feedback.correct{color:var(--green);background:#e8faf2}.feedback.wrong{color:#a13343;background:#fff0f2}.actions{display:flex;justify-content:flex-end}.btn{min-height:52px;padding:0 23px;border:0;border-radius:16px;cursor:pointer;font-weight:950}.btn-primary{color:#fff;background:var(--rust);box-shadow:0 6px 0 var(--rust-dark)}.btn-primary:active{transform:translateY(3px);box-shadow:none}.btn-secondary{display:grid;place-items:center;color:var(--rust);background:#fff;border:2px solid var(--line);text-decoration:none}.result-card{width:100%;padding:clamp(24px,5vw,42px);border:3px solid #fff;border-radius:30px;background:var(--paper);box-shadow:var(--shadow)}.result-hero{text-align:center}.result-stars{color:var(--gold);font-size:2.7rem;letter-spacing:5px}.result-hero h1{margin:12px 0 0;color:var(--rust-dark);font-size:clamp(2rem,8vw,3.5rem);line-height:1}.result-hero p{max-width:590px;margin:13px auto 24px;color:var(--muted);font-weight:750;line-height:1.5}.score-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:580px;margin:0 auto 28px}.score-box{padding:15px 8px;border:2px solid var(--line);border-radius:17px;text-align:center;background:#fff}.score-value{display:block;color:var(--rust-dark);font-size:1.55rem;font-weight:950}.score-label{display:block;margin-top:4px;color:var(--muted);font-size:.72rem;font-weight:850}.breakdown,.review{max-width:710px;margin:0 auto 27px}.breakdown h2,.review h2{margin:0 0 12px;font-size:1.08rem}.skill-row{display:grid;grid-template-columns:minmax(190px,1fr) 2fr 48px;align-items:center;gap:10px;margin:10px 0;font-size:.82rem;font-weight:880}.skill-bar{height:10px;border-radius:99px;overflow:hidden;background:#f1dfd7}.skill-fill{height:100%;border-radius:inherit;background:var(--rust)}.recommendation{max-width:710px;margin:0 auto 28px;padding:14px 16px;border-left:5px solid var(--gold);border-radius:12px;color:#70520e;background:var(--gold-soft);font-weight:820;line-height:1.48}.review-row{display:grid;grid-template-columns:34px 1fr auto;align-items:start;gap:9px;padding:11px 5px;border-top:1px solid #f0dfd7;font-size:.84rem;line-height:1.4}.review-number{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:var(--peach);color:var(--rust);font-weight:950}.review-result{font-weight:900}.review-result.ok{color:var(--green)}.review-result.no{color:var(--red)}.result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
@media(max-width:620px){.quiz-shell{padding-left:13px;padding-right:13px}.quiz-card{min-height:500px;padding:22px 15px}.choices{grid-template-columns:1fr}.score-grid{grid-template-columns:repeat(3,1fr)}.score-value{font-size:1.28rem}.score-label{font-size:.64rem}.skill-row{grid-template-columns:138px 1fr 42px;gap:7px}.review-row{grid-template-columns:30px 1fr}.review-result{grid-column:2}.result-card{padding-left:16px;padding-right:16px}}@media(prefers-reduced-motion:reduce){*{transition-duration:.01ms!important}}
