:root{color-scheme:light;--ink:#292822;--muted:#77766f;--line:#e9e5de;--canvas:#f8f5f0;--surface:#fff;--accent:#b85b3a;--accent-deep:#984529;--soft:#f7ebe3;--font:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button,select,input[type=color],input[type=range]{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,[contenteditable]:focus-visible,.drop-zone:focus-within{outline:3px solid #d58a6d;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.48}button:disabled:hover{background:var(--accent)}[hidden]{display:none!important}
.site-header{background:rgba(255,255,255,.82);border-bottom:1px solid var(--line)}.header-inner{max-width:1440px;margin:auto;height:78px;padding:0 60px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.brand-mark{height:38px;width:38px;display:grid;place-items:center;background:var(--accent);border-radius:10px;color:white;font-family:Georgia,serif;font-size:36px;line-height:1}.brand-mark span{height:24px}.brand-name{font-size:19px;letter-spacing:.12em;font-weight:750}.brand-name small{display:block;font-size:8px;letter-spacing:.18em;font-weight:700;color:var(--muted);line-height:1}.header-note{color:#77766f;font-size:12px;letter-spacing:.06em}.header-dot,.live-dot{display:inline-block;border-radius:50%;background:#8eaa83;width:7px;height:7px;margin-right:7px}
.page-shell{max-width:1440px;margin:auto;padding:0 60px}.intro{display:flex;justify-content:space-between;align-items:end;padding:54px 0 44px}.eyebrow,.section-kicker{color:var(--accent);font-size:10px;letter-spacing:.18em;font-weight:750;margin:0 0 14px}.eyebrow span{display:inline-block;width:24px;height:1px;background:var(--accent);vertical-align:middle;margin-right:8px}h1,h2,h3,p{margin-top:0}h1{font-family:"Songti SC","SimSun",serif;font-weight:600;font-size:clamp(32px,3.6vw,48px);line-height:1.38;letter-spacing:.04em;margin-bottom:16px}h1 em{font-style:normal;color:var(--accent)}.intro-copy{color:#6b6b64;margin:0;font-size:14px}.intro-caption{font-family:Georgia,serif;color:#bcb0a3;letter-spacing:.06em;font-size:16px;text-align:right;padding-bottom:5px}.intro-caption i{font-size:13px;margin:0 10px;font-style:normal;color:var(--accent)}.intro-caption small{display:block;font-family:var(--font);font-size:11px;color:#969188;margin-top:4px;letter-spacing:.03em}
.workspace{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}.editor-panel,.preview-panel{background:var(--surface);border:1px solid #ece8e1;border-radius:15px;box-shadow:0 10px 35px rgba(66,49,32,.035)}.editor-panel{padding:30px 32px 32px}.panel-heading,.preview-heading{display:flex;justify-content:space-between;align-items:center}.panel-heading h2,.preview-heading h2{font-size:19px;line-height:1.3;margin:0;font-weight:700}.section-kicker{display:block;margin-bottom:6px;font-size:9px;letter-spacing:.16em}.step-count{font-size:11px;color:#a8a39b;letter-spacing:.08em}.editor-section{padding-top:26px;margin-top:25px;border-top:1px solid var(--line)}.section-title{display:flex;align-items:start;gap:12px;margin-bottom:15px}.step-number{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:8px;background:var(--soft);color:var(--accent);font-size:10px;font-weight:750}.section-title h3{margin:0 0 2px;font-size:14px}.section-title p{margin:0;color:var(--muted);font-size:12px}
.drop-zone{min-height:139px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;background:#fcfaf7;border:1px dashed #d9ccc0;border-radius:9px;cursor:pointer;transition:background .18s,border-color .18s}.drop-zone:hover,.drop-zone.dragging{background:#fbf0e9;border-color:var(--accent)}.file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.upload-icon{display:grid;place-items:center;color:var(--accent);width:37px;height:37px;background:#f6e9e1;border-radius:10px;margin-bottom:2px}.upload-icon svg{width:21px;height:21px}.upload-title{color:var(--accent-deep);font-weight:700;font-size:13px}.upload-title span{color:#5e5b54;font-weight:500}.upload-hint{color:#89857e;font-size:11px}.image-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8a867e;font-size:11px;margin-top:10px}.image-meta>span{min-width:0;overflow-wrap:anywhere}.text-button{padding:4px 0;border:0;background:none;color:var(--accent-deep);font-size:12px;font-weight:650;white-space:nowrap}.text-button span{margin-left:3px}.text-button:hover{text-decoration:underline}
.text-editor{overflow:hidden;border:1px solid #e4e0d9;border-radius:9px}.toolbar{display:flex;align-items:center;gap:3px;padding:6px 8px;border-bottom:1px solid var(--line);background:#fcfbf9}.toolbar button{height:34px;width:34px;border:0;border-radius:5px;background:transparent;color:#514e48;font-family:Georgia,serif;font-size:15px}.toolbar button:hover,.toolbar button[aria-pressed=true]{background:#eee8e2;color:var(--accent-deep)}.toolbar-tip{margin-left:auto;padding-right:5px;font-size:10px;color:#8a867e}.caption-editor{min-height:133px;padding:14px 15px;background:#292822;color:#fff;font-size:16px;line-height:1.7;overflow-wrap:anywhere;outline:none}.caption-editor:empty:before{content:attr(data-placeholder);white-space:pre-line;color:#aaa59d;pointer-events:none}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px}.field{display:flex;flex-direction:column;gap:7px;color:#58554f;font-size:12px;font-weight:600}.field small,.range-label small{font-weight:400;color:#938e86}.field select,.field input[type=number],.color-control,.export-select select{height:40px;width:100%;padding:0 11px;background:#fff;border:1px solid #e4e0d9;border-radius:6px;color:var(--ink)}.color-control{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400}.color-control input{width:24px;height:24px;padding:0;border:0;background:transparent}.range-label{display:flex;justify-content:space-between;margin-top:20px;color:#58554f;font-size:12px;font-weight:600}input[type=range]{width:100%;accent-color:var(--accent);margin:13px 0 0}.range-ends{display:flex;justify-content:space-between;color:#a09a92;font-size:10px}
.preview-panel{padding:30px;position:sticky;top:24px}.preview-badge{font-size:10px;color:#657c61;background:#edf4eb;border-radius:20px;padding:5px 9px}.live-dot{width:6px;height:6px;margin:0 0 3px 4px}.preview-stage{min-height:530px;margin-top:24px;padding:24px;display:flex;align-items:center;justify-content:center;overflow:auto;border:1px solid #eeeae4;border-radius:9px;background-color:#f5f3ef;background-image:linear-gradient(45deg,#efede9 25%,transparent 25%),linear-gradient(-45deg,#efede9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#efede9 75%),linear-gradient(-45deg,transparent 75%,#efede9 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.empty-preview{text-align:center;color:#67645d}.empty-preview p{font-size:14px;font-weight:650;margin:26px 0 5px}.empty-preview>span{font-size:12px;color:#8a867e}.placeholder-art{position:relative;overflow:hidden;margin:auto;width:180px;height:220px;border:8px solid #fff;border-radius:4px;background:#dedbd2;box-shadow:0 12px 30px rgba(76,65,50,.15);transform:rotate(-3deg)}.art-sun{position:absolute;left:93px;top:28px;width:27px;height:27px;border-radius:50%;background:#f7dabc}.art-hill{position:absolute;bottom:0;width:220px;height:135px;transform:rotate(-25deg);background:#a5ad99}.art-hill-one{left:-92px;bottom:-58px}.art-hill-two{left:64px;bottom:-84px;background:#8c9984;transform:rotate(25deg)}.placeholder-art>span{position:absolute;top:68px;left:0;right:0;color:#fff;font-family:Georgia,serif;font-size:47px;line-height:1}.art-line{position:absolute;left:35px;right:35px;height:3px;border-radius:3px;background:rgba(255,255,255,.8)}.line-one{top:118px}.line-two{top:129px;left:53px;right:53px}#previewCanvas{display:block;max-width:100%;height:auto;box-shadow:0 10px 30px rgba(50,40,30,.14)}.preview-actions{display:flex;gap:12px;margin-top:20px}.export-select{display:flex;align-items:center;gap:8px;color:#6d6962;font-size:12px;white-space:nowrap}.export-select select{width:82px}.download-button{height:46px;flex:1;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:7px;background:var(--accent);color:#fff;font-weight:700}.download-button:not(:disabled):hover{background:var(--accent-deep)}.download-button svg{width:19px;height:19px}.download-button>span{margin-left:4px}.status{min-height:18px;text-align:right;color:#817c74;font-size:11px;margin:11px 0 0}
footer{display:flex;justify-content:space-between;gap:20px;color:#8d887f;font-size:11px;padding:35px 0 28px}footer>span:last-child{font-size:9px;letter-spacing:.12em}.footer-divider{color:#c3b9ad;margin:0 7px}
@media(max-width:900px){.header-inner,.page-shell{padding-left:28px;padding-right:28px}.workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.editor-panel,.preview-panel{padding:24px}.preview-stage{min-height:450px}.intro-caption{display:none}}
@media(max-width:700px){.header-inner{height:66px}.header-inner,.page-shell{padding-left:18px;padding-right:18px}.header-note{font-size:10px}.intro{padding:38px 0 28px}.intro-copy{line-height:1.8}.workspace{grid-template-columns:1fr;gap:16px}.editor-panel,.preview-panel{padding:22px}.preview-panel{position:static}.preview-stage{min-height:380px;padding:16px}.editor-section{margin-top:22px;padding-top:22px}footer{flex-direction:column;gap:7px;padding:26px 0}}
@media(max-width:380px){.header-note{display:none}.toolbar-tip{display:none}.preview-actions{flex-wrap:wrap}.export-select{width:100%;justify-content:space-between}.download-button{min-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
