@import "https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap";
.mathG1Page{color:#0f172a;background:#f8fafc;min-height:100vh;padding-bottom:60px;font-family:Fredoka,Be Vietnam Pro,sans-serif}.mathG1Wrap{max-width:1000px;margin:0 auto;padding:0 20px}.mathG1Hero{color:#fff;text-align:center;background:linear-gradient(135deg,#2563eb 0%,#3b82f6 50%,#1d4ed8 100%);border-bottom-right-radius:36px;border-bottom-left-radius:36px;padding:50px 20px 60px;box-shadow:0 12px 30px -5px #2563eb59}.mathG1Hero__badge{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fff3;border:1px solid #ffffff4d;border-radius:50px;margin-bottom:16px;padding:8px 20px;font-size:.95rem;font-weight:600;display:inline-block}.mathG1Hero__title{margin-bottom:14px;font-size:2.5rem;font-weight:700;line-height:1.2}.mathG1Hero__desc{opacity:.95;max-width:680px;margin:0 auto 30px;font-size:1.15rem;line-height:1.6}.mathG1Hero__startBtn{color:#2563eb;cursor:pointer;background:#fff;border:none;border-radius:50px;padding:16px 42px;font-family:inherit;font-size:1.25rem;font-weight:700;transition:transform .2s,box-shadow .2s;box-shadow:0 10px 25px #00000026}.mathG1Hero__startBtn:hover{transform:scale(1.05);box-shadow:0 15px 35px #0003}.mathG1ResumeBanner{text-align:center;background:#fffbeeb0;border:2px dashed #f59e0b;border-radius:24px;margin-top:30px;padding:24px;box-shadow:0 10px 20px #00000008}.mathG1ResumeBanner__title{color:#b45309;margin-bottom:8px;font-size:1.2rem;font-weight:700}.mathG1ResumeBanner__actions{justify-content:center;gap:12px;margin-top:16px;display:flex}.mathG1ResumeBanner__btn{cursor:pointer;border:none;border-radius:50px;padding:10px 20px;font-family:inherit;font-size:.95rem;font-weight:600}.mathG1ResumeBanner__btn--primary{color:#fff;background:#f59e0b}.mathG1ResumeBanner__btn--secondary{color:#475569;background:#f1f5f9}.mathG1FeaturesGrid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin:50px 0;display:grid}.mathG1FeatureCard{text-align:center;background:#fff;border:2px solid #f1f5f9;border-radius:24px;padding:28px;box-shadow:0 10px 20px #00000008}.mathG1FeatureCard__icon{margin-bottom:12px;font-size:2.5rem}.mathG1FeatureCard__title{color:#0f172a;margin-bottom:8px;font-size:1.25rem;font-weight:700}.mathG1FeatureCard__desc{color:#64748b;font-size:.95rem;line-height:1.5}.mathG1ContainerModal{z-index:99999;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172abf;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.mathG1CardModal{background:#fff;border-radius:32px;flex-direction:column;width:100%;max-width:580px;max-height:92vh;animation:.3s cubic-bezier(.175,.885,.32,1.275) mathG1PopIn;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #0000004d}@keyframes mathG1PopIn{0%{opacity:0;transform:scale(.9)translateY(20px)}to{opacity:1;transform:scale(1)translateY(0)}}.mathG1Header{background:#fff;border-bottom:2px solid #f1f5f9;padding:16px 24px}.mathG1Header__top{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.mathG1Header__exit{color:#475569;cursor:pointer;background:#f1f5f9;border:none;border-radius:50px;padding:6px 14px;font-family:inherit;font-size:.85rem;font-weight:700}.mathG1Header__title{color:#2563eb;font-size:.95rem;font-weight:700}.mathG1Header__score{color:#eab308;font-size:.95rem;font-weight:700}.mathG1Header__progressBox{flex-direction:column;gap:6px;display:flex}.mathG1Header__progressText{color:#64748b;justify-content:space-between;font-size:.8rem;font-weight:700;display:flex}.mathG1Header__track{background:#e2e8f0;border-radius:10px;height:10px;overflow:hidden}.mathG1Header__fill{background:linear-gradient(90deg,#2563eb 0%,#10b981 100%);height:100%;transition:width .3s}.mathG1Body{flex-direction:column;align-items:center;min-height:360px;padding:24px;display:flex;position:relative;overflow-y:auto}.mathG1Feedback{z-index:20;border-radius:50px;padding:8px 24px;font-size:1.05rem;font-weight:700;animation:.3s mathG1BounceIn;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 10px 20px #0000001f}.mathG1Feedback--correct{color:#15803d;background:#dcfce7;border:2px solid #86efac}.mathG1Feedback--retry{color:#a16207;background:#fef9c3;border:2px solid #fde047}.mathG1Feedback--hint{color:#0369a1;background:#e0f2fe;border:2px solid #7dd3fc}@keyframes mathG1BounceIn{0%{opacity:0;transform:translate(-50%)scale(.5)}70%{transform:translate(-50%)scale(1.1)}to{opacity:1;transform:translate(-50%)scale(1)}}.mathG1Question{flex-direction:column;align-items:center;width:100%;display:flex}.mathG1Question__audioBar{text-align:center;background:#f8fafc;border:2px solid #e2e8f0;border-radius:20px;width:100%;margin-bottom:20px;padding:16px}.mathG1Question__speakBtn{color:#fff;cursor:pointer;border:none;border-radius:50px;margin-bottom:8px;padding:8px 20px;font-family:inherit;font-size:.95rem;font-weight:700}.mathG1Question__text{color:#1e293b;margin:0;font-size:1.35rem;font-weight:700}.mathG1Question__visualBox{justify-content:center;width:100%;margin-bottom:20px;display:flex}.mathG1Question__emojiGroup{background:#f8fafc;border:2px dashed #cbd5e1;border-radius:20px;justify-content:center;align-items:center;gap:12px;padding:12px 20px;font-size:2.2rem;display:flex}.mathG1Question__additionGroup{align-items:center;gap:16px;display:flex}.mathG1Question__plusSign{color:#2563eb;font-size:2rem;font-weight:700}.mathG1Question__storyBox{background:#eff6ff;border:2px solid #bfdbfe;border-radius:20px;align-items:center;gap:12px;width:100%;padding:16px;display:flex}.mathG1Question__storyIcon{font-size:2rem}.mathG1Question__storyText{color:#1e3a8a;margin:0;font-size:1.05rem;font-weight:600}.mathG1Question__rulerBox,.mathG1Question__clockBox{color:#1e293b;background:#f8fafc;border:2px solid #e2e8f0;border-radius:20px;padding:16px;font-size:1.2rem;font-weight:700}.mathG1NumpadWrap{flex-direction:column;align-items:center;width:100%;max-width:320px;display:flex}.mathG1NumpadDisplay{text-align:center;background:#f1f5f9;border:3px solid #cbd5e1;border-radius:18px;width:100%;margin-bottom:14px;padding:12px}.mathG1NumpadVal{color:#2563eb;font-size:2.2rem;font-weight:700}.mathG1NumpadGrid{grid-template-columns:repeat(3,1fr);gap:10px;width:100%;display:grid}.mathG1NumpadBtn{color:#0f172a;cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:16px;justify-content:center;align-items:center;min-width:52px;min-height:52px;font-size:1.4rem;font-weight:700;transition:all .15s;display:flex}.mathG1NumpadBtn:hover{background:#f8fafc;border-color:#94a3b8;transform:translateY(-2px)}.mathG1NumpadBtn--action{color:#dc2626;background:#fef2f2;border-color:#fca5a5;font-size:1rem}.mathG1NumpadBtn--submit{color:#fff;background:#2563eb;border-color:#1d4ed8;grid-column:span 2;font-size:1.1rem}.mathG1Question__optionsGrid{grid-template-columns:1fr 1fr;gap:14px;width:100%;display:grid}.mathG1Question__optBtn{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:20px;justify-content:center;align-items:center;min-height:56px;padding:16px;font-family:inherit;transition:all .2s;display:flex}.mathG1Question__optBtn:hover{border-color:#cbd5e1;transform:translateY(-2px)}.mathG1Question__optBtn--selected{transform:scale(1.03);background:#eff6ff!important;border-color:#2563eb!important}.mathG1Question__optBtn--wrong{animation:.3s mathG1Shake;background:#fef2f2!important;border-color:#ef4444!important}@keyframes mathG1Shake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}.mathG1Question__optLabel{color:#1e293b;font-size:1.25rem;font-weight:700}.mathG1Result{justify-content:center;width:100%;display:flex}.mathG1Result__card{text-align:center;background:#fff;border-radius:32px;width:100%;max-width:560px;padding:32px;box-shadow:0 20px 40px #0000001a}.mathG1Result__trophy{margin-bottom:8px;font-size:4rem}.mathG1Result__title{color:#0f172a;margin-bottom:4px;font-size:1.4rem;font-weight:700}.mathG1Result__subtitle{color:#64748b;margin-bottom:12px;font-size:.95rem}.mathG1Result__stars{justify-content:center;gap:8px;margin-bottom:20px;font-size:2rem;display:flex}.mathG1Result__star{opacity:.3}.mathG1Result__star--active{opacity:1}.mathG1Result__statsGrid{grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:24px;display:grid}.mathG1Result__statItem{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;padding:12px;display:flex}.mathG1Result__statVal{color:#2563eb;font-size:1.3rem;font-weight:700}.mathG1Result__statLbl{color:#64748b;font-size:.75rem;font-weight:600}.mathG1Result__skillsSection{text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;margin-bottom:20px;padding:16px}.mathG1Result__skillsSection h3{color:#1e293b;margin-bottom:12px;font-size:.95rem;font-weight:700}.mathG1Result__skillsGrid{flex-direction:column;gap:8px;display:flex}.mathG1Result__skillRow{color:#334155;justify-content:space-between;align-items:center;font-size:.9rem;font-weight:600;display:flex}.mathG1Result__analysis{text-align:left;flex-direction:column;gap:12px;margin-bottom:28px;display:flex}.mathG1Result__block{border-radius:16px;padding:14px;font-size:.9rem;line-height:1.5}.mathG1Result__block--good{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.mathG1Result__block--improve{color:#854d0e;background:#fefce8;border:1px solid #fef08a}.mathG1Result__recommendation{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:16px;padding:14px;font-size:.9rem}.mathG1Result__actions{gap:12px;display:flex}.mathG1Result__btn{cursor:pointer;border:none;border-radius:50px;flex:1;padding:14px;font-family:inherit;font-size:.95rem;font-weight:700}.mathG1Result__btn--primary{color:#fff;background:#2563eb}.mathG1Result__btn--secondary{color:#475569;background:#f1f5f9}@media (max-width:640px){.mathG1Hero__title{font-size:1.8rem}.mathG1Question__optionsGrid,.mathG1Result__statsGrid{grid-template-columns:1fr}.mathG1Result__actions{flex-direction:column}}
