:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Comic Sans MS,Chalkboard SE,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;color:#333}#root{max-width:1400px;margin:0 auto;padding:20px}.app-container{background:#fffffff2;border-radius:20px;padding:30px;box-shadow:0 10px 40px #0003}.header{text-align:center;margin-bottom:30px}.header h1{font-size:2.5rem;color:#764ba2;margin-bottom:20px;text-shadow:2px 2px 0 #667eea}.tips-toggle{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 30px;font-size:1.1rem;border-radius:25px;cursor:pointer;font-weight:700;box-shadow:0 4px 15px #667eea66;transition:all .3s ease}.tips-toggle:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea99}.main-content{display:flex;flex-direction:column;gap:20px}.stats{display:flex;justify-content:center;align-items:center;gap:30px;margin-bottom:20px}.progress-card{background:linear-gradient(135deg,#ffeaa7,#fdcb6e);padding:20px 40px;border-radius:15px;box-shadow:0 4px 15px #fdcb6e66}.progress-card h3{font-size:1.2rem;margin-bottom:10px;color:#7f6a00}.progress-card p{font-size:1.5rem;font-weight:700;color:#7f6a00}.progress-bar{height:10px;background:#fff;border-radius:5px;margin-top:10px;overflow:hidden}.progress-bar:before{content:"";display:block;height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:5px;transition:width .5s ease}.reset-btn{background:linear-gradient(135deg,#ff6b6b,#ee5a5a);color:#fff;border:none;padding:12px 25px;font-size:1rem;border-radius:25px;cursor:pointer;font-weight:700;box-shadow:0 4px 15px #ff6b6b66}.multiplication-table{display:grid;grid-template-columns:auto repeat(12,1fr);gap:8px;max-width:1200px;margin:0 auto;overflow-x:auto;padding:20px}.table-header{display:contents}.corner-cell{background:#f8f9fa;border-radius:8px}.header-cell{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem;border-radius:8px;padding:12px;min-width:70px;min-height:70px}.table-row{display:contents}.row-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem;border-radius:8px;padding:12px;min-width:70px;min-height:70px}.table-cell{display:flex;align-items:center;justify-content:center;border-radius:12px;min-width:70px;min-height:70px;font-size:1.5rem;font-weight:700;color:#fff;cursor:pointer;box-shadow:0 4px 8px #0003;transition:all .3s ease;position:relative;overflow:hidden}.table-cell:hover{transform:translateY(-5px);box-shadow:0 8px 16px #0000004d}.table-cell.completed{background:linear-gradient(135deg,#2ecc71,#27ae60)!important}.table-cell.completed:after{content:"✓";position:absolute;top:5px;right:5px;font-size:1rem;color:#fff}.table-cell.selected{transform:scale(1.15);box-shadow:0 0 20px #667eeacc;z-index:10}.cell-result{color:#fff;font-size:1.8rem;font-weight:700}.cell-question{color:#fffc;font-size:1.5rem}.result-display{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;padding:40px 60px;border-radius:20px;box-shadow:0 10px 40px #0000004d;text-align:center;z-index:100;animation:popIn .3s ease}@keyframes popIn{0%{transform:translate(-50%,-50%) scale(.5);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}}.result-display h2{font-size:2rem;color:#667eea;margin-bottom:20px}.equation{font-size:2.5rem;margin:20px 0;color:#333}.result{color:#667eea;font-size:3rem;font-weight:700}.close-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 30px;font-size:1.1rem;border-radius:25px;cursor:pointer;font-weight:700;margin-top:20px}.tips-container{padding:20px}.tips-title{text-align:center;font-size:2rem;color:#764ba2;margin-bottom:30px;text-shadow:2px 2px 0 #667eea}.tips-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px;margin-bottom:40px}.tip-card{background:#fff;border:3px solid;border-radius:15px;padding:25px;text-align:center;box-shadow:0 4px 15px #0000001a;transition:all .3s ease}.tip-card:hover{transform:translateY(-5px);box-shadow:0 8px 25px #00000026}.tip-emoji{font-size:3rem;width:80px;height:80px;margin:0 auto 15px;border-radius:50%;display:flex;align-items:center;justify-content:center}.tip-card h3{font-size:1.3rem;margin-bottom:10px}.tip-text{font-size:1.1rem;color:#555;margin-bottom:15px}.tip-example{background:#f8f9fa;padding:12px;border-radius:8px;font-size:.95rem;color:#666}.tip-example strong{color:#667eea}.tip-message{text-align:center;background:linear-gradient(135deg,#ffeaa7,#fdcb6e);padding:30px;border-radius:15px;box-shadow:0 4px 15px #fdcb6e66}.tip-message h4{font-size:1.5rem;color:#7f6a00;margin-bottom:15px}.tip-message p{font-size:1.2rem;color:#7f6a00}@media(max-width:1024px){.multiplication-table{grid-template-columns:auto repeat(12,60px);gap:4px}.header-cell,.row-header,.table-cell{min-width:60px;min-height:60px;font-size:1.2rem}.table-cell{border-radius:8px}}@media(max-width:768px){.header h1{font-size:1.8rem}.stats{flex-direction:column;gap:15px}.multiplication-table{grid-template-columns:auto repeat(12,45px);gap:3px}.header-cell,.row-header,.table-cell{min-width:45px;min-height:45px;font-size:1rem}.cell-result{font-size:1.2rem}.tips-grid{grid-template-columns:1fr}}
