*{margin:0;padding:0;box-sizing:border-box}:root{--primary: #3b82f6;--primary-hover: #2563eb;--secondary: #6b7280;--bg: #f8fafc;--surface: #ffffff;--border: #e2e8f0;--text: #1e293b;--text-light: #64748b;--success: #10b981;--danger: #ef4444}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:2rem}header{text-align:center;margin-bottom:2rem}header h1{font-size:2.5rem;font-weight:700;color:var(--text);margin-bottom:.5rem}.subtitle{color:var(--text-light);font-size:1rem}.tabs{display:flex;gap:.5rem;margin-bottom:2rem;background:var(--surface);padding:.5rem;border-radius:12px;box-shadow:0 1px 3px #0000001a}.tab-btn{flex:1;padding:.75rem 1.5rem;border:none;background:transparent;color:var(--text-light);font-size:1rem;font-weight:500;cursor:pointer;border-radius:8px;transition:all .2s}.tab-btn:hover{background:var(--bg);color:var(--text)}.tab-btn.active{background:var(--primary);color:#fff}.tab-btn:disabled{opacity:.5;cursor:not-allowed;color:var(--text-light)}.tab-content{display:none}.tab-content.active{display:block}.coming-soon{background:var(--surface);border:2px dashed var(--border);border-radius:12px;padding:4rem 2rem;text-align:center;margin-bottom:2rem}.coming-soon svg{color:var(--primary);margin-bottom:1.5rem;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.coming-soon h2{color:var(--text);margin-bottom:1rem;font-size:1.75rem}.coming-soon p{color:var(--text-light);margin-bottom:.5rem}.coming-soon .note{color:var(--primary);font-weight:500;margin-top:1rem}.upload-area{background:var(--surface);border:2px dashed var(--border);border-radius:12px;padding:4rem 2rem;text-align:center;cursor:pointer;transition:all .3s;margin-bottom:2rem}.upload-area:hover{border-color:var(--primary);background:#f0f9ff}.upload-area.dragover{border-color:var(--primary);background:#eff6ff;transform:scale(1.02)}.upload-area svg{color:var(--text-light);margin-bottom:1rem}.upload-area p{color:var(--text-light);font-size:1.1rem}.options-panel{background:var(--surface);border-radius:12px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a}.options-panel h3{font-size:1.1rem;margin-bottom:1rem;color:var(--text)}.option-group{display:flex;flex-direction:column;gap:.75rem}.option-group label{display:flex;align-items:center;gap:.5rem;cursor:pointer;color:var(--text)}.option-group input[type=checkbox],.option-group input[type=radio]{width:18px;height:18px;cursor:pointer}.note{margin-top:1rem;padding:.75rem;background:#fef3c7;border-radius:8px;font-size:.9rem;color:#92400e}.preview-area,.video-preview-area,.ppt-preview-area{background:var(--surface);border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a}#image-canvas{max-width:100%;height:auto;border-radius:8px;border:1px solid var(--border);display:block;margin:0 auto}.video-preview-area{position:relative}#video-player{width:100%;max-height:500px;border-radius:8px;background:#000}.selection-overlay{position:relative;margin-top:1rem}.selection-box{width:100px;height:50px;border:2px solid var(--danger);background:#ef444433;position:absolute;cursor:move;top:0;left:0}.selection-box:after{content:"水印区域";position:absolute;top:-24px;left:0;background:var(--danger);color:#fff;font-size:12px;padding:2px 6px;border-radius:4px}.ppt-info{margin-bottom:1rem;padding:1rem;background:var(--bg);border-radius:8px}.slides-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin-bottom:1rem}.slide-thumb{aspect-ratio:16 / 9;background:var(--bg);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.9rem;color:var(--text-light);border:2px solid var(--border)}.controls{display:flex;gap:1rem;margin-top:2rem;justify-content:center}.btn{padding:.75rem 2rem;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.btn-secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--bg)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.progress-area{background:var(--surface);border-radius:12px;padding:2rem;margin-top:2rem;box-shadow:0 1px 3px #0000001a}.progress-bar{width:100%;height:8px;background:var(--border);border-radius:4px;overflow:hidden;margin-bottom:1rem}.progress-fill{height:100%;background:var(--primary);border-radius:4px;transition:width .3s;width:0%}.progress-text{text-align:center;color:var(--text-light)}.gamma-note{margin-top:.5rem;color:var(--primary);font-size:.9rem;font-weight:500}.gamma-features{list-style:none;padding:0;margin-top:1rem}.gamma-features li{padding:.5rem 0 .5rem 1.5rem;position:relative;color:var(--text)}.gamma-features li:before{content:"✓";position:absolute;left:0;color:var(--success);font-weight:700}.gamma-preview-area{background:var(--surface);border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a}.gamma-info{padding:1rem;background:var(--bg);border-radius:8px;margin-bottom:1rem}.gamma-info p{margin:.5rem 0}.gamma-log{margin-top:1rem}.gamma-log h4{font-size:1rem;margin-bottom:.75rem;color:var(--text)}#gamma-log-content{background:var(--bg);border-radius:8px;padding:1rem;font-family:Monaco,Courier New,monospace;font-size:.85rem;max-height:200px;overflow-y:auto}#gamma-log-content p{margin:.25rem 0;color:var(--text-light)}#gamma-log-content .success{color:var(--success)}#gamma-log-content .error{color:var(--danger)}#gamma-log-content .info{color:var(--primary)}.pdf-preview-area{background:var(--surface);border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a}.pdf-info{padding:1rem;background:var(--bg);border-radius:8px;margin-bottom:1rem}.pdf-info p{margin:.5rem 0}.pdf-pages-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:1rem;margin-bottom:1rem;max-height:300px;overflow-y:auto;padding:1rem;background:var(--bg);border-radius:8px}.pdf-page-item{aspect-ratio:.707;background:var(--surface);border:2px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:var(--text-light);transition:all .2s;cursor:default}.pdf-page-item:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:0 4px 12px #3b82f633}footer{text-align:center;margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border);color:var(--text-light);font-size:.9rem}.footer-nav{display:flex;justify-content:center;gap:2rem;margin:1rem 0;flex-wrap:wrap}.footer-nav a{color:var(--primary);text-decoration:none;transition:color .2s}.footer-nav a:hover{color:var(--primary-hover);text-decoration:underline}.copyright{margin-top:1rem;opacity:.7}.faq-section{max-width:800px;margin:4rem auto 0;padding:2rem;background:var(--surface);border-radius:12px;box-shadow:0 1px 3px #0000001a}.faq-section h2{font-size:1.8rem;margin-bottom:2rem;text-align:center;color:var(--text)}.faq-item{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}.faq-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.faq-item h3{font-size:1.1rem;font-weight:600;margin-bottom:.5rem;color:var(--text)}.faq-item p{color:var(--text-light);line-height:1.6}@media (max-width: 768px){.container{padding:1rem}header h1{font-size:1.8rem}.tabs{flex-direction:column}.upload-area{padding:2rem 1rem}.controls{flex-direction:column}.btn{width:100%}}
