.tabs-container .tabs-header{display:flex;border-bottom:1px solid #e0e0e0;margin-bottom:20px;background-color:#f8f9fa;border-radius:8px 8px 0 0;padding:0 10px}.tabs-container .tabs-header .tab-button{padding:12px 24px;border:none;background:none;cursor:pointer;font-size:16px;font-weight:500;color:#666;border-bottom:3px solid transparent;transition:all .3s ease;border-radius:8px 8px 0 0;margin:0 2px}.tabs-container .tabs-header .tab-button:hover{background-color:#007bff1a;color:#007bff}.tabs-container .tabs-header .tab-button.active{color:#007bff;background-color:#fff;border-bottom-color:#007bff;font-weight:600}.tabs-container .tabs-content{min-height:500px}.web-worker-demo{padding:20px;max-width:800px;margin:0 auto}.web-worker-demo .title{color:#333;margin-bottom:20px}.web-worker-demo .info-section{margin-bottom:20px;padding:15px;background-color:#f5f5f5;border-radius:8px}.web-worker-demo .info-section h2{margin:0 0 10px;color:#333}.web-worker-demo .info-section p{margin:0;line-height:1.6}.web-worker-demo .task-selection{margin-bottom:20px}.web-worker-demo .task-selection h3{margin:0 0 15px}.web-worker-demo .task-selection .radio-group{margin-bottom:10px}.web-worker-demo .task-selection .radio-group label{margin-right:20px;cursor:pointer;display:inline-flex;align-items:center;gap:5px}.web-worker-demo .task-selection .radio-group label input[type=radio]{margin:0}.web-worker-demo .button-group{margin-bottom:20px}.web-worker-demo .button-group .btn{padding:10px 20px;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.web-worker-demo .button-group .btn:disabled{cursor:not-allowed;opacity:.6}.web-worker-demo .button-group .btn.btn-primary{background-color:#007bff;color:#fff;margin-right:10px}.web-worker-demo .button-group .btn.btn-primary:hover:not(:disabled){background-color:#0056b3}.web-worker-demo .button-group .btn.btn-danger{background-color:#dc3545;color:#fff}.web-worker-demo .button-group .btn.btn-danger:hover:not(:disabled){background-color:#c82333}.web-worker-demo .animation-section{margin-top:30px;padding:20px;background-color:#e3f2fd;border-radius:8px}.web-worker-demo .animation-section h3{margin:0 0 15px;color:#1976d2}.web-worker-demo .animation-section p{margin:10px 0;line-height:1.6}.web-worker-demo .animation-section .main-animation{margin:15px 0}.web-worker-demo .animation-section .main-animation .rotating-square{width:60px;height:60px;background-color:#ff5722;border:3px solid #ffffff;box-shadow:0 4px 12px #0000004d;position:relative;transition:none}.web-worker-demo .animation-section .main-animation .rotating-square .indicator-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;background-color:#fff;border-radius:50%}.web-worker-demo .animation-section .main-animation .rotating-square .indicator-arrow{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:12px solid #ffffff}.web-worker-demo .animation-section .main-animation .rotation-counter{font-size:18px;font-weight:700;color:#1976d2;margin-top:10px}.web-worker-demo .animation-section .observation-points strong{color:#1976d2}.web-worker-demo .performance-section{margin-top:20px;padding:15px;background-color:#fff3e0;border-radius:8px}.web-worker-demo .performance-section h4{margin:0 0 15px;color:#e65100}.web-worker-demo .performance-section .status-info{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:15px}.web-worker-demo .performance-section .status-info .status-item{font-weight:500}.web-worker-demo .performance-section .status-info .status-item .status-badge{font-weight:700;margin-left:5px}.web-worker-demo .performance-section .status-info .status-item .status-badge.loading,.web-worker-demo .performance-section .status-info .status-item .status-badge.blocked{color:#d32f2f}.web-worker-demo .performance-section .status-info .status-item .status-badge.normal{color:#388e3c}.web-worker-demo .performance-section .horizontal-animation{margin-top:15px}.web-worker-demo .performance-section .horizontal-animation .track{width:300px;height:30px;background-color:#e0e0e0;border-radius:15px;overflow:hidden;position:relative}.web-worker-demo .performance-section .horizontal-animation .track .moving-square{width:25px;height:25px;background-color:#2196f3;position:absolute;top:2.5px;transition:none;border-radius:3px}.web-worker-demo .performance-section .horizontal-animation .description{font-size:12px;color:#666;margin-top:5px}.web-worker-demo .performance-section .multi-speed-test{margin-top:15px;display:flex;gap:15px;align-items:center}.web-worker-demo .performance-section .multi-speed-test .label{font-size:14px;font-weight:700}.web-worker-demo .performance-section .multi-speed-test .speed-square{width:30px;height:30px;border:2px solid #ffffff;transition:none;position:relative}.web-worker-demo .performance-section .multi-speed-test .speed-square.slow{background-color:#4caf50}.web-worker-demo .performance-section .multi-speed-test .speed-square.medium{background-color:#ff9800}.web-worker-demo .performance-section .multi-speed-test .speed-square.fast{background-color:#e91e63}.web-worker-demo .performance-section .multi-speed-test .speed-square .mini-dot{width:4px;height:4px;background-color:#fff;border-radius:50%;margin:2px}.web-worker-demo .performance-section .multi-speed-test .speed-labels{font-size:12px;color:#666}.web-worker-demo .progress-section{margin-bottom:20px}.web-worker-demo .progress-section .progress-label{margin-bottom:5px;font-weight:500}.web-worker-demo .progress-section .progress-bar{width:100%;height:20px;background-color:#e0e0e0;border-radius:10px;overflow:hidden}.web-worker-demo .progress-section .progress-bar .progress-fill{height:100%;background-color:#28a745;transition:width .3s ease}.web-worker-demo .result-section{margin-top:20px;padding:15px;border-radius:8px;border:1px solid}.web-worker-demo .result-section.success{background-color:#d4edda;border-color:#c3e6cb}.web-worker-demo .result-section.warning{background-color:#fff3cd;border-color:#ffeaa7}.web-worker-demo .result-section.error{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24}.web-worker-demo .result-section h3{margin:0 0 15px}.web-worker-demo .result-section .result-content{background-color:#fff;padding:10px;border-radius:4px;font-family:Courier New,monospace;font-size:14px;white-space:pre-wrap;word-break:break-all}.web-worker-demo .result-section .result-details p{margin:8px 0}.web-worker-demo .result-section .result-details p strong{color:#333}.web-worker-demo .error-section{margin-top:20px;padding:15px;background-color:#f8d7da;border-radius:8px;border:1px solid #f5c6cb;color:#721c24}.web-worker-demo .error-section h3{margin:0 0 10px}.web-worker-demo .error-section p{margin:0}.web-worker-demo .not-supported{padding:20px;color:red;text-align:center}.web-worker-demo .not-supported h1{margin:0 0 15px}.web-worker-demo .not-supported p{margin:0}.web-worker-tutorial{max-width:1000px;margin:0 auto;padding:20px;line-height:1.6;color:#333}.web-worker-tutorial h1{color:#1976d2;border-bottom:3px solid #1976d2;padding-bottom:10px;margin-bottom:30px}.web-worker-tutorial .tutorial-section{margin-bottom:40px}.web-worker-tutorial .tutorial-section h2{color:#2e7d32;margin-bottom:20px;padding-left:10px;border-left:4px solid #4caf50}.web-worker-tutorial .tutorial-section h3{color:#ed6c02;margin:25px 0 15px}.web-worker-tutorial .tutorial-section h4{color:#1976d2;margin:15px 0 10px}.web-worker-tutorial .content-card{background:#ffffff;border:1px solid #e0e0e0;border-radius:8px;padding:24px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.web-worker-tutorial .content-card p{margin-bottom:15px}.web-worker-tutorial .content-card ul{margin:10px 0;padding-left:20px}.web-worker-tutorial .content-card ul li{margin-bottom:8px}.web-worker-tutorial .content-card ul li strong{color:#1976d2}.web-worker-tutorial .highlight-box{background:linear-gradient(135deg,#e3f2fd 0%,#f3e5f5 100%);border:1px solid #bbdefb;border-radius:6px;padding:16px;margin:15px 0}.web-worker-tutorial .highlight-box h4{margin-top:0;color:#1976d2}.web-worker-tutorial .principle-diagram{display:flex;align-items:center;justify-content:space-between;margin:30px 0;flex-wrap:wrap;gap:20px}.web-worker-tutorial .principle-diagram .thread-box{flex:1;min-width:250px;padding:20px;border-radius:8px;text-align:center}.web-worker-tutorial .principle-diagram .thread-box.main-thread{background:linear-gradient(135deg,#e8f5e8 0%,#f1f8e9 100%);border:2px solid #4caf50}.web-worker-tutorial .principle-diagram .thread-box.worker-thread{background:linear-gradient(135deg,#fff3e0 0%,#fce4ec 100%);border:2px solid #ff9800}.web-worker-tutorial .principle-diagram .thread-box h4{margin:0 0 15px;font-size:16px}.web-worker-tutorial .principle-diagram .thread-box ul{list-style:none;padding:0;margin:0}.web-worker-tutorial .principle-diagram .thread-box ul li{padding:5px 0;color:#555}.web-worker-tutorial .principle-diagram .communication-arrow{display:flex;flex-direction:column;align-items:center;min-width:120px;font-size:14px;font-weight:700}.web-worker-tutorial .principle-diagram .communication-arrow .arrow-up{color:#ff5722;margin-bottom:10px}.web-worker-tutorial .principle-diagram .communication-arrow .arrow-down{color:#2196f3}.web-worker-tutorial .use-cases{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:20px 0}.web-worker-tutorial .use-cases .use-case{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;padding:16px;text-align:center}.web-worker-tutorial .use-cases .use-case h4{margin:0 0 10px;color:#495057}.web-worker-tutorial .use-cases .use-case p{margin:0;color:#6c757d;font-size:14px}.web-worker-tutorial .code-block{background:#2d3748;border-radius:6px;margin:15px 0;overflow-x:auto}.web-worker-tutorial .code-block pre{color:#e2e8f0;padding:20px;margin:0;font-family:Fira Code,Consolas,monospace;font-size:14px;line-height:1.5;white-space:pre;overflow-x:auto}.web-worker-tutorial .best-practices{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin:20px 0}.web-worker-tutorial .best-practices .practice-item{background:#f8f9fa;border-left:4px solid #17a2b8;padding:16px;border-radius:0 6px 6px 0}.web-worker-tutorial .best-practices .practice-item h4{margin:0 0 12px;color:#17a2b8}.web-worker-tutorial .best-practices .practice-item ul{margin:0;padding-left:16px}.web-worker-tutorial .best-practices .practice-item ul li{color:#495057;margin-bottom:6px}.web-worker-tutorial .performance-comparison .comparison-item{margin:25px 0;padding:20px;border-radius:8px}.web-worker-tutorial .performance-comparison .comparison-item.blocked{background:#ffebee;border:1px solid #ffcdd2}.web-worker-tutorial .performance-comparison .comparison-item.non-blocked{background:#e8f5e8;border:1px solid #c8e6c9}.web-worker-tutorial .performance-comparison .comparison-item h4{margin:0 0 15px}.web-worker-tutorial .performance-comparison .comparison-item .timeline{display:flex;gap:10px;margin:15px 0;flex-wrap:wrap}.web-worker-tutorial .performance-comparison .comparison-item .timeline .task{padding:8px 12px;border-radius:4px;font-size:12px;font-weight:700;color:#fff;min-width:100px;text-align:center}.web-worker-tutorial .performance-comparison .comparison-item .timeline .task.task-ui{background:#4caf50}.web-worker-tutorial .performance-comparison .comparison-item .timeline .task.task-ui.blocked{background:#ccc;color:#666}.web-worker-tutorial .performance-comparison .comparison-item .timeline .task.task-calc{background:#f44336}.web-worker-tutorial .performance-comparison .comparison-item .timeline .task.task-calc.worker{background:#ff9800}.web-worker-tutorial .performance-comparison .comparison-item p{margin:10px 0 0;font-style:italic;color:#666}.web-worker-tutorial .warning-box{background:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;padding:16px;margin:15px 0}.web-worker-tutorial .warning-box h4{margin-top:0;color:#856404}.web-worker-tutorial .warning-box ul li{color:#856404}.web-worker-tutorial .info-box{background:#d1ecf1;border:1px solid #bee5eb;border-radius:6px;padding:16px;margin:15px 0}.web-worker-tutorial .info-box h4{margin-top:0;color:#0c5460}.web-worker-tutorial .info-box ul li{color:#0c5460}.web-worker-tutorial .tip-box{background:#f3e5f5;border:1px solid #e1bee7;border-radius:6px;padding:16px;margin:15px 0}.web-worker-tutorial .tip-box h4{margin-top:0;color:#4a148c}.web-worker-tutorial .tip-box ul li{color:#4a148c}.web-worker-tutorial .note-box{background:#e3f2fd;border:1px solid #bbdefb;border-radius:6px;padding:16px;margin:15px 0}.web-worker-tutorial .note-box p{margin:0;color:#1565c0}@media (max-width: 768px){.web-worker-tutorial{padding:15px}.web-worker-tutorial .principle-diagram{flex-direction:column}.web-worker-tutorial .principle-diagram .communication-arrow{flex-direction:row;width:100%;justify-content:space-around;margin:15px 0}.web-worker-tutorial .use-cases,.web-worker-tutorial .best-practices{grid-template-columns:1fr}.web-worker-tutorial .code-block pre{padding:15px;font-size:13px}}.babel-worker-demo{max-width:1200px;margin:0 auto;padding:20px}.babel-worker-demo .title{font-size:2.5rem;color:#333;text-align:center;margin-bottom:2rem;font-weight:700;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.babel-worker-demo .info-section{background:#f8f9fa;padding:20px;border-radius:8px;margin-bottom:2rem;border-left:4px solid #667eea}.babel-worker-demo .info-section h2{color:#333;margin-bottom:1rem}.babel-worker-demo .info-section p{color:#666;line-height:1.6;margin-bottom:0}.babel-worker-demo .editor-section{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:2rem}.babel-worker-demo .editor-section .editor-panel{border:1px solid #ddd;border-radius:8px;overflow:hidden}.babel-worker-demo .editor-section .editor-panel .panel-header{background:#f5f5f5;padding:10px 15px;font-weight:700;color:#333;display:flex;align-items:center;gap:8px}.babel-worker-demo .editor-section .editor-panel .code-editor{width:100%;height:300px;border:none;padding:15px;font-family:Courier New,monospace;font-size:14px;line-height:1.4;resize:vertical;background:#fafafa}.babel-worker-demo .editor-section .editor-panel .code-editor:focus{outline:2px solid #667eea}.babel-worker-demo .editor-section .editor-panel .output-area{height:300px;padding:15px;font-family:Courier New,monospace;font-size:14px;line-height:1.4;background:#fafafa;overflow-y:auto;white-space:pre-wrap;color:#333}.babel-worker-demo .editor-section .editor-panel .output-area.error{background:#fff5f5;color:#e53e3e}.babel-worker-demo .editor-section .editor-panel .output-area.success{background:#f0fff4;color:#38a169}@media (max-width: 768px){.babel-worker-demo .editor-section{grid-template-columns:1fr;gap:15px}}.babel-worker-demo .controls-section{display:flex;gap:15px;margin-bottom:2rem;flex-wrap:wrap}.babel-worker-demo .controls-section .control-group{display:flex;flex-direction:column;gap:8px}.babel-worker-demo .controls-section .control-group label{font-weight:700;color:#333;font-size:.9rem}.babel-worker-demo .controls-section .control-group select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;background:white}.babel-worker-demo .controls-section .control-group select:focus{outline:2px solid #667eea;border-color:#667eea}.babel-worker-demo .controls-section .btn{padding:10px 20px;border:none;border-radius:4px;font-weight:700;cursor:pointer;transition:all .2s}.babel-worker-demo .controls-section .btn:disabled{opacity:.6;cursor:not-allowed}.babel-worker-demo .controls-section .btn.btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.babel-worker-demo .controls-section .btn.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.babel-worker-demo .controls-section .btn.btn-secondary{background:#f8f9fa;color:#333;border:1px solid #ddd}.babel-worker-demo .controls-section .btn.btn-secondary:hover:not(:disabled){background:#e9ecef}.babel-worker-demo .controls-section .btn.btn-warning{background:#ffc107;color:#212529}.babel-worker-demo .controls-section .btn.btn-warning:hover:not(:disabled){background:#ffca28}.babel-worker-demo .progress-section{background:#e3f2fd;border:1px solid #bbdefb;border-radius:8px;padding:15px;margin-bottom:2rem}.babel-worker-demo .progress-section .progress-label{font-weight:700;color:#1565c0;margin-bottom:8px}.babel-worker-demo .progress-section .progress-bar{width:100%;height:8px;background:#bbdefb;border-radius:4px;overflow:hidden}.babel-worker-demo .progress-section .progress-bar .progress-fill{height:100%;background:linear-gradient(90deg,#1976d2,#42a5f5);border-radius:4px;transition:width .3s ease}.babel-worker-demo .result-section{border-radius:8px;padding:20px;margin-bottom:2rem}.babel-worker-demo .result-section.success{background:#f0fff4;border:1px solid #9ae6b4}.babel-worker-demo .result-section.error{background:#fff5f5;border:1px solid #feb2b2}.babel-worker-demo .result-section.info{background:#f0f8ff;border:1px solid #bee3f8}.babel-worker-demo .result-section h3{margin-top:0;margin-bottom:15px}.babel-worker-demo .result-section h3.success{color:#38a169}.babel-worker-demo .result-section h3.error{color:#e53e3e}.babel-worker-demo .result-section h3.info{color:#3182ce}.babel-worker-demo .result-section .result-content{font-family:Courier New,monospace;background:rgba(255,255,255,.8);padding:15px;border-radius:4px;border:1px solid rgba(0,0,0,.1);max-height:400px;overflow-y:auto;white-space:pre-wrap;font-size:13px;line-height:1.4}.babel-worker-demo .result-section .syntax-error{color:#e53e3e;font-weight:700;margin-bottom:10px}.babel-worker-demo .result-section .compilation-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;margin-top:15px}.babel-worker-demo .result-section .compilation-stats .stat-item{background:rgba(255,255,255,.8);padding:10px;border-radius:4px;text-align:center;border:1px solid rgba(0,0,0,.1)}.babel-worker-demo .result-section .compilation-stats .stat-item .stat-label{font-size:.8rem;color:#666;margin-bottom:4px}.babel-worker-demo .result-section .compilation-stats .stat-item .stat-value{font-weight:700;color:#333}.babel-worker-demo .examples-section{background:#f8f9fa;padding:20px;border-radius:8px;margin-bottom:2rem}.babel-worker-demo .examples-section h3{color:#333;margin-bottom:15px}.babel-worker-demo .examples-section .example-buttons{display:flex;gap:10px;flex-wrap:wrap}.babel-worker-demo .examples-section .example-buttons .example-btn{padding:8px 15px;border:1px solid #ddd;border-radius:4px;background:white;color:#333;cursor:pointer;font-size:.9rem;transition:all .2s}.babel-worker-demo .examples-section .example-buttons .example-btn:hover{background:#e9ecef;border-color:#adb5bd}.babel-worker-demo .features-section{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:20px;border-radius:8px;margin-bottom:2rem}.babel-worker-demo .features-section h3{margin-top:0;margin-bottom:15px}.babel-worker-demo .features-section .features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.babel-worker-demo .features-section .features-grid .feature-item{background:rgba(255,255,255,.1);padding:15px;border-radius:6px}.babel-worker-demo .features-section .features-grid .feature-item h4{margin:0 0 8px;font-size:1.1rem}.babel-worker-demo .features-section .features-grid .feature-item p{margin:0;opacity:.9;font-size:.9rem;line-height:1.4}.babel-worker-demo .not-supported{text-align:center;padding:40px;background:#fff5f5;border:1px solid #feb2b2;border-radius:8px}.babel-worker-demo .not-supported h1{color:#e53e3e;margin-bottom:15px}.babel-worker-demo .not-supported p{color:#c53030}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinning-indicator{animation:spin 2s linear infinite}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}
