
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #0a0c1a;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }
        
        /* 鏄熺┖鑳屾櫙 Canvas */
        #starfieldCanvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        .container {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;
        }
        .tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
        }
        .tab {
            padding: 12px 24px;
            background: rgba(255, 255, 255, 0.7);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 15px;
            color: #666;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .tab:hover { background: rgba(255, 255, 255, 0.9); }
        .tab.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }
        .card {
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }
        .card-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-label {
            display: block;
            font-weight: 500;
            margin-bottom: 8px;
            color: #333;
        }
        .form-input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e8eaf6;
            border-radius: 8px;
            font-size: 15px;
            transition: border-color 0.3s;
        }
        .form-input:focus {
            outline: none;
            border-color: #667eea;
        }
        .drop-area {
            border: 2px dashed #e8eaf6;
            border-radius: 12px;
            padding: 40px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        .drop-area:hover, .drop-area.dragover {
            border-color: #667eea;
            background: #f8f9ff;
        }
        .drop-area .icon {
            font-size: 48px;
            color: #667eea;
            margin-bottom: 15px;
        }
        .drop-area .text {
            font-size: 16px;
            color: #666;
        }
        .drop-area .hint {
            font-size: 13px;
            color: #999;
            margin-top: 8px;
        }
        .file-list {
            margin-top: 15px;
        }
        .file-item {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            background: #f8f9ff;
            border-radius: 8px;
            margin-bottom: 8px;
        }
        .file-item .name {
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .file-item .size {
            color: #999;
            font-size: 13px;
            margin-left: 15px;
        }
        .file-item .remove {
            color: #dc3545;
            cursor: pointer;
            margin-left: 10px;
        }
        /* .btn-primary 鏍峰紡浣跨敤 theme.css */
        .btn-secondary {
            background: #e8eaf6;
            color: #667eea;
        }
        .series-list {
            margin-top: 20px;
        }
        .series-item {
            display: flex;
            gap: 20px;
            padding: 20px;
            background: #f8f9ff;
            border-radius: 12px;
            margin-bottom: 15px;
        }
        .series-cover {
            width: 160px;
            height: 90px;
            border-radius: 8px;
            object-fit: cover;
            background: #e8eaf6;
        }
        .series-info {
            flex: 1;
        }
        .series-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        .series-meta {
            font-size: 13px;
            color: #666;
            margin-bottom: 10px;
        }
        .series-progress {
            height: 6px;
            background: #e8eaf6;
            border-radius: 3px;
            overflow: hidden;
        }
        .series-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 3px;
            transition: width 0.3s;
        }
        .episode-list {
            margin-top: 15px;
            padding-left: 20px;
        }
        .episode-item {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            background: white;
            border-radius: 6px;
            margin-bottom: 6px;
            font-size: 14px;
        }
        .episode-item .no {
            width: 30px;
            height: 30px;
            background: #e8eaf6;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 12px;
            color: #667eea;
            margin-right: 12px;
        }
        .episode-item .title {
            flex: 1;
        }
        .episode-item .status {
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 12px;
        }
        .status-pending { background: #fff3cd; color: #856404; }
        .status-processing { background: #cce5ff; color: #004085; }
        .status-completed { background: #d4edda; color: #155724; }
        .status-none { background: #f8f9ff; color: #666; }
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid #fff;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        .toast {
            position: fixed;
            bottom: 30px;
            right: 30px;
            padding: 15px 25px;
            background: #333;
            color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            animation: slideIn 0.3s;
        }
        .toast.success { background: #28a745; }
        .toast.error { background: #dc3545; }
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        .platform-badges {
            display: flex;
            gap: 8px;
            margin-top: 15px;
        }
        .platform-badge {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            background: #f0f0f0;
            color: #666;
        }
        .platform-badge.supported { background: #d4edda; color: #155724; }
    
