:root{--purple:#7952d5;--purple-dark:#6540bd;--ink:#271c3f;--muted:#837996;--line:#eae5f2;--lavender:#f1ebff;--ground:#faf9fc;--white:#fff;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--ground);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column;font-size:14px;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #a889e7;outline-offset:5px}button,.dropzone,a{transition:background .18s,color .18s,box-shadow .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.site-header{height:82px;padding:0 3.5%;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#ffffffb0;position:relative;z-index:1}.brand{display:flex;align-items:center;gap:14px}.brand strong{font-size:25px;font-weight:780;letter-spacing:-1px;color:#211633}.brand-mark{position:relative;width:34px;height:35px;display:block}.brand-mark i{position:absolute;background:#a485e8;width:25px;height:28px;border-radius:4px;top:1px;left:8px}.brand-mark i:last-child{background:linear-gradient(135deg,#a27bec,#7845d7);border:1px solid #fff;top:6px;left:0;box-shadow:5px 3px 0 #653dc4}.brand-divider{width:1px;height:19px;background:#d2c6e6;margin:0 2px}.brand-owner{font-size:14px;color:#726082;letter-spacing:2px}.library-pill{background:#f0eaff;color:#65508b;padding:9px 16px;border-radius:30px;font-size:12px;display:flex;gap:8px;align-items:center}.status-dot,.tiny-dot{height:7px;width:7px;background:var(--purple);border-radius:50%;display:inline-block}.tiny-dot.gray{background:#aaa5b2}main{flex:1;position:relative}.welcome{position:relative;padding:43px 24px 30px;overflow:hidden;isolation:isolate}.welcome:before{content:"";position:absolute;z-index:-1;right:-170px;top:-260px;width:640px;height:800px;border:100px solid #f2edfb;border-radius:48%;transform:rotate(37deg);opacity:.55;pointer-events:none}.hero{text-align:center}.eyebrow{letter-spacing:5px;font-size:11px;color:#8b72b1;margin:0 0 17px;font-weight:600}.hero h1{font-size:clamp(28px,3.2vw,46px);font-weight:750;line-height:1.45;letter-spacing:-1.5px;margin:0}.hero h1 span{color:var(--purple)}.subtitle{color:var(--muted);font-size:16px;line-height:1.7;margin:12px 0 0;letter-spacing:.6px}.entry-area{position:relative;margin:29px auto 26px;max-width:940px}.dropzone{max-width:584px;margin:0 auto;border:1.5px dashed #c6b2ed;border-radius:15px;background:linear-gradient(140deg,#ffffffc9,#f6f2ffdf);padding:26px 28px 20px;text-align:center;cursor:pointer}.dropzone:hover{border-color:var(--purple);box-shadow:0 8px 32px #794ed50a}.clipboard-emblem{position:relative;display:inline-flex;align-items:center;justify-content:center;color:var(--purple-dark);width:52px;height:48px}.clipboard-emblem>.icon{width:40px;height:40px;stroke-width:1.4}.clipboard-emblem>span{position:absolute;right:1px;bottom:1px;background:#e6dafc;border:3px solid #f9f6ff;border-radius:50%;width:23px;height:23px;font-size:16px;line-height:17px}.dropzone h2{font-size:20px;margin:13px 0 15px;font-weight:650}.shortcuts{display:flex;align-items:center;justify-content:center;gap:12px}.shortcuts>span{color:#a096b0;font-size:12px}kbd{font:500 16px inherit;font-family:inherit;font-size:16px;background:#fff;border:1px solid #dfd4f2;box-shadow:0 2px 0 #e9e1f6;padding:5px 13px;border-radius:6px;min-width:61px;color:#654e8d}.drop-hint{color:#9387a7;font-size:12px;margin:13px 0 17px}.button{min-height:43px;padding:10px 22px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:13px;font-weight:550;line-height:1.5}.primary{background:linear-gradient(110deg,#9165e7,#7548d3);color:#fff;box-shadow:0 4px 12px #7345cd20}.primary:hover{background:linear-gradient(110deg,#8255d9,#693bc5);box-shadow:0 5px 15px #7345cd33}.primary .icon{width:17px;height:17px}.choose-visual{min-width:200px}.auto-note{margin:16px 0 0;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#9387a6}.auto-note .icon{width:14px;height:14px}.margin-note{position:absolute;left:0;top:111px;transform:rotate(-10deg);color:#9278b4;line-height:1.9;letter-spacing:3px;font-size:15px;font-family:"Kaiti SC","STKaiti",serif}.margin-note span{display:block;width:115px;height:9px;border-top:1px solid #b394e8;border-radius:50%;margin-top:6px}.example-section{max-width:870px;padding:18px 23px 15px;margin:0 auto;background:#ffffffbd;border:1px solid var(--line);border-radius:12px}.example-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.example-heading h2{font-size:13px;margin:0;font-weight:650}.example-heading>span{color:#a196b0;font-size:11px}.example-content{display:grid;grid-template-columns:1fr 42px 1fr 1.05fr;gap:15px;align-items:center}.example-content figure{margin:0}.example-content img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;border:1px solid var(--line);border-radius:5px;background:#fff}.example-content figcaption{display:flex;gap:6px;align-items:center;color:#93889f;font-size:10px;margin-top:8px}.example-content .tiny-dot{width:5px;height:5px}.example-arrow{color:#b69edb;margin:auto;width:26px}.example-action{padding-left:18px}.example-action p{font-size:14px;line-height:1.8;color:#7a688f;margin:0 0 12px}.text-button{background:transparent;color:var(--purple);padding:7px 0;display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.text-button:hover{color:#4c298b}.text-button .icon{width:16px;height:16px}.entry-footnote{text-align:center;color:#a399b0;font-size:11px;margin:20px 0 0}.site-footer{padding:20px 3.5%;display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:10px;letter-spacing:1.6px;color:#a397b6;border-top:1px solid #f0ebf6}.footer-tagline{font-size:9px;letter-spacing:1.2px;margin-left:7px}.site-footer b{font-weight:400;margin:0 12px;color:#b7a2d2}.workspace{padding:38px 3.5% 70px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;max-width:1720px;margin:0 auto}.source-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 17px;align-self:start}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.panel-heading h2{font-size:15px;margin:0}.panel-heading>span{font-size:10px;letter-spacing:1px;color:#b3a2c8}.source-image-wrap{background:#faf9fc;border:1px solid var(--line);border-radius:6px;padding:5px;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;overflow:hidden}.source-image-wrap img{width:100%;height:100%;object-fit:contain}.source-name{font-size:10px;color:#a496b5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:10px 0 19px}.secondary{background:#f2edf9;color:#71578f;border:1px solid #e8dff5}.secondary:hover{background:#e9defb}.source-panel>.button{width:100%;font-size:12px;min-height:40px}.source-panel>.button .icon{width:16px}.source-tip{font-size:11px;text-align:center;color:#a291b6;margin:12px 0 0}.source-divider{height:1px;background:var(--line);margin:24px 0 18px}.source-help{font-size:10px;line-height:1.9;display:flex;gap:7px;color:#a092b2;margin:0}.source-help .icon{width:14px;height:14px;margin-top:3px}.quiet-button{padding:0;background:transparent;color:#917da9;font-size:11px;margin-top:27px}.quiet-button:hover{color:var(--purple)}.results-heading{display:flex;align-items:center;gap:16px;min-height:27px}.results-heading h2{font-size:22px;letter-spacing:-.5px;margin:0;flex-shrink:0;font-weight:680}.heading-rule{height:1px;background:#e6dff0;flex:1}.results-heading p{font-size:11px;color:#9989ad;white-space:nowrap;margin:0}.results-subtitle{font-size:12px;color:#9a8caa;margin:10px 0 24px}.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 18px}.result-card{min-width:0}.card-button{display:block;padding:0;text-align:left;width:100%;background:transparent;color:inherit}.card-image{position:relative;width:100%;aspect-ratio:16/9;background:white;border:1px solid #e7e0ef;border-radius:7px;overflow:hidden;transition:box-shadow .2s,border-color .2s}.card-image img{display:block;width:100%;height:100%;object-fit:contain}.result-card:first-child .card-image{border-color:#a381e6}.card-button:hover .card-image{border-color:var(--purple);box-shadow:0 6px 22px #47277112}.card-button:hover .view-label{color:var(--purple)}.priority-badge{position:absolute;right:7px;top:7px;color:#fff;background:#7952d5eF;border:1px solid #aa89e8;border-radius:15px;font-size:9px;padding:3px 8px;box-shadow:0 2px 6px #26103e12}.card-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:11px 0 5px}.card-title{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view-label{display:flex;align-items:center;gap:5px;font-size:10px;color:#9a86b3;flex-shrink:0}.view-label .icon{width:13px;height:13px}.card-description{font-size:10px;color:#a295b0;letter-spacing:.3px}.results-footnote{font-size:10px;color:#a697b3;line-height:1.8;margin-top:31px}.search-status{display:flex;align-items:center;gap:10px;color:var(--purple);font-size:13px;margin:30px 0}.spinner{width:18px;height:18px;border:2px solid #e2d5f4;border-top-color:var(--purple);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{aspect-ratio:16/10;border-radius:8px;background:linear-gradient(110deg,#f0ebf5 25%,#f7f4fb 40%,#f0ebf5 55%);background-size:200% 100%;animation:shimmer 1.8s infinite}@keyframes shimmer{to{background-position:-200% 0}}.result-hint{background:#f1ecf9;border-radius:8px;color:#79648e;padding:13px 16px;font-size:12px;line-height:1.7;margin-bottom:20px}.result-hint.weak{background:#faf3e9;color:#8a6a3f}.error-panel{text-align:center;padding:75px 20px;background:#fff;border:1px solid var(--line);border-radius:10px}.error-panel>.icon{width:32px;height:32px;color:#a28ab9}.error-panel h2{font-size:18px;margin-top:18px}.error-panel p{color:#93849f;font-size:13px;line-height:1.8;max-width:400px;margin:0 auto 25px}.notice{position:fixed;z-index:20;bottom:35px;left:50%;transform:translateX(-50%);max-width:min(520px,90vw);padding:15px 24px;background:#362346;color:white;border-radius:10px;font-size:13px;line-height:1.7;box-shadow:0 8px 30px #23103425}.drag-overlay{position:fixed;inset:16px;border:2px dashed var(--purple);border-radius:20px;background:#f3edfff2;z-index:50;display:flex;flex-direction:column;gap:25px;align-items:center;justify-content:center;pointer-events:none;color:var(--purple)}.drag-overlay .icon{width:60px;height:60px;stroke-width:1}.drag-overlay strong{font-size:24px}.compare-dialog{width:min(1280px,94vw);max-width:94vw;max-height:92dvh;border:1px solid #e2d6f1;border-radius:14px;padding:25px 28px;color:var(--ink);box-shadow:0 20px 100px #24133635;overflow:auto}.compare-dialog::backdrop{background:#271c3f75;backdrop-filter:blur(5px)}body.modal-open{overflow:hidden}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.dialog-header h2{font-size:18px;margin:0}.dialog-header>span{font-size:12px;color:#977caf;font-variant-numeric:tabular-nums}.icon-button{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:transparent;border-radius:6px;color:#9074ad}.icon-button:hover{background:var(--lavender)}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.compare-grid figure{margin:0;background:#fcfbfe;border:1px solid var(--line);border-radius:8px;padding:15px;min-width:0}.compare-grid figcaption{font-size:12px;font-weight:600;margin:0 0 14px;display:flex;align-items:center;justify-content:space-between}.compare-grid figcaption span{font-size:9px;letter-spacing:1.5px;color:#b5a5c6;font-weight:400}.compare-image{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #ede8f3}.compare-image img{width:100%;height:100%;object-fit:contain}.compare-grid figure>p{font-size:11px;color:#9c87b1;margin:12px 0 0;overflow-wrap:anywhere}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:25px}.dialog-footer>span{font-size:10px;color:#a493b3}.dialog-footer>div{display:flex;gap:12px}.dialog-footer .button{font-size:12px;min-height:39px}.noscript{text-align:center;padding:20px}.noscript a{color:var(--purple);text-decoration:underline}
@media(min-width:1600px){.workspace{grid-template-columns:300px minmax(0,1fr)}.card-title{font-size:14px}.view-label{font-size:12px}.welcome{padding-top:55px}.entry-area{margin-top:35px}}
@media(max-width:1100px){.workspace{grid-template-columns:220px minmax(0,1fr);gap:22px;padding-inline:25px}.results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.results-heading{flex-wrap:wrap;gap:8px}.heading-rule{display:none}.results-heading p{width:100%}.margin-note{display:none}.hero h1{font-size:36px}.source-help{font-size:10px}}
@media(max-width:700px){.site-header{height:68px;padding:0 20px}.brand{gap:9px}.brand strong{font-size:21px}.brand-owner{font-size:11px;letter-spacing:0}.brand-divider{margin:0}.brand-mark{transform:scale(.85);width:30px}.library-pill{font-size:10px;padding:7px 10px}.welcome{padding:35px 20px 25px}.eyebrow{font-size:9px;letter-spacing:3px}.hero h1{font-size:30px;letter-spacing:-.8px}.subtitle{font-size:13px;padding:0 8px}.entry-area{margin:25px auto}.dropzone{padding:24px 16px 20px}.dropzone h2{font-size:19px}.auto-note{font-size:10px}.example-section{padding:16px}.example-heading>span{display:none}.example-content{grid-template-columns:1fr 20px 1fr;gap:10px}.example-arrow{width:20px}.example-action{grid-column:1/-1;text-align:center;padding:0}.example-action p{display:none}.example-action .text-button{font-size:12px}.entry-footnote{font-size:10px;line-height:1.8}.site-footer{font-size:8px;letter-spacing:1px;padding:20px}.footer-tagline{display:none}.site-footer b{margin:0 5px}.workspace{padding:23px 20px 40px;grid-template-columns:1fr;gap:25px}.source-panel{display:grid;grid-template-columns:130px 1fr;gap:8px 15px;padding:14px}.panel-heading{grid-column:1/-1;margin-bottom:4px}.source-image-wrap{grid-row:2/5}.source-name{margin:0;align-self:center}.source-panel>.button{font-size:11px;min-height:33px;padding:5px 10px}.source-tip{font-size:10px;margin:0}.source-divider,.source-help{display:none}.quiet-button{grid-column:1/-1;justify-self:start;margin-top:5px;font-size:10px}.results-heading h2{font-size:21px}.results-heading p{font-size:10px}.results-subtitle{font-size:11px;margin-bottom:20px}.results-grid{gap:20px 12px}.card-title{font-size:11px}.view-label{font-size:0}.view-label .icon{width:13px}.card-description{font-size:9px}.priority-badge{font-size:8px;padding:2px 5px;right:4px;top:4px}.card-meta{margin-top:8px}.compare-dialog{padding:17px;max-height:94dvh}.compare-grid{grid-template-columns:1fr;gap:13px}.compare-grid figure{padding:11px}.compare-grid figcaption{font-size:11px;margin-bottom:10px}.dialog-header{margin-bottom:15px}.dialog-header h2{font-size:16px}.dialog-footer{justify-content:center;margin-top:17px}.dialog-footer>span{display:none}.dialog-footer .button{padding:8px 22px}.compare-grid figure>p{margin-top:8px}.error-panel{padding:40px 15px}}
@media(max-width:380px){.brand-owner,.brand-divider{display:none}.results-grid{grid-template-columns:1fr}.hero h1{font-size:27px}.auto-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep intrinsic HTML dimensions from stretching the entry examples. */
.example-content img{height:auto}
/* Secondary copy stays readable on the pale purple surfaces. */
.subtitle{color:#7e708f}.drop-hint,.auto-note{color:#847393}.source-tip,.source-help{color:#8b799c}.results-subtitle{color:#88769b}.results-heading p,.card-description,.results-footnote{color:#8d7a9e}

/* Product name and understated professional-expression tagline. */
.header-tagline{color:#827092;font-size:13px;letter-spacing:.8px;line-height:1.6}
@media(max-width:700px){.site-header{height:auto;min-height:82px;flex-wrap:wrap;gap:9px;padding-top:14px;padding-bottom:13px}.header-tagline{width:100%;text-align:right;font-size:11px;letter-spacing:.5px}.brand-owner,.brand-divider{display:inline-block}}

/* ---- 原稿框选 ---- */
.source-image-wrap{position:relative}
.crop-layer{position:absolute;inset:5px;cursor:crosshair;touch-action:none}
.crop-layer.armed{background:rgba(39,28,63,.06)}
.crop-box{position:absolute;border:1.5px solid var(--purple);background:rgba(121,82,213,.16);
  box-shadow:0 0 0 9999px rgba(39,28,63,.28);pointer-events:none;border-radius:2px}
.crop-panel{margin:9px 0 12px}
.crop-lead{display:flex;gap:6px;align-items:flex-start;margin:0 0 8px;font-size:12px;color:var(--muted);line-height:1.5}
.crop-lead .icon{flex:none;width:14px;height:14px;margin-top:1px}
.crop-lead b{color:var(--ink);font-weight:600}
.crop-presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}
.chip{border:1px solid var(--line);background:var(--white);color:var(--muted);
  border-radius:999px;padding:4px 11px;font-size:12px;cursor:pointer;font-family:inherit}
.chip:hover{border-color:var(--purple);color:var(--purple)}
.chip[aria-pressed=true]{background:var(--lavender);border-color:var(--purple);color:var(--purple-dark);font-weight:600}
.chip:focus-visible,.crop-layer:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.crop-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.crop-actions .button{flex:1;min-width:150px;justify-content:center}
.crop-actions .button:disabled{opacity:.45;cursor:not-allowed}

/* ---- 找相似与浏览路径 ---- */
.card-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.similar-button,.card-meta .view-label{background:transparent;border:0;padding:0;cursor:pointer;font-family:inherit}
.similar-button{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--purple)}
.similar-button .icon{width:14px;height:14px}
.similar-button:hover{color:var(--purple-dark)}
.card-meta .view-label:hover{color:var(--purple)}
.similar-button:focus-visible,.card-meta .view-label:focus-visible,.trail-step:focus-visible{outline:2px solid var(--purple);outline-offset:2px;border-radius:3px}
.trail{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:12px 0 0;font-size:12px;color:var(--muted)}
.trail-step{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 4px;border:1px solid var(--line);border-radius:999px;background:var(--white);color:var(--ink);font-family:inherit;font-size:12px;line-height:1.4}
.trail-step:first-child{padding-left:10px}
button.trail-step{cursor:pointer;color:var(--purple-dark)}
button.trail-step:hover{border-color:var(--purple)}
.trail-step[aria-current]{background:var(--lavender);border-color:#cdb8f2;font-weight:600}
.trail-step img{width:32px;height:18px;object-fit:cover;border-radius:3px;border:1px solid var(--line)}
.trail-sep{color:#b9accb}
@media (max-width:560px){.similar-button{font-size:11px}.card-actions{gap:8px}}
@media (prefers-reduced-motion:reduce){.trail-step{transition:none}}
