*{box-sizing:border-box;padding:0;margin:0}body,html{max-width:100vw;overflow-x:hidden}body{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;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1 1;display:flex;align-items:center;justify-content:center;padding:20px;width:100%}.container{background:#fff;border-radius:16px;padding:80px 40px 120px;box-shadow:0 20px 60px rgba(0,0,0,.3);max-width:900px;width:100%}.title{font-size:28px;font-weight:700;color:#333;margin-bottom:30px;text-align:center}.input-group{margin-bottom:20px}.label{display:block;font-size:14px;font-weight:600;color:#555;margin-bottom:8px}.input,.textarea{width:100%;padding:12px 16px;font-size:16px;border:2px solid #e0e0e0;border-radius:8px;transition:border-color .3s;font-family:inherit;resize:vertical}.textarea{min-height:120px;line-height:1.5}.input:focus,.textarea:focus{outline:none;border-color:#667eea}.input-hint{font-size:12px;color:#999;margin-top:6px}.button-group{display:flex;gap:10px;margin-bottom:20px}.button{flex:1 1;padding:14px;font-size:16px;font-weight:600;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;cursor:pointer;transition:transform .2s,box-shadow .2s}.button-secondary{background:#6c757d;flex:0 0 auto;min-width:120px}.button-secondary:hover:not(:disabled){background:#5a6268;box-shadow:0 10px 20px hsla(208,7%,46%,.4)}.button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px rgba(102,126,234,.4)}.button:active:not(:disabled){transform:translateY(0)}.button:disabled{opacity:.6;cursor:not-allowed}.result{margin-top:30px;padding:20px;background:#f5f5f5;border-radius:8px;min-height:100px}.result-title{font-size:16px;font-weight:600;color:#333;margin-bottom:12px}.result-content{font-size:14px;color:#666;white-space:pre-wrap;word-break:break-word}.error{color:#e74c3c;font-size:14px}.loading{text-align:center;color:#667eea;font-size:14px;margin-top:10px}.results-summary{display:flex;gap:15px;margin-top:20px;padding:15px;background:#f8f9fa;border-radius:8px}.summary-item{flex:1 1;text-align:center;height:40px;border-radius:6px;font-weight:600;font-size:14px;display:flex;justify-content:center;align-items:center}.summary-item.success{background:#d4edda;color:#155724}.summary-item.error{background:#f8d7da;color:#721c24}.summary-item.pending{background:#d1ecf1;color:#0c5460}.results-list{margin-top:20px;display:flex;flex-direction:column;gap:15px}.result-item{border:2px solid #e0e0e0;border-radius:8px;padding:15px;background:#fff;transition:border-color .3s,box-shadow .3s}.result-item.pending{border-color:#ffc107;background:#fffbf0}.result-item.processing{border-color:#17a2b8;background:#f0f9ff;animation:pulse 2s infinite}.result-item.success{border-color:#28a745;background:#f0fff4}.result-item.error{border-color:#dc3545;background:#fff5f5}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:15px}.result-url{flex:1 1;font-size:14px;color:#333;word-break:break-all;font-weight:500}.result-status{font-size:12px;font-weight:600;padding:4px 10px;border-radius:12px;white-space:nowrap}.result-status.pending{background:#ffc107;color:#856404}.result-status.processing{background:#17a2b8;color:#fff}.result-status.success{background:#28a745;color:#fff}.result-status.error{background:#dc3545;color:#fff}.result-content{margin-top:10px;padding-top:10px;border-top:1px solid #e0e0e0}.video-id{font-size:12px;color:#666;margin-bottom:12px;font-family:monospace;padding:6px 10px;background:#f5f5f5;border-radius:4px;display:inline-block}.result-actions{display:flex;gap:10px;margin-bottom:15px;flex-wrap:wrap}.action-button{padding:8px 16px;font-size:14px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;gap:6px}.action-view{background:#667eea;color:#fff}.action-view:hover{background:#5568d3;transform:translateY(-1px);box-shadow:0 4px 8px rgba(102,126,234,.3)}.action-copy{background:#28a745;color:#fff}.action-copy:hover{background:#218838;transform:translateY(-1px);box-shadow:0 4px 8px rgba(40,167,69,.3)}.action-download{background:#17a2b8;color:#fff}.action-download:hover{background:#138496;transform:translateY(-1px);box-shadow:0 4px 8px rgba(23,162,184,.3)}.result-text-preview{font-size:14px;color:#666;line-height:1.6;padding:12px;background:#f8f9fa;border-radius:6px;border-left:3px solid #667eea;word-break:break-word}.result-text-expanded{margin-top:10px;padding:15px;background:#f8f9fa;border-radius:6px;border:1px solid #e0e0e0;max-height:500px;overflow-y:auto}.result-text-expanded .result-text{font-size:14px;color:#333;white-space:pre-wrap;word-break:break-word;line-height:1.8}.result-error{margin-top:10px;padding:10px;background:#fff5f5;border-left:3px solid #dc3545;color:#721c24;font-size:14px;border-radius:4px}.history-header{display:flex;justify-content:space-between;align-items:center;margin-top:40px;margin-bottom:15px;gap:15px}.section-title{font-size:20px;font-weight:700;color:#333;margin:0}.history-list{background:#fafafa;padding:15px;border-radius:8px}.history-time{font-size:12px;color:#999;margin-top:5px;padding:4px 8px;background:#f8f9fa;border-radius:4px;display:inline-block}.header{background:hsla(0,0%,100%,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 10px rgba(0,0,0,.1);position:-webkit-sticky;position:sticky;top:0;z-index:100;border-bottom:1px solid rgba(0,0,0,.05)}.header-container{max-width:1200px;margin:0 auto;padding:15px 20px;justify-content:space-between}.header-container,.header-logo{display:flex;align-items:center}.header-logo{gap:12px;text-decoration:none;color:#333;font-weight:700;font-size:20px;transition:opacity .3s}.header-logo:hover{opacity:.8}.header-logo svg{color:#667eea}.header-title{background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header-nav{display:flex;gap:20px;align-items:center}.nav-link{color:#555;text-decoration:none;font-size:15px;font-weight:500;transition:color .3s;padding:6px 12px;border-radius:6px}.nav-link:hover{color:#667eea;background:rgba(102,126,234,.1)}.language-switcher{display:flex;align-items:center}.language-select{padding:6px 12px;font-size:14px;border:2px solid #e0e0e0;border-radius:6px;background:#fff;color:#333;cursor:pointer;transition:all .3s;font-family:inherit}.language-select:hover{border-color:#667eea}.language-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.footer{background:hsla(0,0%,100%,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(0,0,0,.05);margin-top:auto}.footer-container{max-width:1200px;margin:0 auto;padding:40px 20px 20px}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:30px;gap:30px;margin-bottom:30px}.footer-section{display:flex;flex-direction:column}.footer-title{font-size:16px;font-weight:700;color:#333;margin-bottom:15px}.footer-text{font-size:14px;color:#666;line-height:1.6}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin-bottom:10px;font-size:14px;color:#666}.footer-links a{color:#666;text-decoration:none;transition:color .3s}.footer-links a:hover{color:#667eea}.footer-bottom{border-top:1px solid rgba(0,0,0,.1);padding-top:20px;text-align:center}.footer-copyright{font-size:14px;color:#999;margin:0}@media (max-width:768px){.header-container{flex-direction:column;gap:15px}.header-nav{width:100%;justify-content:center}.footer-content{grid-template-columns:1fr;gap:25px}.container{padding:30px 20px}.button-group{flex-direction:column}.button-secondary{width:100%}.result-actions{flex-direction:column}.action-button{width:100%;justify-content:center}.result-text-expanded{max-height:300px}}