:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#171b22;background:#f8fafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.site-header{height:72px;background:#fff;border-bottom:1px solid #e6e9ee;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3vw,48px);gap:20px}.brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;letter-spacing:.08em;white-space:nowrap}.brand small{font-size:10px;font-weight:700;color:#7b8494;letter-spacing:.12em}.brand-mark{display:grid;place-items:center;background:#161d22;color:#c7fb59;border-radius:9px;width:32px;height:32px;font-size:19px}.site-header nav{display:flex;gap:28px;height:100%;align-items:center;color:#6b7280;font-size:14px;font-weight:650}.site-header nav a{height:100%;display:grid;place-items:center;position:relative}.site-header nav a.active{color:#111827}.site-header nav a.active:after{content:"";position:absolute;bottom:15px;width:100%;height:3px;background:#baff4a;border-radius:4px}.header-action,.primary-button{background:#c4f94e;border:1px solid #b8ed40;color:#151b0c;border-radius:11px;font-weight:750}.header-action{padding:10px 17px;font-size:13px;white-space:nowrap}.page-container{max-width:1360px;margin:0 auto;padding:40px clamp(20px,3vw,48px) 80px}.eyebrow{font-size:12px;letter-spacing:.16em;color:#7c8695;font-weight:800}.page-title{font-size:34px;letter-spacing:-.03em;margin:12px 0 8px}.page-subtitle,.detail-subtitle,.helper{color:#687386;line-height:1.55}.page-subtitle{margin:0 0 25px}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tool-card,.product-card,.form-card,.preview-card{background:white;border:1px solid #e1e5eb;border-radius:18px;box-shadow:0 8px 28px rgba(24,34,50,.04)}.tool-card{min-height:170px;padding:23px;display:flex;flex-direction:column;gap:14px;transition:transform .18s,border-color .18s}.tool-card:hover,.product-card:hover{transform:translateY(-2px);border-color:#bedf70}.card-top{display:flex;justify-content:space-between;align-items:center}.icon{width:44px;height:44px;border-radius:13px;background:#f4ffd7;display:grid;place-items:center;font-size:22px;color:#435421}.arrow{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e3e7ec;border-radius:50%;color:#6b7280}.tool-card strong{font-size:18px}.tool-card p{margin:-5px 0 0;color:#6b7280;font-size:14px}.product-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}.product-card{padding:23px;display:flex;align-items:center;gap:18px;min-height:100px}.product-card:first-child{background:#f5ffd7;border-color:#e1f6a5}.product-card strong{display:block}.product-card small{display:block;color:#667085;margin-top:5px}.product-card .arrow{margin-left:auto;background:white}.back-link{display:inline-flex;gap:8px;align-items:center;color:#687386;font-size:14px;margin-bottom:22px}.back-link:hover{color:#263a03}.detail-heading{display:flex;align-items:center;gap:15px;margin-bottom:24px}.detail-heading h1{font-size:28px;margin:0 0 4px}.detail-subtitle{margin:0}.detail-layout{display:grid;grid-template-columns:minmax(315px,360px) minmax(0,1fr);gap:20px;align-items:start}.form-card{padding:22px}.form-card>p:first-child{color:#667085;font-size:14px;line-height:1.5;margin:0 0 18px}.field{margin:0 0 18px}.field label,.field legend{display:block;font-size:14px;font-weight:680;margin-bottom:9px}.field textarea{width:100%;min-height:108px;resize:vertical;border:1px solid #dce2ea;background:#f9fbfe;border-radius:12px;padding:13px;outline:none;color:#18202b}.field textarea:focus,.upload:focus-within{border-color:#a5d937;box-shadow:0 0 0 3px rgba(183,245,65,.18)}.field textarea::placeholder{color:#8994a3}.field fieldset{border:0;padding:0;margin:0}.chips{display:flex;flex-wrap:wrap;gap:7px}.chip{background:#fff;border:1px solid #dde3ea;border-radius:999px;color:#647084;padding:8px 13px;font-size:13px}.chip[aria-pressed="true"]{background:#f4ffd6;border-color:#dffa9d;color:#202b10;font-weight:750}.upload{display:grid;place-items:center;text-align:center;min-height:78px;border:1px dashed #bfc9d6;background:#fafbfe;border-radius:12px;color:#6b778a;font-size:14px;cursor:pointer;padding:14px}.upload input{position:absolute;width:1px;height:1px;opacity:0}.upload strong{font-weight:500}.upload small{display:block;margin-top:4px;color:#94a0ad}.upload-preview{display:flex;gap:9px;align-items:center;margin-top:9px;color:#687386;font-size:12px;word-break:break-all}.upload-preview img{width:42px;height:42px;object-fit:cover;border-radius:7px}.primary-button{width:100%;min-height:43px}.primary-button:hover,.header-action:hover{background:#b6ee36}.form-notice{padding:11px;border-radius:9px;background:#f3f8e7;color:#405123;font-size:13px;line-height:1.5;margin:12px 0 0}.form-notice[hidden]{display:none}.preview-card{min-height:420px;display:grid;place-items:center;text-align:center}.preview-card strong{display:block;font-size:17px}.preview-card p{color:#708094;margin:12px 0 0}.preview-symbol{font-size:32px;color:#cbd3dd;display:block;margin-bottom:10px}.not-found{text-align:center;margin:100px auto}.not-found a{color:#587e0c}.loading{color:#7c8695}@media(max-width:760px){.site-header{height:62px}.site-header nav{gap:14px}.header-action{display:none}.page-container{padding-top:27px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:1fr}.preview-card{min-height:300px}}@media(max-width:520px){.brand small{display:none}.tool-grid,.product-row{grid-template-columns:1fr}.tool-card{min-height:145px}.site-header nav{font-size:12px;gap:10px}.page-title{font-size:28px}}

.header-right{display:flex;align-items:center;gap:16px;white-space:nowrap}.help-link{font-size:13px;color:#667085}.help-link:hover{color:#1c2631}.nav-soon{color:#9aa3af;cursor:default}.account-area{position:relative}.account-login{display:inline-block;padding:8px 13px;border:1px solid #dce2ea;border-radius:999px;font-size:13px;font-weight:700}.account-menu{position:relative}.account-trigger{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;padding:3px;border-radius:999px}.account-trigger::-webkit-details-marker{display:none}.account-trigger:focus-visible,.account-login:focus-visible{outline:3px solid #b5ef46;outline-offset:2px}.account-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e7ecf2;border:1px solid #d5dee9;color:#394554;font-size:13px;font-weight:750}.account-name{max-width:105px;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:680}.account-chevron{color:#7a8493}.account-panel{position:absolute;right:0;top:calc(100% + 11px);z-index:20;width:230px;background:#fff;border:1px solid #e2e6ec;border-radius:14px;box-shadow:0 16px 40px rgba(26,35,52,.15);padding:14px;white-space:normal}.account-panel-heading{display:flex;flex-direction:column;gap:4px;padding-bottom:12px;border-bottom:1px solid #edf0f3}.account-panel-heading strong{overflow-wrap:anywhere}.account-panel-heading span,.account-id{font-size:12px;color:#758092}.account-id{display:flex;justify-content:space-between;padding:13px 0}.account-id strong{color:#374151}.account-panel button{border:0;background:#f4f6f9;border-radius:8px;width:100%;padding:9px;color:#293544;text-align:left}.account-panel button:hover{background:#eef2f6}.account-error{font-size:12px;color:#b42318;margin:9px 0 0}.account-error[hidden]{display:none}@media(max-width:1080px){.site-header{gap:12px}.site-header nav{gap:17px}.header-right{gap:10px}.account-name{max-width:75px}}@media(max-width:850px){.nav-soon,.help-link{display:none}.site-header nav{gap:15px}}@media(max-width:540px){.site-header{padding:0 14px}.brand{font-size:15px}.brand-mark{width:28px;height:28px}.account-name,.account-chevron{display:none}.site-header nav{gap:10px}.account-panel{right:-3px}}
.account-panel .account-profile-link{display:flex;align-items:center;justify-content:space-between;padding:10px 9px;margin-bottom:4px;border-radius:8px;color:#293544;font-size:13px;font-weight:700}.account-panel .account-profile-link:hover{background:#f3f7ea}
.primary-button:disabled{opacity:.6;cursor:wait}.result-preview{width:100%;padding:20px}.result-preview img,.result-preview video{display:block;max-width:100%;max-height:65vh;margin:auto;border-radius:12px}.result-preview p{font-size:13px}.result-download{display:inline-block;margin-top:12px;padding:9px 18px;border-radius:9px;background:#c4f94e;font-weight:700}.preview-card:has(.result-preview){display:block}
.field select[name=image_resolution]{width:100%;min-height:42px;border:1px solid #dce2ea;background:#f9fbfe;border-radius:11px;padding:9px 12px;color:#18202b}.resolution-price{display:block;color:#768293;font-size:12px;margin-top:7px}
.tool-result-column{min-width:0}.tool-history{margin-top:16px;padding:20px;background:#fff;border:1px solid #e1e5eb;border-radius:18px}.tool-history-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.tool-history-head h2{margin:0;font-size:18px}.tool-history-head p,.tool-history-status{margin:4px 0 0;color:#718093;font-size:13px}.tool-history-head button,.tool-history-more,.tool-history-item button{padding:7px 11px;border:1px solid #dce2ea;border-radius:9px;background:#fff;color:#354316;font-size:13px;font-weight:700}.tool-history-list{display:grid;gap:10px;margin-top:15px}.tool-history-item{display:flex;align-items:center;gap:13px;min-width:0;padding:9px;border:1px solid #e1e5eb;border-radius:11px}.tool-history-thumb{width:76px;height:60px;flex:none;display:grid;place-items:center;overflow:hidden;border-radius:7px;background:#20262e;color:#c4f94e}.tool-history-thumb img{width:100%;height:100%;object-fit:cover}.tool-history-info{display:grid;gap:4px;min-width:0;flex:1}.tool-history-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.tool-history-info small{color:#718093;font-size:12px}.tool-history-info .tool-history-error{color:#b42318;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-history-more{display:block;margin:15px auto 0}.tool-history-more[hidden]{display:none}@media(max-width:520px){.tool-history-item{flex-wrap:wrap}.tool-history-item button{margin-left:89px}}
