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}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.ant-message{z-index:1010!important;top:70px!important}@media screen and (max-width: 768px){.ant-message{top:80px!important}}.ql-editor img,[dangerouslySetInnerHTML] img{max-width:100%;height:auto;display:block;margin:8px 0}img[style*=width],img[style*=height],img[style]{max-width:100%!important;width:auto!important;height:auto!important;display:block!important;margin:8px auto!important}.question-content img[style],.explanation-content img[style],div[class*=question-content] img[style],div[class*=explanation-content] img[style]{max-width:100%!important;width:auto!important;height:auto!important;display:block!important;margin:8px auto!important;box-sizing:border-box!important}@media screen and (max-width: 768px){.ant-card{margin-bottom:16px}.ant-list-item{padding:12px!important}.ant-statistic{font-size:14px}.ant-statistic-title,.ant-progress-text{font-size:12px}h1.ant-typography{font-size:24px!important}h4.ant-typography{font-size:16px!important}.ql-editor img,[dangerouslySetInnerHTML] img,img[style],.question-content img,.explanation-content img{max-width:100%!important;width:auto!important;height:auto!important;display:block!important}.explanation-content{max-width:100%!important;word-wrap:break-word!important;word-break:break-word!important;overflow-wrap:break-word!important;overflow:hidden!important;padding:8px!important;font-size:12px!important;line-height:1.4!important;margin:8px auto!important}}.exam-list-container{min-height:calc(100vh - 120px);background:#f5f5f5;color:#000000d9;padding:0}.control-panel{position:sticky;top:24px}.performance-panel{background:linear-gradient(135deg,#fff,#f8fafc);border-radius:16px;box-shadow:0 4px 12px #00000014;border:1px solid #e8e8e8;position:relative;overflow:hidden;padding:24px}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #f0f0f0}.panel-header h3{margin:0;color:#262626;font-size:17px;font-weight:700;display:flex;align-items:center;gap:8px;letter-spacing:.3px}.panel-header h3 .anticon{color:#1890ff;font-size:20px}.panel-header .history-link{color:#1890ff;font-size:12px;font-weight:500;display:flex;align-items:center;gap:4px;transition:all .3s ease}.panel-header .history-link:hover{color:#40a9ff;transform:translate(2px)}.panel-header .history-link .anticon{font-size:14px}.overview-section{margin-bottom:16px}.overview-item{text-align:center;padding:16px 12px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.overview-item .overview-value{font-size:22px;font-weight:800;color:#1890ff;line-height:1;margin-bottom:8px;background:linear-gradient(135deg,#1890ff,#40a9ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.overview-item .overview-label{font-size:11px;color:#8c8c8c;font-weight:600;letter-spacing:.5px}.stats-section .stat-box{background:#fff;border:1.5px solid #f0f0f0;border-radius:10px;padding:16px 12px;text-align:center;margin-bottom:8px}.stat-box .stat-number{font-size:18px;font-weight:700;color:#1890ff;line-height:1;margin-bottom:8px}.stat-box .stat-text{font-size:10px;color:#8c8c8c;font-weight:600;letter-spacing:.5px}@media (max-width: 768px){.exam-list-container{padding:0}.control-panel{position:relative;top:auto;margin-bottom:16px}.performance-panel{padding:16px;margin-bottom:12px}.performance-panel h3{font-size:14px;margin-bottom:12px}.overview-item{padding:12px 8px}.overview-item .overview-value{font-size:16px}.overview-item .overview-label{font-size:9px}.stat-box{padding:12px 8px}.stat-box .stat-number{font-size:12px}.stat-box .stat-text{font-size:8px}}.puzzle-dash-container{min-height:calc(100vh - 120px);background:#f5f5f5;color:#000000d9;padding:0}.puzzle-dash-container .hero-banner{background:linear-gradient(135deg,#1890ff,#52c41a);border-radius:8px;margin-bottom:24px;padding:24px;box-shadow:0 8px 24px #0000001f;position:relative;overflow:hidden}.puzzle-dash-container .hero-banner:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cdefs%3E%3Cpattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"%3E%3Ccircle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"%2F%3E%3Ccircle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect width="100" height="100" fill="url(%2523grain)"%2F%3E%3C%2Fsvg%3E');opacity:.3;pointer-events:none}.puzzle-dash-container .hero-banner .hero-content{max-width:1200px;margin:0 auto;text-align:center;position:relative;z-index:1}.puzzle-dash-container .hero-banner .hero-content .hero-title{font-size:32px;font-weight:700;color:#fff;margin:0 0 8px;text-shadow:0 2px 4px rgba(0,0,0,.1);letter-spacing:1px}.puzzle-dash-container .hero-banner .hero-content .hero-subtitle{font-size:16px;color:#ffffffe6;margin:0;font-weight:400}.puzzle-dash-container .main-content{max-width:1200px;margin:0 auto}.puzzle-dash-container .control-panel{position:sticky;top:24px}.puzzle-dash-container .performance-panel{background:linear-gradient(135deg,#fff,#f8fafc);border-radius:16px;padding:24px;box-shadow:0 4px 12px #00000014;border:1px solid #e8e8e8;position:relative;overflow:hidden}.puzzle-dash-container .performance-panel .panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #f0f0f0}.puzzle-dash-container .performance-panel .panel-header h3{margin:0;color:#262626;font-size:17px;font-weight:700;display:flex;align-items:center;gap:8px;letter-spacing:.3px}.puzzle-dash-container .performance-panel .panel-header h3 .anticon{color:#1890ff;font-size:20px}.puzzle-dash-container .performance-panel .panel-header .history-link{color:#1890ff;font-size:12px;font-weight:500;display:flex;align-items:center;gap:4px;transition:all .3s ease}.puzzle-dash-container .performance-panel .panel-header .history-link:hover{color:#40a9ff;transform:translate(2px)}.puzzle-dash-container .performance-panel .panel-header .history-link .anticon{font-size:14px}.puzzle-dash-container .performance-panel .overview-section{margin-bottom:16px}.puzzle-dash-container .performance-panel .overview-item{text-align:center;padding:12px 8px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.puzzle-dash-container .performance-panel .overview-item .overview-value{font-size:22px;font-weight:800;color:#1890ff;line-height:1;margin-bottom:6px;background:linear-gradient(135deg,#1890ff,#40a9ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.puzzle-dash-container .performance-panel .overview-item .overview-label{font-size:11px;color:#8c8c8c;font-weight:600;letter-spacing:.5px}.puzzle-dash-container .performance-panel .stats-section .stat-box{background:#fff;border:1.5px solid #f0f0f0;border-radius:10px;padding:12px 8px;text-align:center}.puzzle-dash-container .performance-panel .stats-section .stat-box .stat-number{font-size:18px;font-weight:700;color:#1890ff;line-height:1;margin-bottom:6px}.puzzle-dash-container .performance-panel .stats-section .stat-box .stat-text{font-size:10px;color:#8c8c8c;font-weight:600;letter-spacing:.5px}.puzzle-dash-container .game-modes-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.puzzle-dash-container .game-modes-section .section-header .header-left h2{color:#262626;font-size:20px;font-weight:600;margin:0;display:flex;align-items:center;gap:12px}.puzzle-dash-container .game-modes-section .section-header .header-left h2 .anticon{color:#1890ff;font-size:22px}.puzzle-dash-container .game-modes-section .section-header .header-right .ant-btn-group .ant-btn{border-radius:6px;font-size:13px;height:32px;padding:4px 12px}.puzzle-dash-container .game-modes-section .section-header .header-right .ant-btn-group .ant-btn:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.puzzle-dash-container .game-modes-section .section-header .header-right .ant-btn-group .ant-btn:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.puzzle-dash-container .control-panel .quick-actions h3{color:#262626;font-size:16px;font-weight:600;margin-bottom:16px;display:flex;align-items:center;gap:8px}.puzzle-dash-container .control-panel .quick-actions h3 .anticon{color:#52c41a;font-size:18px}.puzzle-dash-container .control-panel .quick-actions .ant-btn{background:#fff;border-color:#d9d9d9;color:#595959;font-size:13px;height:36px;border-radius:6px;font-weight:500;transition:all .3s cubic-bezier(.4,0,.2,1);margin-bottom:6px}.puzzle-dash-container .control-panel .quick-actions .ant-btn:hover{border-color:#1890ff;color:#1890ff;background:#f0f8ff;transform:translateY(-1px);box-shadow:0 3px 8px #1890ff26}.puzzle-dash-container .control-panel .quick-actions .ant-btn:active{transform:translateY(0)}.puzzle-dash-container .game-modes-list{display:flex;flex-direction:column;gap:0;margin-bottom:24px}.puzzle-dash-container .pagination-wrapper{margin-top:32px;padding-top:24px;border-top:1px solid #e2e8f0}.puzzle-dash-container .pagination-wrapper .pagination-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000d;text-align:center}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-item{border-radius:6px;border-color:#e5e7eb;transition:all .3s ease}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-item:hover{border-color:#667eea;color:#667eea;box-shadow:0 2px 8px #667eea26}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-item.ant-pagination-item-active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff;box-shadow:0 4px 12px #667eea4d}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-item.ant-pagination-item-active a{color:#fff!important}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-jump-prev,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-jump-next{border-radius:6px;border-color:#e5e7eb;transition:all .3s ease}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-jump-prev:hover,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-jump-next:hover{border-color:#667eea;color:#667eea;box-shadow:0 2px 8px #667eea26}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-prev,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-next{border-radius:6px;border-color:#e5e7eb;transition:all .3s ease}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-prev:hover,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-next:hover{border-color:#667eea;color:#667eea;box-shadow:0 2px 8px #667eea26}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-prev:disabled,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-next:disabled{border-color:#f0f0f0;color:#d9d9d9}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-size-changer .ant-select .ant-select-selector{border-radius:4px;border-color:#e5e7eb;transition:all .3s ease}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-size-changer .ant-select .ant-select-selector:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea26}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-size-changer .ant-select.ant-select-focused .ant-select-selector{border-color:#667eea;box-shadow:0 0 0 2px #667eea33}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-size-changer .ant-select .ant-select-arrow{color:#667eea}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input{border-radius:4px;border-color:#e5e7eb;transition:all .3s ease}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea26}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input:focus{border-color:#667eea;box-shadow:0 0 0 2px #667eea33}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-total-text{color:#64748b;font-size:13px;font-weight:500}.game-mode-list-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px 20px;cursor:pointer;transition:all .2s ease;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;margin-bottom:12px;box-shadow:0 1px 2px #0000000d}.game-mode-list-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#667eea,#764ba2);transition:width .3s ease}.game-mode-list-item:hover{transform:translateY(-2px);border-color:#d1d5db;box-shadow:0 4px 12px #00000026;background:#fff}.game-mode-list-item:hover:before{width:4px}.game-mode-list-item:hover .list-item-right .ant-btn{transform:scale(1.05)}.game-mode-list-item:hover .mode-icon{background:linear-gradient(135deg,#667eea1a,#764ba21a);box-shadow:0 4px 12px #667eea33}.game-mode-list-item .list-item-left{display:flex;align-items:center;gap:16px;flex:1}.game-mode-list-item .list-item-left .mode-icon{font-size:20px;color:#fff;display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;transition:all .3s ease;box-shadow:0 4px 12px #667eea66}.game-mode-list-item .list-item-left .mode-details .mode-header{margin-bottom:8px}.game-mode-list-item .list-item-left .mode-details .mode-header .mode-title{font-size:16px;font-weight:600;color:#262626;line-height:1.4}.game-mode-list-item .list-item-left .mode-details .mode-params{display:flex;gap:12px}.game-mode-list-item .list-item-left .mode-details .mode-params .param{font-size:12px;color:#64748b;background:#f8fafc;padding:2px 8px;border-radius:12px;font-weight:500;border:1px solid #e2e8f0}.game-mode-list-item .list-item-right{display:flex;align-items:center;gap:16px}.game-mode-list-item .list-item-right .best-score{text-align:right;margin-right:8px}.game-mode-list-item .list-item-right .best-score .score-label{display:block;font-size:11px;color:#8c8c8c;text-transform:uppercase;margin-bottom:2px}.game-mode-list-item .list-item-right .best-score .score-value{font-size:16px;font-weight:700;color:#667eea}.game-mode-list-item .list-item-right .ant-btn{border-radius:6px;height:36px;padding:0 16px;font-weight:500;transition:all .3s ease;border-color:#d1d5db;box-shadow:0 1px 2px #0000000d;background:#1890ff;color:#fff;border-color:#1890ff}.game-mode-list-item .list-item-right .ant-btn:hover{transform:scale(1.05);background:#40a9ff;border-color:#40a9ff;box-shadow:0 3px 8px #1890ff26}.game-mode-list-item .list-item-right .ant-btn:active{background:#096dd9;border-color:#096dd9}.quick-actions{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0000000f;border:1px solid #f0f0f0}.puzzle-dash-loading{display:flex;justify-content:center;align-items:center;min-height:400px;background:#fff;border-radius:12px;margin:24px;box-shadow:0 2px 8px #0000000f}.loading-container .trophy-icon{animation:pulse 2s ease-in-out infinite}.loading-container .loading-progress .ant-progress-bg{transition:all .3s ease}.loading-container .loading-text{opacity:.8;animation:fadeInOut 1.5s ease-in-out infinite}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.8}to{transform:scale(1);opacity:1}}@keyframes fadeInOut{0%,to{opacity:.6}50%{opacity:1}}@media (max-width: 1200px){.puzzle-dash-container{padding:0}.puzzle-dash-container .hero-banner{margin-bottom:24px;padding:24px}.puzzle-dash-container .hero-banner .hero-content .hero-right .quick-stats{gap:20px}.puzzle-dash-container .hero-banner .hero-content .hero-right .quick-stats .stat-item{padding:12px 16px}}@media (max-width: 768px){.puzzle-dash-container{padding:0}.puzzle-dash-container .hero-banner{padding:24px;margin-bottom:24px}.puzzle-dash-container .hero-banner .hero-content{text-align:center}.puzzle-dash-container .hero-banner .hero-content .hero-title{font-size:24px}.puzzle-dash-container .hero-banner .hero-content .hero-subtitle{font-size:14px}.puzzle-dash-container .main-content .ant-row{flex-direction:column}.puzzle-dash-container .main-content .control-panel{position:relative;top:auto;margin-bottom:16px}.puzzle-dash-container .main-content .control-panel .performance-panel{padding:12px;margin-bottom:12px}.puzzle-dash-container .main-content .control-panel .performance-panel h3{font-size:14px;margin-bottom:12px}.puzzle-dash-container .main-content .control-panel .performance-panel .overview-item{padding:6px 4px}.puzzle-dash-container .main-content .control-panel .performance-panel .overview-item .overview-value{font-size:16px}.puzzle-dash-container .main-content .control-panel .performance-panel .overview-item .overview-label{font-size:9px}.puzzle-dash-container .main-content .control-panel .performance-panel .stat-box{padding:6px 4px}.puzzle-dash-container .main-content .control-panel .performance-panel .stat-box .stat-number{font-size:12px}.puzzle-dash-container .main-content .control-panel .performance-panel .stat-box .stat-text{font-size:8px}.puzzle-dash-container .main-content .control-panel .quick-actions{padding:12px}.puzzle-dash-container .main-content .control-panel .quick-actions h3{font-size:14px;margin-bottom:12px}.puzzle-dash-container .main-content .control-panel .quick-actions .ant-btn{height:32px;font-size:12px;margin-bottom:4px}.puzzle-dash-container .game-modes-section .section-header{flex-direction:column;gap:16px;align-items:flex-start}.puzzle-dash-container .game-modes-section .section-header .header-right .ant-btn-group{width:100%}.puzzle-dash-container .game-modes-section .section-header .header-right .ant-btn-group .ant-btn{flex:1}.puzzle-dash-container .game-mode-list-item{padding:12px 16px}.puzzle-dash-container .game-mode-list-item .list-item-left{gap:12px}.puzzle-dash-container .game-mode-list-item .list-item-left .mode-icon{width:40px;height:40px;font-size:20px}.puzzle-dash-container .game-mode-list-item .list-item-left .mode-details .mode-header .mode-title{font-size:16px}.puzzle-dash-container .game-mode-list-item .list-item-left .mode-details .mode-params{gap:12px}.puzzle-dash-container .game-mode-list-item .list-item-left .mode-details .mode-params .param{font-size:12px;padding:2px 6px}.puzzle-dash-container .game-mode-list-item .list-item-right{gap:12px}.puzzle-dash-container .game-mode-list-item .list-item-right .best-score .score-value{font-size:14px}.puzzle-dash-container .game-mode-list-item .list-item-right .ant-btn{height:32px;padding:0 12px;font-size:12px}.puzzle-dash-container .pagination-wrapper{margin-top:20px;padding:16px 0}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-total-text{font-size:12px;margin-bottom:12px}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-item,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-prev,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-next,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-jump-prev,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-jump-next{margin:0 4px;min-width:36px;height:36px;line-height:34px;font-size:14px}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper{display:none}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-size-changer{margin-left:8px}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-size-changer .ant-select .ant-select-selector{min-height:36px;padding:4px 8px;font-size:14px}.loading-container{padding:16px}.loading-container .ant-card{margin:0}}.mobile-stats-panel .mobile-stats-content{animation:slideDown .3s ease-out;transform-origin:top}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px) scaleY(.95)}to{opacity:1;transform:translateY(0) scaleY(1)}}@media (max-width: 576px){.puzzle-dash-container .hero-banner .hero-content .hero-title{font-size:20px}.puzzle-dash-container .hero-banner .hero-content .hero-subtitle{font-size:13px}.puzzle-dash-container .pagination-wrapper .ant-pagination{justify-content:center;flex-wrap:wrap;gap:8px}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-total-text{order:-1;width:100%;text-align:center;margin-bottom:16px;font-size:12px}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-item,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-prev,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-next,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-jump-prev,.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-jump-next{margin:0 2px;min-width:32px;height:32px;line-height:30px;font-size:13px}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options{order:1;width:100%;justify-content:center;margin-top:12px}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-size-changer{margin:0 auto}.puzzle-dash-container .pagination-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-size-changer .ant-select .ant-select-selector{min-height:32px;font-size:13px}}.puzzle-dash-play{padding:24px;max-width:1400px;margin:0 auto}@media (max-width: 768px){.puzzle-dash-play{padding:16px}.puzzle-dash-play .ant-row{flex-direction:column}.puzzle-dash-play .ant-row .ant-col{width:100%!important;max-width:100%!important;margin-bottom:16px}}@media (max-width: 480px){.puzzle-dash-play{padding:12px}}.puzzle-dash-play .chess-board-container{max-width:560px;margin:0 auto;position:relative}@media (max-width: 768px){.puzzle-dash-play .chess-board-container{max-width:90vw}}@media (max-width: 480px){.puzzle-dash-play .chess-board-container{max-width:95vw}}.puzzle-dash-play .chess-board-container .react-chessboard{transition:all .4s cubic-bezier(.4,0,.2,1)}.puzzle-dash-play .chess-board-container .react-chessboard .square{transition:background-color .4s cubic-bezier(.4,0,.2,1)}.puzzle-dash-play .chess-board-container .chess-board-wrapper,.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container{position:relative;width:100%;height:100%}.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper{position:relative;display:inline-block;padding:35px 35px 45px 45px}.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates{position:absolute;z-index:10;pointer-events:none}.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates.rank-coordinates{left:8px;top:35px;height:calc(100% - 80px);width:30px;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates.rank-coordinates .coordinate-label{height:calc(12.5% - 2px);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;color:#34495e;text-shadow:0 1px 2px rgba(255,255,255,.8);-webkit-user-select:none;user-select:none;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#ffffffe6;border:1px solid rgba(52,73,94,.1);border-radius:6px;min-height:22px;box-shadow:0 1px 3px #0000001a}@media (max-width: 768px){.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates.rank-coordinates .coordinate-label{font-size:13px;min-height:18px;border-radius:4px}}@media (max-width: 480px){.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates.rank-coordinates .coordinate-label{font-size:11px;min-height:16px;border-radius:3px}}.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates.file-coordinates{bottom:8px;left:45px;width:calc(100% - 80px);height:30px;display:flex;justify-content:space-around;align-items:center}.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates.file-coordinates .coordinate-label{width:calc(12.5% - 2px);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;color:#34495e;text-shadow:0 1px 2px rgba(255,255,255,.8);-webkit-user-select:none;user-select:none;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#ffffffe6;border:1px solid rgba(52,73,94,.1);border-radius:6px;min-width:22px;box-shadow:0 1px 3px #0000001a}@media (max-width: 768px){.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates.file-coordinates .coordinate-label{font-size:13px;min-width:18px;border-radius:4px}}@media (max-width: 480px){.puzzle-dash-play .chess-board-container .chess-board-wrapper .board-container .coordinate-wrapper .board-coordinates.file-coordinates .coordinate-label{font-size:11px;min-width:16px;border-radius:3px}}.puzzle-dash-play .stat-item{text-align:center;padding:8px;border-radius:8px;background:linear-gradient(135deg,#fafafa,#fff);border:1px solid #f0f0f0;transition:all .2s ease}.puzzle-dash-play .stat-item:hover{background:linear-gradient(135deg,#f5f5f5,#fafafa);border-color:#d9d9d9}.puzzle-dash-play .stat-item h3{margin:8px 0;font-weight:600;color:#262626}.puzzle-dash-play .stat-item .ant-typography{color:#595959}@media (max-width: 768px){.puzzle-dash-play .stat-item{padding:6px}.puzzle-dash-play .stat-item h3{margin:6px 0;font-size:16px}}.puzzle-dash-play .ant-card{margin-bottom:20px;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #f0f0f0;transition:all .3s ease}.puzzle-dash-play .ant-card:hover{box-shadow:0 4px 16px #0000001a;transform:translateY(-2px)}.puzzle-dash-play .ant-card .ant-card-head{border-bottom:1px solid #f5f5f5;padding:16px 20px}.puzzle-dash-play .ant-card .ant-card-head .ant-card-head-title{font-weight:600;color:#262626}.puzzle-dash-play .ant-card .ant-card-body{padding:20px}@media (max-width: 768px){.puzzle-dash-play .ant-card{margin-bottom:16px}.puzzle-dash-play .ant-card .ant-card-head{padding:12px 16px}.puzzle-dash-play .ant-card .ant-card-body{padding:16px}}.puzzle-dash-play .ant-progress{margin-top:16px}.puzzle-dash-play .ant-progress .ant-progress-text{font-weight:500}.puzzle-dash-play .theme-selector-card .ant-card-body{padding:16px}.puzzle-dash-play .theme-selector-card .theme-selector-button{width:100%;height:48px;display:flex;align-items:center;justify-content:space-between;border-radius:8px;border:2px solid #d9d9d9;background:linear-gradient(135deg,#f5f5f5,#fff);transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.puzzle-dash-play .theme-selector-card .theme-selector-button:hover{border-color:#1890ff;box-shadow:0 4px 12px #1890ff26;transform:translateY(-1px)}.puzzle-dash-play .theme-selector-card .theme-selector-button .theme-preview{display:flex;align-items:center;gap:8px}.puzzle-dash-play .theme-selector-card .theme-selector-button .theme-preview .theme-colors{display:flex;gap:4px}.puzzle-dash-play .theme-selector-card .theme-selector-button .theme-preview .theme-colors .color-square{width:16px;height:16px;border-radius:3px;border:1px solid rgba(0,0,0,.1);box-shadow:0 1px 2px #0000001a}.puzzle-dash-play .theme-selector-card .theme-selector-button .theme-preview .theme-name{font-weight:500;color:#262626}.puzzle-dash-play .theme-dropdown-menu{border-radius:8px;box-shadow:0 6px 16px #0000001f;border:1px solid #f0f0f0;overflow:hidden}.puzzle-dash-play .theme-dropdown-menu .ant-dropdown-menu-item{padding:12px 16px;transition:all .2s ease}.puzzle-dash-play .theme-dropdown-menu .ant-dropdown-menu-item:hover{background:linear-gradient(135deg,#f0f9ff,#e6f7ff)}.puzzle-dash-play .theme-dropdown-menu .ant-dropdown-menu-item .theme-option{display:flex;align-items:center;gap:12px;width:100%}.puzzle-dash-play .theme-dropdown-menu .ant-dropdown-menu-item .theme-option .theme-colors{display:flex;gap:4px}.puzzle-dash-play .theme-dropdown-menu .ant-dropdown-menu-item .theme-option .theme-colors .color-square{width:18px;height:18px;border-radius:4px;border:1px solid rgba(0,0,0,.1);box-shadow:0 1px 3px #0000001a}.puzzle-dash-play .theme-dropdown-menu .ant-dropdown-menu-item .theme-option .theme-name{font-weight:500;color:#262626;flex:1}:fullscreen .puzzle-dash-play{padding:0;height:100vh;display:flex;align-items:center;justify-content:center;background:#000}:fullscreen .puzzle-dash-play .ant-row{height:100vh;align-items:center}:fullscreen .puzzle-dash-play .chess-board-container{max-width:80vh;max-height:80vh}:fullscreen .puzzle-dash-play .ant-col:last-child{display:none}:fullscreen .puzzle-dash-play .coordinate-wrapper .react-chessboard{width:80vh!important;height:80vh!important}.ant-btn.fullscreen-btn{transition:all .3s ease}.ant-btn.fullscreen-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #1890ff4d}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.time-warning{animation:pulse 1s infinite;color:#ff4d4f!important}.time-critical{animation:pulse .5s infinite;color:#ff4d4f!important;text-shadow:0 0 10px rgba(255,77,79,.5)}.puzzle-dash-history-container{min-height:calc(100vh - 64px);background:#f5f5f5}.puzzle-dash-history-container .ant-statistic-title{font-size:14px;color:#8c8c8c;margin-bottom:8px}.puzzle-dash-history-container .ant-statistic-content{font-weight:600}.puzzle-dash-history-container .ant-table{background:#fff}.puzzle-dash-history-container .ant-table-thead>tr>th{background:#fafafa;font-weight:600;color:#262626}.puzzle-dash-history-container .ant-table-tbody>tr:hover>td{background:#f0f8ff}.puzzle-dash-history-container .ant-card{border-radius:8px;box-shadow:0 2px 8px #0000000f}.puzzle-dash-history-container .ant-card-head{border-bottom:2px solid #f0f0f0}.puzzle-dash-history-container .ant-tag{border-radius:4px;font-weight:500;padding:2px 8px}.puzzle-dash-history-container .ant-list-item{padding:0!important}.puzzle-dash-history-container .ant-list-item .ant-card{margin-bottom:0}@media (max-width: 768px){.puzzle-dash-history-container{padding:12px!important}.puzzle-dash-history-container .ant-card{margin-bottom:12px}.puzzle-dash-history-container .ant-statistic-content-value{font-size:20px}}.netclass-root,.netclass-drawer-panel{--nc-primary: #1677ff;--nc-primary-soft: #4096ff;--nc-primary-bg: #e6f4ff;--nc-primary-border: #bae0ff;--nc-success: #52c41a;--nc-success-bg: #f6ffed;--nc-warning: #faad14;--nc-danger: #ff4d4f;--nc-text: #262626;--nc-text-muted: #8c8c8c;--nc-text-light: #bfbfbf;--nc-text-on-overlay: #ffffff;--nc-border: #f0f0f0;--nc-border-dashed: #f0f0f0;--nc-border-strong: #d9d9d9;--nc-bg: #f5f7fa;--nc-bg-soft: #fafafa;--nc-bg-card: #ffffff;--nc-bg-muted: #f5f5f5;--nc-board-light: #f0d9b5;--nc-board-dark: #b58863;--nc-board-accent: #fff7d6;--nc-board-accent-soft: #fbeac8;--nc-board-accent-border: #d4a574;--nc-clock-active-bg: #f5fbff;--nc-shadow-card: 0 1px 2px rgba(15, 23, 42, .04);--nc-overlay-strong: rgba(0, 0, 0, .65);--nc-overlay-soft: rgba(0, 0, 0, .45);--nc-selected-black-shadow: #262626;--nc-selected-black-border: #595959;--nc-header-bg: #1f2937;--nc-header-text: #f3f4f6;--nc-header-text-muted: #9ca3af;--nc-header-border: #374151;--nc-header-shadow: 0 2px 6px rgba(15, 23, 42, .18)}.netclass-root[data-theme=dark],.netclass-drawer-panel.netclass-drawer-panel--dark{--nc-primary: #1668dc;--nc-primary-soft: #3c89e8;--nc-primary-bg: #111d2c;--nc-primary-border: #15395b;--nc-success: #49aa19;--nc-success-bg: #162312;--nc-warning: #d89614;--nc-danger: #dc4446;--nc-text: #e6e6e6;--nc-text-muted: #a6a6a6;--nc-text-light: #6b6b6b;--nc-text-on-overlay: #ffffff;--nc-border: #303030;--nc-border-dashed: #2a2a2a;--nc-border-strong: #424242;--nc-bg: #141414;--nc-bg-soft: #1d1d1d;--nc-bg-card: #1f1f1f;--nc-bg-muted: #262626;--nc-board-light: #b08968;--nc-board-dark: #6b4a2d;--nc-board-accent: #3a2e15;--nc-board-accent-soft: #4a3a1f;--nc-board-accent-border: #8a6f40;--nc-clock-active-bg: #15294a;--nc-shadow-card: 0 1px 2px rgba(0, 0, 0, .5);--nc-overlay-strong: rgba(0, 0, 0, .75);--nc-overlay-soft: rgba(0, 0, 0, .55);--nc-selected-black-shadow: #e6e6e6;--nc-selected-black-border: #909090;--nc-header-bg: #0a0a0a;--nc-header-text: #e6e6e6;--nc-header-text-muted: #888888;--nc-header-border: #1f1f1f;--nc-header-shadow: 0 2px 8px rgba(0, 0, 0, .6)}.netclass-root{height:100vh;display:flex;flex-direction:column;background:var(--nc-bg);color:var(--nc-text);overflow:hidden}.netclass-drawer-panel{color:var(--nc-text)}.netclass-header{height:52px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:var(--nc-header-bg);color:var(--nc-header-text);border-bottom:1px solid var(--nc-header-border);box-shadow:var(--nc-header-shadow);gap:12px;position:relative;z-index:2}.netclass-root[data-theme=dark] .netclass-header{border-bottom-color:var(--nc-header-border)}.netclass-header .ant-btn-default{background:transparent;border-color:var(--nc-header-border);color:var(--nc-header-text)}.netclass-header .ant-btn-default:hover{border-color:var(--nc-primary-soft);color:var(--nc-primary-soft)}.netclass-header .ant-btn-dangerous.ant-btn-default{border-color:var(--nc-danger);color:var(--nc-danger)}.netclass-header .ant-btn-dangerous.ant-btn-default:hover{border-color:#ff7875;color:#ff7875}.netclass-header .ant-btn-text{color:var(--nc-header-text)}.netclass-header .ant-btn-text:hover{color:var(--nc-primary-soft);background:#ffffff14}.netclass-header .ant-btn-background-ghost{background:transparent;border-color:var(--nc-header-text-muted);color:var(--nc-header-text)}.netclass-header .ant-btn-background-ghost:hover{border-color:var(--nc-primary-soft);color:var(--nc-primary-soft)}.netclass-header .ant-btn-primary.ant-btn-background-ghost{border-color:var(--nc-primary);color:var(--nc-primary)}.netclass-header-title{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--nc-header-text);min-width:0;flex:1}.netclass-header-title>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.netclass-header-meta{display:flex;align-items:center;gap:6px;color:var(--nc-header-text);font-size:13px;flex-wrap:wrap;justify-content:flex-end}.netclass-header-meta .nc-divider{width:1px;height:18px;background:var(--nc-header-border);margin:0 4px;flex-shrink:0}.netclass-header-meta .nc-group{display:flex;align-items:center;gap:4px}.netclass-header .ant-badge-status-text,.netclass-header .ant-badge .ant-badge-status-text,.netclass-header .ant-typography{color:var(--nc-header-text)!important}.netclass-teacher-layout{flex:1;display:grid;grid-template-columns:220px 1fr 320px;gap:12px;padding:12px;min-height:0}.netclass-panel{background:var(--nc-bg-card);border-radius:8px;border:1px solid var(--nc-border);display:flex;flex-direction:column;min-height:0;overflow:hidden}.netclass-panel-header{padding:10px 14px;border-bottom:1px solid var(--nc-border);font-weight:600;font-size:13px;color:var(--nc-text);display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:8px;background:var(--nc-bg-soft)}.netclass-panel-body{flex:1;overflow-y:auto;padding:8px}.netclass-panel-footer{border-top:1px solid var(--nc-border);padding:10px 12px;flex-shrink:0;background:var(--nc-bg-soft)}.netclass-board-card{border-radius:6px;border:1px solid var(--nc-border);background:var(--nc-bg-card);padding:6px;margin-bottom:6px;cursor:pointer;transition:all .2s;display:flex;gap:8px;align-items:stretch}.netclass-board-card:hover{border-color:var(--nc-primary-soft)}.netclass-board-card.is-selected{border-color:var(--nc-primary);box-shadow:0 0 0 2px #1677ff1f}.netclass-board-card.is-my-turn{background:linear-gradient(135deg,var(--nc-board-accent) 0%,var(--nc-board-accent-soft) 100%);border-color:var(--nc-board-accent-border)}.netclass-board-card-thumb{width:64px;flex-shrink:0;position:relative}.netclass-thumb-result{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:1;overflow:hidden}.netclass-thumb-result:before{content:"";position:absolute;bottom:-2px;right:-18px;width:70px;height:10px;background:#ff4d4f;transform:rotate(-45deg);transform-origin:center;box-shadow:0 1px 3px #0000004d}.netclass-thumb-result span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:14px;font-weight:700;color:#fff;white-space:nowrap;text-shadow:0 0 4px rgba(0,0,0,.8),0 0 8px rgba(0,0,0,.5)}.netclass-board-card-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:2px;font-size:12px}.netclass-thumb-row{display:flex;align-items:center;gap:4px;min-width:0}.netclass-thumb-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500;color:var(--nc-text);flex:1;min-width:0}.netclass-thumb-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:2px}.netclass-thumb-footer .ant-tag{font-size:10px;line-height:16px;padding:0 5px;margin:0}.netclass-thumb-meta{color:var(--nc-text-muted);font-size:11px}.netclass-play-panel{display:flex;flex-direction:column;align-items:center;padding:12px;overflow-y:auto;width:100%;--board-max: 560px}.netclass-play-panel.is-teacher{--board-max: min( calc(100vh - 280px) , calc(100vw - 640px) , 640px)}.netclass-play-panel.is-student{--board-max: min( calc(100vh - 200px) , calc(100vw - 32px) , 760px)}.netclass-clock-row,.netclass-board-wrap,.netclass-teacher-actions{box-sizing:border-box;width:100%;margin-left:auto;margin-right:auto}.netclass-clock-row,.netclass-teacher-actions{max-width:var(--board-actual, var(--board-max))}.netclass-board-wrap{max-width:var(--board-max)}.netclass-clock-row{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;background:#f0f0f0;border:1px solid #e0e0e0;color:#262626}.netclass-clock-row.is-active{background:linear-gradient(135deg,var(--nc-primary-bg) 0%,var(--nc-clock-active-bg) 100%);border-color:var(--nc-primary-border)}.netclass-clock-row--top{border-radius:8px 8px 0 0;border-bottom:none}.netclass-clock-row--bottom{border-radius:0 0 8px 8px;border-top:none}.netclass-clock-time{font-family:Menlo,Consolas,monospace;font-size:18px;font-weight:700;letter-spacing:1px;color:#262626}.netclass-clock-time.is-low{color:var(--nc-danger)}.netclass-clock-time.is-waiting-text{color:#999;font-weight:400}.netclass-clock-row.is-waiting{opacity:.8}.netclass-clock-player{display:flex;align-items:center;gap:8px;font-size:14px;color:#262626}.netclass-root[data-theme=dark] .netclass-clock-row{background:#2a2a2a;border-color:#3a3a3a;color:#e6e6e6}.netclass-root[data-theme=dark] .netclass-clock-time,.netclass-root[data-theme=dark] .netclass-clock-player{color:#e6e6e6}.netclass-root[data-theme=dark] .netclass-clock-time.is-waiting-text{color:#888}.netclass-board-wrap{aspect-ratio:1;position:relative;border-left:1px solid var(--nc-border);border-right:1px solid var(--nc-border)}.netclass-teacher-actions{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.netclass-status-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:var(--nc-text);font-size:22px;font-weight:700;text-align:center;z-index:5;pointer-events:none}.netclass-result-banner{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--nc-text);z-index:10;pointer-events:none;text-shadow:0 1px 3px rgba(0,0,0,.15)}.netclass-participant-item{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:6px;margin-bottom:4px;background:var(--nc-bg-soft);border:1px solid transparent;transition:all .2s;cursor:pointer}.netclass-participant-item:hover{background:var(--nc-primary-bg);border-color:var(--nc-primary-border)}.netclass-participant-item.is-selected-white{background:var(--nc-bg-card);border-color:var(--nc-primary);box-shadow:inset 3px 0 0 var(--nc-primary)}.netclass-participant-item.is-selected-black{background:var(--nc-bg-card);border-color:var(--nc-selected-black-border);box-shadow:inset 3px 0 0 var(--nc-selected-black-shadow)}.netclass-participant-item.is-disabled{opacity:.45;cursor:not-allowed;background:var(--nc-bg-soft)}.netclass-participant-item.is-disabled:hover{background:var(--nc-bg-soft);border-color:transparent}.netclass-participant-name{display:flex;align-items:center;gap:6px;font-size:13px;min-width:0}.netclass-participant-name>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.netclass-participant-status{font-size:11px;padding:2px 6px;border-radius:8px;background:var(--nc-border);color:var(--nc-text-muted);flex-shrink:0}.netclass-participant-status.is-waiting{background:var(--nc-primary-bg);color:var(--nc-primary)}.netclass-participant-status.is-playing{background:var(--nc-success-bg);color:var(--nc-success)}.netclass-participant-status.is-offline{background:var(--nc-bg-muted);color:var(--nc-text-muted)}.netclass-group-header{font-size:12px;color:var(--nc-text-muted);padding:8px 6px 4px;font-weight:600;letter-spacing:.5px}.nc-player-slots{display:flex;align-items:center;gap:8px}.nc-player-slot{flex:1;padding:10px;border-radius:8px;border:1.5px solid var(--nc-border);background:var(--nc-bg-soft);text-align:center;transition:border-color .2s}.nc-player-slot.is-filled{background:var(--nc-bg-card)}.nc-player-slot-header{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:4px}.nc-player-slot-badge{width:20px;height:20px;border-radius:4px;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}.nc-player-slot-label{font-size:12px;color:var(--nc-text-muted)}.nc-player-slot-name{font-size:14px;font-weight:600}.nc-swap-btn{flex-shrink:0}.nc-time-control{display:flex;gap:12px}.nc-time-item{flex:1}.nc-time-label{display:block;font-size:12px;color:var(--nc-text-muted);margin-bottom:4px}.nc-drawer-section-title{font-size:12px;font-weight:600;color:var(--nc-text-muted);padding:0 0 6px}.netclass-student-shell{flex:1;display:flex;flex-direction:column;align-items:stretch;padding:12px;min-height:0;overflow-y:auto}.netclass-student-shell .netclass-panel{border:none;background:transparent;flex:1}.netclass-student-shell .netclass-play-panel{padding:8px}.netclass-empty-waiting{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--nc-text-muted);gap:16px}.netclass-move-list{margin-top:10px;padding:8px 12px;background:var(--nc-bg-card);border:1px solid var(--nc-border);border-radius:6px;max-height:120px;overflow-y:auto;font-size:12px;line-height:1.7}.netclass-move-pair{display:inline-block;margin-right:12px}.netclass-move-num{color:var(--nc-text-muted);margin-right:4px}.netclass-mobile-content{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.netclass-mobile-board-container{flex:1;display:flex;flex-direction:column;min-height:0;overflow-y:auto}.netclass-mobile-students,.netclass-mobile-sessions{flex:1;overflow-y:auto}.netclass-main-board{display:flex;flex-direction:column;min-height:0;min-width:0}.netclass-sidebar-right{display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto}.netclass-move-panel{background:var(--nc-bg-card);border-radius:8px;border:1px solid var(--nc-border);display:flex;flex-direction:column;min-height:0;overflow:hidden}.netclass-move-panel .netclass-move-list{margin-top:0;border:none;border-radius:0;max-height:160px}.netclass-participant-item{transition:opacity .2s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}.netclass-participant-item.is-offline{opacity:.55}.netclass-mobile-toolbar{display:none;gap:8px;padding:8px 12px;background:var(--nc-bg-card);border-bottom:1px solid var(--nc-border);flex-shrink:0}.netclass-drawer-panel .netclass-panel{border:none;border-radius:0;height:100%}.netclass-drawer-panel .netclass-panel-header{display:none}@media (min-width: 1440px){.netclass-teacher-layout{grid-template-columns:240px 1fr 340px;gap:16px;padding:16px}.netclass-play-panel.is-teacher{--board-max: min( calc(100vh - 260px) , calc(100vw - 680px) , 720px)}.netclass-play-panel.is-student{--board-max: min( calc(100vh - 200px) , calc(100vw - 32px) , 820px)}}@media (max-width: 1199px) and (min-width: 1024px) and (orientation: landscape){.netclass-teacher-layout{grid-template-columns:180px 1fr 280px;gap:8px;padding:8px}.netclass-play-panel.is-teacher{--board-max: min( calc(100vh - 260px) , calc(100vw - 520px) , 560px)}.netclass-teacher-actions .ant-btn{font-size:12px;padding:0 10px}}@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait),(min-width: 768px) and (max-width: 1023px){.netclass-teacher-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:8px;overflow-y:auto}.netclass-teacher-layout>.netclass-panel:first-child,.netclass-teacher-layout>.netclass-panel:last-child{max-height:160px}.netclass-play-panel.is-teacher,.netclass-play-panel.is-student{--board-max: min( calc(100vh - 360px) , calc(100vw - 32px) , 720px)}.netclass-student-shell .netclass-play-panel.is-student{--board-max: min( calc(100vh - 180px) , calc(100vw - 32px) , 760px)}.netclass-teacher-actions .ant-btn{font-size:12px;padding:0 10px}}@media (max-width: 767px){.netclass-header{height:auto;min-height:48px;padding:6px 12px;flex-wrap:wrap}.netclass-header-title{font-size:14px;flex:1 1 auto}.netclass-header-meta{font-size:12px;gap:4px;flex:1 1 100%;justify-content:flex-start;padding-top:4px;border-top:1px dashed var(--nc-border-dashed)}.netclass-header-meta .nc-divider{height:14px;margin:0 2px}.netclass-mobile-toolbar{display:flex;align-items:center}.netclass-mobile-toolbar .nc-mobile-tab{flex:1;min-width:0}.netclass-teacher-layout{grid-template-columns:1fr;grid-template-rows:1fr;padding:6px;gap:6px;overflow-y:auto}.netclass-play-panel{padding:6px 4px}.netclass-play-panel.is-teacher{--board-max: min( calc(100vh - 300px) , calc(100vw - 16px) )}.netclass-play-panel.is-student{--board-max: min( calc(100vh - 160px) , calc(100vw - 16px) )}.netclass-student-shell{padding:6px}.netclass-student-shell .netclass-play-panel.is-student{--board-max: min( calc(100vh - 140px) , calc(100vw - 16px) )}.netclass-teacher-actions{gap:6px}.netclass-teacher-actions .ant-btn{font-size:12px;padding:0 10px;height:30px}.netclass-clock-time{font-size:16px}.netclass-clock-player{font-size:12px}.netclass-clock-row{padding:5px 10px}.netclass-move-list{max-height:60px;font-size:11px}.netclass-panel-header{font-size:12px;padding:8px 10px}}@media (max-width: 480px){.netclass-clock-time{font-size:15px}.netclass-clock-row{padding:4px 8px}.netclass-teacher-actions .ant-btn{font-size:11px;padding:0 8px;height:28px}}@media (max-width: 360px){.netclass-header{padding:4px 8px}.netclass-clock-time{font-size:14px}.netclass-clock-player{font-size:11px}.netclass-clock-player .ant-avatar{display:none}.netclass-teacher-actions .ant-btn{padding:0 6px}}@media (max-height: 600px) and (orientation: landscape){.netclass-header{height:44px;min-height:44px}.netclass-play-panel.is-teacher,.netclass-play-panel.is-student{--board-max: min( calc(100vh - 120px) , calc(100vw - 32px) , 520px)}.netclass-teacher-actions .ant-btn{height:28px;font-size:11px}}@media (max-height: 480px) and (orientation: landscape){.netclass-play-panel.is-teacher,.netclass-play-panel.is-student{--board-max: min( calc(100vh - 100px) , calc(100vw - 32px) , 420px)}}.quiz-room-loading{padding:80px;text-align:center}.quiz-room-page{--quiz-primary: #1d4ed8;--quiz-primary-dark: #1e3a8a;--quiz-primary-soft: #e8f0ff;--quiz-primary-border: #b8cffb;--quiz-success: #15803d;--quiz-success-soft: #ecfdf3;--quiz-success-border: #bbf7d0;--quiz-warning: #d97706;--quiz-warning-soft: #fff7ed;--quiz-danger: #dc2626;--quiz-danger-soft: #fef2f2;--quiz-page: #eef2f7;--quiz-surface: #ffffff;--quiz-chat: #f1f5f9;--quiz-border: #d8dee8;--quiz-text: #111827;--quiz-muted: #64748b;display:grid;grid-template-columns:220px minmax(420px,1fr) 320px;gap:16px;min-height:calc(100vh - 112px);padding:16px;background:var(--quiz-page)}.quiz-room-sidebar,.quiz-room-main,.quiz-room-sidepanel{min-width:0}.quiz-room-sidebar,.quiz-room-main{border:1px solid var(--quiz-border);border-radius:8px;background:var(--quiz-surface)}.quiz-room-sidebar{padding:12px;background:#f8fafc}.quiz-room-panel-title{display:flex;align-items:center;gap:8px;height:32px;margin-bottom:8px;color:#334155;font-weight:600}.quiz-class-item{margin-bottom:4px;padding:10px 8px!important;border-radius:6px;color:var(--quiz-muted);cursor:pointer}.quiz-class-item.active{background:var(--quiz-primary-soft);color:var(--quiz-primary-dark)}.quiz-room-main{display:flex;flex-direction:column;overflow:hidden;border-color:#c9d5e6;box-shadow:0 12px 30px #0f172a14}.quiz-room-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--quiz-border);background:#fff}.quiz-room-title{margin:0!important;color:var(--quiz-text)!important}.quiz-role-tag{border-color:var(--quiz-primary-border);background:var(--quiz-primary-soft);color:var(--quiz-primary-dark)}.quiz-status-tag.open{border-color:var(--quiz-success-border);background:var(--quiz-success-soft);color:var(--quiz-success)}.quiz-status-tag.closed{border-color:#d1d5db;background:#f3f4f6;color:#4b5563}.quiz-timer{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:96px;height:40px;border-radius:6px;background:var(--quiz-primary-soft);color:var(--quiz-primary);font-size:18px;font-weight:700}.quiz-timer.urgent{background:var(--quiz-warning-soft);color:var(--quiz-warning)}.quiz-chat-surface{flex:1;min-height:420px;max-height:calc(100vh - 300px);padding:18px;overflow:auto;background:var(--quiz-chat)}.quiz-empty{padding-top:120px}.quiz-message{display:flex;gap:10px;margin-bottom:14px}.quiz-message.mine{justify-content:flex-end}.quiz-message.status{align-items:center}.quiz-bubble{max-width:760px;min-width:260px;padding:12px 14px;border:1px solid var(--quiz-border);border-radius:8px;background:#fff}.quiz-message.question .quiz-bubble{position:relative;border-color:var(--quiz-primary-border);background:var(--quiz-primary-soft);box-shadow:0 8px 18px #1d4ed814}.quiz-message.question .quiz-bubble:before{position:absolute;top:10px;bottom:10px;left:0;width:4px;border-radius:0 4px 4px 0;background:var(--quiz-primary);content:""}.quiz-bubble.mine-bubble{border-color:var(--quiz-success-border);background:var(--quiz-success-soft)}.quiz-bubble.status-bubble{min-width:220px;border-color:#e2e8f0;background:#f8fafc}.quiz-message-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.quiz-question-text,.quiz-answer-text{margin-bottom:0!important;white-space:pre-wrap;word-break:break-word}.quiz-question-text{color:var(--quiz-text);font-size:16px;font-weight:500}.quiz-elapsed{color:var(--quiz-muted);font-size:12px}.quiz-score-tag{border-color:var(--quiz-primary-border);background:var(--quiz-primary-soft);color:var(--quiz-primary-dark)}.quiz-muted-tag{border-color:#d1d5db;background:#f8fafc;color:var(--quiz-muted)}.quiz-score-input{margin-top:10px}.quiz-composer{display:grid;align-items:stretch;gap:8px;padding:10px 12px;border-top:1px solid var(--quiz-border);background:#fff;box-shadow:0 -8px 16px #0f172a08}.quiz-composer.teacher{grid-template-columns:minmax(0,1fr) 120px 96px}.quiz-composer.student{grid-template-columns:minmax(0,1fr) 96px}.quiz-composer textarea.ant-input{width:100%;min-width:0;min-height:44px;height:44px;padding-top:10px;padding-bottom:10px;line-height:22px;resize:none}.quiz-composer textarea.ant-input:focus,.quiz-composer textarea.ant-input-focused{border-color:var(--quiz-primary);box-shadow:0 0 0 2px #1d4ed81f}.quiz-composer>.ant-btn,.quiz-composer>.ant-input-number-group-wrapper{width:100%;height:44px;min-width:0}.quiz-composer>.ant-btn{width:96px;height:44px;padding:0 10px;white-space:nowrap}.quiz-composer>.ant-btn-primary{background:var(--quiz-primary);border-color:var(--quiz-primary)}.quiz-composer>.ant-btn-primary:not(:disabled):hover{background:var(--quiz-primary-dark);border-color:var(--quiz-primary-dark)}.quiz-composer>.ant-btn.quiz-submit-done,.quiz-composer>.ant-btn.quiz-submit-done:disabled{border-color:#d1d5db;background:#e5e7eb;color:#4b5563}.quiz-composer>.ant-input-number-group-wrapper .ant-input-number,.quiz-composer>.ant-input-number-group-wrapper .ant-input-number-group-addon{height:44px}.quiz-composer>.ant-input-number-group-wrapper .ant-input-number-input{height:42px;text-align:center}.quiz-room-sidepanel{display:flex;flex-direction:column;gap:16px}.quiz-room-sidepanel .ant-card{border:1px solid var(--quiz-border);border-radius:8px;background:#f8fafc}.quiz-room-sidepanel .ant-card-body{padding:8px 12px}.quiz-submission-item,.quiz-rank-item{gap:8px;padding:10px 0!important}.quiz-rank-item{display:flex;justify-content:space-between;color:#334155}.quiz-rank-num{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;background:#e2e8f0;color:#475569;font-weight:700}.quiz-rank-num.rank-1{background:#e8f0ff;color:var(--quiz-primary-dark)}.quiz-rank-num.rank-2,.quiz-rank-num.rank-3{background:#edf2f7;color:#475569}@media (max-width: 1080px){.quiz-room-page{grid-template-columns:1fr}.quiz-chat-surface{max-height:none}}@media (max-width: 640px){.quiz-room-page{padding:10px}.quiz-room-header,.quiz-composer{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.quiz-composer.teacher,.quiz-composer.student{grid-template-columns:1fr}.quiz-composer>.ant-btn{width:100%}.quiz-bubble{min-width:0;max-width:100%}.quiz-message-meta{align-items:flex-start;flex-direction:column}}img{max-width:100%!important;height:auto!important;width:auto!important;display:block!important;margin:8px auto!important;box-sizing:border-box!important}.question-content img,.explanation-content img,div[class*=question] img,div[class*=explanation] img,div[dangerouslySetInnerHTML] img,img[style],img[style*=width],img[style*=height],img[style*=max-width]{max-width:100%!important;width:auto!important;height:auto!important;display:block!important;margin:8px auto!important;box-sizing:border-box!important}@media screen and (max-width: 768px){img,img[style],.question-content img,.explanation-content img{max-width:100%!important;width:auto!important;height:auto!important;display:block!important;margin:8px auto!important;box-sizing:border-box!important}}.ant-card img,.ant-card-body img,.ant-typography img{max-width:100%!important;width:auto!important;height:auto!important;display:block!important;margin:8px auto!important;box-sizing:border-box!important}
