:root{--green:#08ad4e;--green-hover:#078e41;--ink:#171b20;--muted:#89929a;--line:#edf0f2;--paper:#f6f7f8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #85dab1;outline-offset:3px}[hidden]{display:none!important}header{max-width:900px;padding:0 26px;margin:auto;height:76px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e7ebed}.brand{display:flex;gap:9px;align-items:center;text-decoration:none;color:var(--ink);font-size:21px;font-weight:700}.brand-icon{display:inline-block;width:30px;height:30px;background:var(--green);border-radius:8px;color:white;font-size:24px;line-height:28px;text-align:center}.brand small{font-size:11px;font-weight:400;border:1px solid #dce4df;padding:3px 6px;border-radius:5px;color:#78857c}.privacy{font-size:12px;color:var(--muted)}i{display:inline-block;width:6px;height:6px;background:#08ad4e;border-radius:50%;margin-right:6px}.return-page{max-width:720px;padding:30px 24px 36px;margin:auto}.heading{text-align:center;margin:3px 0 26px}.heading h1{font-size:29px;font-weight:700;letter-spacing:.3px;margin:0 0 10px}.heading p{font-size:13px;color:var(--muted);margin:0}.address-entry{background:white;border:1px dashed #cfd6da;border-radius:12px;padding:20px}.address-entry>textarea{display:block;border:0;background:transparent;width:100%;min-height:100px;resize:vertical;padding:0;font-size:15px;line-height:1.7;color:var(--ink);outline:none}.address-entry:focus-within{border-color:#08ad4e}.address-entry>textarea::placeholder{color:#939ba2}.entry-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.history-link{font-size:14px;color:#4193c7;text-decoration:underline;background:transparent;border:0;padding:5px 0}.primary{background:var(--green);color:white;border:0;text-align:center;border-radius:7px;font-weight:600}.primary:hover:not(:disabled){background:var(--green-hover)}.paste-button{padding:13px 20px;font-size:14px;min-width:185px}.panel{background:white;border-radius:12px;padding:22px 20px;margin-top:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:10px}.panel-heading h2{font-size:17px;font-weight:700;margin:0}.free-label{font-size:11px;color:#079747;background:#edf9f1;border-radius:20px;padding:4px 9px}.platforms{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 8px}.platform{position:relative;min-width:0;background:white;border:2px solid transparent;border-radius:8px;padding:12px 2px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#333;font-size:13px;min-height:96px}.platform img{width:44px;height:44px;object-fit:contain;border-radius:9px}.platform.active{border-color:#0eb66c;background:#e8f8ee;color:#123e2b}.platform.active:after{content:'✓';position:absolute;right:-1px;bottom:-1px;background:#0eb66c;color:white;width:17px;height:17px;border-radius:7px 0 5px 0;font-size:11px;line-height:17px}.parsed-panel{padding:20px 24px}.parsed-panel .panel-heading{margin-bottom:4px}.text-button{color:#119650;border:0;background:transparent;padding:4px 0;font-size:12px}.field{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:11px 0;font-size:14px}.field label{width:72px;flex-shrink:0;color:#444}.field input,.field textarea{min-width:0;width:100%;flex:1;border:0;color:var(--ink);font-size:14px;line-height:1.7;padding:4px 6px;background:#fafbfc;border-radius:4px;outline:none}.field input:focus,.field textarea:focus{box-shadow:0 0 0 2px #c3ead3}.field input::placeholder,.field textarea::placeholder{color:#a2aab1}.address-field{border-bottom:0}.field textarea{resize:vertical}.parse-tip{font-size:12px;line-height:1.7;color:#d74747;text-align:center;border-top:1px solid var(--line);padding-top:13px;margin:10px 0 0}.download-area{margin-top:26px;text-align:center}.download-button{display:block;width:100%;padding:17px 18px;font-size:17px;letter-spacing:.4px;border-radius:8px;box-shadow:0 5px 14px #08ad4e16}.download-area p{font-size:12px;color:var(--muted);margin-top:13px}.usage-note{font-size:11px;color:#9aa2a9;line-height:1.8;text-align:center;margin:24px 4px 0}.history-item{display:block;width:100%;text-align:left;background:#f6f9f7;border:0;border-radius:7px;padding:12px;margin-top:8px;line-height:1.7;color:#314c3c;font-size:13px;word-break:break-all}.history-note{font-size:11px;color:var(--muted);margin-bottom:0}#history-count{font-size:12px;color:var(--muted);font-weight:400;margin-left:5px}footer{max-width:672px;margin:auto;padding:20px 0 28px;border-top:1px solid #e7ebed;display:flex;justify-content:space-between;color:#9aa2a9;font-size:11px}.render-host{position:fixed;left:-10000px;top:0;width:375px;height:812px;pointer-events:none}iframe{width:375px;height:812px;display:block;border:0;background:white}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.result-panel{padding:22px 20px 20px}.result-thumb{display:block;width:100%;max-width:300px;margin:4px auto 0;padding:0;border:0;background:#eef1f3;border-radius:10px;overflow:hidden;line-height:0;cursor:zoom-in}.result-thumb img{display:block;width:100%;height:auto}.result-note{font-size:12px;color:var(--muted);text-align:center;margin:12px 0 0}.viewer{position:fixed;inset:0;background:rgba(12,16,20,.9);display:flex;align-items:center;justify-content:center;padding:20px;z-index:200;cursor:zoom-out}.viewer img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.45)}.viewer-close{position:absolute;top:14px;right:16px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:22px;line-height:36px;text-align:center;cursor:pointer}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#163e2b;color:white;padding:12px 20px;border-radius:9px;max-width:90vw;font-size:13px;line-height:1.6;opacity:0;pointer-events:none;transition:opacity .2s;z-index:100}#toast.show{opacity:1}@media(max-width:560px){header{height:62px;padding:0 18px}.brand{font-size:18px}.privacy{font-size:10px}.return-page{padding:24px 14px 28px}.heading h1{font-size:24px}.heading p{font-size:12px}.address-entry{padding:16px}.address-entry>textarea{font-size:14px;min-height:105px}.paste-button{min-width:165px;font-size:14px;padding:12px 14px}.panel{padding:20px 12px}.panel-heading{margin-left:5px;margin-right:5px}.panel-heading h2{font-size:16px}.platforms{gap:10px 3px}.platform{padding:11px 1px 9px;font-size:12px;gap:8px;min-height:88px}.platform img{width:39px;height:39px}.parsed-panel{padding:20px 16px}.field{gap:8px}.field label{width:64px}.download-button{font-size:16px}footer{margin:0 18px}.brand small{font-size:10px}}
.head-right{display:flex;align-items:center;gap:14px}.user-btn{padding:7px 13px;border:1px solid var(--green);color:var(--green);background:#fff;border-radius:7px;font-size:13px;line-height:1.4}.user-btn:hover{background:#eefbf3}.user-btn.ghost{border-color:#dce4df;color:#78857c}.user-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#314c3c;font-weight:600;max-width:150px}.user-chip .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vip-tag{font-style:normal;font-size:10px;font-weight:700;color:#fff;background:linear-gradient(135deg,#f0b429,#e08a00);border-radius:20px;padding:2px 7px}.quota-note{font-size:12px;color:var(--muted);margin:12px 0 0;line-height:1.6}.quota-note.is-vip{color:#079747;font-weight:600}.modal{position:fixed;inset:0;background:rgba(12,16,20,.55);display:flex;align-items:center;justify-content:center;padding:20px;z-index:300}.modal-card{position:relative;width:100%;max-width:380px;background:#fff;border-radius:14px;padding:26px 24px 24px;box-shadow:0 20px 50px rgba(0,0,0,.25);max-height:90vh;overflow:auto}.modal-card h2{font-size:19px;margin:0 0 16px;text-align:center}.modal-close{position:absolute;top:9px;right:11px;border:0;background:transparent;font-size:24px;line-height:1;color:#9aa2a9;padding:4px}.auth-tabs{display:flex;background:#f2f4f5;border-radius:8px;padding:4px;margin-bottom:16px}.auth-tabs button{flex:1;border:0;background:transparent;padding:9px 0;border-radius:6px;font-size:14px;color:#78857c}.auth-tabs button.active{background:#fff;color:var(--green);font-weight:600;box-shadow:0 1px 4px rgba(0,0,0,.08)}.modal-field{display:block;margin-bottom:12px;font-size:13px;color:#444}.modal-field span{display:block;margin-bottom:6px}.modal-field input{width:100%;padding:11px 12px;border:1px solid #dfe5e8;border-radius:7px;font-size:14px;outline:none;background:#fff}.modal-field input:focus{border-color:var(--green);box-shadow:0 0 0 2px #c3ead3}.form-error{font-size:12px;color:#d74747;margin:0 0 10px;line-height:1.6}.modal-submit{width:100%;padding:13px;font-size:15px;border-radius:8px;margin-top:4px}.service-card{max-width:330px;text-align:center}.service-sub{font-size:13px;color:var(--muted);margin:-6px 0 16px}#service-qr{display:block;width:210px;height:210px;object-fit:contain;margin:0 auto;border:1px solid var(--line);border-radius:10px;background:#fff}.service-tip{font-size:12px;color:var(--muted);margin:14px 0 0;line-height:1.7}.service-fab{position:fixed;right:18px;bottom:22px;z-index:90;display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #e2e8eb;border-radius:26px;padding:8px 14px 8px 8px;font-size:13px;color:#314c3c;box-shadow:0 6px 18px rgba(0,0,0,.12)}.service-fab img{width:26px;height:26px;border-radius:50%;object-fit:cover}@media(max-width:560px){.privacy{display:none}.head-right{gap:8px}.user-btn{font-size:12px;padding:6px 10px}.user-chip{max-width:96px;font-size:12px}.service-fab{bottom:16px;right:14px;font-size:12px}.modal-card{padding:22px 18px 20px}}
/* ===== UI 视觉优化 ===== */
:root{--green-light:#12c46d;--green-dark:#078e41;--shadow-card:0 8px 28px rgba(18,48,32,.07)}
html{scroll-behavior:smooth}
body{background:radial-gradient(900px 460px at 50% -180px,#e6f8ee 0%,rgba(230,248,238,0) 72%),var(--paper);-webkit-font-smoothing:antialiased}
header{position:sticky;top:0;z-index:80;max-width:none;height:68px;padding:0 max(24px,calc((100vw - 720px)/2));background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(226,233,229,.9)}
.brand{gap:10px;font-size:20px;letter-spacing:.2px}
.brand-icon{width:32px;height:32px;line-height:30px;border-radius:10px;background:linear-gradient(135deg,var(--green-light),var(--green-dark));box-shadow:0 4px 10px rgba(8,173,78,.3)}
.brand small{background:#f7faf8;border-color:#e2e9e4}
.privacy{display:inline-flex;align-items:center;background:#f1f8f4;border:1px solid #e2f1e8;color:#5d7a68;padding:5px 10px;border-radius:999px}
.privacy i{box-shadow:0 0 0 3px rgba(8,173,78,.14)}
.return-page{padding-top:34px}
.heading{margin:6px 0 28px}
.heading h1{font-size:30px}
@supports(-webkit-background-clip:text){.heading h1{background:linear-gradient(118deg,#121b16 8%,#0b8a45 92%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}}
.heading p{color:#7f888f}
.address-entry{border:1.5px dashed #d3ded7;border-radius:16px;padding:22px 22px 18px;background:#fff;box-shadow:0 4px 18px rgba(18,48,32,.04);transition:border-color .2s,box-shadow .2s}
.address-entry:focus-within{border-color:var(--green);box-shadow:0 0 0 4px rgba(8,173,78,.1)}
.entry-actions{margin-top:16px}
.primary{background:linear-gradient(135deg,var(--green-light),var(--green));box-shadow:0 6px 16px rgba(8,173,78,.22);transition:transform .18s,box-shadow .18s,background .18s}
.primary:hover:not(:disabled){background:linear-gradient(135deg,#14d175,var(--green));transform:translateY(-1px);box-shadow:0 10px 22px rgba(8,173,78,.3)}
.primary:active:not(:disabled){transform:none;box-shadow:0 4px 12px rgba(8,173,78,.24)}
.paste-button{border-radius:10px}
.panel{border:1px solid rgba(230,236,233,.9);border-radius:16px;box-shadow:var(--shadow-card)}
.platform{border-radius:12px;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s}
.platform:hover:not(.active){background:#f6faf7;transform:translateY(-1px)}
.platform.active{background:linear-gradient(180deg,#effcf5,#e3f8ec);box-shadow:0 6px 16px rgba(8,173,78,.14)}
.platform.active:after{right:6px;bottom:6px;width:18px;height:18px;line-height:18px;border-radius:50%;font-size:10px}
.free-label{padding:4px 10px}
.field input,.field textarea{background:#f9fbfa;transition:background .16s,box-shadow .16s}
.field input:focus,.field textarea:focus{background:#fff}
.download-area{margin-top:30px}
.download-button{padding:18px;border-radius:12px;background:linear-gradient(135deg,var(--green-light) 0%,var(--green) 55%,#069a44 100%);box-shadow:0 12px 26px rgba(8,173,78,.3)}
.download-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 16px 34px rgba(8,173,78,.36)}
.download-area .quota-note{display:inline-block;margin:16px 0 0;padding:6px 14px;border-radius:999px;background:#fff;border:1px solid #e6efea;color:#6d7d74;font-size:12px}
.download-area .quota-note.is-vip{background:linear-gradient(135deg,#fff8e6,#fff1cf);border-color:#f5dfa8;color:#a06a00;font-weight:600}
.result-thumb{max-width:320px;border-radius:14px;box-shadow:0 10px 30px rgba(18,48,32,.14);transition:transform .2s,box-shadow .2s}
.result-thumb:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(18,48,32,.2)}
.result-panel{background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%)}
.free-label{background:linear-gradient(135deg,#eafaf0,#dcf6e6);color:#079747}
.viewer{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.viewer img{border-radius:10px}
#toast{border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.22);transform:translate(-50%,10px);transition:opacity .22s,transform .22s}
#toast.show{transform:translate(-50%,0)}
.head-right{gap:12px}
.user-btn{border-radius:999px;padding:7px 14px;font-weight:600;transition:background .18s,box-shadow .18s}
.user-chip{background:#f2f8f4;border:1px solid #e2efe7;border-radius:999px;padding:5px 10px;max-width:170px}
.vip-tag{box-shadow:0 2px 6px rgba(224,138,0,.28)}
.modal{background:rgba(10,18,14,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.modal-card{border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.28);animation:modalIn .22s ease-out}
@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.auth-tabs{background:#f1f4f2}
.auth-tabs button.active{color:var(--green-dark)}
.modal-field input:focus{box-shadow:0 0 0 4px rgba(8,173,78,.12)}
.modal-submit{border-radius:10px;background:linear-gradient(135deg,var(--green-light),var(--green));box-shadow:0 8px 18px rgba(8,173,78,.26)}
.service-fab{padding:8px 16px 8px 8px;box-shadow:0 10px 26px rgba(18,48,32,.16);transition:transform .18s,box-shadow .18s}
.service-fab:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(18,48,32,.22)}
.service-fab img{width:30px;height:30px;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.history-item{transition:background .16s}
.history-item:hover{background:#eef7f1}
.usage-note{background:#f9fbfa;border:1px solid #eef2f0;border-radius:10px;padding:10px 14px}
@media(max-width:560px){header{height:60px;padding:0 16px}.return-page{padding-top:22px}.heading h1{font-size:24px}.address-entry{padding:16px;border-radius:14px}.panel{border-radius:14px}.download-area{margin-top:24px}.download-button{padding:16px;border-radius:11px}.user-chip{max-width:112px}.modal-card{border-radius:16px}}
