@charset "UTF-8";
:root{--blue:#367ff7;--blue-hover:#246ae1;--blue-soft:#edf4ff;--ink:#202124;--muted:#767b86;--line:#e7e9ee;--surface:#f6f7f9;--white:#fff;--sans:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--white);color:var(--ink);font:14px/1.6 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.42}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8bb7ff;outline-offset:3px}button{transition:background .16s,border-color .16s,color .16s,box-shadow .16s}a{color:inherit;text-decoration:none}input{accent-color:var(--blue)}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body[data-has-photo="false"] .editor-only,body[data-has-photo="true"] .landing-only{display:none!important}
.site-header{height:72px;padding:0 32px;display:flex;align-items:center;gap:42px;border-bottom:1px solid #e9ebef;background:rgba(255,255,255,.97);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand strong{font-size:23px;letter-spacing:-.7px;line-height:1;font-weight:700}.brand-mark{height:28px;width:28px;display:block;position:relative;flex:none;background:#367ff7;border-radius:7px;overflow:hidden}.brand-mark i{position:absolute;width:8px;height:19px;background:#fff;left:6px;top:4px;transform:rotate(-9deg);clip-path:polygon(0 0,100% 3%,85% 22%,100% 42%,85% 63%,100% 81%,88% 100%,0 97%)}.brand-mark i+i{left:16px;top:6px;height:17px;width:6px;background:#cce0ff;transform:rotate(12deg)}.brand-divider{height:19px;width:1px;background:#dcdfe6;margin:0 2px}.brand-product{font-size:16px;font-weight:600;color:#30343c}.nav-links{display:flex;align-items:center;gap:32px;font-size:14px;color:#5b606b}.nav-links a{padding:24px 0;white-space:nowrap}.nav-links a:hover{color:var(--blue)}.header-actions{display:flex;align-items:center;gap:18px;margin-left:auto;white-space:nowrap}.local-badge{background:#f3f5f8;color:#8a909c;border-radius:4px;font-size:10px;padding:3px 7px}.quiet{border:0;background:none;padding:4px 0;color:#7a808c;font-size:12px}.quiet:hover{color:var(--blue)}.header-actions>.quiet{font-size:13px;color:#606673}.button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:12px 20px;font-size:14px;font-weight:500;line-height:1.6}.primary{color:white;background:var(--blue);border-color:var(--blue)}.primary:hover:not(:disabled){background:var(--blue-hover);border-color:var(--blue-hover)}.secondary{color:#454b57;background:#fff;border-color:#dce0e7}.secondary:hover:not(:disabled){background:#f7faff;border-color:#afc9f6;color:#246ae1}.header-upload{padding:8px 14px;font-size:12px;border-radius:7px}.header-upload .icon{width:16px;height:16px}
main{max-width:1224px;margin:auto;padding:0 32px}.page-intro{text-align:center;padding:46px 0 28px}.intro-kicker{display:none}.page-intro h1{font-size:46px;font-weight:700;line-height:1.3;letter-spacing:-1px;margin:0}.intro-copy{color:#81858d;font-size:16px;line-height:1.7;margin:13px 0 21px}.feature-pills{display:flex;align-items:center;justify-content:center;gap:7px}.feature-pills span{font-size:11px;color:#7e8490;padding:4px 12px;background:#f4f5f7;border-radius:20px}.feature-pills span:first-child{background:#edf4ff;color:#4b85df}.upload-landing{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.38fr);gap:28px;align-items:stretch}.example-card{position:relative;min-height:394px;overflow:hidden;border-radius:22px;background:#e8edf2;border:1px solid #e4e9ef}.landing-preview{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;display:block}.example-badge{position:absolute;top:17px;left:17px;z-index:1;background:#fffffff0;backdrop-filter:blur(4px);border:1px solid #ffffff8c;border-radius:20px;font-size:11px;color:#3f4d5d;padding:4px 11px}.original-thumbnail{position:absolute;bottom:66px;left:18px;width:108px;height:77px;border:3px solid #fff;border-radius:11px;overflow:hidden;box-shadow:0 3px 13px #263a4c26;background:white}.original-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.original-thumbnail span{position:absolute;left:0;bottom:0;right:0;padding:1px 0;text-align:center;font-size:9px;color:white;background:#20293694}.example-caption{position:absolute;bottom:0;left:0;right:0;min-height:58px;background:#ffffffed;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px}.example-caption strong{font-size:13px;font-weight:500;color:#3d4654}.example-caption>span{font-size:9px;color:#8d949e}.upload-card{border:1.5px dashed #aeb4bf;border-radius:22px;min-height:394px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:26px 22px;background:#fff}.upload-symbol{height:42px;width:42px;display:grid;place-items:center;color:#8fb5f5;background:#f3f7ff;border-radius:11px;margin-bottom:10px}.upload-symbol .icon{width:23px;height:23px}.upload-card h2{font-size:20px;font-weight:600;margin:0 0 5px;letter-spacing:.1px}.upload-card>p{font-size:12px;color:#969aa3;margin:0 0 23px}.upload-primary{font-size:17px;width:252px;height:54px;border-radius:11px;font-weight:500}.upload-primary .icon{width:23px;height:23px}.upload-drag-hint{font-size:12px;color:#959aa4;margin-top:11px}.upload-formats{font-size:11px;color:#a2a6ae;margin-top:10px}.upload-formats span{margin:0 6px;color:#c1c4ca}.try-example{display:flex;align-items:center;gap:12px;margin-top:24px}.try-label{font-size:11px;color:#9ca1aa}.sample-button{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e4e8ee;padding:4px 9px 4px 4px;border-radius:7px;font-size:11px;color:#6d7684}.sample-button:hover{border-color:#9fbfec;color:#367ff7;background:#fafcff}.sample-button img{width:34px;height:26px;object-fit:cover;border-radius:4px}.sample-button .icon{width:13px;height:13px}.upload-privacy{font-size:9px;color:#b0b4bc;margin-top:18px}
.template-examples{margin-top:58px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-heading h2,.how-it-works h2{font-size:25px;line-height:1.4;margin:0;font-weight:600;letter-spacing:-.3px}.section-heading p{font-size:13px;color:#8a8f99;margin:7px 0 0}.section-heading>span{font-size:11px;color:#9298a3;padding-bottom:3px}.example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.example-tile{display:block;text-align:left;border:1px solid #e5e8ee;background:#fff;border-radius:15px;overflow:hidden;padding:0;min-width:0}.example-tile:hover{border-color:#b4cef8;box-shadow:0 6px 22px #2764b20a}.example-tile-image{aspect-ratio:1.5;background:#eef1f5;overflow:hidden}.example-tile canvas{display:block;width:100%;height:100%;object-fit:cover}.example-tile-caption{padding:16px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.example-tile strong{font-size:15px;font-weight:500;display:block;color:#343b47}.example-tile-caption div>span{display:block;font-size:11px;color:#9298a2;margin-top:4px}.example-tile-caption>.icon{width:17px;height:17px;color:#a5adba}.how-it-works{padding:62px 0 46px;text-align:center}.how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;margin-top:29px}.how-grid article{position:relative;padding:0 15px}.how-grid article>span{display:grid;place-items:center;width:36px;height:36px;margin:0 auto 13px;border-radius:50%;background:#f0f5ff;color:#4c86e7;font-size:12px;font-weight:500}.how-grid h3{font-size:14px;font-weight:500;margin:0 0 6px}.how-grid p{font-size:12px;line-height:1.9;color:#969ca6;margin:0}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px;color:#a5abb5;padding:22px 0 25px;border-top:1px solid #f0f1f4}
body[data-has-photo="true"]{background:#f5f6f8}body[data-has-photo="true"] main{max-width:1620px;padding:20px 28px 0}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.workspace-heading h1{font-size:22px;font-weight:600;margin:0;color:#2e3440;line-height:1.5}.workspace-heading p{font-size:12px;color:#9399a4;margin:3px 0 0}.steps{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0;white-space:nowrap;color:#a1a7b1;font-size:11px}.steps li{display:flex;align-items:center;gap:6px}.steps span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#e9ebef;color:#939ba7;font-size:10px}.steps .active{color:#3479df}.steps .active span{color:white;background:var(--blue)}.steps .complete span{background:#e2edff;color:#367ff7}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 326px;height:calc(100dvh - 190px);min-height:650px;max-height:940px;border:1px solid #e1e5eb;background:white;border-radius:13px;overflow:hidden;box-shadow:0 4px 16px #26354805}.editor{position:relative;display:flex;flex-direction:column;min-height:0;min-width:0;background:#f5f6f8}.editor-header{height:50px;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 20px;border-bottom:1px solid #e5e8ed;background:#fff}.photo-title{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;color:#505967}.photo-title #photoName{max-width:300px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.status-dot{width:5px;height:5px;border-radius:50%;background:#80a7ed;flex:none}.subtle{font-size:10px;color:#a3aab4;white-space:nowrap}.header-tools{display:flex;align-items:center;gap:16px;flex:none}.header-tools button{font-size:11px}.editor-footer{height:33px;min-height:33px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 17px;border-top:1px solid #e3e7ed;color:#9aa2ae;font-size:10px;background:#fafbfc}.editor-footer span:last-child{text-align:right;color:#8a98ad}#photoArea{display:flex;flex-direction:column;padding:15px 20px 17px;min-height:0;flex:1}.canvas-caption{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#8791a0;margin-bottom:12px;line-height:1.7}.canvas-caption>span:first-child{font-size:17px;color:#7da5e6}.canvas-viewport{position:relative;min-height:260px;flex:1;overflow:hidden;display:grid;place-items:center;user-select:none;touch-action:none;border:1px solid #e4e8ef;border-radius:7px;background-color:#f0f2f5;background-image:linear-gradient(45deg,#e8ebf0 25%,transparent 25%),linear-gradient(-45deg,#e8ebf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8ebf0 75%),linear-gradient(-45deg,transparent 75%,#e8ebf0 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.canvas-transform{position:absolute;line-height:0;transform-origin:center center;box-shadow:0 4px 15px #2a3e5814;will-change:transform;background:#fff}#photoCanvas{width:100%;height:100%;display:block;touch-action:none}#photoCanvas[data-mode=paint],#photoCanvas[data-mode=erase]{cursor:crosshair}#photoCanvas[data-mode=move]{cursor:grab}.canvas-viewport.is-dragging #photoCanvas{cursor:grabbing}.candidate-overlay{position:absolute;inset:0;pointer-events:none}.candidate-box{position:absolute;border:1.5px solid #fff;background:transparent;border-radius:5px;box-shadow:0 0 0 1px #367ff7aa;pointer-events:auto;padding:0}.candidate-box:hover,.candidate-box.selected{border-color:#fff;background:#3982f72b;box-shadow:0 0 0 2px #367ff7}.candidate-box span{position:absolute;top:5px;left:5px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:#3976cb;background:#fffffff0;font-size:12px;box-shadow:0 2px 7px #1533611f}.candidate-box.selected span{background:var(--blue);color:#fff}.view-label{position:absolute;bottom:10px;left:10px;pointer-events:none;font-size:9px;line-height:1.6;padding:3px 7px;border-radius:4px;color:white;background:#2a354a8c}.brush-cursor{position:fixed;left:0;top:0;border:1px solid white;box-shadow:0 0 0 1px #33436499;border-radius:50%;pointer-events:none;z-index:10;transform:translate(-50%,-50%)}.candidate-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:#838c9b;padding:11px 0 3px}.candidate-list{display:flex;gap:7px;flex-wrap:wrap}.candidate-chip{font-size:11px;border:1px solid #dce4f0;background:#fff;color:#6984ac;border-radius:18px;padding:4px 11px}.candidate-chip.selected{color:#fff;border-color:var(--blue);background:var(--blue)}.candidate-row>.quiet{margin-left:auto;font-size:11px}.photo-message{font-size:10px;color:#8d95a2;line-height:1.7;margin:5px 0 0}.photo-message:empty{display:none}.busy-banner{display:flex;align-items:center;gap:9px;border:1px solid #dce8fa;background:#edf4ff;color:#587cab;font-size:11px;border-radius:6px;padding:9px 11px;margin-top:10px}.busy-banner>.quiet{margin-left:auto;color:#6685b4;white-space:nowrap}.spinner{width:14px;height:14px;flex:none;border:1.5px solid #b8d2f8;border-top-color:#367ff7;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px;margin:13px auto 0;max-width:640px;width:100%;border:1px solid #e0e5ed;border-radius:8px;background:#fff;box-shadow:0 3px 10px #203a6006}.tool-group,.history-group{display:flex;align-items:center;gap:4px}.history-group{border-left:1px solid #e9edf2;padding-left:8px}.tool{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;border:0;background:none;border-radius:5px;color:#78869a;font-size:11px;padding:8px 10px;min-height:34px}.tool:hover{background:#f4f7fb}.tool.active,.tool[aria-pressed="true"]{color:#3277e4;background:#eaf2ff}.tool .icon{width:17px;height:17px}.icon-button{display:grid;place-items:center;width:30px;height:32px;border:0;background:none;border-radius:5px;color:#8a97a8;padding:5px}.icon-button:hover{background:#f0f5fd;color:#367ff7}.icon-button .icon{width:17px;height:17px}.canvas-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px auto 0;max-width:640px;width:100%;font-size:10px;color:#95a0af}.brush-settings{display:flex;align-items:center;gap:9px;min-width:0}.brush-settings label{white-space:nowrap}.brush-settings input{width:95px!important;margin:0!important}.brush-settings output{font-size:10px;min-width:24px}.zoom-controls{display:flex;align-items:center;gap:6px;flex:none}.zoom-controls output{min-width:35px;text-align:center;font-size:10px;color:#8996a8}.zoom-button{width:25px;height:25px;display:grid;place-items:center;border:1px solid #dce2ea;background:white;border-radius:4px;color:#7e8ea5;padding:0;font-size:14px}.zoom-button:hover{border-color:#b4cbf0;color:#367ff7}.zoom-controls .quiet{font-size:10px}
.settings-panel{background:white;border-left:1px solid #e5e8ed;padding:20px;display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.settings-heading{flex:none}.settings-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.eyebrow{font-size:10px;line-height:1.6;color:#98a3b2;letter-spacing:.6px;margin:0}.shuffle-button{display:flex;align-items:center;gap:3px;white-space:nowrap;font-size:11px;border:1px solid #dfe8f7;background:#f4f8ff;color:#5b85c5;border-radius:18px;padding:4px 9px}.shuffle-button span{font-size:17px;line-height:1}.shuffle-button:hover{background:#e8f1ff;border-color:#bdd5fb}.settings-heading h2{font-size:20px;font-weight:600;line-height:1.4;margin:0 0 5px;letter-spacing:-.3px;color:#343b46}.settings-heading>p:not(.quote-notice){font-size:11px;color:#a0a7b2;margin:0}.quote-notice{font-size:10px;line-height:1.6;color:#5f8ac8;margin:7px 0 0}.quote-notice:empty{display:none}.panel-tabs{display:flex;gap:3px;background:#f3f5f8;padding:4px;border-radius:7px;margin:18px 0 16px;flex:none}.panel-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:3px;font-size:12px;line-height:1.5;border:0;background:none;border-radius:5px;color:#929ba9;padding:7px 3px;white-space:nowrap}.panel-tabs button[aria-selected=true]{background:#fff;color:#3378e2;box-shadow:0 1px 5px #263f640b}.preset-count{font-size:9px;min-width:14px;text-align:center;line-height:15px;color:#7c9ac9;background:#edf3fc;border-radius:8px;padding:0 3px}.settings-panel>[role=tabpanel]{min-height:0;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#d0d9e7 transparent;padding-right:3px;overscroll-behavior:contain}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#8693a5;margin:0 0 12px}.catalog-heading span:last-child{font-size:9px;color:#a7afba}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 10px;padding:2px}.template-card{display:block;text-align:left;min-width:0;padding:0;border:0;background:none;border-radius:6px}.template-card canvas{display:block;width:100%;aspect-ratio:1.42;border:1px solid #e4e8ef;border-radius:6px;background:#f0f3f7}.template-card[aria-pressed=true] canvas{border-color:#367ff7;box-shadow:0 0 0 1px #367ff7}.template-card strong{display:flex;align-items:center;justify-content:space-between;color:#657386;font-size:11px;font-weight:500;margin:6px 0 2px;line-height:1.4}.template-card strong:after{content:"✓";font-size:10px;color:#367ff7;visibility:hidden}.template-card[aria-pressed=true] strong:after{visibility:visible}.template-card small{display:block;color:#a0a9b7;font-size:9px;line-height:1.5}.effect-controls{border-top:1px solid #edf0f4;margin-top:19px;padding-top:4px}.range-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#7e8b9f;margin:13px 0 6px}.range-label output{font-size:10px;color:#a1acbb}input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:15px;background:none;margin:0 0 8px;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:2px;background:#e0e6ef}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;background:#5b96ef;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #72a4ed;margin-top:-4.5px}input[type=range]::-moz-range-track{height:3px;background:#e0e6ef}input[type=range]::-moz-range-thumb{width:10px;height:10px;background:#5b96ef;border:2px solid #fff}.check-row{display:flex;gap:15px;color:#919cae;font-size:10px;margin:9px 0 4px}.check-row label{display:flex;align-items:center;gap:5px}.check-row input{height:12px;width:12px;margin:0}.field-label{display:block;font-size:12px;color:#66758b;margin:0 0 8px}textarea,select{width:100%;border:1px solid #dde4ed;border-radius:6px;background:white;color:#55647a;padding:10px;outline:none}textarea{resize:vertical;min-height:105px;font-size:12px;line-height:1.8}textarea::placeholder{color:#b0b7c2}select{padding:8px 9px;font-size:12px;margin-bottom:8px}.text-topline{display:flex;align-items:center;justify-content:space-between;margin:5px 0 14px;font-size:10px;color:#a9b1be}.text-topline .quiet{font-size:10px}.caption-note{font-size:10px;line-height:1.75;color:#9da8b8;margin:0 0 12px}.color-field{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8190a5;margin-top:12px}.color-field input{width:34px;height:24px;padding:2px;border:1px solid #dce3ec;background:white;border-radius:4px;cursor:pointer}.setting-note{font-size:10px;line-height:1.8;color:#9ea8b8;margin:11px 0}.generate-section{flex:none;padding-top:13px;border-top:1px solid #edf0f4;margin-top:15px;background:#fff}.save-preset-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:9px 7px;background:#fff;border:1px solid #dbe4f0;border-radius:6px;color:#7690b3;font-size:11px}.save-preset-button:hover{color:#367ff7;border-color:#b5cff6;background:#f7faff}.save-preset-button>span{font-size:14px}.generate-section .setting-note{font-size:9px;margin:9px 0 11px}.generate-section .setting-note br{display:none}.generate-section>.button{width:100%;border-radius:7px;justify-content:space-between;font-size:13px;padding:10px 14px}.generate-section>.button .icon{width:17px;height:17px}.privacy-note{font-size:9px;color:#afb7c2;text-align:center;margin:8px 0 0}.preset-intro h3{font-size:16px;font-weight:500;color:#4d607d;margin:0 0 6px;line-height:1.5}.preset-intro p{font-size:11px;color:#97a3b5;line-height:1.8;margin:0 0 14px}.preset-list{display:flex;flex-direction:column;gap:11px;padding:2px}.preset-empty{font-size:11px;line-height:1.9;text-align:center;padding:22px 14px;color:#91a2ba;background:#f7faff;border:1px dashed #d9e3f1;border-radius:6px}.preset-item{padding:12px;border:1px solid #e2e8f1;background:#fff;border-radius:7px;min-width:0}.preset-item-heading{display:flex;align-items:center;gap:8px}.preset-swatch{width:12px;height:16px;border:1px solid #8997aa44;border-radius:2px;transform:rotate(-5deg);flex:none}.preset-item h4{font-size:12px;font-weight:500;color:#5b708f;line-height:1.6;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.preset-item blockquote{font:italic 12px/1.75 Georgia,serif;white-space:pre-line;color:#8494ab;margin:9px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}.preset-item-meta{font-size:9px;color:#a6b1c1;margin:0 0 11px}.preset-item-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.preset-apply{font-size:10px;border:1px solid #d7e5f8;background:#f0f6ff;color:#5f8bcb;border-radius:4px;padding:5px 9px}.preset-delete{font-size:10px;border:0;background:none;color:#a6aebc;padding:5px}.preset-delete:hover{color:#c16a6a}.preset-local-note{font-size:9px;color:#a2aec0;line-height:1.8;margin:14px 0 0}
.drop-overlay{position:fixed;inset:74px 20px 20px;border:2px dashed #6b9ff0;background:#eff6fff5;border-radius:18px;z-index:50;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:#5b8ed9;backdrop-filter:blur(6px)}.drop-overlay .icon{width:46px;height:46px}.drop-overlay strong{font-size:27px;font-weight:500}.drop-overlay span{font-size:13px;color:#8ba5cc}dialog{border:1px solid #e3e8f0;border-radius:15px;padding:25px;background:white;color:var(--ink);width:650px;max-width:calc(100vw - 30px);max-height:92dvh;overflow:auto;box-shadow:0 24px 90px #14284838}dialog::backdrop{background:#17243755;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-top .eyebrow{margin:0}dialog h2{font-size:26px;line-height:1.5;font-weight:600;margin:10px 0}.dialog-description{font-size:11px;color:#99a5b8;margin:0 0 18px}.export-preview{display:flex;align-items:center;justify-content:center;min-height:100px;padding:10px;border-radius:7px;background:#f2f4f7}.export-preview img{display:block;max-width:100%;max-height:50dvh;object-fit:contain;border-radius:2px;box-shadow:0 3px 12px #1f38511a}.export-dialog>.button{width:100%;margin-top:10px}.export-dialog #exportStatus{font-size:11px;color:#7f93b1;min-height:18px}.help-dialog{width:490px}.help-dialog ol{padding-left:23px;margin:20px 0}.help-dialog li{margin:15px 0;color:#6d8db9}.help-dialog strong{font-size:13px;font-weight:500;color:#506b91}.help-dialog p{font-size:12px;line-height:1.9;color:#8c9bb0;margin:5px 0}.help-dialog .notice{padding:13px;background:#f3f7fd;border-radius:6px;margin-top:23px;font-size:11px}.confirm-dialog,.save-preset-dialog{width:440px}.confirm-dialog h2,.save-preset-dialog h2{font-size:24px}.confirm-message{font-size:12px;line-height:1.9;color:#8b9bb2;margin:12px 0 24px}.confirm-actions{display:flex;gap:10px}.confirm-actions .button{flex:1;padding:11px 12px;font-size:12px}.save-preset-dialog input{width:100%;border:1px solid #dce5f2;border-radius:6px;background:#fff;padding:10px 12px;font-size:13px;color:#5b7294}.preset-dialog-note{font-size:11px;line-height:1.8;color:#94a3b9;margin:13px 0}.preset-error{font-size:11px;line-height:1.7;color:#b15f63;margin:0 0 12px}.preset-error:empty{display:none}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,10px);z-index:100;background:#263a58;color:#fff;padding:11px 20px;border-radius:7px;box-shadow:0 5px 22px #16345820;font-size:12px;max-width:calc(100vw - 32px);text-align:center;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.site-header{padding:0 42px}.workbench{grid-template-columns:minmax(0,1fr) 346px}.settings-panel{padding:22px}.canvas-viewport{min-height:350px}.upload-landing{grid-template-columns:minmax(0,.88fr) minmax(0,1.38fr)}}
@media(max-width:1150px){.site-header{gap:28px;padding:0 24px}.brand-product{font-size:14px}.nav-links{gap:22px;font-size:12px}.header-actions{gap:12px}.local-badge{display:none}body[data-has-photo="true"] main{padding:18px 20px 0}.workbench{grid-template-columns:minmax(0,1fr) 300px}.settings-panel{padding:18px}.workspace-heading h1{font-size:20px}.steps{gap:12px;font-size:10px}#photoArea{padding:14px 15px 16px}.tool{padding:8px 7px;gap:4px;font-size:10px}.history-group{gap:1px;padding-left:5px}.icon-button{width:27px}.brush-settings input{width:75px!important}.canvas-controls{gap:10px}.photo-title .subtle{display:none}.photo-title #photoName{max-width:220px}.example-caption{display:block;padding:12px 16px}.example-caption>span{display:block;font-size:9px;margin-top:2px}.upload-landing{gap:24px}.upload-card>p{font-size:11px}.section-heading h2,.how-it-works h2{font-size:23px}}
@media(max-width:920px){.nav-links{display:none!important}.site-header{gap:20px}.workspace-heading{align-items:flex-start;flex-direction:column;gap:12px}.workspace-heading p{display:none}.workbench{min-height:675px;height:calc(100dvh - 205px);grid-template-columns:minmax(0,1fr) 280px}.steps{gap:23px}.settings-panel{padding:17px}.editor-toolbar{flex-wrap:wrap;justify-content:center}.history-group{border-left:0;padding-left:0}.canvas-controls{flex-wrap:wrap;justify-content:center;gap:9px}.canvas-caption{font-size:10px}.editor-footer{font-size:9px;gap:9px;padding:0 12px}.editor-footer span:last-child{max-width:100px}.photo-title #photoName{max-width:170px}.editor-header{padding:0 13px}.header-tools{gap:8px}.upload-landing{grid-template-columns:1fr 1.3fr;gap:20px}.example-card,.upload-card{min-height:370px}.upload-card{padding:22px 15px}.upload-primary{width:220px}.try-example{flex-direction:column;gap:7px;margin-top:17px}.upload-privacy{margin-top:14px}.upload-card>p{max-width:210px;text-align:center}.example-grid{gap:16px}.example-tile-caption{padding:14px 12px}.example-tile-caption div>span{font-size:10px}.how-grid{gap:15px}.how-grid article{padding:0 5px}}
@media(max-width:740px){.site-header{height:64px;padding:0 20px}.brand strong{font-size:21px}.brand-product{font-size:13px}.brand-mark{height:26px;width:26px}.header-actions{gap:13px}.header-upload{display:none}.header-actions>.quiet{font-size:12px}main{padding:0 20px}.page-intro{padding:38px 0 26px}.page-intro h1{font-size:38px}.intro-copy{font-size:13px;max-width:360px;margin:12px auto 18px;line-height:1.8}.feature-pills span{font-size:10px;padding:4px 10px}.upload-landing{grid-template-columns:1fr;gap:18px;max-width:550px;margin:auto}.example-card{min-height:0;aspect-ratio:1.65;border-radius:17px}.example-badge{top:12px;left:12px;font-size:10px;padding:3px 9px}.original-thumbnail{width:79px;height:57px;bottom:52px;left:12px;border-width:2px;border-radius:8px}.example-caption{padding:10px 13px;display:flex;min-height:43px}.example-caption strong{font-size:11px}.example-caption>span{font-size:8px;margin:0}.upload-card{min-height:330px;padding:24px 18px;border-radius:17px}.upload-symbol{display:none}.upload-card h2{font-size:18px}.upload-card>p{font-size:12px;max-width:none;margin-bottom:21px}.upload-primary{width:245px;height:50px;font-size:16px}.try-example{flex-direction:row;gap:10px;margin-top:22px}.upload-privacy{margin-top:17px}.template-examples{margin-top:40px}.section-heading{margin-bottom:18px;align-items:flex-start}.section-heading h2,.how-it-works h2{font-size:22px}.section-heading p{font-size:12px}.section-heading>span{font-size:9px;max-width:110px;line-height:1.7;text-align:right}.example-grid{gap:14px;grid-template-columns:1fr}.example-tile{display:grid;grid-template-columns:170px minmax(0,1fr);border-radius:12px}.example-tile-caption{padding:14px 18px}.example-tile strong{font-size:14px}.example-tile-caption div>span{font-size:11px}.example-tile-caption>.icon{display:none}.how-it-works{padding:42px 0 34px}.how-grid{grid-template-columns:1fr;gap:17px;margin-top:24px;text-align:left}.how-grid article{padding:0 0 0 52px;min-height:44px}.how-grid article>span{position:absolute;left:0;top:1px;margin:0}.how-grid h3{font-size:13px;margin-bottom:3px}.how-grid p{font-size:11px}.page-footer{padding:19px 0 24px;font-size:9px;align-items:flex-start}.page-footer>span:last-child{max-width:120px;text-align:right;line-height:1.8}body[data-has-photo="true"] main{padding:18px 15px 0}.workspace-heading{gap:14px;margin-bottom:15px}.workspace-heading h1{font-size:20px}.steps{width:100%;justify-content:space-between;gap:7px;font-size:9px}.steps li{gap:5px}.steps span{width:19px;height:19px;font-size:9px}.workbench{display:flex;flex-direction:column;height:auto;max-height:none;min-height:0;border-radius:11px}.editor{min-height:0}.editor-header{height:47px;min-height:47px;padding:0 15px}.photo-title{font-size:11px}.photo-title #photoName{max-width:230px}.editor-footer{height:32px;min-height:32px;font-size:9px}.editor-footer span:last-child{max-width:none}#photoArea{padding:15px}.canvas-caption{font-size:11px;margin-bottom:12px}.canvas-viewport{height:380px;min-height:380px;flex:none}.candidate-row{font-size:11px;gap:8px;padding-top:12px}.candidate-chip{font-size:10px}.candidate-row>.quiet{font-size:10px}.photo-message{font-size:10px}.editor-toolbar{flex-wrap:nowrap;justify-content:space-between;margin-top:13px;gap:8px}.tool{font-size:11px;padding:8px 9px;gap:5px}.tool .icon{height:17px;width:17px}.history-group{border-left:1px solid #e9edf2;padding-left:5px}.icon-button{width:28px}.canvas-controls{justify-content:space-between;flex-wrap:nowrap;font-size:10px}.brush-settings input{width:90px!important}.settings-panel{border-left:0;border-top:1px solid #e3e7ed;overflow:visible;padding:22px;min-height:0}.settings-panel>[role=tabpanel]{overflow:visible;flex:none;padding-right:0}.settings-heading h2{font-size:21px}.settings-heading>p:not(.quote-notice){font-size:12px}.settings-topline .eyebrow{font-size:11px}.shuffle-button{font-size:12px;padding:5px 11px}.panel-tabs{margin:18px 0 20px}.panel-tabs button{font-size:13px;padding:8px 4px}.catalog-heading{font-size:12px}.catalog-heading span:last-child{display:none}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 13px}.template-card strong{font-size:12px}.template-card small{font-size:10px}.effect-controls{margin-top:22px}.range-label{font-size:12px}.check-row{font-size:11px}.generate-section{margin-top:20px;padding-top:17px}.save-preset-button{font-size:12px;padding:11px}.generate-section>.button{font-size:14px;padding:12px 16px;justify-content:center;gap:18px}.generate-section .setting-note{font-size:10px}.privacy-note{font-size:10px}.field-label{font-size:13px}textarea{font-size:14px}select{font-size:13px}.caption-note,.setting-note{font-size:11px}.preset-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.preset-empty{grid-column:1/-1}.preset-intro h3{font-size:18px}.preset-intro p{font-size:12px}.preset-item h4{font-size:12px}.preset-local-note{font-size:10px}.drop-overlay{inset:66px 12px 12px}.drop-overlay strong{font-size:23px}.drop-overlay span{font-size:11px}}
@media(max-width:480px){.site-header{padding:0 16px;gap:10px}.brand{gap:8px}.brand strong{font-size:20px}.brand-product{font-size:12px}.brand-divider{margin:0;height:16px}.brand-mark{height:25px;width:25px}.header-actions{gap:0}.header-actions>.quiet{font-size:11px}.page-intro{padding:33px 0 23px}.page-intro h1{font-size:34px}.intro-copy{font-size:12px;max-width:295px;line-height:1.85}.feature-pills{gap:5px}.feature-pills span{font-size:9px;padding:4px 9px}main{padding:0 15px}.example-card{aspect-ratio:1.6}.example-caption{padding:9px 11px}.example-caption strong{font-size:10px}.example-caption>span{font-size:8px;max-width:100px;text-align:right}.original-thumbnail{width:70px;height:50px;bottom:49px;left:11px}.upload-card{min-height:320px;padding:23px 15px}.upload-card h2{font-size:18px}.upload-card>p{font-size:11px}.upload-primary{width:225px;height:49px;font-size:15px}.try-label{font-size:10px}.sample-button{font-size:10px}.sample-button img{height:23px;width:30px}.upload-formats{font-size:10px}.upload-drag-hint{font-size:11px}.upload-privacy{font-size:8px}.section-heading h2,.how-it-works h2{font-size:21px}.section-heading>span{display:none}.example-tile{grid-template-columns:135px minmax(0,1fr)}.example-tile-caption{padding:11px 13px}.example-tile strong{font-size:12px}.example-tile-caption div>span{font-size:9px;line-height:1.8;margin-top:3px}.page-footer{font-size:8px}.page-footer>span:last-child{font-size:8px;max-width:100px}body[data-has-photo="true"] main{padding:16px 11px 0}.workspace-heading h1{font-size:18px}.steps{font-size:9px}.steps li{gap:4px}.editor-header{height:45px;min-height:45px;padding:0 12px}.photo-title{font-size:10px}.photo-title #photoName{max-width:165px}.header-tools{gap:9px}.header-tools button{font-size:10px}#photoArea{padding:13px 10px}.canvas-caption{font-size:9px;gap:5px;line-height:1.8}.canvas-viewport{height:310px;min-height:310px}.view-label{font-size:8px;bottom:8px;left:8px}.candidate-row{font-size:10px;gap:6px}.candidate-chip{padding:4px 8px;font-size:10px}.candidate-list{gap:5px}.candidate-row>.quiet{font-size:9px}.photo-message{font-size:9px}.editor-toolbar{flex-wrap:wrap;justify-content:center;gap:3px;padding:4px}.tool{font-size:10px;padding:8px 8px;gap:4px}.tool .icon{height:15px;width:15px}.history-group{gap:3px;border-left:0;padding-left:0}.icon-button{width:25px}.canvas-controls{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:12px}.brush-settings{gap:6px;font-size:9px}.brush-settings input{width:80px!important}.zoom-controls{gap:5px}.zoom-controls .quiet{font-size:9px}.zoom-controls output{font-size:9px}.zoom-button{height:24px;width:24px}.editor-footer{font-size:8px;padding:0 11px}.editor-footer span:last-child{max-width:100px}.settings-panel{padding:19px 16px}.settings-heading h2{font-size:20px}.settings-heading>p:not(.quote-notice){font-size:11px}.settings-topline .eyebrow{font-size:10px}.shuffle-button{font-size:11px}.panel-tabs button{font-size:12px}.template-grid{gap:15px 10px}.template-card strong{font-size:10px}.template-card small{font-size:8px}.template-card canvas{aspect-ratio:1.3}.catalog-heading{font-size:11px}.preset-list{display:flex}.generate-section>.button{font-size:13px}.field-label{font-size:12px}.range-label{font-size:11px}.caption-note,.setting-note{font-size:10px}.save-preset-button{font-size:11px}.privacy-note{font-size:9px}.busy-banner{font-size:10px;gap:7px;padding:8px}.busy-banner>.quiet{font-size:9px;white-space:normal;max-width:80px}.preset-item blockquote{font-size:12px}.preset-item-meta{font-size:9px}dialog{padding:21px;border-radius:12px}dialog h2{font-size:23px}.confirm-actions{flex-direction:column}.confirm-actions .button{padding:11px}.export-dialog #exportStatus{font-size:10px}.toast{font-size:11px;bottom:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.landing-preview{height:calc(100% - 58px)}
@media(max-width:740px){.landing-preview{height:calc(100% - 43px);object-fit:contain;background:#f1f4f8}}

/* Measured source geometry: designkit.cn/cutout, desktop 1280 and 1512 CSS px.
   Product copy/assets remain Fenlema; mobile deliberately remains usable. */
:root{--blue:#3388ff;--blue-hover:#2378ee;--blue-soft:#edf5ff;--ink:#1c1d1e;--muted:#616266;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}
body{font:14px/1.5715 var(--sans);color:#1c1d1e;background:#fff}button,input,select,textarea{font-family:inherit}.primary{background:#3388ff;border-color:transparent;box-shadow:none}.primary:hover:not(:disabled){background:#2378ee}.dark{background:#151617;color:white;border:0}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-header{height:60px;min-height:60px;padding:0 24px;gap:0;background:#fff;border-bottom:1px solid #ececec;box-shadow:none;position:sticky;top:0}.brand{gap:8px;height:24px}.brand-core{width:110px;height:24px;display:flex;align-items:center;gap:7px;flex-shrink:0}.brand strong{font-size:20px;line-height:24px;letter-spacing:0;font-weight:600}.brand-mark{width:24px;height:24px;border-radius:6px}.brand-mark i{top:3px;left:5px;width:7px;height:17px}.brand-mark i+i{top:5px;left:14px;width:5px;height:15px}.brand-product{font-size:18px;line-height:24px;font-weight:600;color:#1c1d1e}.nav-links{margin-left:68px;gap:40px;font-size:16px;font-weight:500;color:#414854}.nav-links a{padding:18px 0;line-height:24px}.header-actions{gap:12px}.local-badge{display:flex;align-items:center;justify-content:center;min-width:130px;height:36px;padding:0 12px;border-radius:8px;font-size:14px;font-weight:500;color:#875334;background:#ffddc3}.help-circle{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e0e2e6;border-radius:50%;background:#f7f8fa;color:#2f343b;font-size:18px;line-height:1;flex:none}.help-circle:hover{background:#eceff4}
body[data-has-photo="false"] main{width:100%;max-width:none;margin:0;padding:0}.content-width{width:1200px;max-width:calc(100% - 80px);margin-left:auto;margin-right:auto}.page-intro{display:block;width:1200px;max-width:calc(100% - 80px);margin:0 auto;padding:60px 0 0;text-align:center}.page-intro h1{font-family:var(--sans);font-size:48px;font-weight:700;line-height:1.23;letter-spacing:0;margin:0 0 12px;color:#1c1d1e}.intro-copy{display:block;max-width:none;font-size:18px;line-height:28px;letter-spacing:0;color:#616266;margin:0 0 20px}.media-type-tabs{height:42px;margin:0 0 20px;display:flex;align-items:center;justify-content:center}.media-type-tabs>div{display:flex;align-items:center;gap:2px;width:136px;height:42px;padding:5px;background:#f0f1f4;border-radius:99px}.media-type-tabs a{height:32px;min-width:62px;padding:4px 16px;border-radius:99px;font-size:15px;line-height:24px;font-weight:600;color:#616266;display:flex;align-items:center;justify-content:center;white-space:nowrap}.media-type-tabs a.active{background:#fff;color:#1c1d1e;box-shadow:0 0 2px #0000000a,0 2px 8px #0000000f}
#upload{width:1200px;max-width:calc(100% - 80px);margin:0 auto}.upload-landing{display:grid;grid-template-columns:420px minmax(0,740px);gap:40px;width:100%;height:420px;max-width:none;margin:0}.example-card{position:relative;width:420px;height:420px;min-height:0;aspect-ratio:auto;border:0;border-radius:24px;overflow:hidden;background:#f3f4f6;box-shadow:none}.landing-preview{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:transparent}.upload-card{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:420px;min-height:0;margin:0;padding:120px 0 62px;border:1px dashed #616366;border-radius:24px;background:#fff;box-shadow:none}.upload-button-stack{display:flex;align-items:center;justify-content:center;flex-direction:column;width:240px;height:152px;flex-shrink:0}.upload-primary,.upload-secondary{display:flex;align-items:center;justify-content:center;gap:8px;width:240px;height:52px;min-height:52px;margin:0 0 14px;padding:0;border-radius:12px;font-size:16px;line-height:22px;flex-shrink:0;box-shadow:none}.upload-primary{background:#3388ff;color:white;font-weight:600;border:0}.upload-secondary{color:#1c1d1e;font-weight:500;background:#fff;border:1px solid #cfd1d6}.upload-secondary:hover{background:#f7f8fa;border-color:#999da5}.upload-primary .icon,.upload-secondary .icon{width:18px;height:18px;stroke-width:1.8}.upload-directory-link{display:block;height:20px;line-height:20px;font-size:14px;color:#616266;font-weight:400}.upload-directory-link:hover{color:#3388ff}.sample-label{display:flex;align-items:center;gap:8px;justify-content:center;flex-shrink:0;width:184px;height:16px;line-height:16px;font-size:12px;color:#9d9fa5;margin:54px 0 6px;padding:0;border:0;background:none}.sample-label:before,.sample-label:after{content:"";display:block;flex:1;height:1px;background:#eceef2}.sample-thumbnails{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;width:100%;height:40px}.sample-thumbnails button{position:relative;width:40px;height:40px;flex:none;padding:0;border:0;border-radius:6px;overflow:hidden;background:#f0f1f3}.sample-thumbnails canvas{width:100%;height:100%;display:block;object-fit:cover}.sample-thumbnails button:hover{outline:2px solid #3388ff;outline-offset:2px}
.template-examples{width:1200px;max-width:calc(100% - 80px);margin:40px auto 0;padding:0}.example-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}.example-tile{display:block;border:0;border-radius:0;background:none;padding:0;overflow:visible;text-align:left;box-shadow:none}.example-tile-image{position:relative;height:155px;aspect-ratio:auto;border-radius:16px;overflow:hidden;background:#f0f1f3}.example-tile-image canvas{display:block;width:100%;height:100%;object-fit:cover}.scene-caption{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-start;flex-direction:column;gap:2px;padding:11px 13px;color:white;background:linear-gradient(transparent,#0000007d)}.scene-caption strong{font-size:14px;font-weight:600;line-height:20px}.scene-caption span{font-size:10px;line-height:15px;color:#fff}.example-hover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#00000059;color:#1c1d1e;font-size:14px;line-height:20px;opacity:0;transition:opacity .16s}.example-hover b{display:flex;align-items:center;justify-content:center;width:108px;height:34px;border-radius:8px;background:#fff;font-weight:500}.example-tile:hover .example-hover{opacity:1;z-index:2}.example-tile:hover .scene-caption{opacity:0}
.effect-comparison{margin-top:80px;padding:80px 0;background:#eef3fa;text-align:center}.effect-comparison h2,.edit-intro>h2,.why-fenlema>h2,.how-it-works h2,.faq-section>h2{font-size:32px;font-weight:600;line-height:1.4;letter-spacing:0;margin:0 0 24px;color:#1c1d1e}.feature-lead{margin-bottom:110px}.feature-lead h2{margin-bottom:10px}.feature-lead>p{margin:0;color:#616266;font-size:14px}.feature-markers{display:flex;align-items:center;justify-content:space-around;gap:30px;margin:50px auto 0;max-width:980px;color:#647b9f}.feature-markers span{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:500}.feature-markers .icon{width:45px;height:45px;color:#7f99bd;stroke-width:1.4}.comparison-tabs{display:flex;gap:22px;align-items:center;justify-content:center;margin:32px 0 45px}.comparison-tabs button{font-size:14px;line-height:20px;padding:8px 22px;background:transparent;border:0;border-radius:99px;color:#616266}.comparison-tabs button[aria-pressed=true]{background:#171819;color:#fff;font-weight:600}.comparison-frame{width:1200px;max-width:100%;aspect-ratio:2.15;position:relative;overflow:hidden;border-radius:24px;background:#fff;--reveal:50%}.comparison-frame>img,.comparison-after canvas{display:block;width:100%;height:100%;object-fit:cover}.comparison-after{position:absolute;inset:0;clip-path:inset(0 0 0 var(--reveal))}.comparison-label{position:absolute;bottom:18px;color:#fff;background:#0006;font-size:12px;padding:3px 8px;border-radius:4px;pointer-events:none}.comparison-label.original{left:18px}.comparison-label.result{right:18px}.comparison-divider{position:absolute;left:var(--reveal);top:0;bottom:0;width:2px;background:white;transform:translateX(-1px);pointer-events:none}.comparison-divider>span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:36px;width:50px;border-radius:99px;background:white;box-shadow:0 2px 8px #0002;display:flex;align-items:center;justify-content:center;color:#30343a;font-size:21px;letter-spacing:5px;padding-left:5px}.comparison-range{position:absolute!important;inset:0!important;height:100%!important;width:100%!important;margin:0!important;opacity:0;cursor:ew-resize!important}
.edit-intro{padding:80px 0;text-align:center}.edit-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;text-align:left;margin-top:45px;align-items:center}.edit-example{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:1.5;background:#f5f6f8}.edit-example>canvas{width:100%;height:100%;display:block;object-fit:cover}.illustration-tools{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;gap:4px;padding:7px;border:1px solid #e2e5ea;border-radius:7px;background:#fff;box-shadow:0 4px 18px #0001}.illustration-tools>span{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;padding:5px 9px;color:#454950}.illustration-tools>span:first-child{background:#eef5ff;color:#3388ff;border-radius:4px}.illustration-tools .icon{width:16px;height:16px}.edit-intro-copy h3{font-size:25px;line-height:1.5;font-weight:600;margin:0 0 24px}.edit-intro-copy ul{margin:0 0 28px;padding:0;list-style:none;font-size:16px;line-height:2.2;color:#616266}.edit-intro-copy li:before{content:"✓";margin-right:11px;color:#444}.edit-intro-copy .button,.centered-button{font-size:14px;border-radius:8px;padding:11px 19px;display:inline-flex}
.why-fenlema{padding:65px 0 85px;text-align:center}.why-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:220px 220px;gap:32px;margin-top:40px;text-align:left}.why-card{position:relative;display:flex;align-items:center;justify-content:space-between;padding:35px;border-radius:24px;background:#f7f8fb;overflow:hidden}.why-card h3{font-size:22px;margin:0 0 14px;font-weight:600}.why-card p{font-size:14px;line-height:1.8;color:#616266;max-width:310px;margin:0}.why-icon{width:76px;height:76px;margin-left:25px;color:#79a5e0;stroke-width:1.2}.why-card-large{grid-column:2;grid-row:1/3;display:block;padding:35px 35px 0}.why-card-large canvas{width:calc(100% + 70px);height:315px;object-fit:cover;display:block;margin:25px -35px 0}
.how-it-works{padding:80px 0;background:#eef3fa;text-align:center}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin:45px 0 34px;text-align:left}.how-grid article{position:relative;min-height:230px;padding:32px;border-radius:18px;background:white}.how-grid article>.icon{width:30px;height:30px;color:#30343b;margin-bottom:24px}.how-grid h3{font-size:18px;font-weight:600;line-height:1.4;margin:0 0 14px}.how-grid p{font-size:14px;color:#616266;line-height:1.8;margin:0}.centered-button{margin:0 auto}.more-templates{margin-top:130px}.more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:42px;text-align:left}.more-grid button{padding:0 0 24px;background:white;border:0;border-radius:20px;overflow:hidden;text-align:left}.more-grid canvas{width:100%;aspect-ratio:1.55;object-fit:cover;display:block}.more-grid strong,.more-grid span{display:block;margin:16px 22px 0}.more-grid strong{font-size:18px;font-weight:600}.more-grid span{font-size:13px;color:#616266;line-height:1.8;margin-top:5px}
.faq-section{padding:90px 0 130px;text-align:center}.faq-list{max-width:1000px;margin:35px auto 0;text-align:left}.faq-list details{border-bottom:1px solid #e7e8ec;padding:22px 0}.faq-list summary{position:relative;list-style:none;font-size:16px;font-weight:500;padding-right:36px;cursor:pointer}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"⌄";position:absolute;right:4px;top:0;color:#5e6269}.faq-list details[open] summary:after{content:"⌃"}.faq-list p{font-size:14px;line-height:1.9;margin:16px 35px 0 0;color:#616266}.closing-cta{min-height:350px;padding:45px 48px;margin-bottom:80px;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;background:#f3f4f8;border-radius:30px;overflow:hidden}.closing-cta h2{font-size:28px;line-height:1.4;font-weight:600;margin:0 0 20px}.closing-cta ul{list-style:none;padding:0;margin:0 0 25px;font-size:14px;line-height:2;color:#616266}.closing-cta li:before{content:"✓";margin-right:9px}.closing-cta .button{display:inline-flex;font-size:14px;padding:10px 17px;border-radius:8px}.closing-art{position:relative;height:260px}.closing-art canvas{position:absolute;top:12px;width:78%;height:220px;object-fit:cover;border-radius:18px;box-shadow:0 12px 30px #192d4c20;transform:rotate(-8deg)}.closing-art canvas+canvas{right:-4px;top:42px;transform:rotate(7deg)}.site-footer{padding:65px 0 45px;background:#111626;color:#d5d9e4}.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:50px}.footer-brand strong{font-size:22px;color:white}.footer-brand p{font-size:12px;color:#929bab;margin:12px 0}.footer-grid h3{font-size:14px;font-weight:500;margin:0 0 20px}.footer-grid a,.footer-grid button{display:block;font-size:12px;line-height:1.8;margin:11px 0;color:#8d97a9;border:0;background:none;padding:0;text-align:left}.footer-grid a:hover,.footer-grid button:hover{color:white}body[data-has-photo="false"] .page-footer{background:#111626;color:#8d97a9;border-top:1px solid #202637;max-width:none;margin:0;padding:24px max(40px,calc((100% - 1200px)/2));font-size:11px}

/* Editor measured from the source AI eraser workspace: 54px header, 320px tools rail. */
body[data-has-photo="true"]{overflow:hidden;background:#f7f8fc}body[data-has-photo="true"] .site-header{height:54px;min-height:54px;padding:0 20px}body[data-has-photo="true"] main{height:calc(100dvh - 54px);width:100%;max-width:none;padding:0;margin:0}body[data-has-photo="true"] .workspace-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.editor-header-history{position:absolute;left:50%;top:8px;transform:translateX(-50%);display:flex;align-items:center;gap:18px;height:36px}.editor-header-history .icon-button{width:28px;height:28px;background:transparent;color:#787e88}.header-upload{padding:6px 10px;border:0;background:transparent;font-size:14px;color:#1c1d1e;border-radius:6px;gap:6px;height:36px}.header-export{height:36px;min-width:94px;border-radius:8px;padding:8px 16px;font-size:14px;font-weight:600}.header-upload .icon,.header-export .icon{width:18px;height:18px}.workbench{display:grid;grid-template-columns:320px minmax(0,1fr);height:calc(100dvh - 54px);min-height:0;max-height:none;border:0;border-radius:0;background:#f7f8fc;box-shadow:none;overflow:hidden}.editor{grid-column:2;grid-row:1;position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;background:#f7f8fc}.editor-header{position:absolute;z-index:3;left:16px;top:5px;height:24px;min-height:0;padding:0;gap:15px;background:transparent;border:0;color:#a1a6af}.photo-title{font-size:10px}.photo-title #photoName{max-width:210px}.photo-title .status-dot{display:none}.subtle{color:#b1b5bd;font-size:9px}.header-tools{gap:5px}.header-tools button{font-size:10px;color:#9da3ae;padding:2px 5px}#changePhoto{display:none}.editor #photoArea{position:relative;min-height:0;flex:1;padding:9px 20px 0;display:flex;flex-direction:column}.canvas-viewport{min-height:0;height:auto;flex:1;border:0;border-radius:0;background:#f7f8fc;background-image:none}.canvas-transform{box-shadow:none}.view-label{display:none}.candidate-row{position:absolute;z-index:2;bottom:10px;left:20px;padding:0;margin:0;font-size:11px;gap:7px}.candidate-row>.quiet{margin-left:5px;font-size:10px}.candidate-chip{font-size:11px;padding:3px 8px;background:#fff;border-color:#dfe3e9}.candidate-chip.selected{background:#3388ff;border-color:#3388ff}.canvas-controls{position:absolute;right:16px;bottom:16px;z-index:3;display:flex;width:auto;max-width:none;gap:0;padding:8px 10px;margin:0;background:#e9edf3cc;border-radius:14px;box-shadow:0 3px 20px #27385308;backdrop-filter:blur(7px)}.zoom-controls{gap:5px}.zoom-controls .tool{padding:4px;min-width:26px;height:26px;font-size:0;gap:0}.zoom-controls .tool .icon{width:17px;height:17px}.zoom-controls .tool.active{background:white}.zoom-controls .quiet{font-size:10px}.zoom-controls output{font-size:11px;color:#656b75}.zoom-button{width:23px;height:23px;background:transparent;border:0;color:#7c8390}.canvas-caption-bar{display:flex;align-items:center;gap:14px;width:calc(100% - 120px);max-width:960px;height:80px;min-height:80px;flex:none;padding:12px 12px 12px 25px;margin:31px auto 28px;border:1px solid #e7e8ed;border-radius:45px;background:#fff;box-shadow:0 4px 20px #18294408}.caption-symbol{font-size:19px;font-weight:600;color:#6395ed;flex:none}.caption-input{flex:1;min-width:0;height:54px}.canvas-caption-bar textarea{display:block;width:100%;height:54px;min-height:54px;max-height:54px;resize:none;border:0;border-radius:0;background:transparent;padding:5px 0;color:#414650;font-size:14px;line-height:22px;box-shadow:none}.canvas-caption-bar textarea:focus{outline:none}.canvas-caption-bar textarea::placeholder{color:#a2a6af}.canvas-caption-bar .shuffle-button{width:54px;height:54px;min-width:54px;display:grid;place-items:center;border:0;border-radius:50%;background:#3388ff;color:white;padding:0}.canvas-caption-bar .shuffle-button>span{font-size:30px;line-height:1}.editor-footer{position:absolute;z-index:2;left:20px;bottom:111px;right:20px;display:flex;justify-content:space-between;height:auto;min-height:0;padding:0;border:0;background:transparent;font-size:9px;color:#adb2bc}.editor-footer span:last-child{color:#adb2bc}.settings-panel{grid-column:1;grid-row:1;border:0;border-right:1px solid #eceef2;padding:0;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:white}.sidebar-effects{height:306px;min-height:0;flex:none;display:flex;flex-direction:column;border-bottom:1px solid #eceef2}.settings-heading{padding:16px 16px 0;flex:none}.settings-topline{display:none}.settings-heading h2{font-family:var(--sans);font-size:14px;font-weight:600;line-height:20px;margin:0 0 6px;color:#1c1d1e;letter-spacing:0}.settings-heading>p:not(.quote-notice){font-size:12px;line-height:20px;color:#616266;margin:0}.quote-notice{font-size:10px!important;line-height:16px;margin:5px 0 0}.panel-tabs{flex:none;display:flex;gap:2px;min-height:32px;height:32px;margin:12px 16px 10px;padding:3px;border-radius:6px;background:#f3f4f7}.panel-tabs button{font-size:12px;padding:3px;line-height:20px}.sidebar-effects>[role=tabpanel]{flex:1;min-height:0;overflow-y:auto;padding:0 16px 12px;scrollbar-width:thin;scrollbar-color:#dde1e8 transparent}.catalog-heading{font-size:10px;margin:0 0 8px}.catalog-heading span:last-child{font-size:9px}.template-grid{grid-template-columns:1fr 1fr;gap:12px 8px;padding:1px}.template-card canvas{aspect-ratio:1.9;border-radius:6px}.template-card strong{font-size:11px;margin:4px 0 0;line-height:16px}.template-card small{display:none}.effect-controls{margin-top:12px;padding-top:0}.range-label{font-size:11px;color:#616266;margin:11px 0 4px}.field-label{font-size:12px;color:#3f444c}.caption-note,.setting-note{font-size:11px;line-height:1.7;color:#858b95}.text-topline{font-size:10px;margin:0 0 10px}.text-topline .quiet{font-size:10px}.preset-intro h3{font-size:14px;font-weight:500}.preset-intro p{font-size:11px}.preset-item h4{font-size:11px}.preset-item blockquote{font-size:11px}.preset-local-note{font-size:9px}.side-manual{padding:16px;flex:1;min-height:0;overflow-y:auto}.manual-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.manual-title h3{font-size:14px;font-weight:600;line-height:20px;margin:0}.manual-title .save-preset-button{width:auto;padding:0;border:0;background:none;color:#8b929d;font-size:11px;line-height:20px}.side-manual .canvas-caption{display:block;font-size:12px;line-height:20px;color:#616266;margin:4px 0 16px;text-align:left;min-height:20px}.side-manual .canvas-caption>span:first-child{display:none}.side-manual .editor-toolbar{margin:0;padding:0;border:0;box-shadow:none;border-radius:0;background:none;max-width:none;display:block}.side-manual .tool-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.side-manual .tool{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:80px;padding:10px 4px;border:1px solid transparent;border-radius:8px;background:#f6f7f9;color:#1c1d1e;font-size:12px}.side-manual .tool .icon{width:23px;height:23px;stroke-width:1.5}.side-manual .tool.active{border-color:#3388ff;background:white;box-shadow:0 0 0 1px #3388ff}.side-manual .history-group{display:none}.side-brush{margin:20px 0 4px}.side-brush .brush-settings{width:100%;display:flex;align-items:center;gap:10px;font-size:11px}.side-brush .brush-settings input{width:auto!important;flex:1;min-width:0}.side-brush .brush-settings output{font-size:11px;color:#616266}.side-manual .busy-banner{font-size:10px;padding:7px;line-height:1.6;gap:5px;margin-top:12px}.side-manual .busy-banner>.quiet{max-width:74px;font-size:10px;white-space:normal}.side-manual .photo-message{font-size:10px;line-height:1.7;margin:10px 0 0;color:#9197a1}.generate-section{padding:0 16px 16px;margin:0;flex:none;border:0;background:#fff}.generate-section .setting-note,.generate-section .privacy-note{display:none}.generate-section>.button{height:36px;width:288px;min-height:36px;padding:8px 12px;font-size:14px;line-height:20px;font-weight:600;border-radius:8px;justify-content:center;gap:8px}.generate-section>.button>.icon{width:16px;height:16px}body[data-has-photo="true"] .page-footer{display:none}.drop-overlay{inset:66px 18px 18px}

@media(max-width:1279px) and (min-width:741px){.page-intro,#upload,.template-examples,.content-width{max-width:calc(100% - 64px);width:1200px}.upload-landing{grid-template-columns:35% minmax(0,1fr);gap:32px}.example-card{width:100%;height:420px}.nav-links{gap:24px;margin-left:38px}.local-badge{min-width:100px}.feature-markers{gap:18px}.feature-markers span{font-size:17px}.comparison-frame{aspect-ratio:1.8}.editor-header-history{left:48%}.header-actions{gap:8px}.header-upload{font-size:12px}.header-export{min-width:80px;font-size:12px}}
@media(max-width:1100px){.nav-links{display:none!important}.local-badge{display:flex}.site-header{padding:0 24px}.why-grid{gap:20px}.why-card{padding:25px}.why-card-large{padding:25px 25px 0}.why-card-large canvas{width:calc(100% + 50px);margin-left:-25px;margin-right:-25px}.feature-markers span{font-size:15px}.edit-intro-grid{gap:34px}.edit-intro-copy h3{font-size:22px}.edit-intro-copy ul{font-size:14px}.footer-grid{gap:30px}.canvas-caption-bar{width:calc(100% - 60px);padding-left:18px}.candidate-row>.quiet{max-width:80px;font-size:9px}.editor-header-history{left:45%}}
@media(max-width:740px){.site-header{height:60px;min-height:60px;padding:0 16px}.brand-core{width:96px}.brand strong{font-size:19px}.brand-product{font-size:15px}.local-badge{display:none}.header-actions{gap:8px}.help-circle{width:32px;height:32px;font-size:17px}.page-intro{width:auto;max-width:none;margin:0 20px;padding:38px 0 0}.page-intro h1{font-size:36px;line-height:1.23;margin-bottom:12px}.intro-copy{font-size:14px;line-height:24px;margin-bottom:20px;max-width:none}.media-type-tabs{margin-bottom:20px}.media-type-tabs a{font-size:14px}#upload{width:auto;max-width:none;margin:0 20px}.upload-landing{display:flex;flex-direction:column;height:auto;gap:24px}.example-card{width:100%;height:auto;aspect-ratio:1;max-width:420px;margin:auto;border-radius:24px}.landing-preview{width:100%;height:100%;object-fit:cover;background:transparent}.upload-card{width:100%;height:360px;min-height:0;padding:90px 0 32px;border-radius:24px}.upload-button-stack{width:240px;height:152px}.upload-primary,.upload-secondary{width:240px;height:52px;min-height:52px;font-size:16px}.sample-label{margin-top:30px}.sample-thumbnails{height:40px}.template-examples{width:auto;max-width:none;margin:40px 20px 0}.example-grid{grid-template-columns:1fr 1fr;gap:16px}.example-tile{display:block}.example-tile-image{height:128px;border-radius:12px}.scene-caption{padding:8px}.scene-caption strong{font-size:12px}.scene-caption span{font-size:8px;line-height:1.5}.content-width{width:auto;max-width:none;margin-left:20px;margin-right:20px}.effect-comparison{margin-top:50px;padding:48px 0}.effect-comparison h2,.edit-intro>h2,.why-fenlema>h2,.how-it-works h2,.faq-section>h2{font-size:25px;line-height:1.5;margin-bottom:18px}.feature-lead{margin-bottom:55px}.feature-lead>p{font-size:11px}.feature-markers{gap:16px;margin-top:30px;align-items:flex-start}.feature-markers span{flex-direction:column;gap:10px;font-size:11px;text-align:center;line-height:1.5}.feature-markers .icon{width:32px;height:32px}.comparison-tabs{gap:7px;margin:22px 0 25px}.comparison-tabs button{font-size:12px;padding:6px 14px}.comparison-frame{width:100%;aspect-ratio:1.5;border-radius:15px}.comparison-label{font-size:9px;bottom:10px}.comparison-divider>span{width:40px;height:30px;font-size:17px}.edit-intro{padding:48px 0}.edit-intro-grid{grid-template-columns:1fr;gap:26px;margin-top:25px}.edit-intro-copy h3{font-size:20px;margin-bottom:14px}.edit-intro-copy ul{font-size:13px;line-height:2.1;margin-bottom:20px}.edit-intro-copy .button,.centered-button{font-size:12px}.why-fenlema{padding:25px 0 50px}.why-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:16px;margin-top:25px}.why-card{min-height:155px;padding:24px}.why-card h3{font-size:19px;margin-bottom:10px}.why-card p{font-size:12px}.why-icon{width:45px;height:45px;margin-left:20px}.why-card-large{grid-column:auto;grid-row:auto;padding:24px 24px 0}.why-card-large canvas{width:calc(100% + 48px);height:auto;aspect-ratio:1.6;margin:20px -24px 0}.how-it-works{padding:48px 0}.how-grid{grid-template-columns:1fr;gap:16px;margin:25px 0}.how-grid article{min-height:150px;padding:24px}.how-grid article>.icon{width:25px;height:25px;margin-bottom:18px}.how-grid h3{font-size:17px;margin-bottom:10px}.how-grid p{font-size:12px}.more-templates{margin-top:65px}.more-grid{grid-template-columns:1fr;gap:18px;margin-top:25px}.more-grid strong{font-size:16px}.more-grid span{font-size:12px}.faq-section{padding:50px 0 65px}.faq-list{margin-top:25px}.faq-list details{padding:20px 0}.faq-list summary{font-size:14px}.faq-list p{font-size:12px;line-height:1.8}.closing-cta{display:block;min-height:0;padding:30px 25px;margin-bottom:50px;border-radius:22px}.closing-cta h2{font-size:22px}.closing-cta ul{font-size:12px}.closing-art{height:210px;margin-top:30px}.closing-art canvas{height:170px}.site-footer{padding:40px 0 30px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px 24px}.footer-grid h3{font-size:13px}.footer-grid a,.footer-grid button{font-size:11px}.footer-brand strong{font-size:21px}.footer-brand p{font-size:10px}body[data-has-photo="false"] .page-footer{padding:20px;font-size:9px;gap:20px}.page-footer>span:last-child{font-size:9px;line-height:1.8;max-width:140px}
body[data-has-photo="true"]{overflow:auto}body[data-has-photo="true"] .site-header{height:54px;min-height:54px;padding:0 12px}body[data-has-photo="true"] .brand-product{display:none}body[data-has-photo="true"] .brand-core{width:90px}.editor-header-history{position:static;transform:none;margin-left:auto;margin-right:8px;gap:7px;height:32px}.editor-header-history .icon-button{height:27px;width:23px}.header-actions{margin-left:0}.header-upload{display:flex;width:30px;padding:4px;height:32px}.header-upload span{display:none}.header-export{min-width:60px;height:32px;padding:5px 8px;font-size:12px;gap:4px}.header-export .icon{width:15px;height:15px}body[data-has-photo="true"] .help-circle{display:none}body[data-has-photo="true"] main{height:auto;padding:0}.workbench{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}.editor{order:1;min-height:490px}.settings-panel{order:2;overflow:visible;border-right:0;border-top:1px solid #e7e9ee}.editor-header{left:12px;top:6px}.photo-title #photoName{max-width:190px}.editor #photoArea{height:360px;min-height:360px;flex:none;padding:35px 10px 0}.canvas-viewport{height:325px;min-height:0;flex:none}.candidate-row{bottom:6px;left:13px;gap:6px;font-size:10px}.candidate-row>.quiet{display:none}.candidate-chip{font-size:10px}.canvas-controls{right:12px;bottom:16px;padding:5px 7px}.zoom-controls{gap:3px}.zoom-controls .tool{width:22px;min-width:22px}.zoom-controls .quiet{font-size:9px}.zoom-controls output{font-size:9px}.zoom-button{width:20px;height:20px}.canvas-caption-bar{width:calc(100% - 24px);height:68px;min-height:68px;margin:28px auto 22px;padding:8px 8px 8px 14px;gap:10px}.caption-symbol{font-size:15px}.caption-input,.canvas-caption-bar textarea{height:48px;min-height:48px;max-height:48px}.canvas-caption-bar textarea{font-size:12px;line-height:19px;padding:5px 0}.canvas-caption-bar .shuffle-button{height:48px;width:48px;min-width:48px}.canvas-caption-bar .shuffle-button>span{font-size:26px}.editor-footer{bottom:94px;left:12px;right:12px;font-size:8px}.sidebar-effects{height:auto;max-height:none;min-height:0}.settings-heading{padding:20px 16px 0}.settings-heading h2{font-size:16px}.panel-tabs{height:36px;margin:14px 16px 14px}.panel-tabs button{font-size:13px}.sidebar-effects>[role=tabpanel]{max-height:350px;padding:0 16px 16px}.catalog-heading{font-size:11px}.template-grid{grid-template-columns:repeat(3,1fr);gap:12px 9px}.template-card canvas{aspect-ratio:1.6}.template-card strong{font-size:10px}.side-manual{padding:18px 16px;overflow:visible}.side-manual .tool-group{max-width:420px}.side-manual .tool{height:74px}.side-manual .canvas-caption{font-size:12px}.side-brush{max-width:420px}.generate-section{padding:0 16px 20px}.generate-section>.button{width:100%;height:42px}.drop-overlay{inset:58px 12px 12px}}
/* Short desktop windows keep every sidebar tool reachable. */
@media(min-width:741px) and (max-height:600px){.settings-panel{overflow-y:auto}.side-manual{flex:none;overflow:visible}.generate-section{position:sticky;bottom:0;z-index:4}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Current product wordmark: 好好再见 / offex. */
.brand{height:36px}.brand-core,body[data-has-photo="true"] .brand-core{width:118px;height:36px}.brand-name{display:flex;flex-direction:column;align-items:flex-start;gap:1px}.brand-name strong{line-height:22px}.brand-name small{font-size:10px;line-height:11px;font-weight:500;letter-spacing:1.2px;color:#767b86}.footer-brand strong small{display:block;font-size:12px;font-weight:500;letter-spacing:1.2px;margin-top:4px}.invite-dialog{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:28px;border:1px solid #e5e8ed;border-radius:20px;box-shadow:0 20px 90px #172b4d26;color:#24272c;overflow-y:auto}.invite-dialog::backdrop{background:#151d2b65;backdrop-filter:blur(3px)}.invite-dialog .dialog-top{margin-bottom:22px}.invite-dialog .eyebrow{font-size:11px;color:#8a909b;letter-spacing:.7px}.invite-dialog h2{font-size:24px;line-height:1.4;font-weight:650;margin:18px 0 10px}.invite-dialog .dialog-description{font-size:13px;line-height:1.8;color:#7d838d;margin:0 0 22px}.invite-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#edf4ff;color:#3388ff}.invite-symbol .icon{width:26px;height:26px}.invite-dialog .field-label{display:block;font-size:12px;font-weight:600;color:#4d5664;margin-bottom:9px}.invite-code-input{display:block;width:100%;height:48px;border:1px solid #d8dde5;border-radius:9px;background:white;padding:0 13px;font-size:13px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.3px;color:#253349}.invite-code-input::placeholder{font-size:11px;letter-spacing:0;color:#a8afb9}.invite-error{min-height:20px;font-size:12px;line-height:1.6;color:#be4c49;margin:8px 0 12px}.invite-dialog .primary{width:100%;height:46px;border-radius:9px;font-size:14px;font-weight:600}.invite-rule{font-size:11px;color:#969ca5;line-height:1.8;margin:17px 0 0}.invite-session-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e0eaf8;border-radius:12px;padding:15px;margin-bottom:22px;background:#f6f9ff}.invite-session-summary>div:first-child{min-width:0;display:flex;flex-direction:column;gap:7px}.invite-session-summary>div:first-child>span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#64738a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invite-session-summary small{font-size:10px;color:#9aa3b0}.invite-balance{display:grid;grid-template-columns:auto auto;column-gap:5px;align-items:baseline;flex:none;color:#467ec8}.invite-balance strong{font-size:26px;line-height:1.2;font-weight:650}.invite-balance>span{font-size:11px}.invite-balance>small{grid-column:1/3;text-align:right;margin-top:3px}.invite-logout{display:block;margin:20px auto 0;padding:5px 10px;border:0;background:none;color:#8b929d;font-size:12px;text-decoration:underline;text-underline-offset:4px}.invite-logout:hover{color:#4c627e}
@media(max-width:740px){.invite-dialog{padding:24px;max-height:calc(100dvh - 24px)}.invite-dialog h2{font-size:22px}}

.manage-invite{margin:8px 0 14px;font-size:12px;color:#3388ff;text-decoration:underline;text-underline-offset:3px}
