:root{--ink:#351a37;--muted:#806b7e;--pink:#fff0f6;--cream:#fffaf2;--paper:#fffefd;--line:#efdfe7;--yellow:#ffcf58;--yellow-dark:#e9ad2b;--purple:#745070}*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#fff7f2 0%,#fff0f7 54%,#fff8e9 100%);color:var(--ink);font-family:"Microsoft YaHei",system-ui,sans-serif}.page-shell{max-width:1240px;margin:auto;padding:0 28px}.site-header{height:84px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:20px;font-weight:900;letter-spacing:-.5px}.brand small{display:block;font-size:8px;letter-spacing:1.7px;color:#a08396;margin-top:2px}.brand-mark{display:grid;grid-template-columns:repeat(2,9px);gap:3px;padding:7px;background:#fff;border-radius:10px;box-shadow:0 4px 12px #8b58712b}.brand-mark i{height:9px;border-radius:2px;background:var(--yellow)}.brand-mark i:nth-child(2),.brand-mark i:nth-child(3){background:#de779f}.header-note{font-size:13px;color:var(--muted)}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;min-height:315px;align-items:center;padding:44px 5.5% 38px;border-radius:28px;background:#fff9ef;overflow:hidden;position:relative}.eyebrow{margin:0 0 10px;font-size:11px;letter-spacing:1.4px;font-weight:800;color:#bd758f}.hero h1{margin:0;font-size:48px;line-height:1.16;letter-spacing:-2px}.hero h1 em{font-style:normal;color:#d15d8d}.hero-copy{max-width:440px;line-height:1.8;color:var(--muted);font-size:15px}.hero-pills{display:flex;gap:8px;flex-wrap:wrap}.hero-pills span{padding:6px 10px;font-size:12px;border-radius:99px;background:#fff;color:#866a80}.hero-art{height:220px;display:grid;place-items:center;position:relative}.pixel-card{display:grid;grid-template-columns:repeat(3,43px);gap:6px;padding:17px;background:#fff;border-radius:20px;transform:rotate(7deg);box-shadow:12px 17px 0 #f5d6df,0 16px 25px #6d35421a}.pixel{aspect-ratio:1;border-radius:10px;background:#f0a4bc}.p2,.p4,.p6,.p8{background:#ffc95a}.p3,.p5,.p7{background:#8a628a}.p9{background:#e96f99}.spark{position:absolute;color:#f0ad31;font-size:26px}.s1{top:14px;right:26%}.s2{bottom:10px;left:21%;font-size:18px}.workspace{display:grid;grid-template-columns:350px 1fr;margin-top:28px;border:1px solid var(--line);border-radius:24px;background:var(--paper);overflow:hidden;box-shadow:0 18px 45px #72374a12}.controls{padding:26px;background:#fffdfb;border-right:1px solid var(--line)}.panel-heading{display:flex;gap:10px;align-items:flex-start}.panel-heading h2,.result-title h2,.how-it-works h2{margin:0;font-size:19px}.panel-heading p{margin:5px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}.step{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#f8dfeb;color:#ad5279;font-size:11px;font-weight:800}.upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:156px;margin-top:19px;border:1.5px dashed #deb6c7;border-radius:16px;background:#fff9fb;cursor:pointer;text-align:center;transition:.2s}.upload-zone:hover,.upload-zone.dragover{border-color:#d45f8d;background:#fff1f6}.upload-zone input{display:none}.upload-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#f8d7e4;color:#b74f78;font-size:25px;font-weight:300}.upload-zone strong{margin:10px 0 5px;font-size:13px}.upload-zone small{font-size:11px;color:#9b8491}.divider{height:1px;background:var(--line);margin:25px 0}.control-label{display:flex;justify-content:space-between;margin:22px 0 8px;font-size:13px;font-weight:700}.control-label output{color:#c65382}input[type=range]{width:100%;accent-color:#d8608d}.range-ends{display:flex;justify-content:space-between;margin-top:2px;color:#a892a0;font-size:10px}.switch-row{position:relative;display:flex;justify-content:space-between;align-items:center;margin-top:20px;cursor:pointer}.switch-row b,.switch-row small{display:block}.switch-row b{font-size:13px}.switch-row small{margin-top:3px;font-size:11px;color:var(--muted)}.switch-row input{position:absolute;opacity:0}.switch-row i{width:38px;height:22px;border-radius:20px;background:#ded1d8;position:relative;transition:.2s}.switch-row i:after{content:"";position:absolute;width:16px;height:16px;top:3px;left:3px;border-radius:50%;background:white;transition:.2s}.switch-row input:checked+i{background:#db739c}.switch-row input:checked+i:after{transform:translateX(16px)}button{font:inherit;cursor:pointer;border:0}.primary-button{width:100%;margin-top:26px;padding:13px 15px;border-radius:13px;background:var(--yellow);color:#4d3420;font-weight:900;box-shadow:0 4px 0 var(--yellow-dark);transition:transform .15s,box-shadow .15s}.primary-button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--yellow-dark)}.primary-button:disabled{opacity:.47;cursor:not-allowed}.primary-button span{float:right;font-size:17px}.preview-area{min-width:0;background:#fffafc}.preview-toolbar,.preview-footer{height:51px;padding:0 21px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line)}.status-dot{display:inline-block;width:7px;height:7px;background:#e8b746;border-radius:50%;margin-right:7px}.preview-footer{border-top:1px solid var(--line);border-bottom:0}.preview-footer span:last-child{font-weight:800;color:#a35b78}.canvas-wrap{height:568px;padding:25px;display:grid;place-items:center;background-image:radial-gradient(#efdde5 1px,transparent 1px);background-size:17px 17px;overflow:auto}.empty-state{text-align:center;color:#8d7787}.empty-illustration{display:grid;place-items:center;margin:auto auto 13px;width:62px;height:62px;border-radius:21px;background:#f6dce7;color:#c45c83;font-size:34px}.empty-state h2{font-size:18px;margin:0}.empty-state p{font-size:13px}.canvas-wrap canvas{display:none;max-width:100%;max-height:100%;background:#fff;box-shadow:0 7px 18px #552c3b22;image-rendering:pixelated}.result-section{margin:34px 0;padding:31px;border:1px solid var(--line);border-radius:24px;background:#fffdfb}.result-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.result-actions{display:flex;gap:9px}.result-actions button{margin-top:0}.secondary-button{padding:11px 15px;border:1px solid #e6cbd6;border-radius:12px;background:#fff;color:#73566b;font-size:12px;font-weight:800}.compact{width:auto;padding:11px 15px;font-size:12px;box-shadow:0 3px 0 var(--yellow-dark)}.materials-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:24px 0;background:#efdee6;border:1px solid #efdee6;border-radius:15px;overflow:hidden}.materials-summary div{padding:17px 20px;background:#fff9fb}.materials-summary strong,.materials-summary span{display:block}.materials-summary strong{font-size:23px}.materials-summary span{font-size:11px;color:var(--muted);margin-top:4px}.palette-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.palette-item{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #efe2e7;border-radius:12px;background:#fff;cursor:pointer;text-align:left}.palette-item.active{outline:2px solid #db739c;border-color:transparent}.swatch{width:27px;height:27px;border-radius:8px;box-shadow:inset 0 0 0 1px #00000012}.palette-item b,.palette-item small{display:block}.palette-item b{font-size:12px}.palette-item small{margin-top:3px;font-size:10px;color:var(--muted)}.how-it-works{text-align:center;padding:50px 0}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:25px}.how-grid article{padding:24px;border-radius:18px;background:#ffffffa8}.how-grid article span{display:grid;place-items:center;margin:auto;width:31px;height:31px;border-radius:50%;background:#f9dce7;color:#b55179;font-weight:900}.how-grid h3{font-size:15px;margin:13px 0 8px}.how-grid p{max-width:220px;margin:auto;color:var(--muted);font-size:12px;line-height:1.7}footer{text-align:center;padding:4px 0 28px;color:#967b8d;font-size:11px}@media(max-width:760px){.page-shell{padding:0 14px}.site-header{height:67px}.header-note{display:none}.hero{grid-template-columns:1fr;min-height:0;padding:31px 26px}.hero h1{font-size:36px}.hero-art{display:none}.workspace{grid-template-columns:1fr}.controls{border-right:0;border-bottom:1px solid var(--line)}.canvas-wrap{height:390px;padding:16px}.preview-footer span:first-child{display:none}.result-section{padding:21px 15px}.result-title{align-items:flex-start;flex-direction:column}.result-actions{width:100%}.result-actions button{flex:1}.materials-summary{grid-template-columns:repeat(3,1fr)}.materials-summary div{padding:13px}.how-grid{grid-template-columns:1fr}.palette-list{grid-template-columns:repeat(2,1fr)}}
