.pc-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pc-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pc-section {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.pc-section h3 {
    font-size: 0.95em;
    color: #2c3e50;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-section h3 i {
    color: #e74c3c;
}

/* 上传区 */
.pc-upload {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.pc-upload:hover,
.pc-upload.dragover {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.pc-upload i {
    font-size: 1.8em;
    color: #e74c3c;
    margin-bottom: 8px;
}

.pc-upload p {
    color: #666;
    font-size: 0.85em;
    margin: 0 0 4px;
}

.pc-hint {
    color: #999;
    font-size: 0.75em;
}

/* 压缩级别选项 */
.pc-level-options {
    display: flex;
    gap: 8px;
}

.pc-level-btn {
    flex: 1;
    padding: 10px 4px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
}

.pc-level-btn:hover:not(:disabled) {
    border-color: #e74c3c;
}

.pc-level-btn.active {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.pc-level-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.level-name {
    font-size: 0.85em;
    font-weight: 600;
    color: #334155;
}

.level-desc {
    font-size: 0.7em;
    color: #94a3b8;
}

.pc-vip-tag {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.6em;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 700;
}

/* 表单 */
.pc-form-row {
    margin-bottom: 14px;
}

.pc-form-row label {
    display: block;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}

.pc-form-row input[type="range"] {
    width: 100%;
    margin-top: 4px;
}

.pc-slider-hints {
    display: flex;
    justify-content: space-between;
    font-size: 0.7em;
    color: #94a3b8;
    margin-top: 2px;
}

.pc-input-desc {
    font-size: 0.75em;
    color: #94a3b8;
    margin-top: 4px;
    margin-bottom: 0;
}

/* 按钮 */
.pc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-btn {
    flex: 1;
    min-width: 80px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pc-btn-primary {
    background: #e74c3c;
    color: #fff;
}

.pc-btn-primary:hover:not(:disabled) {
    background: #c0392b;
}

.pc-btn-success {
    background: #27ae60;
    color: #fff;
}

.pc-btn-success:hover:not(:disabled) {
    background: #219a52;
}

.pc-btn-outline {
    background: #fff;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.pc-btn-outline:hover:not(:disabled) {
    background: #fdf2f2;
}

.pc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 使用次数信息 */
.pc-usage-info {
    background: #fdeaea;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85em;
    color: #2c3e50;
    text-align: center;
}

.pc-usage-info i {
    color: #e74c3c;
    margin-right: 4px;
}

/* VIP遮罩 */
.pc-vip-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: rgba(0,0,0,0.75);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    backdrop-filter: blur(2px);
}

.pc-vip-mask-inner {
    text-align: center;
    color: #fff;
    padding: 30px;
}

.pc-vip-mask-icon {
    font-size: 3em;
    margin-bottom: 12px;
}

.pc-vip-mask-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 8px;
}

.pc-vip-mask-desc {
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 20px;
}

.pc-vip-mask-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.pc-vip-btn {
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.pc-vip-btn:hover {
    background: #c0392b;
}

.pc-vip-btn-single {
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.pc-vip-btn-single:hover {
    background: #d97706;
}

/* 主区域 */
.pc-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    min-width: 0;
}

.pc-main.has-vip-mask {
    min-height: 500px;
}

/* 文件区域 */
.pc-file-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

.pc-placeholder i {
    font-size: 3em;
    margin-bottom: 12px;
    color: #bdc3c7;
}

.pc-placeholder p {
    margin: 0;
}

/* 文件信息卡片 */
.pc-file-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.pc-file-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.pc-file-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #fdeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #e74c3c;
    flex-shrink: 0;
}

.pc-file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-file-name {
    font-size: 0.95em;
    font-weight: 600;
    color: #2c3e50;
    word-break: break-all;
}

.pc-file-meta {
    font-size: 0.8em;
    color: #718096;
}

.pc-file-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8em;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
}

.pc-file-status.processing {
    background: #dbeafe;
    color: #1e40af;
}

.pc-file-status.done {
    background: #d1fae5;
    color: #065f46;
}

.pc-file-status.error {
    background: #fee2e2;
    color: #991b1b;
}

/* 进度条 */
.pc-progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.pc-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 3px;
    transition: width 0.3s;
}

.pc-progress-text {
    font-size: 0.75em;
    color: #e74c3c;
    margin-top: 2px;
}

/* 压缩结果 */
.pc-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-result-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.pc-result-card h4 {
    font-size: 1em;
    color: #2c3e50;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-result-card h4 i {
    color: #e74c3c;
}

.pc-result-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pc-stat-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-stat-label {
    font-size: 0.75em;
    color: #94a3b8;
}

.pc-stat-value {
    font-size: 1.1em;
    font-weight: 700;
    color: #2c3e50;
}

.pc-stat-compressed {
    color: #27ae60;
}

.pc-stat-ratio {
    color: #e74c3c;
}

.pc-result-warn {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-result-warn i {
    color: #f59e0b;
}

/* 使用提示 */
.pc-tips {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.pc-tips h4 {
    font-size: 1em;
    color: #2c3e50;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-tips h4 i {
    color: #f39c12;
}

.pc-tip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pc-tip-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    border-left: 3px solid #e74c3c;
}

.pc-tip-item strong {
    display: block;
    font-size: 0.9em;
    color: #2c3e50;
    margin-bottom: 4px;
}

.pc-tip-item p {
    font-size: 0.8em;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.pc-toast{position:fixed;top:20px;left:50%;transform:translateX(-50%) translateY(-20px);background:#333;color:#fff;padding:10px 20px;border-radius:8px;font-size:0.9em;z-index:9999;opacity:0;transition:all 0.3s ease;pointer-events:none;}.pc-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}.pc-toast.success{background:#27ae60;}.pc-toast.error{background:#e74c3c;}.pc-toast.info{background:#3498db;}

/* 响应式 */
@media (max-width: 768px) {
    .pc-container {
        grid-template-columns: 1fr;
    }
    .pc-tip-grid {
        grid-template-columns: 1fr;
    }
    .pc-result-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-file-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
