.image-upload{width:100%}.drop-zone{border:3px dashed #cbd5e0;border-radius:12px;padding:60px 20px;text-align:center;cursor:pointer;transition:all .3s ease;background:#f7fafc}.drop-zone:hover{border-color:#667eea;background:#edf2f7}.drop-zone.dragging{border-color:#667eea;background:#e6fffa;transform:scale(1.02)}.upload-icon{width:64px;height:64px;color:#667eea;margin:0 auto 20px;display:block}.drop-zone h3{font-size:20px;color:#2d3748;margin-bottom:8px;font-weight:600}.drop-zone p{font-size:14px;color:#718096}.preview-container{text-align:center}.preview-image{max-width:100%;max-height:400px;border-radius:12px;box-shadow:0 4px 12px #0000001a;margin-bottom:20px}.reset-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.reset-button:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.reset-button:active{transform:translateY(0)}.result-display{margin-top:32px;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.loading-container{text-align:center;padding:40px;background:#f7fafc;border-radius:12px;border:2px solid #e2e8f0}.spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}@keyframes spin{to{transform:rotate(360deg)}}.loading-container p{color:#4a5568;font-size:16px;font-weight:500}.error-container{text-align:center;padding:40px;background:#fff5f5;border-radius:12px;border:2px solid #feb2b2}.error-icon{width:48px;height:48px;color:#f56565;margin:0 auto 16px;display:block}.error-container h3{color:#c53030;font-size:20px;margin-bottom:8px;font-weight:600}.error-container p{color:#742a2a;font-size:14px;line-height:1.5}.description-container{padding:32px;background:linear-gradient(135deg,#f6f8fb,#e9f0f7);border-radius:12px;border:2px solid #667eea}.description-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.success-icon{width:32px;height:32px;color:#48bb78;flex-shrink:0}.description-header h3{color:#2d3748;font-size:20px;font-weight:600;margin:0}.description-text{color:#4a5568;font-size:16px;line-height:1.8;margin:0;padding:16px;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000d}.story-container{margin-top:24px;padding:32px;background:linear-gradient(135deg,#fef5e7,#fdebd0);border-radius:12px;border:2px solid #f39c12}.story-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.story-icon{width:32px;height:32px;color:#e67e22;flex-shrink:0}.story-header h3{color:#2d3748;font-size:20px;font-weight:600;margin:0}.story-text{color:#4a5568;font-size:16px;line-height:1.8;margin:0;padding:20px;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000d;white-space:pre-wrap}.audio-container{margin-top:1.5rem;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000d;display:flex;justify-content:center}.audio-player{width:100%;max-width:100%;outline:none;border-radius:8px}.storybook-container{margin-top:2rem;display:flex;justify-content:center}.storybook-book{background:#f9f7f4;border-radius:8px;box-shadow:0 4px 20px #00000026;padding:2rem;max-width:700px;width:100%}.storybook-page{background:#fff;padding:2rem;min-height:400px;border-radius:4px;box-shadow:0 2px 8px #0000001a;margin-bottom:1.5rem}.page-number{font-size:.875rem;color:#666;text-align:center;margin-bottom:1.5rem;font-weight:500}.page-image{display:flex;justify-content:center;margin-bottom:1.5rem}.page-image img{max-width:100%;height:auto;border-radius:8px;box-shadow:0 2px 8px #0000001a}.placeholder-image{width:100%;min-height:300px;background:#fff3cd;border:2px solid #ffc107;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#856404;box-shadow:0 2px 8px #0000001a;padding:20px}.placeholder-image h3{margin:0 0 10px;color:#856404}.placeholder-image p{margin:5px 0}.placeholder-image ul{margin:5px 0;padding-left:20px}.page-content{line-height:1.8;font-size:1rem;color:#333;margin-bottom:1.5rem}.story-line{margin-bottom:1rem}.story-line .speaker{font-weight:600;color:#2563eb}.story-line .text{color:#333}.audio-controls{display:flex;justify-content:center;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.audio-controls audio{width:100%;max-width:500px}.storybook-controls{display:flex;justify-content:space-between;gap:1rem}.nav-button{flex:1;padding:.75rem 1.5rem;background:#2563eb;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.nav-button:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 12px #2563eb4d}.nav-button:disabled{background:#cbd5e1;cursor:not-allowed;transform:none}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.app-container{width:100%;max-width:800px;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;overflow:hidden}.header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:32px;text-align:center}.header h1{font-size:32px;font-weight:700;margin-bottom:8px;letter-spacing:-.5px}.header p{font-size:16px;opacity:.9;line-height:1.5}.content{padding:40px}@media (max-width: 640px){.header{padding:24px}.header h1{font-size:24px}.header p{font-size:14px}.content{padding:24px}}
