body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.home-container{min-height:100vh;padding:40px 20px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;align-items:center}.home-container.loading{justify-content:center}.home-header{text-align:center;margin-bottom:40px;color:#fff}.home-header h2{color:#fff!important;margin-bottom:8px}.version-info{margin-top:12px}.version-text{color:#ffffffbf!important;font-size:16px}.donate-button-header{color:gold!important;font-size:16px!important;font-weight:500!important;padding:6px 16px!important;height:auto!important;border-radius:20px!important;background:#ffffff26!important;border:1px solid rgba(255,215,0,.3)!important;transition:all .3s ease!important;display:inline-flex!important;align-items:center!important}.donate-button-header svg{transition:all .3s ease}.donate-button-header:hover{color:#fff!important;background:#ffd70033!important;border-color:#ffd70080!important;transform:translateY(-2px);box-shadow:0 4px 12px #ffd7004d}.donate-button-header:hover svg{fill:#ffb3d9;stroke:#ff1493;transform:scale(1.15);filter:drop-shadow(0 0 4px rgba(255,105,180,.6))}.donate-button-header:active{transform:translateY(0)}.practice-card{border-radius:16px;box-shadow:0 4px 20px #0000001a;transition:transform .3s ease,box-shadow .3s ease}.practice-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px #00000026}.card-content{display:flex;align-items:center;gap:24px;padding:16px}.card-icon{width:80px;height:80px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff}.card-icon.sequential{background:linear-gradient(135deg,#108ee9,#87d068)}.card-icon.random{background:linear-gradient(135deg,#ff7a45,#ffc53d)}.card-info{flex:1}.card-info h3{margin-bottom:8px}.progress-section{margin-top:16px}.progress-section .ant-progress{margin-bottom:8px}@media(max-width:768px){.card-content{flex-direction:column;text-align:center}.card-icon{width:60px;height:60px}}.home-footer{margin-top:40px;padding:20px;text-align:center}.footer-text{color:#ffffffd9!important;font-size:14px}.donate-link{color:gold;cursor:pointer;transition:all .3s ease;text-decoration:underline;text-underline-offset:3px}.donate-link:hover{color:#fff;text-shadow:0 0 10px rgba(255,215,0,.8)}.donate-modal .ant-modal-content{border-radius:16px;overflow:hidden}.donate-content{display:flex;flex-direction:column;align-items:center;padding:20px 10px}.donate-title{font-size:20px;font-weight:600;color:#333;margin-bottom:8px}.donate-subtitle{font-size:14px;color:#666;margin-bottom:20px}.donate-qrcode{width:240px;height:auto;border-radius:12px;box-shadow:0 4px 20px #0000001a}.donate-tip{margin-top:16px;font-size:13px;color:#1677ff;background:#e6f4ff;padding:8px 16px;border-radius:20px}.answer-options{padding:12px 0}.answer-options .ant-radio-wrapper,.answer-options .ant-checkbox-wrapper{padding:9px 12px;border:2px solid #f0f0f0;border-radius:8px;transition:all .3s ease;width:100%;margin:0 0 9px}@media(hover:hover)and (pointer:fine){.answer-options .ant-radio-wrapper:hover,.answer-options .ant-checkbox-wrapper:hover{border-color:#1890ff;background-color:#f0f8ff}}@media(hover:none),(hover:on-demand){.answer-options .ant-radio-wrapper:not(.option-correct):not(.option-wrong):hover,.answer-options .ant-checkbox-wrapper:not(.option-correct):not(.option-wrong):hover{border-color:#f0f0f0!important;background-color:transparent!important}.answer-options .ant-radio-wrapper:not(.option-correct):not(.option-wrong) .ant-radio:hover .ant-radio-inner,.answer-options .ant-checkbox-wrapper:not(.option-correct):not(.option-wrong) .ant-checkbox:hover .ant-checkbox-inner,.answer-options .ant-radio-wrapper:not(.option-correct):not(.option-wrong) .ant-radio-input:hover+.ant-radio-inner,.answer-options .ant-checkbox-wrapper:not(.option-correct):not(.option-wrong) .ant-checkbox-input:hover+.ant-checkbox-inner{border-color:#d9d9d9!important}}.answer-options .ant-radio-wrapper-checked,.answer-options .ant-checkbox-wrapper-checked{border-color:#1890ff;background-color:#e6f7ff}.option-label{font-size:16px;line-height:1.5}.option-correct{border-color:#52c41a!important;background-color:#f6ffed!important}.option-wrong{border-color:#ff4d4f!important;background-color:#fff1f0!important}.judge-options{display:flex;justify-content:center;padding:18px 0}.judge-options .ant-btn{min-width:120px;height:50px;font-size:18px}.judge-options .ant-btn.option-correct{background-color:#f6ffed;border-color:#52c41a;color:#52c41a;border-width:2px;font-weight:600}.judge-options .ant-btn.option-wrong{background-color:#fff1f0;border-color:#ff4d4f;color:#ff4d4f;border-width:2px;font-weight:600}@media(hover:none),(hover:on-demand){.judge-options .ant-btn:not(.option-correct):not(.option-wrong):hover{background-color:#fff!important;border-color:#d9d9d9!important;color:#000000e0!important;transform:none!important}}.answer-options .ant-radio-wrapper-disabled,.answer-options .ant-checkbox-wrapper-disabled{cursor:not-allowed}.answer-options .ant-radio-wrapper,.answer-options .ant-checkbox-wrapper,.answer-options .ant-radio,.answer-options .ant-checkbox,.judge-options .ant-btn{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.answer-options .ant-radio-wrapper:focus,.answer-options .ant-checkbox-wrapper:focus,.answer-options .ant-radio-input:focus,.answer-options .ant-checkbox-input:focus,.judge-options .ant-btn:focus,.judge-options .ant-btn:active{outline:none!important;box-shadow:none!important}.judge-options .ant-btn:focus-visible{outline:none!important}.ai-explanation-drawer .ant-drawer-content{border-radius:16px 16px 0 0}.ai-explanation-drawer .ant-drawer-header{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:none;border-radius:16px 16px 0 0}.ai-explanation-drawer .ant-drawer-mask{background:#00000073;-webkit-backdrop-filter:none;backdrop-filter:none}.ai-explanation-drawer .ant-drawer-title,.ai-explanation-drawer .ant-drawer-close{color:#fff}.ai-explanation-drawer .ant-drawer-close:hover{color:#fffc}.ai-drawer-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;position:relative;width:100%}.ai-drawer-title .ai-icon{font-size:24px;animation:pulse 2s infinite}.resize-handle{position:fixed;left:50%;transform:translate(-50%);width:80px;height:28px;cursor:ns-resize;display:flex;align-items:center;justify-content:center;z-index:1001;border-radius:8px;transition:background-color .2s}.resize-handle:hover{background:#ffffff26}.resize-handle.dragging{background:#ffffff40}.resize-bar{width:40px;height:5px;background:#fff9;border-radius:3px;transition:all .2s}.resize-handle:hover .resize-bar{width:50px;background:#ffffffe6}.resize-handle.dragging .resize-bar{width:60px;background:#fff}.ai-explanation-drawer.resizing .ant-drawer-content-wrapper{transition:none!important}.ai-explanation-drawer.resizing{-webkit-user-select:none;user-select:none}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.ai-explanation-content{padding:16px;height:100%;overflow-y:auto}.loading-container,.error-container,.empty-container{display:flex;justify-content:center;align-items:center;height:200px}.markdown-content{font-size:15px;line-height:1.8;color:#333}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4{color:#1a1a2e;margin-top:24px;margin-bottom:12px}.markdown-content h1{font-size:24px;border-bottom:2px solid #667eea;padding-bottom:8px}.markdown-content h2{font-size:20px;color:#667eea}.markdown-content h3{font-size:17px;color:#764ba2}.markdown-content p{margin-bottom:12px}.markdown-content strong{color:#667eea;font-weight:600}.markdown-content ul,.markdown-content ol{padding-left:24px;margin-bottom:12px}.markdown-content li{margin-bottom:8px}.markdown-content code{background:#f5f5f5;padding:2px 6px;border-radius:4px;font-family:Menlo,Monaco,Consolas,monospace;font-size:14px;color:#e83e8c}.markdown-content pre{background:#1a1a2e;padding:16px;border-radius:8px;overflow-x:auto;margin:16px 0}.markdown-content pre code{background:transparent;color:#e0e0e0;padding:0}.markdown-content blockquote{border-left:4px solid #667eea;margin:16px 0;color:#666;background:#f8f9fa;padding:12px 16px;border-radius:0 8px 8px 0}.markdown-content hr{border:none;border-top:1px solid #e0e0e0;margin:24px 0}.markdown-content table{width:100%;border-collapse:collapse;margin:16px 0}.markdown-content th,.markdown-content td{border:1px solid #e0e0e0;padding:10px;text-align:left}.markdown-content th{background:#f5f5f5;font-weight:600}.markdown-content a{color:#667eea;text-decoration:none}.markdown-content a:hover{text-decoration:underline}@media(max-width:768px){.ai-explanation-drawer .ant-drawer-content-wrapper{height:80vh!important}.markdown-content{font-size:14px}.markdown-content h1{font-size:20px}.markdown-content h2{font-size:18px}.markdown-content h3{font-size:16px}}.question-card{margin:15px auto;max-width:900px;border-radius:12px;box-shadow:0 2px 12px #00000014}.question-content{padding:0}.type-tag{margin:0 0 12px;font-size:14px}.question-title{font-size:18px;line-height:1.6;margin-bottom:12px;color:#262626;font-weight:500}.answer-result{padding:12px;border-radius:8px;margin-bottom:12px;margin-top:12px}.answer-result.correct{background-color:#f6ffed;border:1px solid #b7eb8f}.answer-result.wrong{background-color:#fff1f0;border:1px solid #ffa39e}.explanation-section{padding:12px;background-color:#f5f5f5;border-radius:8px;margin-top:12px}.explanation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.ai-explanation-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;display:flex;align-items:center;gap:4px}@media(hover:hover)and (pointer:fine){.ai-explanation-btn:hover{background:linear-gradient(135deg,#5a6fd6,#6a4190)!important}}.explanation-section p{margin-bottom:0;line-height:1.6;color:#595959}.question-grid-modal .ant-modal-body{padding:24px}.question-grid-header{margin-bottom:20px}.legend{display:flex;gap:20px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:8px;font-size:14px}.legend-box{width:20px;height:20px;border-radius:4px;border:2px solid #d9d9d9}.legend-box.unanswered{background-color:#fff}.legend-box.correct{background-color:#52c41a;border-color:#52c41a}.legend-box.wrong{background-color:#ff4d4f;border-color:#ff4d4f}.legend-box.current{background-color:#1890ff;border-color:#1890ff}.question-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:12px;padding:16px 0}.question-number{position:relative;width:100%;height:60px;border-radius:8px;border:2px solid #d9d9d9;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease}@media(hover:hover)and (pointer:fine){.question-number:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}}.question-number .number{font-size:18px;font-weight:500}.question-number .icon{position:absolute;top:4px;right:4px;font-size:14px}.question-number.current{border-color:#1890ff;border-width:3px;background-color:#e6f7ff}.question-number.current .number{color:#1890ff;font-weight:600}.question-number.correct{background-color:#f6ffed;border-color:#52c41a}.question-number.correct .number,.question-number.correct .icon{color:#52c41a}.question-number.wrong{background-color:#fff1f0;border-color:#ff4d4f}.question-number.wrong .number,.question-number.wrong .icon{color:#ff4d4f}.question-number.current.correct{border-color:#52c41a}.question-number.current.wrong{border-color:#ff4d4f}@media(max-width:768px){.question-grid-modal .ant-modal-body{padding:12px 8px}.question-grid-header{margin-bottom:12px;padding:0 4px}.legend{gap:10px}.legend-item{font-size:12px;gap:4px}.legend-box{width:14px;height:14px}.question-grid{grid-template-columns:repeat(5,1fr);gap:6px;padding:8px 0}.question-number{height:48px}.question-number .number{font-size:15px}.question-number .icon{font-size:10px;top:2px;right:2px}}@media(min-width:769px)and (max-width:1024px){.question-grid{grid-template-columns:repeat(auto-fill,minmax(65px,1fr))}}@media(min-width:1025px){.question-grid{grid-template-columns:repeat(auto-fill,minmax(75px,1fr))}}.practice-container{min-height:100vh;background:linear-gradient(to bottom,#f0f2f5,#fff)}.practice-header{position:sticky;top:0;z-index:100;background:#fff;padding:16px 24px;box-shadow:0 2px 8px #00000014;display:flex;justify-content:space-between;align-items:center}.header-left{display:flex;align-items:center;gap:12px}.header-right,.stats-group{display:flex;align-items:center;gap:16px}.buttons-group{display:flex;align-items:center;gap:12px}.mode-tag{font-size:14px;padding:4px 12px;border-radius:4px}.stat-number{font-weight:600;font-size:16px}.stat-number.correct{color:#52c41a}.stat-number.wrong{color:#ff4d4f}.practice-content{padding:20px;max-width:1200px;margin:0 auto}.navigation-buttons{display:flex;justify-content:space-between;margin-top:24px;padding:0 20px}.navigation-buttons .ant-btn{min-width:120px}@media(max-width:768px){.practice-header{flex-wrap:wrap;gap:12px;padding:12px 16px}.header-left,.header-right{flex:1 1 100%;justify-content:space-between}.stats-group{gap:12px}.buttons-group{gap:8px}.practice-content{padding:12px}.navigation-buttons{padding:0}.navigation-buttons .ant-btn{flex:1;min-width:auto}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}.ant-btn{transition:all .3s ease}@media(hover:hover)and (pointer:fine){.ant-btn:hover{transform:translateY(-1px)}}
