:root{color:#192e32;font-synthesis:none;--ink:#192e32;--muted:#526665;--line:#d4e2df;--accent:#08645a;background:#eff5f3;font-family:system-ui,-apple-system,PingFang TC,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}.frame{width:min(900px,100% - 36px);margin:auto}.bar{border-bottom:1px solid var(--line);background:#fff}.bar .frame{justify-content:space-between;align-items:center;gap:10px;min-height:66px;display:flex}a{color:inherit}.brand{white-space:nowrap;align-items:center;gap:10px;font-size:21px;font-weight:800;text-decoration:none;display:flex}.mark,.symbol,.upload-icon{border-radius:10px;place-items:center;display:grid}.mark{background:var(--accent);color:#fff;width:33px;height:33px}.brand-sub,.privacy{color:var(--muted);font-size:14px;font-weight:650}.intro{padding:54px 0 27px}h1{letter-spacing:-.06em;margin:0;font-size:clamp(2.2rem,6vw,3.5rem);line-height:1.1}p{line-height:1.55}.intro p{color:var(--muted);margin-bottom:0}.tools{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px;display:grid}.tools a{border:1px solid var(--line);background:#fff;border-radius:13px;align-items:center;gap:12px;padding:14px;text-decoration:none;display:flex}.symbol{color:var(--accent);background:#dceee7;flex:none;width:43px;height:43px;font-size:26px}small{color:var(--muted);margin-top:3px;font-size:.875rem;display:block}.work{border:1px solid var(--line);background:#fff;border-radius:18px;padding:clamp(16px,4vw,30px);box-shadow:0 10px 30px #274c4110}.work h2{margin:0;font-size:1.55rem}.work-head p{color:var(--muted);margin:5px 0 18px}.drop{text-align:center;background:#f4faf7;border:2px dashed #a8c5bd;border-radius:13px;padding:24px 10px}.upload-icon{width:44px;height:44px;color:var(--accent);background:#e0eee9;margin:0 auto 9px;font-size:27px}.drop p{color:var(--muted);margin:4px 0 14px;font-size:.875rem}button,.download,select,#ranges{font:inherit;color:var(--ink);background:#fff;border:1px solid #afc6be;border-radius:8px;min-height:42px;padding:9px 14px}button,.download{cursor:pointer;font-weight:700}button:disabled{opacity:.55;cursor:default}:focus-visible{outline-offset:3px;outline:3px solid #208976}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.download{color:var(--accent);text-decoration:none}#queue{gap:8px;padding:0;list-style:none;display:grid}#queue:empty,#status:empty{display:none}#queue li{border:1px solid var(--line);border-radius:8px;align-items:center;gap:8px;padding:9px;display:flex}.file-details{overflow-wrap:anywhere;flex:1;min-width:0}#queue button{padding-inline:10px}.options{gap:8px;margin:14px 0;display:grid}.options label{font-weight:650}#range-fields{gap:7px;display:grid}.checkbox{align-items:center;gap:7px;display:flex}.actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}#status{color:var(--accent);margin:14px 0 0}#status.error{color:#9b3327}footer{color:var(--muted);text-align:center;padding:25px 0;font-size:.875rem}@media (width<=560px){.intro{padding-top:35px}.tools{gap:6px}.tools a{text-align:center;flex-direction:column;align-items:center;gap:5px;padding:9px 4px}.tools small,.brand-sub{display:none}}:root{color:#1d1a36;--ink:#1d1a36;--muted:#615d75;--line:#ded9ef;--accent:#4939a8;background:#f4f3fb}.frame{width:min(1056px,100% - 36px)}.bar{color:#fff;background:#191843;border-color:#191843}.header-actions,.privacy{align-items:center;gap:8px;display:flex}.privacy{color:#e5ddff}.header-actions button{min-height:36px}.mark{background:#5b4abf}.intro{padding-bottom:25px}.tools{grid-template-columns:repeat(5,minmax(0,1fr))}.tools a{gap:9px;padding:13px 10px}.tools a:hover,.tools a[aria-current]{border-color:var(--accent);background:#ede8ff}.symbol,.upload-icon{color:var(--accent);background:#eae4ff}.tools a:nth-child(2) .symbol{color:#9b305d;background:#f9e5ee}.tools a:nth-child(3) .symbol{color:#3540a0;background:#e5e8ff}.tools a:nth-child(4) .symbol{color:#8a4d10;background:#fff0df}.tools a:nth-child(5) .symbol{color:#2c527e;background:#e5ecfc}.work{box-shadow:0 14px 36px #33216612}.drop{background:#faf8ff;border-color:#bcb0e8}.drop.active{border-color:var(--accent);background:#ece5ff}button,.download,select,#ranges{border-color:#c8bfdf}button:hover,.download:hover{background:#f0ebff}.primary:hover{background:#37278d}:focus-visible{outline-color:#7360d0}[data-icon],svg{vertical-align:middle}svg{width:20px;height:20px}.symbol svg,.upload-icon svg{width:24px;height:24px}.privacy svg{width:17px;height:17px}#queue button{flex:none;width:40px;padding-inline:0}.file-icon{color:var(--accent)}.download,#preview-result,#install{align-items:center;gap:7px;display:inline-flex}.layout-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.layout-options label{gap:6px;display:grid}.layout-options select{width:100%}#preview{border:1px solid var(--line);width:min(720px,100% - 24px);max-height:calc(100dvh - 24px);color:var(--ink);border-radius:16px;padding:14px}#preview::backdrop{background:#15132dc2}#preview header,.preview-navigation{align-items:center;gap:8px;display:flex}#preview header{justify-content:space-between;margin-bottom:8px}#preview h2{overflow-wrap:anywhere;margin:0;font-size:1rem}#preview-stage{background:#eeebf6;border-radius:10px;place-items:center;min-height:150px;padding:8px;display:grid}#preview-stage :is(img,canvas){object-fit:contain;max-width:100%;max-height:min(67dvh,720px);display:block}.preview-navigation{justify-content:center;margin-top:10px}@media (width<=900px){.tools a{text-align:center;flex-direction:column}}@media (width<=560px){.tools{grid-template-columns:repeat(3,minmax(0,1fr))}.tools a{padding:8px 2px}.symbol{width:34px;height:34px}.symbol svg{width:20px;height:20px}.header-actions:has(#install:not([hidden])) .privacy{display:none}.layout-options{grid-template-columns:1fr}#queue{gap:6px}#queue li{gap:4px;padding:6px}#queue button{width:36px}.file-icon{display:none}}#preview-entry{max-width:100%;margin:0 0 8px;display:block}#jpg-range-fields{gap:7px;display:grid}#jpg-ranges{font:inherit;color:var(--ink);border:1px solid #c8bfdf;border-radius:8px;min-height:42px;padding:9px 14px}:focus-visible{outline-offset:1px;outline:1px solid #7564c6;box-shadow:0 0 0 3px #7461d02b}select{appearance:none;cursor:pointer;background:#faf8ff url("data:image/svg+xml,%3c!--%20@license%20lucide-static%20v1.75.0%20-%20ISC%20--%3e%3csvg%20class='lucide%20lucide-chevron-down'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='m6%209%206%206%206-6'%20/%3e%3c/svg%3e") right 13px center/16px no-repeat;padding-right:40px}select:hover{border-color:#9a89d1}select:disabled{opacity:.6;cursor:default}@supports (appearance:base-select) and selector(select::picker(select)){select{appearance:base-select}select::picker(select){appearance:base-select}select::picker-icon{display:none}select::picker(select){color:var(--ink);background:#faf8ff;border:1px solid #c8bfdf;border-radius:10px;margin:4px 0;padding:4px;box-shadow:0 6px 20px #1918431a}select option{border-radius:6px;min-height:38px;padding:7px 10px}select option:is(:hover,:focus-visible,:checked){background:#ede8ff}select option::checkmark{color:var(--accent)}}.checkbox{cursor:pointer;gap:10px;width:fit-content;min-height:36px}.checkbox input{appearance:none;width:19px;height:19px;cursor:inherit;background:#faf8ff;border:1px solid #9b8bc8;border-radius:5px;flex:0 0 19px;margin:0}.checkbox input:checked{border-color:var(--accent);background:var(--accent)}.checkbox input:checked:before{content:"";background:#fff;width:15px;height:15px;margin:1px;display:block;-webkit-mask:url("data:image/svg+xml,%3c!--%20@license%20lucide-static%20v1.75.0%20-%20ISC%20--%3e%3csvg%20class='lucide%20lucide-check'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M20%206%209%2017l-5-5'%20/%3e%3c/svg%3e") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3c!--%20@license%20lucide-static%20v1.75.0%20-%20ISC%20--%3e%3csvg%20class='lucide%20lucide-check'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M20%206%209%2017l-5-5'%20/%3e%3c/svg%3e") 50%/contain no-repeat}@media (forced-colors:active){.checkbox input,select{appearance:auto}}#compress-options{border:0;min-inline-size:0;padding:0}#compress-options legend{padding:0 0 6px;font-weight:650}#compression-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.compression-card{border:1px solid var(--line);background:#faf8ff;border-radius:12px;align-content:start;gap:8px;padding:14px;display:grid;position:relative}.compression-card:has(input:checked){border-color:var(--accent);background:#ede8ff}.compression-card:has(input:focus-visible){box-shadow:0 0 0 3px #7461d02b}.compression-card input{accent-color:var(--accent);margin:0;position:absolute;top:17px;right:14px}.compression-card label{padding-right:20px}.compression-card label:after{content:"";cursor:pointer;position:absolute;inset:0}#compress-options:disabled label:after{cursor:default}.compression-title,.compression-dpi{display:block}.compression-dpi{color:var(--accent);margin-top:3px;font-size:.875rem}.compression-card p{color:var(--muted);margin:0 0 8px;font-size:.875rem}.compression-card dl{flex-wrap:wrap;gap:8px 18px;margin:0;display:flex}.compression-card dt{color:var(--muted);font-size:.8125rem}.compression-card dd{color:var(--accent);font-variant-numeric:tabular-nums;margin:2px 0 0;font-weight:750}.compression-card:has(#quality-lossless){grid-column:1/-1}.estimate-card-note{margin:6px 0 0}@media (width<=640px){#compression-cards{grid-template-columns:1fr}}
