*{margin:0;padding:0;box-sizing:border-box}a{text-decoration:none;color:inherit}button{border:none;background:none;font:inherit;cursor:pointer}input,textarea,select{border:none;outline:none;font:inherit;background:none}ul,ol{list-style:none}h1,h2,h3,h4,h5,h6{font-weight:inherit;font-size:inherit}img{max-width:100%;height:auto;display:block}table{border-collapse:collapse;border-spacing:0}:focus:not(:focus-visible){outline:none}:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:#334155;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:0 20px}.header{background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100;padding:1rem 0}.header .container{display:flex;justify-content:space-between;align-items:center;gap:2rem}.logo{font-size:1.5rem;font-weight:600;color:#3b82f6;text-decoration:none}.logo a{color:#3b82f6;text-decoration:none;display:flex;align-items:center;gap:.5rem;justify-content:center}.logo img{flex-shrink:0;display:inline-block;vertical-align:middle}.main-nav ul{display:flex;list-style:none;gap:2rem;margin:0;padding:0}.main-nav a{color:#64748b;text-decoration:none;font-weight:500;transition:color .2s ease;display:inline-block}.main-nav a:hover,.main-nav a.active{color:#3b82f6}.language-switcher select{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:14px;color:#475569;cursor:pointer;transition:all .2s ease;font-family:inherit}.language-switcher select:hover{border-color:#3b82f6}.language-switcher select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.main{padding:2rem 0 4rem}.hero{text-align:center;margin-bottom:3rem}.hero h1{font-size:2.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.hero p{font-size:1.125rem;color:#64748b;max-width:600px;margin:0 auto}.converter{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:3rem;border:1px solid #e2e8f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tabs{display:flex;gap:4px;margin-bottom:2rem;background:#f1f5f9;border-radius:8px;padding:4px}.tab-btn{flex:1;padding:12px 24px;border-radius:6px;font-weight:500;color:#64748b;background:transparent;transition:all .2s ease;cursor:pointer}.tab-btn.active{background:white;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.tab-btn:hover:not(.active){color:#3b82f6}.tab-content{display:none}.tab-content.active{display:block}.upload-area{border:2px dashed #cbd5e1;border-radius:12px;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#f8fafc}.upload-area:hover{border-color:#3b82f6;background:#f1f5f9}.upload-area.dragover{border-color:#3b82f6;background:#eff6ff;transform:scale(1.02)}.upload-content{pointer-events:none}.upload-icon{width:48px;height:48px;margin:0 auto 1rem;color:#94a3b8}.upload-area h3{font-size:1.25rem;font-weight:600;color:#334155;margin-bottom:.5rem}.upload-area p{color:#64748b;margin-bottom:.5rem}.upload-info{font-size:.875rem;color:#94a3b8}.image-preview{margin-top:2rem}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.preview-header h3{font-size:1.125rem;font-weight:600;color:#334155}.clear-btn{background:#ef4444;color:#fff;padding:8px 16px;border-radius:6px;font-size:.875rem;font-weight:500;transition:background .2s ease;cursor:pointer}.clear-btn:hover{background:#dc2626}.preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.preview-item{background:white;border-radius:8px;padding:1rem;border:1px solid #e2e8f0;position:relative}.preview-item img{width:100%;height:120px;object-fit:cover;border-radius:6px;margin-bottom:.75rem}.preview-info{font-size:.875rem;color:#64748b}.remove-btn{position:absolute;top:8px;right:8px;background:#ef4444;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer;transition:background .2s ease}.remove-btn:hover{background:#dc2626}.result-section{margin-top:2rem}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.result-header h3{font-size:1.125rem;font-weight:600;color:#334155}.output-options{display:flex;align-items:center;gap:.5rem}.output-options label{font-size:.875rem;color:#64748b;font-weight:500}.output-options select{background:white;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:14px;color:#475569;cursor:pointer;transition:all .2s ease}.result-content{display:flex;gap:1rem}.result-content textarea{flex:1;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5;resize:vertical;min-height:120px;color:#334155}.copy-btn{background:#3b82f6;color:#fff;padding:12px 24px;border-radius:8px;font-weight:500;transition:all .2s ease;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:.5rem;align-self:flex-start}.copy-btn:hover{background:#2563eb;transform:translateY(-1px)}.copy-btn.copied{background:#10b981}.decode-input{margin-bottom:2rem}.decode-input h3{font-size:1.125rem;font-weight:600;color:#334155;margin-bottom:1rem}.decode-input textarea{width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5;resize:vertical;min-height:120px;color:#334155;margin-bottom:1rem}.decode-btn{background:#3b82f6;color:#fff;padding:12px 24px;border-radius:8px;font-weight:500;transition:all .2s ease;cursor:pointer}.decode-btn:hover{background:#2563eb}.decode-result h3{font-size:1.125rem;font-weight:600;color:#334155;margin-bottom:1rem}.decode-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.input-group label{font-size:.875rem;font-weight:500;color:#64748b}.input-group input{background:white;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:14px;color:#475569;transition:all .2s ease}.decoded-preview{background:white;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem;text-align:center;min-height:200px;display:flex;align-items:center;justify-content:center}.decoded-preview img{max-width:100%;max-height:300px;border-radius:6px;box-shadow:0 4px 6px #0000001a}.html-output{margin-top:1.5rem}.html-output h4{font-size:1rem;font-weight:600;color:#334155;margin-bottom:.75rem}.html-output textarea{width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5;resize:vertical;min-height:80px;color:#334155;margin-bottom:.75rem}.features{margin-top:3rem}.features h2{font-size:2rem;font-weight:600;color:#1e293b;text-align:center;margin-bottom:2rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.feature-card{background:rgba(255,255,255,.7);border-radius:12px;padding:2rem;text-align:center;border:1px solid #e2e8f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .2s ease}.feature-card:hover{transform:translateY(-4px)}.feature-icon{font-size:2rem;margin-bottom:1rem}.feature-card h3{font-size:1.25rem;font-weight:600;color:#334155;margin-bottom:.75rem}.feature-card p{color:#64748b;line-height:1.5}.footer{background:#1e293b;color:#94a3b8;padding:3rem 0 1rem;margin-top:4rem}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}.footer-section h4{color:#fff;font-weight:600;margin-bottom:1rem;font-size:1.125rem}.footer-section ul{list-style:none;padding:0;margin:0}.footer-section li{margin-bottom:.5rem}.footer-section a{color:#94a3b8;text-decoration:none;transition:color .2s ease;display:inline-block}.footer-section a:hover{color:#3b82f6}.footer-bottom{border-top:1px solid #374151;padding-top:1.5rem;text-align:center;font-size:.875rem}.page-header{text-align:center;margin-bottom:3rem}.page-header h1{font-size:2.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.page-header p{font-size:1.125rem;color:#64748b;max-width:600px;margin:0 auto}.tutorial-content{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem}.tutorial-section{margin-bottom:2rem}.tutorial-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem}.step{background:#f8fafc;border-left:4px solid #3b82f6;padding:1.5rem;margin-bottom:1.5rem;border-radius:0 8px 8px 0}.step h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:.75rem}.info-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:1rem;margin:1rem 0}.info-box h3{color:#1e40af;font-weight:600;margin-bottom:.5rem}.demo-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:1rem;margin:1rem 0;text-align:center}.demo-box a{color:#059669;font-weight:600;text-decoration:underline}.demo-box a:hover{color:#047857}.format-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin:1.5rem 0}.format-option{background:white;border:1px solid #e2e8f0;border-radius:8px;padding:1rem}.format-option h4{font-weight:600;color:#1e293b;margin-bottom:.5rem}.format-option p{color:#64748b;margin-bottom:.75rem}.format-option code{background:#f1f5f9;padding:.5rem;border-radius:4px;font-size:.875rem;display:block;color:#475569;border:1px solid #cbd5e1;word-break:break-all}.use-case{background:#fefce8;border:1px solid #fde047;border-radius:8px;padding:1rem;margin:1rem 0}.use-case h3{color:#a16207;font-weight:600;margin-bottom:.5rem}.tip{background:#ecfdf5;border:1px solid #86efac;border-radius:8px;padding:1rem;margin:1rem 0}.tip h3{color:#166534;font-weight:600;margin-bottom:.5rem}.faq-content{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem}.faq-item{border-bottom:1px solid #e2e8f0;padding:1.5rem 0}.faq-item:last-child{border-bottom:none}.faq-question{font-weight:600;color:#1e293b;font-size:1.125rem;cursor:pointer;padding:.5rem 0;display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none}.faq-question:after{content:"+";font-size:1.5rem;color:#3b82f6;transition:transform .2s ease}.faq-question.open:after{transform:rotate(45deg)}.faq-question:hover{color:#3b82f6}.faq-answer{margin-top:.75rem;color:#64748b;line-height:1.6}.faq-answer p{margin-bottom:1rem}.faq-answer ul{padding-left:1.5rem;margin-bottom:1rem}.faq-answer code{background:#f1f5f9;padding:.25rem .5rem;border-radius:4px;font-size:.875rem;color:#475569;border:1px solid #cbd5e1;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.contact-section{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem;text-align:center;border:1px solid #e2e8f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.contact-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.contact-section a{color:#3b82f6;font-weight:600;text-decoration:underline}.contact-section a:hover{color:#2563eb}.legal-content{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem}.legal-section{margin-bottom:2rem}.legal-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem}.legal-section h3{font-size:1.25rem;font-weight:600;color:#374151;margin-bottom:.75rem;margin-top:1.5rem}.legal-section ul{padding-left:1.5rem;margin-bottom:1rem}.legal-section li{margin-bottom:.5rem}.highlight-box{background:#dbeafe;border:1px solid #93c5fd;border-radius:8px;padding:1rem;margin:1rem 0}.highlight-box p{color:#1e40af;margin:0;font-weight:500}.api-content{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem}.api-section{margin-bottom:2rem}.api-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem}.code-example{background:#1e293b;border-radius:8px;padding:1.5rem;margin:1rem 0;overflow-x:auto}.code-example h3{color:#f1f5f9;font-weight:600;margin-bottom:.75rem}.code-example p{color:#94a3b8;margin-bottom:1rem}.code-example pre{margin:0;padding:0;background:none;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.code-example code{color:#e2e8f0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5}.hidden{display:none!important}@media (max-width: 768px){.container{padding:0 16px}.header .container{flex-direction:column;gap:1rem}.main-nav ul{gap:1rem}.main-nav a{font-size:.875rem}.hero h1{font-size:2rem}.hero p{font-size:1rem}.converter{padding:1.5rem}.upload-area{padding:2rem 1rem}.tabs{flex-direction:column}.result-header{flex-direction:column;align-items:flex-start}.output-options{align-self:stretch}.decode-options,.preview-list{grid-template-columns:1fr}.footer-content{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.header .container{flex-direction:column;gap:.75rem;text-align:center}.main-nav ul{justify-content:center;flex-wrap:wrap}.hero h1{font-size:1.75rem}.upload-area{padding:1.5rem 1rem}.upload-icon{width:36px;height:36px}.converter{padding:1rem}.preview-list{grid-template-columns:1fr}.footer-content{grid-template-columns:1fr;text-align:center}}.narrow-container{max-width:1040px}.reading-container{max-width:880px}.eyebrow{color:#0f766e!important;font-size:.8125rem!important;font-weight:600;text-transform:uppercase;margin-bottom:.65rem!important}.hero .inline-links{margin-top:1.25rem}.inline-links,.button-row{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem 1.25rem}.inline-links a,.context-link a,.tool-cta a,.centered-note a{color:#0f766e;font-weight:600;text-decoration:underline;text-underline-offset:3px}.upload-area h2{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:.35rem}.upload-mark{width:42px;height:42px;margin:0 auto .9rem;border:2px solid #0f766e;color:#0f766e;border-radius:50%;display:grid;place-items:center;font-size:1.6rem;line-height:1}.text-button{color:#0f766e;font-weight:600}.text-button.danger{color:#b91c1c}.preview-info{display:grid;gap:.15rem}.preview-info strong{color:#334155;overflow-wrap:anywhere}.select-label,.field-label{color:#475569;font-size:.875rem;font-weight:600}.select-label{display:flex;align-items:center;gap:.65rem}.select-label select,.field-label select,.field-label input{display:block;width:100%;margin-top:.4rem;padding:.65rem .75rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#1e293b}.select-label select{width:auto;margin-top:0}.field-label input[type=range]{padding:0;accent-color:#0f766e}.code-output,.large-input{display:block;width:100%;min-height:150px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;color:#1e293b;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.8125rem;line-height:1.55;padding:1rem;resize:vertical;margin:.55rem 0 1rem}.code-output.compact{min-height:88px}.primary-button,.secondary-button,.file-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:.65rem 1rem;border-radius:6px;font-weight:600;cursor:pointer}.primary-button,.file-button{background:#0f766e;color:#fff}.primary-button:hover,.file-button:hover{background:#115e59}.secondary-button{border:1px solid #94a3b8;color:#334155;background:#fff}.form-message,.status-panel{margin-top:1rem;padding:.85rem 1rem;border-radius:6px}.form-message.error,.status-panel.invalid{border:1px solid #fecaca;color:#991b1b;background:#fef2f2}.status-panel.valid{border:1px solid #99f6e4;color:#134e4a;background:#f0fdfa}.status-panel>strong,.status-panel>span{display:block}.status-panel>span{margin-top:.3rem}.metadata-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:1.25rem 0;border:1px solid #e2e8f0;background:#e2e8f0}.metadata-grid>div{min-width:0;padding:.8rem;background:#fff}.metadata-grid dt{color:#64748b;font-size:.75rem;font-weight:600;text-transform:uppercase}.metadata-grid dd{margin-top:.25rem;color:#1e293b;font-weight:600;overflow-wrap:anywhere}.content-section,.related-section{padding:3rem 0}.muted-band{border-top:1px solid #dbe4e8;border-bottom:1px solid #dbe4e8}.section-heading{max-width:680px;margin:0 auto 1.5rem;text-align:center}.section-heading h2,.url-anatomy h2,.result-section h2{color:#1e293b;font-size:1.6rem;font-weight:600;margin-bottom:.5rem}.section-heading p{color:#64748b}.format-link-list,.link-grid,.benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.format-link-list a,.link-panel{display:grid;align-content:start;gap:.35rem;min-height:112px;padding:1rem;border:1px solid #cbd5e1;border-radius:6px;background:rgba(255,255,255,.78)}.format-link-list a:hover,.link-panel:hover{border-color:#0f766e}.format-link-list strong,.link-panel strong{color:#0f766e}.format-link-list span,.link-panel span,.benefit-grid p{color:#64748b;font-size:.9rem}.benefit-grid h3{font-weight:600;color:#1e293b;margin-bottom:.35rem}.centered-note,.tool-cta{text-align:center;margin-top:1.5rem}.article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;padding:2.5rem 0 1rem}.article-grid h2,.guide-content h2{color:#1e293b;font-size:1.25rem;font-weight:600;margin-bottom:.65rem}.article-grid p+p{margin-top:.85rem}.breadcrumbs{margin:.2rem 0 2rem;font-size:.8125rem;color:#64748b}.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.4rem}.breadcrumbs li+li:before{content:"/";margin-right:.4rem;color:#94a3b8}.breadcrumbs a:hover{color:#0f766e}.context-link{margin-top:.85rem;font-size:.9375rem}.faq-question{width:100%;text-align:left}.faq-answer a{color:#0f766e;font-weight:600;text-decoration:underline}.url-anatomy{padding:2rem 0 0}.url-anatomy dl{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.url-anatomy div{padding:1rem;border-left:3px solid #0f766e;background:#f8fafc}.url-anatomy dt{font-weight:600;color:#334155}.url-anatomy dd{margin-top:.4rem;overflow-wrap:anywhere}.form-grid,.control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.25rem 0}.form-grid{grid-template-columns:minmax(220px,360px)}.selected-file{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.optimizer-result{margin-top:2rem;border-top:1px solid #e2e8f0;padding-top:2rem}.optimizer-result>img{width:100%;max-height:420px;object-fit:contain;background:#f8fafc}.guide-content{font-size:1rem}.guide-content pre,.api-section pre{overflow-x:auto;margin-bottom:2rem;padding:1.25rem;border-radius:6px;background:#17202e;color:#e2e8f0;line-height:1.55}.guide-content section{margin:2rem 0}.api-content>.api-section p{margin-bottom:1rem}.footer-section h2{color:#fff;font-size:1rem;font-weight:600;margin-bottom:1rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width: 800px){.format-link-list,.link-grid,.benefit-grid,.article-grid,.control-grid,.metadata-grid{grid-template-columns:1fr 1fr}}@media (max-width: 560px){.format-link-list,.link-grid,.benefit-grid,.article-grid,.control-grid,.metadata-grid,.url-anatomy dl{grid-template-columns:1fr}.select-label,.selected-file{align-items:stretch;flex-direction:column}.select-label select{width:100%}.button-row>*{width:100%}}
