:root{--accent:#2459d3;--ink:#182747;--muted:#5e6d84;--line:#dce4ef;--surface:#fff;--wash:#f1f5fb;font-family:"Microsoft JhengHei","PingFang HK","Noto Sans TC",sans-serif;color:var(--ink);background:#f5f8fc}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner,.page,.footer-inner{max-width:1200px;margin:auto}.header-inner{height:76px;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:19px;font-weight:800;text-decoration:none;letter-spacing:-.04em}.brand small{font-size:12px;font-weight:600;letter-spacing:0;display:block}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--ink);color:#fff;border-radius:10px;font-size:25px}.brand-mark span{color:#80aaff}.header-actions{display:flex;align-items:center;gap:24px}.header-label{font-size:13px;color:var(--muted)}.theme-picker{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}.theme-picker input{width:32px;height:32px;border:1px solid var(--line);background:#fff;padding:3px;border-radius:8px;cursor:pointer}.page{padding:0 28px}.intro{display:flex;align-items:end;justify-content:space-between;gap:40px;padding:68px 0 48px}.intro-label,.section-kicker{font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--accent)}.intro-label{margin:0 0 14px}.intro h1{font-size:clamp(38px,5vw,60px);line-height:1.2;letter-spacing:-.045em;margin:0}.intro-copy{max-width:610px;margin:20px 0 0;color:var(--muted);line-height:1.9}.intro-note{display:flex;align-items:center;gap:14px;border-left:2px solid var(--accent);padding-left:20px;min-width:245px}.intro-note p{font-size:13px;line-height:1.8;color:var(--muted);margin:0}.intro-note strong{color:var(--ink);font-size:14px}.note-icon{font-size:25px;color:var(--accent)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;border:1px solid var(--line);background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 16px 38px rgba(25,52,100,.06)}.workspace-main{padding:34px}.section-heading,.results-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading h2,.results-heading h2,.settings h2,.faq h2{font-size:22px;letter-spacing:-.02em;margin:7px 0 0}.format-tag{color:var(--muted);font-size:12px;white-space:nowrap}.drop-zone{margin-top:24px;padding:40px 20px;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px dashed #bccbe0;background:#f8faff;border-radius:12px;transition:border-color .15s,background .15s}.drop-zone.is-dragover{border-color:var(--accent);background:#eaf1ff}.upload-icon{width:58px;height:58px;color:var(--accent);display:grid;place-items:center;margin-bottom:12px}.upload-icon svg{width:48px;height:48px}.drop-zone h3{font-size:19px;margin:0 0 8px}.drop-zone p{font-size:14px;color:var(--muted);margin:0 0 20px}.drop-hint{font-size:12px;color:var(--muted);margin-top:12px}.button{border-radius:8px;padding:11px 18px;font-size:14px;font-weight:700;border:1px solid transparent}.button-primary{background:var(--accent);color:#fff}.button-primary:hover{filter:brightness(.9)}.button-outline{color:var(--accent);background:#fff;border-color:var(--accent);width:100%}.button-text{background:transparent;color:var(--muted);padding:10px}.notice{font-size:13px;color:#a43d27;min-height:0;margin:12px 0 0}.notice:empty{display:none}.settings{background:#f4f7fc;border-left:1px solid var(--line);padding:34px 28px}.settings-head p,.field-hint{font-size:13px;line-height:1.65;color:var(--muted)}.settings-head p{margin:10px 0 24px}.setting{border-top:1px solid var(--line);padding:20px 0}.setting label{display:block;font-weight:700;font-size:14px;margin-bottom:9px}.setting-title{display:flex;justify-content:space-between;align-items:center}.setting-title output{font-weight:700;font-size:14px;color:var(--accent)}input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer}select,input[type=number]{width:100%;border:1px solid #c9d4e4;border-radius:8px;background:#fff;padding:11px;color:var(--ink)}input[type=number]{margin-top:9px}.field-hint{margin:8px 0 0}.privacy{display:flex;gap:12px;border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.privacy-icon{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:var(--accent);color:white;font-weight:bold}.privacy strong{font-size:14px}.privacy p{font-size:13px;line-height:1.75;color:var(--muted);margin:7px 0 0}.results{margin-top:34px;border-top:1px solid var(--line);padding-top:27px}.results-heading{align-items:end}.results-heading p{font-size:13px;color:var(--muted);margin:7px 0 0}.result-actions{display:flex;gap:5px;align-items:center}.result-list{margin-top:20px}.result-item{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}.result-item img{width:80px;height:68px;object-fit:contain;background:repeating-conic-gradient(#e4eaf2 0% 25%,#fff 0% 50%) 0 0/16px 16px;border-radius:6px}.result-info{min-width:0}.result-info strong{display:block;overflow-wrap:anywhere;font-size:14px}.result-info p{font-size:13px;color:var(--muted);line-height:1.5;margin:6px 0 0}.result-info .error{color:#a43d27}.download{background:#edf2fc;color:var(--accent);border:0;border-radius:7px;padding:10px 13px;font-size:13px;font-weight:700}.faq{display:grid;grid-template-columns:1fr 2fr;gap:60px;padding:85px 0 90px}.faq-intro p{color:var(--muted);line-height:1.8;font-size:14px}.faq-list{border-top:1px solid var(--line)}details{border-bottom:1px solid var(--line);padding:19px 0}summary{font-size:15px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}summary::-webkit-details-marker{display:none}summary::after{content:'+';font-size:20px;color:var(--accent);line-height:1}details[open] summary::after{content:'−'}details p{font-size:14px;line-height:1.8;color:var(--muted);margin:14px 30px 0 0}footer{background:var(--ink);color:#e0e8f5}.footer-inner{padding:24px 28px;display:flex;justify-content:space-between;gap:15px;font-size:12px;line-height:1.7}.footer-inner span:last-child{color:#a8b9d4;white-space:nowrap}@media(max-width:800px){.intro{padding:45px 0 32px}.intro-note{display:none}.workspace{grid-template-columns:1fr}.settings{border-left:0;border-top:1px solid var(--line)}.faq{grid-template-columns:1fr;gap:20px;padding:60px 0}.faq-intro p{margin-bottom:0}}@media(max-width:520px){.header-inner{height:66px;padding:0 18px}.header-label{display:none}.page{padding:0 18px}.intro h1{font-size:38px}.workspace-main,.settings{padding:24px 20px}.section-heading{align-items:start;flex-direction:column;gap:10px}.results-heading{align-items:start;flex-direction:column}.result-item{grid-template-columns:60px minmax(0,1fr);gap:12px}.result-item img{width:60px;height:60px}.result-item .download{grid-column:2;justify-self:start}.footer-inner{padding:22px 18px;flex-direction:column}.drop-zone{min-height:270px}.header-actions{gap:8px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
