@import"https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&display=swap";:root{--color-red: #eb2f06;--color-blue: #1e3799;--color-light-blue: #4a69bd;--color-yellow: #f6b93b;--color-green: #78e08f;--color-purple: #82ccdd;--color-orange: #fa983a;--color-bg: #f1f2f6;--color-card-bg: #ffffff;--color-text-main: #2f3542;--color-text-light: #747d8c;--shadow-sm: 0 4px 6px rgba(0, 0, 0, .05);--shadow-card: 0 10px 25px rgba(0, 0, 0, .08);--shadow-float: 0 20px 40px rgba(0, 0, 0, .15);--radius-xl: 28px;--radius-md: 16px;--radius-round: 9999px}*{box-sizing:border-box}body{margin:0;padding:0;font-family:Outfit,sans-serif;background-color:var(--color-bg);background-image:radial-gradient(#dfe4ea 2px,transparent 2px);background-size:30px 30px;color:var(--color-text-main);min-height:100vh}button{border:none;cursor:pointer;background:none;font-family:inherit}a{text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}.dashboard-container{max-width:1200px;margin:0 auto;padding:40px 20px}.profile-header{display:flex;flex-direction:column;align-items:center;margin-bottom:60px;text-align:center}.profile-image{width:160px;height:160px;object-fit:cover;border-radius:50%;border:6px solid var(--color-card-bg);box-shadow:var(--shadow-card);background-color:var(--color-white)}.profile-header h1{font-size:3rem;margin:20px 0 10px;font-weight:800;color:var(--color-blue);letter-spacing:-1px}.status-badge{font-size:1.2rem;color:var(--color-text-light);background:var(--color-card-bg);padding:10px 25px;border-radius:var(--radius-round);box-shadow:var(--shadow-sm);font-weight:600}.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px}.card-link{display:block}.project-card{background:var(--color-card-bg);border-radius:var(--radius-xl);padding:30px;height:100%;box-shadow:var(--shadow-card);position:relative;overflow:hidden;transition:box-shadow .3s ease;min-height:260px;display:flex;flex-direction:column;align-items:center;text-align:center}.card-top-bar{position:absolute;top:0;left:0;right:0;height:12px}.card-emoji{font-size:4.5rem;margin-bottom:15px;margin-top:10px}.project-card h2{margin:0 0 10px;font-size:1.6rem;color:var(--color-text-main);font-weight:700}.project-card p{margin:0;color:var(--color-text-light);font-size:1.1rem;line-height:1.5}.fun-section{text-align:center;margin-top:80px;margin-bottom:60px}.confetti-button{background:var(--color-yellow);color:#fff;font-size:1.5rem;font-weight:800;padding:18px 50px;border-radius:var(--radius-round);box-shadow:0 8px #c28b0f,0 20px 20px #00000026;text-shadow:0 2px 2px rgba(0,0,0,.1);border:2px solid rgba(255,255,255,.3)}@media(max-width:600px){.profile-header h1{font-size:2.2rem}.projects-grid{grid-template-columns:1fr}.dashboard-container{padding:20px}}.card-points-badge{position:absolute;top:25px;right:15px;background:#f1c40f;color:#2c3e50;font-size:.9rem;font-weight:700;padding:5px 12px;border-radius:99px;box-shadow:0 4px 6px #0000001a;z-index:2;transform:rotate(10deg);animation:pulse-badge 2s infinite;border:2px solid white}@keyframes pulse-badge{0%{transform:rotate(10deg) scale(1)}50%{transform:rotate(10deg) scale(1.1)}to{transform:rotate(10deg) scale(1)}}.points-widget{background:linear-gradient(135deg,#1e3799,#0c2461);color:#fff;padding:20px;border-radius:20px;margin:0 auto 30px;width:100%;max-width:600px;box-shadow:0 10px 20px #00000026;display:flex;flex-direction:column;gap:10px;overflow:hidden}.points-header{display:flex;justify-content:space-between;align-items:center;font-size:1.2rem;font-weight:700}.week-label{opacity:.8;font-weight:400;font-size:.9rem}.progress-track{width:100%;height:20px;background:#fff3;border-radius:10px;overflow:hidden;position:relative}.progress-bar{height:100%;background:#f1c40f;border-radius:10px;transition:width .5s ease-out}.points-status{text-align:right;font-weight:700}.points-info{font-size:.9rem;background:#0003;padding:10px;border-radius:10px;margin-top:5px;display:flex;align-items:center;gap:10px;justify-content:center}.history-list{margin-top:15px;background:#0003;padding:15px;border-radius:15px}.history-list h3{margin:0 0 10px;font-size:1rem;opacity:.9}.history-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.1)}.history-item:last-child{border-bottom:none}.h-week{font-family:monospace;opacity:.8}.h-points{font-weight:700;color:#f1c40f}.activity-timeline{margin-bottom:20px;background:#0000001a;padding:10px;border-radius:10px;max-height:300px;overflow-y:auto}.activity-timeline h3{margin-top:0;margin-bottom:10px;font-size:1rem;padding-bottom:5px;border-bottom:1px solid rgba(255,255,255,.1)}.timeline-item{display:flex;align-items:center;gap:10px;padding:8px;margin-bottom:5px;border-radius:8px;background:#ffffff0d;font-size:.9rem}.timeline-item.log-correct{border-left:4px solid #2ecc71}.timeline-item.log-wrong{border-left:4px solid #e74c3c;opacity:.8}.log-time{font-family:monospace;opacity:.6;font-size:.8rem;min-width:45px}.log-game{font-weight:700;color:gold;min-width:60px}.log-details{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.log-icon{font-size:1.2rem}.bar-segment{height:100%}.bar-segment.mathe{background-color:#27ae60}.bar-segment.english{background-color:#2980b9}.bar-segment.other{background-color:#8e44ad}.bar-segment.generic{background-color:#f1c40f}.progress-track .bar-segment:first-child{border-top-left-radius:10px;border-bottom-left-radius:10px}.progress-track .bar-segment:last-child{border-top-right-radius:10px;border-bottom-right-radius:10px}.chart-legend{display:flex;gap:15px;justify-content:center;margin-bottom:15px;font-size:.9rem;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:6px}.dot{width:12px;height:12px;border-radius:50%;display:inline-block}.dot.mathe{background-color:#27ae60}.dot.english{background-color:#2980b9}.dot.other{background-color:#8e44ad}.dot.generic{background-color:#f1c40f}.reaction-game{position:fixed;top:0;left:0;width:100%;height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .1s ease;z-index:100;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.reaction-game.waiting{background-color:#2f3542;color:#fff}.reaction-game.ready{background-color:#eb2f06;color:#fff}.reaction-game.green{background-color:#4cd137;color:#fff}.reaction-game.finished{background-color:#00a8ff;color:#fff}.reaction-game.early{background-color:#e1b12c;color:#fff}.game-content h1{font-size:4rem;margin:0;text-shadow:0 4px 10px rgba(0,0,0,.2)}.game-content p{font-size:1.5rem;opacity:.9}.game-content .icon{font-size:5rem;margin-bottom:20px}.hint{margin-top:50px;font-size:1rem!important;opacity:.5!important}.back-button{position:absolute;top:20px;left:20px;background:#fff3;padding:10px 20px;border-radius:99px;color:#fff;font-weight:700;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:101}.back-button:hover{background:#fff6}.restart-btn{margin-top:30px;padding:15px 30px;font-size:1.2rem;font-weight:700;background:#fff;color:#333;border-radius:99px;box-shadow:0 5px 15px #0003}.shake-anim{animation:shake .5s infinite}@keyframes shake{0%{transform:translate(1px,1px) rotate(0)}10%{transform:translate(-1px,-2px) rotate(-1deg)}20%{transform:translate(-3px) rotate(1deg)}30%{transform:translate(3px,2px) rotate(0)}40%{transform:translate(1px,-1px) rotate(1deg)}50%{transform:translate(-1px,2px) rotate(-1deg)}60%{transform:translate(-3px,1px) rotate(0)}70%{transform:translate(3px,1px) rotate(-1deg)}80%{transform:translate(-1px,-1px) rotate(1deg)}90%{transform:translate(1px,2px) rotate(0)}to{transform:translate(1px,-2px) rotate(-1deg)}}.pixel-painter-container{padding:60px 20px;display:flex;flex-direction:column;align-items:center;background-color:#f1f2f6;min-height:100vh}.controls{margin-bottom:20px;background:#fff;padding:15px;border-radius:20px;box-shadow:0 5px 15px #0000001a;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:center}.color-palette{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.color-swatch{width:30px;height:30px;border-radius:50%;border:2px solid #ddd;cursor:pointer;transition:transform .2s}.color-swatch:hover{transform:scale(1.2)}.color-swatch.active{border-color:#2f3542;transform:scale(1.3);box-shadow:0 0 10px #0003}.action-buttons{display:flex;gap:10px}.clear-btn{padding:8px 16px;background:#e1b12c;color:#fff;border-radius:8px;font-weight:700}.download-btn{padding:8px 16px;background:#1e3799;color:#fff;border-radius:8px;font-weight:700;box-shadow:0 4px #0c2461;transition:transform .1s}.download-btn:active{transform:translateY(4px);box-shadow:0 0}.canvas-grid{display:grid;grid-template-columns:repeat(24,1fr);width:95vw;max-width:600px;aspect-ratio:1;background:#fff;border:4px solid #2f3542;box-shadow:10px 10px #0003}.pixel{width:100%;height:100%;border:1px dotted #f1f2f6;cursor:pointer}.pixel:hover{border-color:#999}.comic-container{padding:60px 20px;display:flex;flex-direction:column;align-items:center;min-height:100vh;background-color:#7efff5}.comic-strip{display:flex;gap:15px;width:100%;max-width:900px;overflow-x:auto;padding-bottom:20px}.panel{background:#fff;border:4px solid #000;width:100%;min-width:200px;aspect-ratio:3/4;display:flex;flex-direction:column;box-shadow:10px 10px #000c;transition:transform .2s;cursor:pointer;position:relative;padding:10px}.panel.active{border-color:#eb2f06;transform:translateY(-10px)}.panel-image{flex:1;display:flex;align-items:center;justify-content:center;background-color:#f1f2f6;border-bottom:2px solid #000;overflow:hidden}.panel textarea{height:80px;border:none;resize:none;padding:10px;font-family:Comic Sans MS,Chalkboard SE,sans-serif;font-size:1.1rem;text-align:center;outline:none}.panel-number{position:absolute;top:-10px;left:-10px;background:#eb2f06;color:#fff;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;border:2px solid #000}.sticker{font-size:5rem}.placeholder{font-size:3rem;color:#cbd5e0}.sticker-picker{background:#fff;padding:20px;border-radius:20px;margin-top:20px;border:4px solid #000;text-align:center}.stickers{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.stickers button{font-size:2rem;padding:10px;background:#f1f2f6;border-radius:10px;border:2px solid white}.remove-btn{font-size:1.5rem!important;background:#fcc!important}.timer-container{padding:60px 20px;display:flex;flex-direction:column;align-items:center;min-height:100vh;background-color:#2f3640;color:#fff}.timer-display{margin:50px 0}.timer-circle{width:300px;height:300px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 0 50px #00000080;transition:background 1s linear}.inner-circle{width:260px;height:260px;background:#2f3640;border-radius:50%;display:flex;align-items:center;justify-content:center}.time-text{font-size:5rem;font-family:monospace;font-weight:700}.timer-controls{display:flex;gap:15px;flex-wrap:wrap;justify-content:center}.timer-controls button{padding:15px 30px;font-size:1.2rem;border-radius:99px;background:#fff;color:#2f3640;font-weight:700;transition:transform .2s}.timer-controls button:hover{transform:scale(1.1)}.stop-btn{background:#e1b12c!important;color:#fff!important}.dice-container{padding:60px 20px;display:flex;flex-direction:column;align-items:center;min-height:100vh;background-color:#6c5ce7;color:#fff}.dice-area{display:flex;gap:40px;margin:80px 0;perspective:1000px}.die{width:100px;height:100px;background:#fff;border-radius:16px;box-shadow:inset 0 0 10px #0000001a,0 10px 20px #0003;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:10px;gap:2px}.dot{background:transparent;border-radius:50%}.dot.show{background:#2d3436}.total-score{font-size:3rem;font-weight:700;margin-bottom:30px}.roll-btn{font-size:2rem;padding:20px 60px;background:#ffeaa7;color:#2d3436;border-radius:99px;font-weight:800;box-shadow:0 10px #fdcb6e;transition:transform .1s}.roll-btn:active{transform:translateY(10px);box-shadow:0 0 #fdcb6e}.roll-btn:disabled{filter:grayscale(1);transform:translateY(10px);box-shadow:0 0 #fdcb6e}.favorites-container{padding:60px 20px;display:flex;flex-direction:column;align-items:center;min-height:100vh;background-color:#fab1a0;color:#2d3436}.category-select{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-bottom:40px}.category-select button{background:#ffffff80;border:2px solid transparent;padding:10px 20px;border-radius:20px;font-size:1.1rem;font-weight:700;color:#2d3436}.category-select button.active{background:#fff;border-color:#e17055;transform:scale(1.1);box-shadow:0 5px 15px #0000001a}.result-display{width:300px;height:200px;background:#fff;border-radius:30px;display:flex;align-items:center;justify-content:center;margin-bottom:40px;box-shadow:inset 0 0 20px #0000000d,0 20px 40px #0000001a}.result-text{font-size:3rem;font-weight:800;color:#d63031;text-align:center}.placeholder{font-size:5rem;color:#dfe6e9;font-weight:700}.generate-btn{font-size:1.5rem;padding:20px 50px;background:#d63031;color:#fff;font-weight:700;border-radius:99px;border:4px solid white;box-shadow:0 10px 20px #0003;transition:transform .1s}.generate-btn:active{transform:scale(.95)}.mini-goal-widget{background:#ffffff26;padding:10px 20px;border-radius:12px;color:#fff;width:100%;max-width:300px;margin-bottom:20px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,.2);position:relative;box-shadow:0 4px 6px #0000001a}.mini-goal-info{display:flex;justify-content:space-between;font-size:.9rem;margin-bottom:6px;font-weight:700}.mini-track{width:100%;height:10px;background:#0003;border-radius:5px;overflow:hidden}.mini-bar{height:100%;background:#f1c40f;border-radius:5px}.mini-badge{position:absolute;top:-10px;right:-10px;background:#27ae60;color:#fff;font-size:.8rem;padding:4px 8px;border-radius:10px;box-shadow:0 2px 4px #0003;font-weight:700;transform:rotate(10deg)}.math-container{padding:60px 20px;display:flex;flex-direction:column;align-items:center;min-height:100vh;background-color:#2c3e50;color:#fff;font-family:Outfit,sans-serif}.math-menu{text-align:center;margin-top:40px}.math-menu h1{font-size:3.5rem;margin-bottom:10px;color:#f1c40f}.mode-buttons{display:flex;flex-direction:column;gap:20px;margin-top:40px}.mode-btn{padding:20px 40px;font-size:1.5rem;border-radius:20px;border:none;font-weight:700;color:#fff;box-shadow:0 8px #0003;transition:transform .1s}.mode-btn:active{transform:translateY(8px);box-shadow:none}.mode-btn.blue{background-color:#2980b9}.mode-btn.green{background-color:#27ae60}.avatar-decor{font-size:8rem;margin-top:50px;filter:drop-shadow(0 10px 10px rgba(0,0,0,.3))}.math-game{display:flex;flex-direction:column;align-items:center;width:100%;max-width:500px}.score-board{font-size:1.5rem;background:#ffffff1a;padding:10px 30px;border-radius:99px;margin-bottom:40px;border:2px solid rgba(255,255,255,.2)}.question-card{background:#fff;color:#2c3e50;padding:40px 40px 90px;border-radius:30px;width:100%;text-align:center;box-shadow:0 15px 30px #0000004d;margin-bottom:30px;border:5px solid white;position:relative;min-height:250px;display:flex;flex-direction:column;justify-content:center}.question-card.correct{border-color:#27ae60;background:#eafaf1}.question-card.wrong{border-color:#e74c3c;background:#fdedec}.question-card h2{font-size:2.2rem;margin:0;font-family:Outfit,sans-serif;font-weight:700;line-height:1.3}.answer-form{display:flex;gap:15px;width:100%;justify-content:center;align-items:stretch}.answer-form input{font-size:2.5rem;padding:15px;width:140px;text-align:center;border-radius:20px;border:none;outline:none;box-shadow:inset 0 5px 10px #0000001a}.answer-form button{font-size:1.5rem;padding:0 30px;background:#f39c12;color:#fff;border-radius:20px;font-weight:700;box-shadow:0 5px #d35400}.answer-form button:active{transform:translateY(5px);box-shadow:none}.feedback-emoji{font-size:1.8rem;font-weight:700;margin-top:30px;height:40px;color:#f1c40f}.abort-btn{margin-top:60px;background:transparent;color:#fff9;font-size:1rem}.abort-btn:hover{color:#fff;text-decoration:underline}.mode-btn.purple{background-color:#8e44ad}.choice-options{display:grid;grid-template-columns:1fr 1fr;gap:15px;width:100%}.choice-btn{padding:20px;font-size:1.2rem;background:#34495e;color:#fff;border:none;border-radius:15px;font-weight:700;cursor:pointer;box-shadow:0 5px #0003;transition:all .1s}.choice-btn:active{transform:translateY(5px);box-shadow:none}.choice-btn.correct-mark{background-color:#27ae60;box-shadow:0 5px #1e8449}.choice-btn.wrong-mark{background-color:#e74c3c;box-shadow:0 5px #c0392b}.hint-container{position:absolute;bottom:20px;left:0;width:100%;display:flex;justify-content:center;pointer-events:none}.hint-container>*{pointer-events:auto}.hint-trigger{background:#f1f2f6;border:2px dashed #bdc3c7;color:#7f8c8d;padding:8px 16px;border-radius:20px;cursor:pointer;font-size:.9rem;transition:all .2s;display:inline-block}.hint-trigger:hover{background:#ecf0f1;color:#2c3e50;border-color:#95a5a6;transform:scale(1.05)}.hint-box{padding:10px;background:#fff3cd;color:#856404;border:1px solid #ffeeba;border-radius:10px;font-weight:400;font-size:.9rem;box-shadow:0 2px 5px #0000000d;animation:popIn .3s ease-out;max-width:90%}.english-container{padding:60px 20px;display:flex;flex-direction:column;align-items:center;min-height:100vh;background-color:#00247d;color:#fff;background-image:linear-gradient(45deg,#cf142b 25%,transparent 25%,transparent 75%,#cf142b 75%,#cf142b),linear-gradient(45deg,#cf142b 25%,transparent 25%,transparent 75%,#cf142b 75%,#cf142b);background-size:60px 60px;background-position:0 0,30px 30px;box-shadow:inset 0 0 0 1000px #00247de6}.english-header{display:flex;flex-direction:column;align-items:center;margin-bottom:30px}.english-header h1{font-size:3rem;margin:0;text-shadow:2px 2px 0 #cf142b}.score-badge{background:#f1c40f;color:#2c3e50;padding:5px 15px;border-radius:20px;font-weight:700;margin-top:10px}.flashcard{background:#fff;color:#333;padding:30px;border-radius:20px;width:90%;max-width:400px;text-align:center;box-shadow:0 15px 30px #0000004d;border:5px solid #cf142b;position:relative;margin-bottom:40px}.question-icon{font-size:6rem;margin:10px 0}.flag-icon{position:absolute;top:10px;right:10px;font-size:2rem}.german-word{font-size:2rem;color:#00247d}.speak-btn{background:#27ae60;color:#fff;border-radius:99px;padding:10px 20px;margin-top:10px;font-size:1.2rem;font-weight:700}.options-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%;max-width:500px}.option-btn{background:#fff;color:#00247d;font-size:1.5rem;padding:20px;border-radius:15px;font-weight:700;box-shadow:0 8px #0000001a;transition:transform .1s}.option-btn:hover{background:#f1f2f6}.option-btn.correct{background:#27ae60;color:#fff;box-shadow:0 8px #1e8449}.option-btn.disabled{opacity:.5;cursor:not-allowed}@media(max-width:500px){.options-grid{grid-template-columns:1fr}}.challenge-container{max-width:800px;margin:0 auto;padding:40px 20px;text-align:center;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;width:100%}.challenge-card{background:var(--color-card-bg);border-radius:var(--radius-xl);padding:60px 40px;box-shadow:var(--shadow-card);position:relative;overflow:hidden;margin-bottom:30px;transition:transform .3s ease;width:100%;max-width:600px}.challenge-card:hover{transform:translateY(-5px)}.challenge-top-bar{position:absolute;top:0;left:0;right:0;height:15px;background:linear-gradient(90deg,var(--color-red),var(--color-yellow))}.challenge-icon{font-size:5rem;margin-bottom:20px;display:block}.challenge-text{font-size:2.5rem;font-weight:800;color:var(--color-text-main);line-height:1.3;margin:20px 0;word-wrap:break-word}.challenge-category{display:inline-block;background:var(--color-bg);color:var(--color-text-light);padding:8px 16px;border-radius:var(--radius-round);font-weight:600;text-transform:uppercase;font-size:.9rem;letter-spacing:1px;margin-bottom:20px}.controls{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;width:100%}.btn-generate{background:var(--color-blue);color:#fff;font-size:1.5rem;font-weight:700;padding:20px 40px;border-radius:var(--radius-round);box-shadow:var(--shadow-float);transition:transform .2s,box-shadow .2s;border:4px solid rgba(255,255,255,.2);width:100%;max-width:400px}.btn-generate:active{transform:scale(.95);box-shadow:var(--shadow-sm)}.btn-home{align-self:flex-start;margin-bottom:20px;background:#fff;padding:10px 20px;border-radius:var(--radius-round);box-shadow:var(--shadow-sm);font-weight:600;color:var(--color-text-main);display:inline-flex;align-items:center;gap:8px}.timer-section{margin-top:30px;padding:20px;background:var(--color-bg);border-radius:var(--radius-md);width:100%;max-width:600px}@media(max-width:600px){.challenge-container{padding:20px 15px}.challenge-card{padding:40px 20px;margin-bottom:20px}.challenge-text{font-size:1.8rem}.challenge-icon{font-size:4rem}.btn-generate{font-size:1.2rem;padding:15px 30px}.timer-display{font-size:2.5rem}}.timer-display{font-size:3rem;font-weight:800;font-variant-numeric:tabular-nums;color:var(--color-text-main)}.timer-controls button{background:var(--color-white);border:2px solid var(--color-text-light);padding:10px 20px;margin:0 5px;border-radius:var(--radius-md);font-weight:600}.timer-controls button.btn-start{border-color:var(--color-green);color:var(--color-green)}.timer-controls button.btn-reset{border-color:var(--color-red);color:var(--color-red)}@keyframes popIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}.animate-pop{animation:popIn .5s cubic-bezier(.175,.885,.32,1.275)}.mathtest-container{padding:50px 16px 30px;display:flex;flex-direction:column;align-items:center;min-height:100dvh;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);color:#fff;font-family:Outfit,sans-serif;box-sizing:border-box;overflow-x:hidden}.mathtest-start{text-align:center;margin-top:20px;max-width:420px;width:100%;padding:0 8px}.start-icon{font-size:4rem;margin-bottom:8px;filter:drop-shadow(0 5px 15px rgba(0,0,0,.3))}.mathtest-start h1{font-size:2.4rem;margin:0;color:#f1c40f}.mathtest-start h2{font-size:1.15rem;font-weight:400;color:#ffffffb3;margin:4px 0 24px}.start-info{display:flex;align-items:center;justify-content:center;gap:24px;background:#ffffff14;border-radius:18px;padding:20px 28px;border:1px solid rgba(255,255,255,.1)}.info-item{display:flex;flex-direction:column;align-items:center}.info-number{font-size:2.2rem;font-weight:700;color:#f1c40f}.info-label{font-size:.85rem;color:#fff9;margin-top:2px}.info-divider{width:1px;height:44px;background:#fff3}.start-hint{margin:20px 0 28px;font-size:.95rem;color:#fff9;line-height:1.5}.start-btn{padding:16px 44px;font-size:1.4rem;font-weight:700;background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;border:none;border-radius:18px;cursor:pointer;box-shadow:0 6px #d35400,0 12px 24px #0000004d;transition:transform .1s;min-height:54px;-webkit-tap-highlight-color:transparent}.start-btn:active{transform:translateY(6px);box-shadow:0 0 #d35400,0 4px 12px #0000004d}.mathtest-game{display:flex;flex-direction:column;align-items:center;width:100%;max-width:460px;position:relative;flex:1}.test-header{display:flex;justify-content:space-between;width:100%;margin-bottom:6px;align-items:center;gap:10px}.timer-display{font-size:1.3rem;font-weight:700;background:#ffffff1a;padding:6px 14px;border-radius:99px;border:2px solid rgba(255,255,255,.15);transition:all .3s;white-space:nowrap}.timer-display.urgent{color:#f39c12;border-color:#f39c12;background:#f39c1226}.timer-display.critical{color:#e74c3c;border-color:#e74c3c;background:#e74c3c26;animation:pulse-timer 1s infinite}@keyframes pulse-timer{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.progress-display{font-size:1rem;color:#fff9;background:#ffffff14;padding:6px 14px;border-radius:99px;white-space:nowrap}.progress-bar-track{width:100%;height:5px;background:#ffffff1a;border-radius:3px;margin-bottom:8px;overflow:hidden}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#27ae60,#2ecc71);border-radius:3px}.mini-score{display:flex;gap:16px;margin-bottom:14px;font-size:1rem}.mini-correct{color:#2ecc71}.mini-wrong{color:#e74c3c}.test-card{background:#fff;color:#2c3e50;padding:24px 20px;border-radius:22px;width:100%;text-align:center;box-shadow:0 10px 30px #00000059;margin-bottom:16px;border:3px solid white;position:relative;display:flex;align-items:center;justify-content:center;min-height:90px}.test-card.correct{border-color:#27ae60;background:#eafaf1}.test-card.wrong{border-color:#e74c3c;background:#fdedec}.task-number{position:absolute;top:8px;left:14px;font-size:.8rem;color:#bdc3c7;font-weight:600}.test-card h2{font-size:2.6rem;margin:0;font-weight:700;letter-spacing:2px}.test-form{display:flex;gap:10px;width:100%;justify-content:center;align-items:stretch}.test-form input{font-size:2.4rem;padding:10px;width:140px;text-align:center;border-radius:16px;border:none;outline:none;box-shadow:inset 0 3px 6px #00000026;background:#fffffff2;color:#2c3e50;font-weight:700;min-height:56px;-webkit-appearance:none;appearance:none}.test-form input:focus{box-shadow:inset 0 3px 6px #00000026,0 0 0 3px #f1c40f80}.test-form button{font-size:1.6rem;padding:0 24px;background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff;border:none;border-radius:16px;font-weight:700;cursor:pointer;box-shadow:0 4px #1e8449;transition:transform .1s;min-height:56px;min-width:60px;-webkit-tap-highlight-color:transparent}.test-form button:active{transform:translateY(4px);box-shadow:none}.test-form button:disabled{opacity:.5;cursor:not-allowed}.skip-btn{margin-top:10px;background:transparent;color:#fff6;font-size:.9rem;border:none;cursor:pointer;padding:10px 20px;min-height:44px;-webkit-tap-highlight-color:transparent}.skip-btn:hover:not(:disabled){color:#ffffffb3}.quick-feedback{font-size:2rem;margin-top:10px;font-weight:700}.correct-fb{color:#2ecc71}.wrong-fb{color:#e74c3c;font-size:1.5rem}.mathtest-result{max-width:500px;width:100%;text-align:center;padding:0 4px}.result-grade{margin:10px 0 20px}.grade-emoji{font-size:4rem;display:block;margin-bottom:6px}.result-grade h2{font-size:1.7rem;margin:0}.result-stats{background:#ffffff14;border-radius:18px;padding:20px 16px;border:1px solid rgba(255,255,255,.1);margin-bottom:20px}.stat-big{margin-bottom:16px}.stat-number{font-size:3.2rem;font-weight:700;color:#f1c40f;display:block}.stat-label{font-size:1rem;color:#fff9}.stat-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.stat-item{background:#ffffff0d;padding:10px 8px;border-radius:12px;display:flex;flex-direction:column;gap:2px}.stat-item span{font-size:.78rem;color:#ffffff80}.stat-item strong{font-size:1.3rem}.correct-stat strong{color:#2ecc71}.wrong-stat strong{color:#e74c3c}.skipped-stat strong{color:#f39c12}.open-stat strong{color:#95a5a6}.stat-time{font-size:.85rem;color:#fff6;margin-top:8px}.result-errors{background:#e74c3c1a;border:1px solid rgba(231,76,60,.25);border-radius:18px;padding:16px;margin-bottom:20px;text-align:left}.result-errors h3{margin:0 0 12px;font-size:1rem;color:#e74c3c}.error-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.error-item{background:#ffffff0f;padding:7px 10px;border-radius:8px;display:flex;align-items:center;gap:5px;font-size:.88rem}.error-task{font-weight:700;color:#fff}.error-answer{color:#2ecc71;font-weight:600}.error-given{color:#ffffff59;font-size:.75rem}.result-actions{display:flex;flex-direction:column;gap:10px;align-items:center;margin-top:8px;padding-bottom:20px}.retry-btn{padding:14px 36px;font-size:1.2rem;font-weight:700;background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;border:none;border-radius:16px;cursor:pointer;box-shadow:0 5px #d35400;transition:transform .1s;min-height:50px;-webkit-tap-highlight-color:transparent}.retry-btn:active{transform:translateY(5px);box-shadow:none}.home-btn{color:#ffffff80;font-size:1rem;text-decoration:none;padding:10px;min-height:44px;display:flex;align-items:center}.home-btn:hover{color:#fff}@media(max-width:400px){.mathtest-container{padding:44px 12px 20px}.start-icon{font-size:3rem}.mathtest-start h1{font-size:2rem}.mathtest-start h2{font-size:1rem;margin-bottom:18px}.start-info{padding:16px 20px;gap:16px}.info-number{font-size:1.8rem}.info-label{font-size:.8rem}.start-hint{font-size:.88rem;margin:16px 0 22px}.start-btn{font-size:1.2rem;padding:14px 36px}.timer-display{font-size:1.1rem;padding:5px 10px}.progress-display{font-size:.88rem;padding:5px 10px}.test-card{padding:18px 14px;min-height:74px;border-radius:18px}.test-card h2{font-size:2rem;letter-spacing:1px}.task-number{font-size:.7rem;top:6px;left:10px}.test-form input{font-size:2rem;width:110px;padding:8px;min-height:50px}.test-form button{font-size:1.3rem;padding:0 18px;min-height:50px}.quick-feedback{font-size:1.5rem;margin-top:6px}.wrong-fb{font-size:1.2rem}.grade-emoji{font-size:3rem}.result-grade h2{font-size:1.4rem}.stat-number{font-size:2.6rem}.stat-item strong{font-size:1.1rem}.error-grid{grid-template-columns:1fr}.error-item{font-size:.82rem}}@media(min-width:401px)and (max-width:480px){.mathtest-container{padding:48px 14px 24px}.test-card h2{font-size:2.3rem}.test-form input{font-size:2.2rem;width:125px}.start-icon{font-size:3.5rem}}@media(max-height:680px){.mathtest-container{padding-top:40px}.mathtest-start{margin-top:10px}.start-icon{font-size:3rem;margin-bottom:4px}.mathtest-start h1{font-size:2rem}.mathtest-start h2{margin-bottom:14px}.start-info{padding:14px 20px}.info-number{font-size:1.8rem}.start-hint{margin:14px 0 20px}.mini-score{margin-bottom:8px}.test-card{padding:16px;min-height:70px;margin-bottom:12px}.test-card h2{font-size:2.2rem}.skip-btn,.quick-feedback{margin-top:6px}}@media(min-width:600px){.mathtest-container{padding:70px 24px 40px}.mathtest-start h1{font-size:3rem}.start-info{padding:25px 40px;gap:30px}.info-number{font-size:2.5rem}.test-card{padding:35px 30px;min-height:110px}.test-card h2{font-size:3rem}.test-form input{font-size:2.8rem;width:160px;min-height:64px}.test-form button{font-size:1.8rem;padding:0 30px;min-height:64px}.timer-display{font-size:1.5rem;padding:8px 18px}.progress-display{font-size:1.1rem}.stat-number{font-size:4rem}.grade-emoji{font-size:5rem}.result-grade h2{font-size:2rem}}.lock-screen{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh;background-color:#2f3542;color:#fff;text-align:center}.lock-card{background:#fff;padding:40px;border-radius:20px;box-shadow:0 10px 30px #0000004d;width:90%;max-width:400px;color:#2f3542}.lock-avatar-container{width:100px;height:100px;margin:0 auto 20px;background:#f1f2f6;border-radius:50%;overflow:hidden;border:4px solid #eb2f06}.lock-avatar-container img{width:100%;height:100%;object-fit:cover}.lock-input{width:100%;padding:15px;font-size:1.2rem;border:2px solid #ddd;border-radius:12px;margin:20px 0;text-align:center;outline:none;font-family:inherit;transition:border-color .2s}.lock-input:focus{border-color:#eb2f06}.unlock-btn{width:100%;padding:15px;background-color:#eb2f06;color:#fff;font-size:1.2rem;font-weight:700;border-radius:12px;transition:transform .1s}.unlock-btn:active{transform:scale(.98)}.error-msg{color:#eb2f06;font-weight:700;margin-top:10px}
