@keyframes mlb-live-pulse{0%,to{box-shadow:0 0 #ef4444b3;opacity:1}50%{box-shadow:0 0 0 8px #ef444400;opacity:.8}}@keyframes mlb-float-up{0%{opacity:1;transform:translateY(0) scale(1)}80%{opacity:1;transform:translateY(-48px) scale(1.1)}to{opacity:0;transform:translateY(-64px) scale(.9)}}@keyframes mlb-row-flash{0%{background:#60a5fa59}to{background:transparent}}@keyframes mlb-score-pop{0%{transform:scale(1)}40%{transform:scale(1.35);color:#34d399}70%{transform:scale(.95)}to{transform:scale(1)}}@keyframes mlb-confetti-fall{0%{transform:translateY(0) rotate(0) scale(1);opacity:1}to{transform:translateY(220px) rotate(720deg) scale(.4);opacity:0}}@keyframes mlb-crown-glow{0%,to{text-shadow:0 0 8px rgba(245,197,24,.6),0 0 20px rgba(245,197,24,.3)}50%{text-shadow:0 0 16px rgba(245,197,24,1),0 0 40px rgba(245,197,24,.6),0 0 80px rgba(245,197,24,.2)}}@keyframes mlb-shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes mlb-progress-grow{0%{width:0}}@keyframes mlb-fade-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes mlb-rank-badge-in{0%{transform:scale(.5) rotate(-15deg);opacity:0}60%{transform:scale(1.15) rotate(5deg);opacity:1}to{transform:scale(1) rotate(0);opacity:1}}@keyframes mlb-header-pulse{0%,to{opacity:.6}50%{opacity:1}}@keyframes mlb-stars{0%{background-position:0 0,40px 60px,130px 20px}to{background-position:10000px 5000px,10040px 5060px,10130px 5020px}}.mlb-root{min-height:100vh;background:radial-gradient(ellipse at 20% 30%,rgba(30,58,138,.25) 0%,transparent 60%),radial-gradient(ellipse at 80% 70%,rgba(88,28,135,.2) 0%,transparent 60%),linear-gradient(135deg,#08091a,#0d1425,#09101f);color:#e2e8f0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;padding:0;overflow-x:hidden;position:relative}.mlb-root:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(1px 1px at 15% 25%,rgba(255,255,255,.15) 0%,transparent 100%),radial-gradient(1px 1px at 55% 15%,rgba(255,255,255,.1) 0%,transparent 100%),radial-gradient(1px 1px at 80% 60%,rgba(255,255,255,.12) 0%,transparent 100%),radial-gradient(1px 1px at 35% 75%,rgba(255,255,255,.08) 0%,transparent 100%),radial-gradient(1px 1px at 70% 40%,rgba(255,255,255,.1) 0%,transparent 100%),radial-gradient(1px 1px at 90% 85%,rgba(255,255,255,.14) 0%,transparent 100%),radial-gradient(1px 1px at 10% 90%,rgba(255,255,255,.09) 0%,transparent 100%);pointer-events:none;z-index:0}.mlb-header{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:18px 32px 14px;border-bottom:1px solid rgba(96,165,250,.12);background:#08091a99;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mlb-header-left{display:flex;flex-direction:column;gap:2px}.mlb-title{font-size:22px;font-weight:800;letter-spacing:-.3px;background:linear-gradient(90deg,#93c5fd,#c4b5fd,#93c5fd);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:mlb-shimmer 4s linear infinite}.mlb-subtitle{font-size:12px;color:#94a3b8b3;display:flex;align-items:center;gap:10px}.mlb-header-right{display:flex;align-items:center;gap:20px}.mlb-stat{display:flex;flex-direction:column;align-items:center;gap:1px}.mlb-stat-num{font-size:22px;font-weight:800;color:#60a5fa;line-height:1}.mlb-stat-label{font-size:10px;color:#94a3b899;text-transform:uppercase;letter-spacing:.5px}.mlb-stat-divider{width:1px;height:36px;background:#60a5fa26}.mlb-live-badge{display:flex;align-items:center;gap:6px;background:#ef44441f;border:1px solid rgba(239,68,68,.3);border-radius:20px;padding:4px 10px 4px 8px;font-size:11px;font-weight:700;color:#fca5a5;letter-spacing:1px;text-transform:uppercase}.mlb-live-dot{width:8px;height:8px;border-radius:50%;background:#ef4444;animation:mlb-live-pulse 1.5s ease-in-out infinite}.mlb-offline-badge{display:flex;align-items:center;gap:6px;background:#64748b26;border:1px solid rgba(100,116,139,.25);border-radius:20px;padding:4px 10px 4px 8px;font-size:11px;font-weight:600;color:#94a3b8;letter-spacing:.5px}.mlb-offline-dot{width:8px;height:8px;border-radius:50%;background:#64748b}.mlb-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:16px;color:#94a3b8;font-size:14px}.mlb-spinner{width:40px;height:40px;border:3px solid rgba(96,165,250,.2);border-top-color:#60a5fa;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mlb-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:12px;color:#fca5a5;font-size:15px}.mlb-content{position:relative;z-index:1;padding:20px 24px}.mlb-table-wrap{background:#0f172ab3;border:1px solid rgba(96,165,250,.1);border-radius:16px;overflow:hidden;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.mlb-table{width:100%;border-collapse:collapse}.mlb-table thead tr{background:#1e293bcc;border-bottom:1px solid rgba(96,165,250,.15)}.mlb-table thead th{padding:10px 12px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:#94a3b899;text-align:left}.mlb-th-rank{width:52px;text-align:center}.mlb-th-name{min-width:140px}.mlb-th-score{width:96px;text-align:center}.mlb-th-task-col{width:44px;text-align:center;font-size:10px;color:#94a3b880;padding:8px 4px}.mlb-row{transition:transform .6s cubic-bezier(.34,1.56,.64,1);border-bottom:1px solid rgba(51,65,85,.4);will-change:transform}.mlb-row:last-child{border-bottom:none}.mlb-row--flash{animation:mlb-row-flash 1.2s ease-out}.mlb-row--top1{background:linear-gradient(90deg,rgba(245,197,24,.07) 0%,transparent 60%)}.mlb-row--top2{background:linear-gradient(90deg,rgba(192,192,192,.05) 0%,transparent 60%)}.mlb-row--top3{background:linear-gradient(90deg,rgba(205,127,50,.06) 0%,transparent 60%)}.mlb-row td{padding:10px 12px;vertical-align:middle}.mlb-table--compact .mlb-row td{padding:6px 10px}.mlb-rank-cell{text-align:center;position:relative}.mlb-rank-medal{font-size:22px;line-height:1;display:inline-block;animation:mlb-rank-badge-in .5s cubic-bezier(.34,1.56,.64,1) both}.mlb-rank-number{font-size:14px;font-weight:700;color:#94a3b880}.mlb-name-cell{font-size:15px;font-weight:600}.mlb-name--top1{background:linear-gradient(90deg,#f5c518,#fde68a,#f5c518);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:mlb-shimmer 3s linear infinite;font-size:16px;font-weight:800}.mlb-name--top2{color:#d1d5db;font-weight:700}.mlb-name--top3{color:#cd9c6e;font-weight:700}.mlb-crown{display:inline-block;font-size:16px;margin-right:5px;animation:mlb-crown-glow 2s ease-in-out infinite}.mlb-score-cell{text-align:center;position:relative}.mlb-score-wrap{display:inline-flex;flex-direction:column;align-items:center;gap:4px}.mlb-score-value{font-size:24px;font-weight:800;line-height:1;color:#e2e8f0;transition:color .3s}.mlb-score-value--pop{animation:mlb-score-pop .5s cubic-bezier(.34,1.56,.64,1)}.mlb-score-bar-wrap{width:64px;height:3px;background:#33415599;border-radius:2px;overflow:hidden}.mlb-score-bar{height:100%;border-radius:2px;background:linear-gradient(90deg,#3b82f6,#818cf8);transition:width .8s cubic-bezier(.25,1,.5,1);animation:mlb-progress-grow 1s ease-out}.mlb-float-plus{position:absolute;top:-4px;right:4px;font-size:13px;font-weight:800;color:#34d399;pointer-events:none;animation:mlb-float-up 1.4s ease-out forwards;z-index:10;text-shadow:0 2px 8px rgba(52,211,153,.6);white-space:nowrap}@keyframes mlb-task-pulse{0%,to{box-shadow:0 0 #60a5fa80,inset 0 0 0 1px #60a5fa80}50%{box-shadow:0 0 0 5px #60a5fa00,inset 0 0 0 1px #60a5fae6}}.mlb-task-td{padding:5px 3px;text-align:center;vertical-align:middle}.mlb-task-td--frontier{position:relative}.mlb-task-td--inhand{border-top:2px solid rgba(96,165,250,.5)!important}.mlb-task--inhand{background:#60a5fa14;border:1px solid rgba(96,165,250,.25)}.mlb-inhand-dot{display:block;width:5px;height:5px;border-radius:50%;background:#60a5fa;margin:2px auto 0;opacity:.7}.mlb-task{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:36px;height:36px;border-radius:6px;gap:2px;transition:all .3s ease;position:relative}.mlb-table--compact .mlb-task{width:30px;height:30px;border-radius:5px}.mlb-task--empty{background:#1e293b66;border:1px solid rgba(51,65,85,.3)}.mlb-task--active{background:#3b82f626;border:1.5px solid rgba(96,165,250,.7);animation:mlb-task-pulse 1.6s ease-in-out infinite}.mlb-task--solved{border:none}.mlb-task--s3{background:linear-gradient(135deg,#15803d,#16a34a);box-shadow:0 2px 8px #16a34a66}.mlb-task--s2{background:linear-gradient(135deg,#16a34a,#22c55e);box-shadow:0 2px 6px #22c55e4d}.mlb-task--s1{background:linear-gradient(135deg,#166534,#15803d);box-shadow:0 1px 4px #1665344d}.mlb-task--failed{background:#7f1d1d66;border:1px solid rgba(239,68,68,.3)}.mlb-task-num{font-size:11px;font-weight:600;color:#94a3b866;line-height:1}.mlb-table--compact .mlb-task-num{font-size:9px}.mlb-task-num--active{color:#93c5fd;font-size:12px;font-weight:700}.mlb-table--compact .mlb-task-num--active{font-size:10px}.mlb-task-score{font-size:13px;font-weight:800;color:#fff;line-height:1;text-shadow:0 1px 3px rgba(0,0,0,.4)}.mlb-table--compact .mlb-task-score{font-size:11px}.mlb-task-fail{font-size:12px;color:#fca5a5cc;line-height:1}.mlb-table--compact .mlb-task-fail{font-size:10px}.mlb-task-dots{display:flex;gap:2px;align-items:center}.mlb-task-dot{width:4px;height:4px;border-radius:50%;background:#64748b4d}.mlb-task-dot--fail{background:#ef4444;box-shadow:0 0 3px #ef444480}.mlb-task-dot--ok{background:#4ade80;box-shadow:0 0 3px #4ade8080}.mlb-frontier-badge{font-size:9px;font-weight:700;color:#60a5fa;letter-spacing:.3px;margin-top:3px;white-space:nowrap;text-align:center;opacity:.9}.mlb-confetti-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1000;overflow:hidden}.mlb-confetti-piece{position:absolute;border-radius:2px;animation:mlb-confetti-fall linear forwards}.mlb-empty{text-align:center;padding:60px 24px;color:#94a3b880;font-size:14px}.mlb-footer{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:24px;padding:12px 24px;border-top:1px solid rgba(96,165,250,.08);background:#08091a66;font-size:11px;color:#94a3b880;flex-wrap:wrap}.mlb-legend-item{display:flex;align-items:center;gap:5px}.mlb-legend-dot{width:10px;height:10px;border-radius:2px;flex-shrink:0}.mlb-legend-task{display:inline-flex;align-items:center;justify-content:center;width:24px;height:18px;border-radius:4px;font-size:10px;font-weight:800;color:#fff;flex-shrink:0}.mlb-legend-task--s3{background:linear-gradient(135deg,#15803d,#16a34a)}.mlb-legend-task--s2{background:linear-gradient(135deg,#16a34a,#22c55e)}.mlb-legend-task--s1{background:linear-gradient(135deg,#166534,#15803d)}.mlb-legend-task--fail{background:#7f1d1d99;border:1px solid rgba(239,68,68,.4);color:#fca5a5}.mlb-legend-task--active{background:#3b82f626;border:1.5px solid rgba(96,165,250,.7);color:#93c5fd;animation:mlb-task-pulse 1.6s ease-in-out infinite}.student-app,.student-home{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.student-theme-toggle{width:36px;height:36px;border-radius:10px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all .25s ease;background:#ffffffd9;color:#4361ee;box-shadow:0 2px 8px #0000001a;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);flex-shrink:0}.student-theme-toggle:hover{background:#fff;box-shadow:0 4px 14px #4361ee33;transform:scale(1.05)}.student-theme-toggle--home{position:absolute;top:16px;right:16px;z-index:10}.student-top-bar-back{width:auto!important;padding:0 12px!important;gap:6px}.student-top-bar-back-label{font-size:14px;font-weight:600;letter-spacing:-.2px}.student-theme-toggle--trophy{color:#faad14!important}.student-theme-dark .student-theme-toggle,.student-theme-dark.student-home .student-theme-toggle{background:#ffffff14;color:#f9a826;box-shadow:0 2px 8px #0006}.student-theme-dark .student-theme-toggle:hover,.student-theme-dark.student-home .student-theme-toggle:hover{background:#ffffff24;box-shadow:0 4px 14px #f9a82640}.student-theme-dark{background:linear-gradient(180deg,#0d0d1a,#0f0e17)!important}.student-theme-dark:before{background:radial-gradient(circle at 15% 15%,rgba(67,97,238,.08),transparent 45%),radial-gradient(circle at 85% 80%,rgba(123,47,247,.06),transparent 45%)!important}.student-theme-dark.student-home{background:radial-gradient(circle at 15% 15%,rgba(67,97,238,.1),transparent 45%),radial-gradient(circle at 85% 80%,rgba(123,47,247,.08),transparent 45%),linear-gradient(180deg,#0d0d1a,#0f0e17)!important}.student-theme-dark .student-home-card{background:#1a1a2eeb!important;border-color:#ffffff14!important;box-shadow:0 18px 40px #00000080!important}.student-theme-dark .student-home-title{color:#f0f0f0!important}.student-theme-dark .student-home-subtitle{color:#aaa!important}.student-theme-dark .student-home-input{background:#ffffff0f!important;border-color:#ffffff1f!important;color:#f0f0f0!important}.student-theme-dark .student-home-input::placeholder{color:#666!important}.student-theme-dark .student-home-input:focus{border-color:#4361ee!important;box-shadow:0 0 0 3px #4361ee33!important}.student-theme-dark .student-home-hint{color:#666!important}.student-theme-dark .student-auth-title{color:#f0f0f0!important}.student-theme-dark .student-auth-subtitle{color:#aaa!important}.student-theme-dark .student-auth-footer{background:#4361ee14!important}.student-theme-dark .student-entry-title{color:#f0f0f0!important}.student-theme-dark .student-entry-work-title{color:#aaa!important}.student-theme-dark .student-entry-student{background:#1a1a2ee6!important;border-color:#ffffff1a!important;box-shadow:0 2px 12px #0000004d!important}.student-theme-dark .student-entry-student-name{color:#f0f0f0!important}.student-theme-dark .student-entry-student-icon{background:#4361ee26!important}.student-theme-dark .student-test-header{background:#1a1a2ee6!important;border-color:#ffffff14!important;box-shadow:0 2px 8px #0000004d!important}.student-theme-dark .student-test-variant-title{color:#f0f0f0!important}.student-theme-dark .student-test-title{color:#ccc!important}.student-theme-dark .student-test-meta{color:#888!important}.student-theme-dark .student-test-progress-bar{background:#ffffff14!important}.student-theme-dark .student-test-progress-text{color:#888!important}.student-theme-dark .task-item{background:#1a1a2ee6!important;border-color:#ffffff14!important;box-shadow:0 2px 12px #0000004d!important}.student-theme-dark .task-item:hover{box-shadow:0 4px 16px #0006!important}.student-theme-dark .task-statement{color:#e0e0e0!important}.student-theme-dark .task-answer-input{background:#ffffff0d!important;border-color:#ffffff1f!important;color:#f0f0f0!important}.student-theme-dark .task-answer-input:focus{border-color:#4361ee!important;box-shadow:0 0 0 3px #4361ee33!important}.student-theme-dark .task-item--filled{border-color:#52c41a40!important}.student-theme-dark .submit-bar{background:#0d0d1aeb!important;border-color:#ffffff14!important}.student-theme-dark .student-result-title{color:#f0f0f0!important}.student-theme-dark .student-result-test-title{color:#ccc!important}.student-theme-dark .student-result-meta{color:#888!important}.student-theme-dark .student-result-score-card{background:#1a1a2ee6!important;border-color:#ffffff14!important;box-shadow:0 4px 20px #00000059!important}.student-theme-dark .student-result-score-bar{background:#ffffff1a!important}.student-theme-dark .student-result-summary--perfect{color:#73d13d!important}.student-theme-dark .student-result-gallery-btn .ant-btn{border-color:#ffffff26!important;color:#aaa!important}.student-theme-dark .student-result-gallery-btn .ant-btn:hover{border-color:#4361ee!important;color:#7b9fff!important;background:#4361ee14!important}.student-theme-dark .student-result-errors-title{color:#ff7875!important}.student-theme-dark .error-task{background:#ff4d4f0f!important;border-color:#ff4d4f40!important;border-left-color:#ff4d4f!important}.student-theme-dark .achievement-section{background:linear-gradient(135deg,#1e0f14e6,#190c12e6)!important;border-color:#f5576c1a!important}.student-theme-dark .unlocked-section{background:linear-gradient(135deg,#0f1428e6,#0c1023e6)!important;border-color:#667eea1a!important}.student-theme-dark .achievement-badge{background:#1a1a2ef2!important;box-shadow:0 4px 20px #0006!important}.student-theme-dark .achievement-badge.common{background:linear-gradient(135deg,#1a1a2ef2,#0f1e14f2)!important;border-color:#52c41a33!important}.student-theme-dark .achievement-badge.rare{background:linear-gradient(135deg,#1a1a2ef2,#0f1428f2)!important;border-color:#4361ee40!important}.student-theme-dark .achievement-badge.legendary{background:linear-gradient(135deg,#1a1a2ef2,#1e190af2)!important;border-color:#ffd7004d!important}.student-theme-dark .achievement-title{color:#f0f0f0!important}.student-theme-dark .achievement-description{color:#aaa!important}.student-theme-dark .achievement-stats{background:#1a1a2ee6!important;border-color:#ffffff14!important}.student-theme-dark .achievement-stats-title{color:#f0f0f0!important}.student-theme-dark .achievement-stats-subtitle{color:#aaa!important}.student-theme-dark .achievement-stats-ring .ant-progress-text{color:#f0f0f0!important}.student-theme-dark .achievement-stats-badge-icon{background:#ffffff0f!important}.student-theme-dark .achievement-stats-badge-icon--empty{background:#ffffff0f!important;color:#fff3!important}.student-theme-dark .rarity-bg-common{background:#52c41a14!important}.student-theme-dark .rarity-bg-rare{background:#4361ee1a!important}.student-theme-dark .rarity-bg-legendary{background:#ffd70014!important}.student-theme-dark .rarity-tag-common{background:#ffffff14!important;color:#aaa!important}.student-theme-dark .rarity-tag-rare{background:#4361ee26!important;color:#7b9fff!important}.student-theme-dark .rarity-tag-legendary{background:#ffd7001a!important;color:#ffd666!important}.student-theme-dark .achievement-stats-hint{color:#555!important}.student-theme-dark .achievement-gallery-title{color:#f0f0f0!important}.student-theme-dark .achievement-gallery-filter-label,.student-theme-dark .achievement-legend-item{color:#ccc!important}.student-theme-dark .achievement-earned-lock{background:#1e1e32f2!important;color:#888!important}.student-theme-dark .student-skeleton-circle,.student-theme-dark .student-skeleton-line,.student-theme-dark .student-skeleton-btn{background:linear-gradient(90deg,#ffffff0f 25%,#ffffff1a,#ffffff0f 75%)!important;background-size:200% 100%!important}.student-theme-dark .sp-title{color:#f0f0f0!important}.student-theme-dark .sp-subtitle,.student-theme-dark .sp-loading-text,.student-theme-dark .sp-loading-small{color:#888!important}.student-theme-dark .sp-stat-card{background:#1a1a2ee6!important;border-color:#ffffff14!important;box-shadow:0 2px 12px #0000004d!important}.student-theme-dark .sp-stat-label{color:#888!important}.student-theme-dark .sp-section-title{color:#f0f0f0!important}.student-theme-dark .student-theme-toggle--trophy{color:#faad14!important}@keyframes studentFadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes studentSlideDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes studentPulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes studentFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes studentGradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes studentShimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes studentScoreReveal{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes studentProgressFill{0%{width:0}}@keyframes studentBounceIn{0%{opacity:0;transform:scale(.3)}50%{transform:scale(1.05)}70%{transform:scale(.95)}to{opacity:1;transform:scale(1)}}.student-app{max-width:640px;margin:0 auto;padding:16px;min-height:100vh;font-size:16px;background:linear-gradient(180deg,#f8f9ff,#f0f2f5);position:relative}.student-app:before{content:"";position:fixed;top:0;left:0;right:0;height:300px;background:none;pointer-events:none;z-index:0}.student-top-bar{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;pointer-events:none;animation:studentSlideDown .4s ease-out}.student-top-bar-left,.student-top-bar-right{display:flex;align-items:center;gap:8px;pointer-events:auto}.student-top-bar-right{margin-left:auto}.student-top-bar .ant-btn{border-radius:12px;box-shadow:0 2px 8px #0000001a}.student-app .ant-input,.student-app .ant-btn{font-size:16px;min-height:44px;border-radius:12px}.student-app .ant-btn-lg{min-height:52px;font-size:18px;border-radius:14px;font-weight:600}.student-home{min-height:100vh;padding:20px 16px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 15% 15%,rgba(67,97,238,.15),transparent 45%),radial-gradient(circle at 85% 80%,rgba(123,47,247,.12),transparent 45%),linear-gradient(180deg,#f8f9ff,#f0f2f5)}.student-home-card{width:100%;max-width:420px;border-radius:24px;padding:28px 20px 22px;background:#ffffffe6;border:1px solid rgba(255,255,255,.5);box-shadow:0 18px 40px #18204f24;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:studentFadeInUp .45s ease-out}.student-home-icon{width:72px;height:72px;margin:0 auto 14px;border-radius:18px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:32px;background:linear-gradient(135deg,#4361ee,#7b2ff7);box-shadow:0 12px 28px #4361ee59}.student-home-title{margin:0 0 8px;text-align:center;font-size:28px;line-height:1.1;letter-spacing:-.7px;color:#1a1a2e}.student-home-subtitle{margin:0 0 18px;text-align:center;color:#6f7487;font-size:15px;line-height:1.45}.student-home-input-wrap{display:grid;gap:10px}.student-home-input{width:100%;min-height:46px;border:2px solid #e5e7f0;border-radius:14px;padding:0 14px;font-size:16px;color:#222;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.student-home-input:focus{outline:none;border-color:#4361ee;box-shadow:0 0 0 3px #4361ee1f}.student-home-btn{width:100%;min-height:48px!important;border-radius:14px!important;font-size:16px!important;font-weight:700!important}.student-home-hint{margin-top:12px;text-align:center;color:#8b90a3;font-size:13px}.student-home-logo{text-align:center;margin-bottom:14px}.student-home-logo img{height:26px;width:auto;opacity:.6;display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}.student-theme-dark .student-home-logo img{opacity:.35;filter:brightness(4) saturate(0)}.student-home-account-section{margin-top:18px}.student-home-section-divider{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#b0b5c4;font-size:11px;font-weight:600;letter-spacing:.8px;text-transform:uppercase}.student-home-section-divider:before,.student-home-section-divider:after{content:"";flex:1;height:1px;background:#e8eaf0}.student-theme-dark .student-home-section-divider{color:#555a6e}.student-theme-dark .student-home-section-divider:before,.student-theme-dark .student-home-section-divider:after{background:#ffffff14}.student-home-auth-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}.student-home-auth-btn{border-radius:12px!important;font-size:14px!important;font-weight:600!important;height:40px!important;border-color:#d0d5e8!important;color:#4361ee!important}.student-home-auth-btn:hover{border-color:#4361ee!important;background:#4361ee0f!important}.student-theme-dark .student-home-auth-btn{border-color:#ffffff26!important;color:#7b8fff!important;background:#ffffff0a!important}.student-theme-dark .student-home-auth-btn:hover{border-color:#7b8fff!important;background:#7b8fff1f!important}.student-home-user-greeting{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:#3a3f5c;margin-bottom:12px;padding:8px 12px;background:#4361ee0f;border-radius:12px}.student-home-user-greeting .anticon{color:#4361ee;font-size:15px}.student-theme-dark .student-home-user-greeting{color:#d0d4f0;background:#4361ee1f}.student-theme-dark .student-home-user-greeting .anticon{color:#7b8fff}.student-home-nav-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.student-home-nav-btn{border-radius:12px!important;font-size:14px!important;font-weight:600!important;height:40px!important;border-color:#d0d5e8!important;color:#4361ee!important}.student-home-nav-btn:hover{border-color:#4361ee!important;background:#4361ee0f!important}.student-home-nav-btn--trophy{color:#faad14!important}.student-home-nav-btn--trophy:hover{border-color:#faad14!important;background:#faad1414!important}.student-theme-dark .student-home-nav-btn{border-color:#ffffff26!important;color:#7b8fff!important;background:#ffffff0a!important}.student-theme-dark .student-home-nav-btn:hover{border-color:#7b8fff!important;background:#7b8fff1f!important}.student-theme-dark .student-home-nav-btn--trophy{color:#f9a826!important}.student-theme-dark .student-home-nav-btn--trophy:hover{border-color:#f9a826!important;background:#f9a8261f!important}.student-home-logout-btn{background:none;border:none;cursor:pointer;font-size:12px;color:#adb2c4;display:flex;align-items:center;gap:5px;margin:0 auto;padding:4px 8px;border-radius:8px;transition:color .2s ease,background .2s ease}.student-home-logout-btn:hover{color:#4361ee;background:#4361ee0f}.student-theme-dark .student-home-logout-btn{color:#555a6e}.student-theme-dark .student-home-logout-btn:hover{color:#7b8fff;background:#7b8fff1a}.student-app .ant-btn-primary{background:linear-gradient(135deg,#4361ee,#3a0ca3);border:none;box-shadow:0 4px 14px #4361ee59;transition:all .3s ease}.student-app .ant-btn-primary:hover{background:linear-gradient(135deg,#3a54d4,#2f0a8a);box-shadow:0 6px 20px #4361ee73;transform:translateY(-1px)}.student-app .ant-input{border:2px solid #e8e8e8;transition:all .3s ease}.student-app .ant-input:focus,.student-app .ant-input-focused{border-color:#4361ee;box-shadow:0 0 0 3px #4361ee1a}.student-auth{padding:60px 16px 40px;max-width:420px;margin:0 auto;position:relative;z-index:1;animation:studentFadeInUp .6s ease-out}.student-auth-header{text-align:center;margin-bottom:32px}.student-auth-icon{width:72px;height:72px;border-radius:20px;background:linear-gradient(135deg,#4361ee,#7b2ff7);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;box-shadow:0 8px 24px #4361ee4d;animation:studentFloat 3s ease-in-out infinite}.student-auth-icon .anticon{font-size:32px;color:#fff}.student-auth-title{font-size:24px!important;font-weight:800!important;color:#1a1a2e!important;margin-bottom:6px!important;letter-spacing:-.5px}.student-auth-subtitle{color:#8c8c8c;font-size:15px}.student-auth-card{border-radius:20px!important;border:1px solid rgba(0,0,0,.06)!important;box-shadow:0 8px 32px #00000014!important;overflow:hidden}.student-auth-card .ant-card-body{padding:28px 24px!important}.student-auth-card .ant-tabs-nav{margin-bottom:24px!important}.student-auth-card .ant-form-item-label>label{font-weight:600;color:#333}.student-auth-footer{text-align:center;margin-top:16px;padding:12px;background:#4361ee0a;border-radius:12px}.student-entry{padding:80px 16px 40px;text-align:center;position:relative;z-index:1;animation:studentFadeInUp .6s ease-out}.student-entry-hero{margin-bottom:40px}.student-entry-badge{width:88px;height:88px;border-radius:24px;background:linear-gradient(135deg,#4361ee,#7b2ff7);display:flex;align-items:center;justify-content:center;margin:0 auto 24px;box-shadow:0 12px 32px #4361ee4d;animation:studentFloat 3s ease-in-out infinite}.student-entry-badge .anticon{font-size:40px;color:#fff}.student-entry-title{font-size:26px!important;font-weight:800!important;color:#1a1a2e!important;margin-bottom:8px!important;letter-spacing:-.5px}.student-entry-work-title{font-size:16px;color:#8c8c8c;margin-bottom:20px;display:block}.student-entry-student{display:inline-flex;align-items:center;gap:10px;padding:12px 24px;background:#fff;border-radius:16px;border:1px solid #f0f0f0;box-shadow:0 2px 12px #0000000f}.student-entry-student-icon{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#4361ee20,#7b2ff720);display:flex;align-items:center;justify-content:center}.student-entry-student-icon .anticon{font-size:18px;color:#4361ee}.student-entry-student-name{font-size:18px;font-weight:700;color:#1a1a2e}.student-entry-start-btn{margin-top:40px}.student-entry-start-btn .ant-btn{height:56px!important;font-size:18px!important;font-weight:700!important;border-radius:16px!important;background:linear-gradient(135deg,#4361ee,#3a0ca3)!important;border:none!important;box-shadow:0 8px 24px #4361ee59!important;transition:all .3s ease!important}.student-entry-start-btn .ant-btn:hover{box-shadow:0 12px 32px #4361ee73!important;transform:translateY(-2px)!important}.student-test{padding-top:16px;position:relative;z-index:1;animation:studentFadeInUp .5s ease-out}.student-test-header{text-align:center;margin-bottom:20px;padding:16px;background:#fff;border-radius:16px;border:1px solid #f0f0f0;box-shadow:0 2px 8px #0000000a}.student-test-variant-title{font-size:20px!important;font-weight:800!important;color:#1a1a2e!important;margin-bottom:4px!important}.student-test-title{display:block;font-size:15px;font-weight:600;color:#4f5b7a;margin-bottom:2px}.student-test-meta{color:#8c8c8c;font-size:14px}.student-test-progress{margin-bottom:16px;padding:0 4px}.student-test-progress-bar{height:6px;background:#f0f0f0;border-radius:3px;overflow:hidden}.student-test-progress-fill{height:100%;background:linear-gradient(90deg,#4361ee,#7b2ff7);border-radius:3px;transition:width .4s ease}.student-test-progress-text{display:flex;justify-content:space-between;margin-top:6px;font-size:12px;color:#8c8c8c;font-weight:500}.student-app .task-item{background:#fff;border-radius:16px;padding:20px;margin-bottom:14px;box-shadow:0 2px 12px #0000000d;border:1px solid #f0f0f0;transition:all .3s ease;animation:studentFadeInUp .5s ease-out both}.student-app .task-item:hover{box-shadow:0 4px 16px #00000014}.student-app .task-number{font-weight:800;font-size:14px;color:#4361ee;margin-bottom:10px;display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:#4361ee14;border-radius:8px}.student-app .task-statement{margin-bottom:14px;line-height:1.7;font-size:16px;color:#333}.student-app .task-statement img{max-width:100%;height:auto;border-radius:12px;margin-top:8px}.student-app .task-answer-input{font-size:18px!important;min-height:50px!important;border-radius:12px!important;border:2px solid #e8e8e8!important;font-weight:500;transition:all .3s ease!important}.student-app .task-answer-input:focus{border-color:#4361ee!important;box-shadow:0 0 0 3px #4361ee1a!important}.student-app .task-item--filled{border-color:#52c41a4d}.student-app .task-item--filled .task-answer-input{border-color:#52c41a66!important}.student-app .submit-bar{position:sticky;bottom:0;background:#ffffffe6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:14px 0;border-top:1px solid rgba(0,0,0,.06);z-index:10}.student-app .submit-bar .ant-btn{height:52px!important;font-size:17px!important;font-weight:700!important;border-radius:14px!important}.student-app .katex{font-size:1.05em}.student-result{padding:20px 0;position:relative;z-index:1}.student-result-header{text-align:center;margin-bottom:8px;animation:studentSlideDown .5s ease-out}.student-result-title{font-size:22px!important;font-weight:800!important;color:#1a1a2e!important;margin-bottom:4px!important}.student-result-test-title{display:block;font-size:15px;font-weight:600;color:#4f5b7a;margin-bottom:2px}.student-result-meta{color:#8c8c8c;font-size:14px}.student-result-score-card{text-align:center;padding:32px 24px;margin:20px 0 24px;background:#fff;border-radius:20px;box-shadow:0 4px 20px #0000000f;border:1px solid #f0f0f0;animation:studentBounceIn .6s ease-out}.student-result-score-value{font-size:56px;font-weight:900;line-height:1;letter-spacing:-2px;animation:studentScoreReveal .8s ease-out .2s both}.student-result-score-value.good{color:#52c41a}.student-result-score-value.ok{color:#faad14}.student-result-score-value.bad{color:#ff4d4f}.student-result-score-label{font-size:16px;color:#8c8c8c;margin-top:8px;font-weight:500}.student-result-score-bar{max-width:280px;margin:16px auto 0;height:8px;background:#f0f0f0;border-radius:4px;overflow:hidden}.student-result-score-bar-fill{height:100%;border-radius:4px;transition:width 1.2s ease-out;animation:studentProgressFill 1.2s ease-out}.student-result-score-bar-fill.good{background:linear-gradient(90deg,#52c41a,#73d13d)}.student-result-score-bar-fill.ok{background:linear-gradient(90deg,#faad14,#ffc53d)}.student-result-score-bar-fill.bad{background:linear-gradient(90deg,#ff4d4f,#ff7875)}.student-result-summary{text-align:center;margin-bottom:24px;font-size:17px;animation:studentFadeInUp .5s ease-out .4s both}.student-result-summary--perfect{color:#52c41a;font-weight:600}.student-result-gallery-btn{text-align:center;margin:24px 0;animation:studentFadeInUp .5s ease-out .6s both}.student-result-gallery-btn .ant-btn{border-radius:14px!important;height:48px!important;font-weight:600!important;border:2px dashed #d9d9d9!important;color:#666!important;transition:all .3s ease!important}.student-result-gallery-btn .ant-btn:hover{border-color:#4361ee!important;color:#4361ee!important;background:#4361ee0a!important}.student-result-errors-title{text-align:center;margin:32px 0 16px;font-size:16px;font-weight:700;color:#ff4d4f;display:flex;align-items:center;justify-content:center;gap:8px}.student-result-errors-title:before,.student-result-errors-title:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#ffccc7,transparent)}.student-app .error-task{background:#fff;border:1px solid #ffccc7;border-left:4px solid #ff4d4f;border-radius:14px;padding:18px;margin-bottom:12px;animation:studentFadeInUp .4s ease-out both}.student-app .correct-badge{color:#52c41a;font-weight:700;background:#52c41a14;padding:2px 8px;border-radius:6px}.student-app .wrong-badge{color:#ff4d4f;font-weight:700;background:#ff4d4f14;padding:2px 8px;border-radius:6px;text-decoration:line-through}.student-app .result-score{display:none}.achievement-section,.unlocked-section{margin:28px 0;padding:28px;border-radius:20px;border:1px solid rgba(0,0,0,.06);position:relative;overflow:hidden}.achievement-section{background:linear-gradient(135deg,#fff9fc,#fff5f7);border-color:#f5576c26}.unlocked-section{background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border-color:#667eea26}.achievement-reveal{animation:sectionReveal .6s cubic-bezier(.34,1.56,.64,1) forwards;opacity:0;transform:translateY(20px)}@keyframes sectionReveal{to{opacity:1;transform:translateY(0)}}.achievement-header{text-align:center;margin-bottom:24px}.achievement-section-title{font-weight:800!important;font-size:24px!important;background:linear-gradient(135deg,#4361ee,#7b2ff7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0!important;letter-spacing:-.5px}.unlocked-achievements-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;justify-items:center}.achievement-badge{position:relative;display:inline-flex;flex-direction:column;align-items:center;padding:24px;border-radius:20px;background:#fff;box-shadow:0 4px 20px #0000000f;transition:all .3s cubic-bezier(.34,1.56,.64,1);overflow:visible;opacity:0;transform:translateY(-100px) scale(.3) rotate(-10deg)}.achievement-badge.visible{animation:badgeDrop .8s cubic-bezier(.34,1.56,.64,1) forwards}@keyframes badgeDrop{0%{opacity:0;transform:translateY(-100px) scale(.3) rotate(-10deg)}60%{opacity:1;transform:translateY(10px) scale(1.05) rotate(2deg)}80%{transform:translateY(-5px) scale(.98) rotate(-1deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}.achievement-badge:hover{transform:translateY(-8px) scale(1.05);box-shadow:0 12px 40px #0000001f}.achievement-badge-small{padding:16px;min-width:140px}.achievement-badge-medium{padding:20px;min-width:200px}.achievement-badge-large{padding:32px;min-width:280px}.achievement-glow{position:absolute;top:50%;left:50%;width:100%;height:100%;transform:translate(-50%,-50%);border-radius:20px;opacity:0;transition:opacity .3s;pointer-events:none;z-index:-1}.achievement-badge.visible .achievement-glow{animation:glowPulse 2s ease-in-out infinite}@keyframes glowPulse{0%,to{opacity:.3;transform:translate(-50%,-50%) scale(1)}50%{opacity:.6;transform:translate(-50%,-50%) scale(1.1)}}.achievement-badge.common .achievement-glow{background:radial-gradient(circle,rgba(82,196,26,.4) 0%,transparent 70%);box-shadow:0 0 60px #52c41a99}.achievement-badge.rare .achievement-glow{background:radial-gradient(circle,rgba(67,97,238,.5) 0%,transparent 70%);box-shadow:0 0 80px #4361eeb3}.achievement-badge.legendary .achievement-glow{background:radial-gradient(circle,rgba(255,215,0,.6) 0%,transparent 70%);box-shadow:0 0 100px #ffd700cc;animation:legendaryGlow 1.5s ease-in-out infinite}@keyframes legendaryGlow{0%,to{opacity:.4;transform:translate(-50%,-50%) scale(1)}50%{opacity:.8;transform:translate(-50%,-50%) scale(1.2)}}.achievement-badge.common{border:2px solid rgba(82,196,26,.25);background:linear-gradient(135deg,#fff,#f0fdf4)}.achievement-badge.rare{border:2px solid rgba(67,97,238,.3);background:linear-gradient(135deg,#fff,#f0f4ff)}.achievement-badge.legendary{border:2px solid rgba(255,215,0,.4);background:linear-gradient(135deg,#fff,#fffbeb);box-shadow:0 4px 20px #ffd70026,0 0 40px #ffd70014}.achievement-icon-wrapper{position:relative;margin-bottom:16px;filter:drop-shadow(0 4px 12px rgba(0,0,0,.12))}.achievement-badge.visible .achievement-icon-wrapper{animation:iconBounce .6s cubic-bezier(.34,1.56,.64,1) .3s backwards}@keyframes iconBounce{0%{transform:scale(0) rotate(-180deg)}60%{transform:scale(1.2) rotate(10deg)}to{transform:scale(1) rotate(0)}}.achievement-icon{display:block;border-radius:16px;object-fit:contain;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.achievement-badge:hover .achievement-icon{transform:scale(1.1) rotate(5deg)}.achievement-details{text-align:center;width:100%}.achievement-title{font-weight:700!important;margin:8px 0 6px!important;color:#1a1a2e;letter-spacing:-.3px}.achievement-description{display:block;font-size:14px!important;line-height:1.5;color:#666;margin-top:4px}.achievement-rarity{margin-top:12px;padding:6px 16px;border-radius:20px;display:inline-block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.rarity-common{background:linear-gradient(135deg,#52c41a,#73d13d);color:#fff;box-shadow:0 2px 8px #52c41a4d}.rarity-rare{background:linear-gradient(135deg,#4361ee,#7b2ff7);color:#fff;box-shadow:0 2px 8px #4361ee66}.rarity-legendary{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;box-shadow:0 2px 8px #f093fb66;animation:rarityShine 2s ease-in-out infinite}@keyframes rarityShine{0%,to{filter:brightness(1)}50%{filter:brightness(1.15)}}.achievement-badge.locked{opacity:.5;filter:grayscale(.8);cursor:not-allowed}.achievement-badge.locked:hover{transform:none;box-shadow:0 4px 20px #0000000f}.achievement-lock-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10;color:#999;background:transparent}.achievement-locked-text{display:block;font-size:12px!important;margin-top:8px;color:#999}.confetti-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:100;overflow:visible}.confetti-piece{position:absolute;width:10px;height:10px;top:-20px;opacity:1;animation:confettiFall 1.5s ease-out forwards}@keyframes confettiFall{0%{transform:translateY(0) rotate(0);opacity:1}to{transform:translateY(400px) rotate(720deg);opacity:0}}.achievement-badge.legendary.visible:before,.achievement-badge.legendary.visible:after{content:"";position:absolute;font-size:24px;animation:sparkle 2s ease-in-out infinite;pointer-events:none}.achievement-badge.legendary.visible:before{top:-10px;right:-10px;animation-delay:0s}.achievement-badge.legendary.visible:after{bottom:-10px;left:-10px;animation-delay:1s}@keyframes sparkle{0%,to{opacity:0;transform:scale(0) rotate(0)}50%{opacity:1;transform:scale(1) rotate(180deg)}}.achievement-gallery{padding:20px 4px;max-width:1000px;margin:0 auto;position:relative;z-index:1;animation:studentFadeInUp .5s ease-out}.achievement-gallery-header{text-align:center;margin-bottom:28px}.achievement-gallery-title{font-size:24px!important;font-weight:800!important;color:#1a1a2e!important;letter-spacing:-.5px;display:flex;align-items:center;justify-content:center;gap:10px}.achievement-gallery-title .anticon{color:#faad14}.achievement-stats{background:#fff;padding:24px;border-radius:20px;margin-bottom:24px;border:1px solid #f0f0f0;box-shadow:0 4px 16px #0000000a}.achievement-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}@media (max-width: 768px){.achievement-stats-grid{grid-template-columns:1fr}}.achievement-stats-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:8px 0;min-height:200px}.achievement-stats-ring .ant-progress-text{font-size:18px!important;font-weight:800!important;color:#1a1a2e!important}.achievement-stats-info{display:flex;flex-direction:column;align-items:center;gap:4px}.achievement-stats-title{font-size:18px!important;font-weight:700!important;color:#1a1a2e!important;margin-bottom:0!important}.achievement-stats-subtitle{color:#8c8c8c;font-size:14px}.achievement-stats-badge-icon{width:96px;height:96px;display:flex;align-items:center;justify-content:center;border-radius:22px;background:#f5f5f5}.achievement-stats-badge-icon--empty{background:#f0f0f0;font-size:40px;color:#d9d9d9}.achievement-stats-badge-img{width:80px;height:80px;object-fit:contain}.achievement-stats-badge-trophy{font-size:44px;color:#faad14}.rarity-bg-common{background:#f5f5f5}.rarity-bg-rare{background:#e8f0fe}.rarity-bg-legendary{background:#fff8e1}.achievement-stats-rarity-tag{display:inline-block;padding:3px 12px;border-radius:20px;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.rarity-tag-common{background:#f0f0f0;color:#8c8c8c}.rarity-tag-rare{background:#e8f0fe;color:#4361ee}.rarity-tag-legendary{background:#fff3cd;color:#d48806}.achievement-stats-hint{color:#bfbfbf;font-size:12px}.achievement-gallery-filters{margin-bottom:24px;display:flex;flex-direction:column;gap:12px}.achievement-gallery-filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.achievement-gallery-filter-label{font-weight:700;color:#333;font-size:14px;min-width:70px}.achievement-gallery-legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px}.achievement-legend-item{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#3f4a69}.achievement-legend-dot{width:14px;height:14px;border-radius:50%;display:inline-block;flex-shrink:0;box-shadow:0 0 0 2px #fffffff2,0 2px 6px #00000029}.achievement-legend-dot--current{background:#22c55e}.achievement-legend-dot--total{background:#3b82f6}.achievement-legend-lock{width:14px;height:14px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#6b7280}.achievement-legend-lock .anticon{font-size:13px}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-top:8px;align-items:stretch}@media (max-width: 480px){.achievement-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}}.achievement-gallery-item{position:relative;height:100%}.achievement-earned-dot{position:absolute;top:11px;right:11px;z-index:2;width:14px;height:14px;border-radius:50%;box-shadow:0 0 0 2px #fffffff5,0 2px 6px #0003}.achievement-earned-dot--current{background:#22c55e}.achievement-earned-dot--total{background:#3b82f6}.achievement-earned-lock{position:absolute;top:9px;right:9px;z-index:2;width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#6b7280;background:#fffffff5;box-shadow:0 2px 6px #0003}.achievement-earned-lock .anticon{font-size:12px}.achievement-gallery .achievement-badge{opacity:1;transform:translateY(0) scale(1) rotate(0);animation:none;width:100%;min-width:0;max-width:none;height:100%;min-height:360px;justify-content:flex-start;padding:22px 20px;border-radius:18px}.achievement-gallery .achievement-badge.visible,.achievement-gallery .achievement-icon-wrapper,.achievement-gallery .achievement-badge.visible .achievement-icon-wrapper{animation:none}.achievement-gallery .achievement-badge .achievement-glow{animation:none;opacity:.2}.achievement-gallery .achievement-lock-overlay{display:none}.achievement-gallery .achievement-details{display:flex;flex-direction:column;flex:1;width:100%}.achievement-gallery .achievement-title{min-height:72px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.25}.achievement-gallery .achievement-description{min-height:48px;text-align:center}.achievement-gallery .achievement-rarity{margin-top:auto}.achievement-gallery .achievement-locked-text,.achievement-gallery .confetti-container{display:none}.achievement-gallery .achievement-badge.legendary.visible:before,.achievement-gallery .achievement-badge.legendary.visible:after{display:none}.student-skeleton{padding:80px 16px;max-width:420px;margin:0 auto}.student-skeleton-circle{width:72px;height:72px;border-radius:20px;margin:0 auto 20px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:studentShimmer 1.5s infinite}.student-skeleton-line{height:20px;border-radius:10px;margin:12px auto;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:studentShimmer 1.5s infinite}.student-skeleton-btn{height:52px;border-radius:14px;margin-top:32px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:studentShimmer 1.5s infinite}.student-progress{padding:20px 0 40px;position:relative;z-index:1;animation:studentFadeInUp .5s ease-out}.sp-header{text-align:center;margin-bottom:24px}.sp-title{font-size:24px!important;font-weight:800!important;color:#1a1a2e!important;letter-spacing:-.5px;margin:0 0 4px!important}.sp-subtitle{font-size:14px;color:#8c8c8c;margin:0}.sp-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:100px 20px;gap:16px}.sp-loading-text{font-size:15px;color:#8c8c8c;margin:0}.sp-loading-small{display:flex;align-items:center;justify-content:center;gap:10px;padding:20px;font-size:14px;color:#8c8c8c}.sp-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:28px}.sp-stat-card{background:#fff;border-radius:16px;padding:20px 16px;text-align:center;border:1px solid #f0f0f0;box-shadow:0 2px 12px #0000000a;transition:transform .2s ease}.sp-stat-value{font-size:28px;font-weight:900;background:linear-gradient(135deg,#4361ee,#7b2ff7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.2}.sp-stat-value--best{background:linear-gradient(135deg,#52c41a,#13c2c2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.sp-stat-label{font-size:13px;color:#8c8c8c;margin-top:4px;font-weight:500}.sp-section{margin-bottom:28px}.sp-section-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:4px 0;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.sp-section-title{font-size:17px!important;font-weight:700!important;color:#1a1a2e!important;margin:0 0 14px!important}.sp-section-title--clickable{margin:0!important}.sp-section-toggle{font-size:12px;color:#8c8c8c;transition:transform .2s ease}.sp-chart-wrapper{background:#fff;border-radius:16px;padding:16px 12px 8px;border:1px solid #f0f0f0;box-shadow:0 2px 12px #0000000a;overflow:hidden}.sp-chart{width:100%;height:auto;display:block}.sp-topic-content{margin-top:14px}.sp-topic-list{background:#fff;border-radius:16px;padding:8px 16px;border:1px solid #f0f0f0;box-shadow:0 2px 12px #0000000a}.sp-topic-row{display:flex;align-items:center;gap:10px;padding:12px 0}.sp-topic-row+.sp-topic-row{border-top:1px solid #f5f5f5}.sp-topic-name{width:110px;font-size:13px;font-weight:600;color:#333;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-topic-bar-wrap{flex:1;height:8px;background:#f0f0f0;border-radius:4px;overflow:hidden}.sp-topic-bar{height:100%;border-radius:4px;transition:width .8s ease-out;min-width:2px}.sp-topic-bar--good{background:linear-gradient(90deg,#52c41a,#73d13d)}.sp-topic-bar--ok{background:linear-gradient(90deg,#faad14,#ffc53d)}.sp-topic-bar--bad{background:linear-gradient(90deg,#ff4d4f,#ff7875)}.sp-topic-info{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;min-width:44px}.sp-topic-pct{font-size:14px;font-weight:700;line-height:1.2}.sp-topic-pct--good{color:#52c41a}.sp-topic-pct--ok{color:#faad14}.sp-topic-pct--bad{color:#ff4d4f}.sp-topic-count{font-size:11px;color:#8c8c8c;line-height:1.2}.sp-topic-empty{font-size:14px;color:#8c8c8c;text-align:center;padding:20px}.sp-history-list{display:flex;flex-direction:column;gap:8px}.sp-history-item{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border-radius:14px;border:1px solid #f0f0f0;box-shadow:0 1px 4px #00000008;animation:studentFadeInUp .4s ease-out both}.sp-history-indicator{width:4px;height:36px;border-radius:2px;flex-shrink:0}.sp-history-indicator--good{background:#52c41a}.sp-history-indicator--ok{background:#faad14}.sp-history-indicator--bad{background:#ff4d4f}.sp-history-content{flex:1;min-width:0}.sp-history-title{font-size:15px;font-weight:600;color:#1a1a2e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-history-meta{font-size:13px;color:#8c8c8c;margin-top:2px}.sp-history-score{font-size:20px;font-weight:800;flex-shrink:0}.sp-history-score--good{color:#52c41a}.sp-history-score--ok{color:#faad14}.sp-history-score--bad{color:#ff4d4f}.sp-empty{text-align:center;padding:80px 20px;animation:studentFadeInUp .5s ease-out}.sp-empty-icon{font-size:48px;margin-bottom:16px}.sp-empty-title{font-size:20px!important;font-weight:700!important;color:#1a1a2e!important;margin:0 0 8px!important}.sp-empty-text{font-size:15px;color:#8c8c8c;margin:0}.sp-history-item--clickable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.sp-history-item--clickable:active{transform:scale(.98);background:#f8f8ff}.sp-history-arrow{font-size:12px;color:silver;flex-shrink:0;margin-left:2px}.sp-history-hint{font-size:12px;color:#bfbfbf;margin:-10px 0 12px}.sp-streak-banner{background:linear-gradient(135deg,#fff7e6,#fff1cc);border:1px solid #ffd666;border-radius:14px;padding:12px 16px;font-size:14px;font-weight:600;color:#d46b08;text-align:center;margin-bottom:16px;animation:studentFadeInUp .4s ease-out}.sp-detail-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.sp-back-btn{display:flex;align-items:center;gap:6px;background:#f0f0f0;border:none;border-radius:10px;padding:8px 14px;font-size:14px;font-weight:600;color:#555;cursor:pointer;flex-shrink:0;transition:background .15s ease;-webkit-tap-highlight-color:transparent}.sp-back-btn:active{background:#e0e0e0}.sp-detail-info{flex:1;min-width:0}.sp-detail-title{font-size:17px!important;font-weight:700!important;color:#1a1a2e!important;margin:0 0 2px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-detail-meta{font-size:13px;color:#8c8c8c;margin:0}.sp-detail-score{display:flex;flex-direction:column;align-items:center;flex-shrink:0}.sp-detail-score-pct{font-size:22px;font-weight:900;line-height:1.1}.sp-detail-score-raw{font-size:12px;font-weight:500;opacity:.7}.sp-detail-score--good .sp-detail-score-pct{color:#52c41a}.sp-detail-score--ok .sp-detail-score-pct{color:#faad14}.sp-detail-score--bad .sp-detail-score-pct{color:#ff4d4f}.sp-detail-score--good .sp-detail-score-raw{color:#52c41a}.sp-detail-score--ok .sp-detail-score-raw{color:#faad14}.sp-detail-score--bad .sp-detail-score-raw{color:#ff4d4f}.sp-detail-summary{display:flex;align-items:center;justify-content:center;gap:16px;background:#fff;border-radius:14px;padding:12px 20px;margin-bottom:20px;border:1px solid #f0f0f0;box-shadow:0 2px 8px #0000000a}.sp-detail-summary-item{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:600}.sp-detail-summary-item--correct{color:#52c41a}.sp-detail-summary-item--wrong{color:#ff4d4f}.sp-detail-summary-sep{width:1px;height:20px;background:#f0f0f0}.sp-answers-list{display:flex;flex-direction:column;gap:10px}.sp-answer-item{display:flex;gap:12px;padding:14px;background:#fff;border-radius:14px;border:1px solid #f0f0f0;border-left-width:4px;box-shadow:0 1px 4px #00000008;animation:studentFadeInUp .35s ease-out both}.sp-answer-item--correct{border-left-color:#52c41a}.sp-answer-item--wrong{border-left-color:#ff4d4f}.sp-answer-num{flex-shrink:0;padding-top:1px}.sp-answer-badge{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;font-size:13px;font-weight:700}.sp-answer-badge--correct{background:#f6ffed;color:#52c41a;border:1px solid #b7eb8f}.sp-answer-badge--wrong{background:#fff2f0;color:#ff4d4f;border:1px solid #ffccc7}.sp-answer-body{flex:1;min-width:0}.sp-answer-statement{font-size:14px;color:#1a1a2e;line-height:1.55;margin-bottom:8px}.sp-answer-statement--empty{color:#8c8c8c;font-style:italic}.sp-answer-image{display:block;max-width:100%;max-height:280px;object-fit:contain;border-radius:10px;margin-bottom:10px}.sp-answer-responses{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.sp-answer-user-answer{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:500;padding:3px 10px;border-radius:20px}.sp-answer-user-answer--correct{background:#f6ffed;color:#389e0d;border:1px solid #b7eb8f}.sp-answer-user-answer--wrong{background:#fff2f0;color:#cf1322;border:1px solid #ffccc7}@media (max-width: 380px){.sp-stat-value{font-size:24px}.sp-topic-name{width:80px;font-size:12px}.sp-history-score{font-size:18px}.sp-detail-title{font-size:15px!important}.sp-answer-item{padding:10px}.sp-detail-summary{padding:10px 14px;gap:12px}}
