:root{color:#21142f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f6edff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button,input{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{min-height:100vh;padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));background:radial-gradient(circle at 0 0,#fce7ff 0,#0000 30%),linear-gradient(145deg,#fff7ff 0%,#ead8ff 42%,#a855f7 100%);place-items:center;display:grid;position:relative;overflow:hidden}.aurora{filter:blur(35px);opacity:.45;pointer-events:none;border-radius:999px;width:260px;height:260px;position:fixed}.aurora-one{background:#d946ef;top:-70px;right:-50px}.aurora-two{background:#7c3aed;bottom:-90px;left:-60px}.phone-screen{z-index:1;-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#ffffff8f;border:1px solid #ffffffb8;border-radius:36px;flex-direction:column;gap:18px;width:min(100%,430px);min-height:min(100vh - 32px,860px);max-height:920px;padding:22px;display:flex;position:relative;overflow:hidden;box-shadow:0 30px 80px #4a1f7847}.top-summary,.top-bar,.quiz-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.top-summary span,.quiz-header span,.metric-card span{color:#7b688d;font-size:.82rem;display:block}.top-summary strong{font-size:1.18rem;display:block}.streak-pill,.badge{color:#6d28d9;background:#ffffffad;border-radius:999px;justify-content:center;align-items:center;padding:8px 12px;font-weight:800;display:inline-flex}.hero-card,.glass-panel,.question-card,.result-card{background:#ffffffd1;border:1px solid #ffffffc7;border-radius:32px;padding:24px;box-shadow:0 18px 45px #6d28d929}.hero-card{background:linear-gradient(155deg,#ffffffeb,#f8e8ffe6 48%,#c084fc61);flex-direction:column;justify-content:space-between;min-height:330px;display:flex}.brand-lockup{justify-content:space-between;align-items:center;gap:10px;display:flex}.dekra-logo{letter-spacing:.08em;color:#111827;background:#fff;border:2px solid #111827;border-radius:7px;padding:5px 9px;font-weight:950}h1,h2,p{margin-top:0}h1{margin-bottom:12px;font-size:clamp(2.1rem,11vw,3.4rem);line-height:.95}h2{font-size:1.35rem;line-height:1.15}p{color:#584667;line-height:1.45}.hero-actions,.quiz-footer{grid-template-columns:1fr;gap:10px;display:grid}.primary-action,.secondary-action{border-radius:20px;width:100%;min-height:56px;font-weight:900;transition:transform .18s,box-shadow .18s,background .18s}.primary-action{color:#fff;background:linear-gradient(135deg,#a855f7,#7c3aed);box-shadow:0 14px 28px #7c3aed47}.secondary-action{color:#6d28d9;background:#ffffffc7}.primary-action:active,.secondary-action:active,.answer-card:active{transform:scale(.98)}.compact{border-radius:18px;min-height:50px}.quiz-footer{grid-template-columns:repeat(3,1fr);margin-top:auto}.metrics-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.metric-card{background:#ffffffb8;border-radius:24px;padding:16px}.metric-card strong{font-size:1.35rem}.source-note{color:#806990;margin:auto 0 0;font-size:.76rem}.install-link{color:#6d28d9;background:0 0;font-weight:800;text-decoration:underline}.setup-screen .grow-panel{flex-direction:column;flex:1;justify-content:center;gap:16px;display:flex}.top-bar{min-height:44px}.ghost-button{color:#6d28d9;background:#ffffffbf;border-radius:16px;width:44px;height:44px;font-size:1.55rem;font-weight:800}.count-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.chip{color:#6d28d9;background:#8b5cf61f;border-radius:18px;min-height:48px;font-weight:900}.chip.active{color:#fff;background:#8b5cf6}.range-label{color:#4b2f64;font-weight:800}input[type=range]{accent-color:#8b5cf6;width:100%}.warning-card{color:#6b4d00;background:#fde04738;border-radius:18px;padding:14px}.quiz-screen{gap:12px}.quiz-header strong:first-child{display:block}.timer{color:#fff;text-align:center;background:#1f1230;border-radius:999px;min-width:78px;padding:8px 11px}.timer.soft{color:#6d28d9;background:#ffffffb8}.progress-track{background:#fff9;border-radius:999px;height:8px;overflow:hidden}.progress-track span{border-radius:inherit;background:linear-gradient(90deg,#c084fc,#7c3aed);height:100%;transition:width .24s;display:block}.question-stage{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex;overflow:hidden}.question-stage.revealed{padding-right:2px;overflow-y:auto}.animate-in{animation:.22s both slideFade}@keyframes slideFade{0%{opacity:0;transform:translate(18px)scale(.99)}to{opacity:1;transform:translate(0)scale(1)}}.question-card{padding:18px}.question-id{color:#8b5cf6;text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;font-weight:900}.question-card h2{margin:8px 0 0;font-size:clamp(1.05rem,5.2vw,1.45rem)}.answer-list{flex-direction:column;gap:10px;min-height:0;display:flex}.answer-card{text-align:left;color:#2b183d;background:#ffffffbf;border:2px solid #0000;border-radius:20px;grid-template-columns:42px 1fr;align-items:center;gap:10px;min-height:62px;padding:10px 12px;transition:transform .18s,border .18s,background .18s;display:grid}.answer-card span{color:#7c3aed;background:#8b5cf61f;border-radius:14px;place-items:center;width:38px;height:38px;font-weight:950;display:grid}.answer-card p{color:#2b183d;margin:0;font-size:clamp(.82rem,3.7vw,.98rem);line-height:1.25}.answer-card.selected{background:#f5ebfff5;border-color:#8b5cf6}.answer-card.correct{background:#d1fae5db;border-color:#34d399}.explanation-panel{background:#ffffffd1;border-radius:24px;padding:16px}.explanation-panel p{margin-bottom:10px;font-size:.9rem}.result-screen{overflow-y:auto}.result-card{text-align:center}.result-card h1{margin:10px 0}.result-card.passed{background:linear-gradient(135deg,#d1fae5f2,#ffffffdb)}.result-card.failed{background:linear-gradient(135deg,#ffe4e6f2,#ffffffdb)}.result-list{max-height:330px;overflow-y:auto}.result-list p{font-size:.9rem}@media (height<=760px){.phone-screen{border-radius:0;width:100%;min-height:100vh;max-height:none}.app-shell{padding:0}.hero-card{min-height:280px}.answer-card{min-height:56px}}
