:root{--ink:#202434;--sub:#697186;--muted:#969eaf;--paper:#f7f8fb;--white:#fff;--line:#e5e8ef;--lilac:#6558ec;--lilac-pale:#eeecff;--mint:#3d9b82;--sun:#ffa889;--shadow:0 12px 40px rgba(44,55,97,.05)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"PingFang SC","Microsoft Yahei",system-ui,-apple-system,sans-serif;color:var(--ink);background:#f5f6f9;font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--lilac)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a39cfc;outline-offset:2px}h1,h2,h3,p{margin-top:0}.hide{display:none!important}
.ribbon{height:5px;background:linear-gradient(90deg,#5b58df 0% 23%,#ffb6a4 23% 45%,#91d9b9 45% 67%,#8a91fb 67% 100%)}
.site-header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(18px,4vw,70px);background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:9}
.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-shape{width:40px;height:40px;display:grid;place-items:center;border-radius:12px 14px 12px 5px;background:linear-gradient(130deg,#6359dd,#9485ff);box-shadow:inset -5px -6px 0 #5245cc;color:white;font-weight:800;font-size:20px}.brand-text{display:flex;flex-direction:column;line-height:1.18;gap:4px}.brand-text strong{font-size:16px;letter-spacing:.02em}.brand-text em{font-style:normal;font-size:10px;color:#8a90a6;letter-spacing:.18em;font-weight:700}.menu{display:flex;align-items:center;gap:clamp(10px,2vw,30px);font-size:13px;font-weight:600;color:#626a7d}.menu a{padding:9px 0;border-bottom:2px solid transparent}.menu a:hover,.menu a[aria-current="page"]{color:var(--lilac);border-color:var(--lilac)}.header-note{display:flex;align-items:center;gap:8px;color:#6d7484;font-size:12px;white-space:nowrap}.status-light{width:7px;height:7px;background:#54bc9c;border-radius:50%;box-shadow:0 0 0 4px #eaf8f1}
main{max-width:1500px;margin:0 auto}.work-shell{margin:28px clamp(16px,4vw,64px) 0;background:white;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.window-bar{height:59px;padding:0 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#fff}.crumb{color:var(--sub);font-size:12px}.crumb b{color:var(--ink);font-weight:650}.crumb i{color:#bcc2cf;font-style:normal;margin:0 8px}.window-actions{display:flex;align-items:center;gap:12px;font-size:12px;color:#8790a0}.round-dot{width:10px;height:10px;border:2px solid #b6b7e7;border-radius:50%;display:inline-block}.format-pill{border:1px solid #e1e2fb;background:#f4f2ff;color:#695edc;padding:5px 10px;border-radius:99px;font-size:11px;font-weight:800}
.workspace{display:grid;grid-template-columns:78px minmax(0,1fr) 305px;min-height:585px}.tools-rail{border-right:1px solid var(--line);background:#fafaff;display:flex;flex-direction:column;align-items:center;padding:22px 9px;gap:16px}.tool-rail-button{display:grid;justify-items:center;align-content:center;gap:7px;width:60px;min-height:66px;border:0;border-radius:12px;color:#707991;background:transparent;font-size:11px;font-weight:650}.tool-rail-button svg{width:22px;height:22px;stroke-width:1.8}.tool-rail-button.active,.tool-rail-button:hover{background:#eeeaff;color:#5c53d4}.rail-divider{height:1px;width:36px;background:#e7e7f0}.canvas-stage{min-width:0;display:flex;flex-direction:column;background:#f9fafc;position:relative}.stage-top{padding:18px 24px 8px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.eyebrow{color:#897df0;font-size:11px;letter-spacing:.16em;font-weight:800;text-transform:uppercase}.stage-top h1{font-size:23px;margin:3px 0 5px;letter-spacing:-.02em}.stage-top p{font-size:12px;color:#8290a0;max-width:630px;margin:0}.soft-button{border:1px solid #dee2e9;color:#525d72;border-radius:9px;background:white;padding:8px 12px;font-size:12px;font-weight:650}.soft-button:hover{border-color:var(--lilac);color:var(--lilac)}
.stage-frame{margin:12px 22px 16px;min-height:420px;flex:1;border:1px dashed #ccd3e1;border-radius:13px;background-color:#fcfcfe;background-image:linear-gradient(#f0f2f8 1px,transparent 1px),linear-gradient(90deg,#f0f2f8 1px,transparent 1px);background-size:24px 24px;position:relative;overflow:hidden;display:grid;place-items:center;transition:background .2s,border-color .2s}.stage-frame.drag-over{border-color:#7063eb;background-color:#f1efff}.empty-visual{text-align:center;padding:28px 20px;max-width:540px;z-index:1}.empty-icon-stack{position:relative;width:190px;height:150px;margin:0 auto 22px}.fake-paper{position:absolute;width:108px;height:112px;background:#d2cee9;border-radius:14px;left:44px;top:12px;transform:rotate(-15deg);border:7px solid white;box-shadow:0 12px 28px #b4b8d143}.fake-paper.front{background:linear-gradient(150deg,#dddafa 10%,#a4cfd1 60%,#fde4d7);transform:rotate(9deg);left:66px;top:15px}.fake-paper.front:after{content:"";position:absolute;left:11px;right:11px;bottom:18px;height:38px;background:linear-gradient(150deg,#6775b9,#89b7b8);clip-path:polygon(0 100%,29% 40%,52% 70%,75% 23%,100% 100%);border-radius:4px}.visual-star{position:absolute;color:#f1ae8e;font-size:35px;right:6px;top:0}.upload-label{display:inline-flex;align-items:center;justify-content:center;background:#6054e8;color:white;font-size:13px;font-weight:750;padding:12px 22px;border-radius:9px;cursor:pointer;box-shadow:0 9px 22px #6653e533}.upload-label:hover{background:#5146cb}.empty-visual h2{font-size:20px;margin-bottom:7px}.empty-visual p{color:#9197a7;font-size:12px;margin:12px 0 0}.drop-hotkey{margin-top:16px;color:#a4a9b8;font-size:12px}
.image-viewport{display:none;position:absolute;inset:0;align-items:center;justify-content:center;padding:30px;overflow:auto;background:repeating-conic-gradient(#e9ebf1 0 25%,#fff 0 50%) 0 0/18px 18px}.image-viewport.active{display:flex}.image-viewport img{display:block;max-width:100%;max-height:470px;width:auto;height:auto;object-fit:contain;box-shadow:0 10px 35px #5556;cursor:crosshair;transform-origin:center;transition:transform .18s}
.stage-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fff;border-top:1px solid var(--line);padding:14px 24px;color:#6e798b;font-size:12px}.stage-foot b{color:#333d56}.foot-mark{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.tiny-status{display:inline-flex;align-items:center;gap:7px}.tiny-status:before{content:"";height:6px;width:6px;border-radius:50%;background:#6bc1a9}
.inspector{border-left:1px solid var(--line);padding:20px;background:#fff}.panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #eceef4}.panel-head h2{font-size:15px;margin:0}.panel-head span{font-size:11px;color:#989faf}.input-group{margin-top:18px}.input-group label{display:block;font-weight:650;font-size:12px;color:#41485b;margin-bottom:8px}.control-input{width:100%;padding:10px 11px;border:1px solid #dfe2ed;border-radius:9px;background:#fff;color:#40485c;font-size:13px}.control-input:disabled{background:#f1f2f5}.two-input{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.select-wrap{position:relative}.range-line{display:flex;align-items:center;gap:12px}.range-line input{flex:1;min-width:0;accent-color:#6559e6}.range-line output{font-size:12px;color:#6760d9;width:36px;text-align:right}.check-row{display:flex;align-items:center;gap:9px;color:#566075;font-size:12px;margin-top:11px}.check-row input{accent-color:#6559e6}.panel-hint{margin:8px 0 0;color:#999eae;font-size:11px;line-height:1.65}.main-action{width:100%;margin-top:18px;border:0;background:#5f55de;border-radius:10px;color:#fff;padding:13px;font-weight:750;transition:transform .15s,background .15s}.main-action:hover{background:#5147c9;transform:translateY(-1px)}.main-action:disabled{background:#bfc0dd;cursor:not-allowed;transform:none}.minor-action{width:100%;background:#fff;border:1px solid #daddeb;color:#575fc0;border-radius:9px;margin-top:10px;padding:10px 12px;font-size:12px;font-weight:700}.export-note{padding:13px 12px;background:#f5f5fb;color:#7c8393;border-radius:10px;margin-top:17px;font-size:11px;line-height:1.8}.kbd{padding:2px 5px;background:#eceef5;border:1px solid #dde2ea;border-radius:4px;color:#7c8293}
.beneath{margin:24px clamp(16px,4vw,64px) 46px;display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.feature-wide{background:#e9eaff;border:1px solid #dddfff;padding:24px 29px;border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:160px}.feature-wide h2{font-size:20px;margin:7px 0}.feature-wide p{font-size:12px;color:#7b80a0;max-width:440px;margin-bottom:0}.spectrum-bars{width:175px;height:72px;display:flex;align-items:center;gap:4px;transform:rotate(-5deg)}.spectrum-bars span{flex:1;border-radius:7px;height:45px;background:var(--bg)}.feature-small{background:#fff;border:1px solid var(--line);border-radius:13px;padding:25px;min-height:160px}.feature-small h2{font-size:18px;margin:9px 0}.feature-small p{font-size:12px;color:#8a91a2;margin-bottom:13px}.arrow-link{color:#6554da;font-size:12px;font-weight:750}.thin-section{margin:0 clamp(16px,4vw,64px) 45px;border-top:1px solid #e0e3eb;padding-top:25px;display:flex;justify-content:space-between;align-items:flex-start;gap:28px}.thin-section h2{font-size:19px;min-width:135px}.thin-section .notes{display:grid;grid-template-columns:1fr 1fr;gap:28px;flex:1}.thin-section .notes h3{font-size:13px;margin:0 0 6px}.thin-section .notes p{font-size:12px;color:#7b8494;margin-bottom:0;line-height:1.9}
.site-footer{background:#fff;border-top:1px solid var(--line);padding:22px clamp(18px,4vw,70px);display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;font-size:12px;color:#81889b}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.filing{color:#6c61d5;text-decoration:underline;text-underline-offset:3px}
.sub-layout{padding:37px clamp(18px,4vw,70px) 70px;max-width:1390px;margin:0 auto}.page-strap{display:flex;align-items:center;gap:10px;font-size:12px;color:#8d92a4;font-weight:600;margin-bottom:23px}.page-strap span{width:22px;height:2px;background:#6a5eed}.sub-title{font-size:clamp(26px,3.2vw,42px);letter-spacing:-.04em;margin-bottom:9px;font-weight:800}.sub-lead{font-size:13px;color:#858c9d;max-width:700px;line-height:1.9;margin-bottom:30px}.app-sheet{border:1px solid #e0e3eb;border-radius:15px;background:#fff;box-shadow:var(--shadow);padding:30px}.lab-columns{display:grid;grid-template-columns:1fr 350px;gap:26px}.color-preview{border-radius:14px;border:1px solid #e4e8ef;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:30px;transition:background .2s}.color-preview h3{font-size:36px;margin:0}.color-preview p{font-size:14px;margin:0}.color-preview .mock-btn{border:2px solid currentColor;border-radius:7px;padding:9px 15px;font-size:12px;font-weight:700}.set-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.set-grid label{font-size:12px;color:#667084;font-weight:700;display:flex;flex-direction:column;gap:7px}.picker-row{display:flex;gap:7px}.picker-row input[type=color]{width:40px;height:40px;border:1px solid #e0e3e9;background:#fff;border-radius:8px;padding:2px;cursor:pointer}.picker-row input[type=text]{width:100%;min-width:0}.result-box{margin-top:22px;background:#f7f7fc;border-radius:12px;padding:18px}.result-box strong{font-size:25px;letter-spacing:-.02em}.result-box p{font-size:12px;color:#7b8397;margin:8px 0 0}.checks{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.check{font-size:11px;padding:10px;border-radius:8px;background:#f3f4f8;color:#858b9b}.check.good{background:#e8f7ee;color:#2f936c}.check.bad{background:#fff0ed;color:#c56b56}.gradient-preview{min-height:350px;border-radius:13px;display:grid;place-items:center;padding:35px;color:white;text-shadow:0 2px 15px #2225}.gradient-preview p{font-size:36px;font-weight:800;letter-spacing:-.02em;line-height:1.25;text-align:center}.code-area{width:100%;min-height:105px;background:#f5f6fa;border:1px solid #e0e3ec;border-radius:10px;resize:vertical;padding:12px;color:#454e61;font:12px/1.7 Consolas,monospace}.article-page{max-width:850px;margin:0 auto}.article-page .app-sheet{padding:clamp(25px,5vw,55px)}.article-page h2{font-size:20px;margin:27px 0 13px}.article-page p,.article-page li{font-size:14px;color:#656e7d;line-height:2}.article-page ul{padding-left:20px}.article-page .muted{font-size:12px;color:#999}.sub-nav{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 0}.sub-nav a{border-radius:99px;padding:9px 13px;font-size:12px;background:#f0effc;color:#6055cd}.meta-list{margin-top:22px;border-top:1px solid #e2e5ed}.meta-line{padding:17px 4px;border-bottom:1px solid #e2e5ed;display:grid;grid-template-columns:160px 1fr;gap:20px;font-size:13px}.meta-line span{color:#9097a7}
@media(max-width:1100px){.header-note{display:none}.workspace{grid-template-columns:64px minmax(0,1fr) 270px}.inspector{padding:15px}.beneath{grid-template-columns:1fr}.lab-columns{grid-template-columns:1fr}}
@media(max-width:800px){.site-header{height:auto;padding:15px 18px;align-items:flex-start;flex-direction:column;gap:15px}.menu{width:100%;gap:17px;overflow:auto;white-space:nowrap}.work-shell{margin:16px 12px 0}.window-bar{height:auto;min-height:52px;padding:12px}.workspace{display:flex;flex-wrap:wrap}.tools-rail{width:100%;flex-direction:row;justify-content:flex-start;border-right:0;border-bottom:1px solid var(--line);gap:8px;padding:8px}.tool-rail-button{min-height:48px;width:80px;display:flex;align-items:center;gap:7px;font-size:11px}.tool-rail-button svg{height:19px;width:19px}.rail-divider{width:1px;height:28px}.canvas-stage{width:100%}.stage-top{padding:16px}.stage-frame{margin:12px 12px 15px;min-height:300px}.stage-foot{padding:12px;flex-wrap:wrap}.inspector{width:100%;border-left:0;border-top:1px solid var(--line);padding:18px}.beneath{margin:16px 12px 26px}.thin-section{margin:0 13px 25px;flex-direction:column}.thin-section .notes{grid-template-columns:1fr}.feature-wide{padding:20px}.spectrum-bars{display:none}.sub-layout{padding:24px 14px 50px}.app-sheet{padding:20px}.color-preview{min-height:270px}.color-preview h3{font-size:27px}.meta-line{grid-template-columns:1fr;gap:3px}.site-footer{padding:20px}}
