.home-screen{position:static!important;height:100vh!important;overflow-y:auto!important;overflow-x:hidden!important}body:has(.home-screen){position:static!important;overflow:auto!important}#root:has(.home-screen){overflow:visible!important;height:auto!important;min-height:100vh!important}.custom-scrollbar::-webkit-scrollbar{width:8px}.custom-scrollbar::-webkit-scrollbar-track{background:#3741514d;border-radius:4px}.custom-scrollbar.light::-webkit-scrollbar-track{background:#f3f4f680}.custom-scrollbar::-webkit-scrollbar-thumb{background:#9ca3af99;border-radius:4px;border:1px solid rgba(55,65,81,.5);transition:background .2s ease}.custom-scrollbar.light::-webkit-scrollbar-thumb{background:#6b728066;border:1px solid rgba(229,231,235,.8)}.custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#9ca3afcc}.custom-scrollbar.light::-webkit-scrollbar-thumb:hover{background:#6b728099}.custom-scrollbar::-webkit-scrollbar-thumb:active{background:#ff6b9d}.custom-scrollbar{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.6) rgba(55,65,81,.3)}.custom-scrollbar.light{scrollbar-color:rgba(107,114,128,.4) rgba(243,244,246,.5)}.home-container{display:flex;justify-content:center;min-height:100vh;background:linear-gradient(180deg,#0f172a,#1e293b)}.home-container.light{background:linear-gradient(180deg,#f8fafc,#e2e8f0)}.home-content{width:100%;min-width:320px;padding:20px;display:flex;flex-direction:column;gap:32px}@media (max-width: 768px){.home-content{padding:16px;gap:24px}}.result-container{height:100vh;height:100dvh;display:flex;flex-direction:column;padding:max(15px,env(safe-area-inset-top) + 8px) 16px max(15px,env(safe-area-inset-bottom) + 8px);gap:16px}.result-header{display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.btn-restart{width:36px;height:36px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;transition:all .2s ease}.quiz-screen.light .btn-restart{background:#ffffffe6;box-shadow:0 2px 8px #0000001a}.quiz-screen.dark .btn-restart{background:#1e293be6;box-shadow:0 2px 8px #0000004d}.result-card{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 16px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);position:relative;overflow:hidden;animation:resultCardSlideIn .8s cubic-bezier(.16,1,.3,1);min-height:0}.quiz-screen.light .result-card{background:#fffffff2;border-color:#e2e8f080;box-shadow:0 20px 60px #0000001a}.quiz-screen.dark .result-card{background:#1e293bf2;border-color:#ffffff1a;box-shadow:0 20px 60px #0006}.result-icon{font-size:clamp(48px,12vw,64px);margin-bottom:12px;animation:resultIconBounce 1s ease-out .3s both;flex-shrink:0}.result-quiz-title{font-size:clamp(14px,3vw,18px);font-weight:600;margin:0 0 16px;opacity:.8;animation:resultSlideUp .6s ease-out .5s both;flex-shrink:0}.result-main{margin-bottom:20px;flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0}.result-title{font-size:clamp(16px,3.5vw,20px);font-weight:800;line-height:1.1;margin:0 0 16px;background:linear-gradient(135deg,#ff6b9d,#45b7d1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:resultSlideUp .6s ease-out .7s both;max-height:3em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.result-score{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:16px;animation:resultSlideUp .6s ease-out .9s both;flex-shrink:0}.score-label{font-size:12px;font-weight:600;opacity:.7}.score-value{font-size:clamp(24px,6vw,28px);font-weight:800;background:linear-gradient(135deg,#ff6b9d,#45b7d1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.score-range{font-size:10px;opacity:.5;font-weight:500;animation:resultSlideUp .6s ease-out 1.1s both}.result-actions{display:flex;flex-direction:column;gap:10px;flex-shrink:0}.btn-share,.btn-more-quizzes{width:100%;padding:14px 20px;border-radius:14px;border:none;font-size:15px;font-weight:700;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.btn-share{background:linear-gradient(135deg,#ff6b9d,#45b7d1);color:#fff;animation:resultSlideUp .6s ease-out 1.3s both}.btn-share:hover{transform:translateY(-2px);box-shadow:0 8px 24px #ff6b9d66}.btn-more-quizzes{animation:resultSlideUp .6s ease-out 1.5s both}.quiz-screen.light .btn-more-quizzes{background:#ffffffe6;color:#1e293b;border:2px solid rgba(226,232,240,.8)}.quiz-screen.dark .btn-more-quizzes{background:#1e293be6;color:#f1f5f9;border:2px solid rgba(255,255,255,.2)}.btn-more-quizzes:hover{transform:translateY(-2px)}.watermark{position:absolute;bottom:12px;right:12px;font-size:10px;opacity:.5;color:#666;font-weight:500;background:#ffffff1a;padding:4px 8px;border-radius:12px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,.2)}.dark .watermark{color:#ccc;background:#0000004d;border:1px solid rgba(255,255,255,.1)}.btn-share.generating{opacity:.7;cursor:not-allowed;transform:scale(.98)}.btn-share.generating:hover{transform:scale(.98)}.btn-share{transition:all .2s ease}.btn-share:active{transform:scale(.95)}@keyframes resultCardSlideIn{0%{opacity:0;transform:translateY(60px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes resultIconBounce{0%{opacity:0;transform:translateY(-30px) scale(.3)}50%{transform:translateY(10px) scale(1.1)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes resultSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-height: 600px){.result-container{padding:8px 16px;gap:12px}.result-card{padding:16px 12px}.result-icon{font-size:clamp(40px,10vw,48px);margin-bottom:8px}.result-quiz-title{margin-bottom:12px}.result-main{margin-bottom:16px}.result-title{margin-bottom:12px;-webkit-line-clamp:1}.result-score{margin-bottom:12px}.btn-share,.btn-more-quizzes{padding:12px 16px;font-size:14px}}@media (max-height: 500px){.result-icon{font-size:36px;margin-bottom:6px}.result-quiz-title{font-size:12px;margin-bottom:8px}.result-title{font-size:14px;margin-bottom:8px}.score-value{font-size:20px}}html,body{touch-action:manipulation;overscroll-behavior:none;-webkit-overflow-scrolling:touch;position:fixed;width:100%;height:100%}#root{height:100%;width:100%;overflow:hidden}.quiz-screen{height:100vh;height:100dvh;display:flex;flex-direction:column;position:fixed;top:0;left:0;right:0;bottom:0;overflow-x:hidden;overflow-y:hidden;touch-action:manipulation;-webkit-overflow-scrolling:touch;overscroll-behavior:none}.quiz-screen.light{background:linear-gradient(135deg,#f8fafc,#e2e8f0);color:#1e293b}.quiz-screen.dark{background:linear-gradient(135deg,#0f172a,#1e293b);color:#f1f5f9}.quiz-screen.light .btn-back{background:#ffffffe6;color:#1e293b;box-shadow:0 2px 8px #0000001a}.quiz-screen.dark .btn-back{background:#1e293be6;color:#f1f5f9;box-shadow:0 2px 8px #0000004d}.quiz-screen.light .progress-bar{background:#e2e8f0cc}.quiz-screen.dark .progress-bar{background:#1e293bcc}.quiz-screen.light .dev-score{background:#ffffffe6;color:#1e293b}.quiz-screen.dark .dev-score{background:#1e293be6;color:#f1f5f9}.quiz-header{display:flex;align-items:center;justify-content:space-between;padding:max(20px,env(safe-area-inset-top) + 10px) 20px 16px;position:sticky;top:0;z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.1);flex-shrink:0}.quiz-title{padding:0 20px 24px;text-align:center;flex-shrink:0}.question-container{padding:0 20px 32px;flex:1;display:flex;align-items:center;justify-content:center;min-height:0}.answers-container{padding:0 20px max(32px,env(safe-area-inset-bottom) + 20px);display:flex;flex-direction:column;gap:12px;max-width:400px;width:100%;margin:0 auto;flex-shrink:0;overflow-y:auto;max-height:40vh;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.answers-container::-webkit-scrollbar{display:none}.btn-back{width:40px;height:40px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;cursor:pointer;transition:all .2s ease}.btn-back:hover{transform:scale(1.05)}.progress-container{flex:1;margin:0 16px}.progress-text{text-align:center;font-size:12px;font-weight:600;margin-bottom:8px;opacity:.8}.progress-bar{height:6px;border-radius:3px;overflow:hidden;position:relative}.progress-fill{height:100%;border-radius:3px;transition:width .5s ease;background:linear-gradient(90deg,#ff6b9d,#45b7d1)}.dev-score{font-size:11px;font-weight:700;padding:4px 8px;border-radius:12px;min-width:60px;text-align:center}.quiz-title h1{font-size:clamp(24px,6vw,32px);font-weight:800;line-height:1.2;margin:0;background:linear-gradient(135deg,#ff6b9d,#45b7d1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.question-card{width:100%;max-width:400px;padding:32px 24px;border-radius:24px;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0000001a;transform:translateY(0);transition:all .3s ease;animation:questionSlideIn .6s ease-out}.quiz-screen.light .question-card{background:#ffffffe6;border-color:#e2e8f080;box-shadow:0 8px 32px #00000014}.quiz-screen.dark .question-card{background:#1e293be6;border-color:#ffffff1a;box-shadow:0 8px 32px #0000004d}.question-card.answered{transform:translateY(-8px);box-shadow:0 16px 40px #00000026}.question-text{font-size:clamp(20px,5vw,26px);font-weight:700;line-height:1.3;margin:0}.answer-btn{width:100%;padding:10px;border-radius:16px;border:2px solid transparent;font-size:16px;font-weight:600;line-height:1.4;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:space-between;min-height:64px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease;animation:answerSlideIn .5s ease-out forwards;opacity:0;transform:translate(30px)}.quiz-screen.light .answer-btn{background:#ffffffe6;color:#1e293b;box-shadow:0 4px 16px #0000000d}.quiz-screen.dark .answer-btn{background:#1e293be6;color:#f1f5f9;box-shadow:0 4px 16px #0003}.answer-btn:hover:not(.disabled){transform:translateY(-4px) scale(1.02);border-color:#ff6b9d}.answer-btn.selected{border-color:#ff6b9d;background:linear-gradient(135deg,#ff6b9d33,#45b7d133);transform:translateY(-4px) scale(1.02)}.answer-btn.disabled{cursor:not-allowed;opacity:.7}.answer-text{flex:1;text-align:left}.answer-points{font-weight:800;font-size:14px;padding:4px 8px;border-radius:8px;background:#ff6b9d;color:#fff;animation:pointsPopIn .4s cubic-bezier(.68,-.55,.265,1.55)}.next-container{padding:20px;text-align:center}.btn-next{background:linear-gradient(135deg,#ff6b9d,#45b7d1);color:#fff;border:none;padding:16px 32px;border-radius:16px;font-size:18px;font-weight:700;cursor:pointer;min-width:200px;transition:all .3s ease;animation:nextButtonSlideIn .5s ease-out}.btn-next:hover{transform:translateY(-2px);box-shadow:0 8px 24px #ff6b9d66}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;height:100dvh;padding:20px;text-align:center;gap:24px}.loading-spinner{width:80px;height:80px;border-radius:50%;border:6px solid rgba(255,107,157,.2);border-top:6px solid #ff6b9d;animation:spin 1s linear infinite}.loading-container h2{font-size:clamp(20px,5vw,28px);font-weight:700;margin:0;background:linear-gradient(135deg,#ff6b9d,#45b7d1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.loading-container p{font-size:16px;font-weight:600;margin:8px 0 0;opacity:.8}.error-emoji{font-size:64px;margin-bottom:16px}.btn-home{background:linear-gradient(135deg,#ff6b9d,#45b7d1);color:#fff;border:none;padding:12px 24px;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-home:hover{transform:translateY(-2px)}@keyframes questionSlideIn{0%{opacity:0;transform:translateY(40px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes answerSlideIn{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}@keyframes pointsPopIn{0%{opacity:0;transform:scale(.3) rotate(-10deg)}50%{transform:scale(1.2) rotate(5deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes nextButtonSlideIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (min-width: 768px){.quiz-header{padding:24px 40px 20px}.quiz-title,.question-container,.answers-container{padding-left:40px;padding-right:40px}.question-card,.answers-container{max-width:500px}.answer-btn{font-size:18px;padding:5px 10px}}@media (min-width: 1024px){.quiz-screen{max-width:600px;margin:0 auto}}:root{--background: #f6f9fc;--text: #000000;--primary: #3b82f6;--primary-hover: #2563eb}[data-theme=dark]{--background: #0f1117;--text: #ffffff;--primary: #60a5fa;--primary-hover: #3b82f6}html,body{margin:0;padding:0;font-family:Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;position:fixed;width:100%;height:100%;overflow:hidden;touch-action:manipulation;overscroll-behavior:none;-webkit-overflow-scrolling:touch;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}#root{height:100%;width:100%;overflow:hidden;position:relative}*,*:before,*:after{box-sizing:border-box}button,.btn,.quiz-screen,.result-container{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.loading{display:flex;justify-content:center;align-items:center;height:100vh;color:#fff;font-size:1.2rem;font-weight:600;text-align:center;flex-direction:column;gap:16px;background:linear-gradient(135deg,#667eea,#764ba2)}.loading:after{content:"";width:40px;height:40px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){html{font-size:16px!important}input,textarea,select{font-size:16px!important;transform:translateZ(0)}}@supports (padding: max(0px)){body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}
