.creation-module { box-sizing:border-box; width:100%; max-width:1120px; margin:0 auto; padding:32px var(--page-gutter,24px) 48px; color:#3c3933; min-width:0; --creation-ink:#1a1917; --creation-paper:#f5f2eb; }
.creation-module[hidden],.creation-module [hidden] { display:none!important; }
.creation-heading { margin-bottom:24px; }.creation-eyebrow { color:#b38b4d; letter-spacing:.12em; font-size:12px; margin:0 0 8px; }
.creation-module h1 { font-family:var(--font-serif,"Songti SC",Georgia,serif); color:#1a1917; font-size:28px; font-weight:600; line-height:1.35; margin:0 0 12px; }
.creation-module h2 { font-family:var(--font-serif,"Songti SC",Georgia,serif); color:#1a1917; font-size:23px; font-weight:600; line-height:1.45; }.creation-module h3 { font-size:17px; line-height:1.5; margin:16px 0 10px; }
.creation-note { font-size:14px; color:#787368; line-height:1.8; margin:10px 0; overflow-wrap:anywhere; }.creation-state,.creation-draft-banner { padding:16px 20px; background:#f0e9db; border:1px solid #e3ded4; border-left:3px solid #b38b4d; line-height:1.8; margin:0 0 24px; overflow-wrap:anywhere; }
.creation-tabs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:24px 0; }.creation-button,.creation-tab,.creation-link-button { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; box-sizing:border-box; margin:0; line-height:1.25; text-align:center; gap:8px; }
.creation-tab,.creation-link-button { border:1px solid #cec7b9; border-radius:0; min-height:44px; padding:10px 16px; background:#fff; color:#3c3933; font-family:inherit; font-weight:inherit; font-size:14px; line-height:1.25; cursor:pointer; }
.creation-tab.is-active { background:#1a1917; color:#f7f4ed; border-color:#1a1917; }.creation-link-button { border:0; background:transparent; color:#787368; text-decoration:none; min-height:32px; padding:6px 8px; }
.creation-button { min-height:44px; border:1px solid #1a1917; border-radius:0; background:#1a1917; color:#f7f4ed; padding:10px 18px; font-family:inherit; font-weight:inherit; font-size:14px; line-height:1.25; cursor:pointer; }
.creation-module button:disabled { opacity:.5; cursor:wait; }.creation-module button:focus-visible,.creation-input:focus-visible,.creation-comparison-slider:focus-visible { outline:2px solid #b38b4d; outline-offset:3px; }
.creation-catalog .creation-heading { margin-bottom:20px; }.creation-catalog-search { margin-bottom:12px; }
.creation-catalog-scope { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0 0 12px; }
.creation-catalog-scope>.creation-tab { min-width:0; padding:10px 8px; }
.creation-catalog-filters { display:flex; align-items:center; gap:8px; margin:0 0 24px; }.creation-catalog-filters>.creation-input { flex:1; width:0; }.creation-catalog-shuffle { flex-shrink:0; padding:10px 12px; }
.creation-catalog-filters>.creation-input:disabled { opacity:1; color:#787368; background:#faf8f4; }
.creation-template-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; align-items:stretch; }
.creation-template-card { display:flex; flex-direction:column; position:relative; min-width:0; overflow:hidden; border:1px solid #e3ded4; background:#fff; }
.creation-template-media { position:relative; }.creation-template-preview { display:block; position:relative; width:100%; border:0; padding:0; background:#eee9de; cursor:pointer; }
.creation-template-cover { display:block; width:100%; aspect-ratio:4/5; object-fit:contain; border-radius:0; background:#faf8f4; }
.creation-source-badge { position:absolute;top:8px;right:8px;z-index:1;background:rgba(255,253,249,.95);color:#787368;border:1px solid #e3ded4;padding:3px 6px;font-size:10px;line-height:1.5; }
.creation-template-body { display:flex; flex-direction:column; gap:8px; padding:12px 14px 8px; flex:1; min-width:0; }
.creation-template-title-row { display:flex; align-items:center; gap:6px; min-width:0; }
.creation-template-card .creation-template-name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-family:var(--font-serif,"Songti SC",Georgia,serif); font-size:17px; line-height:1.5; color:#1a1917; margin:0; }
.creation-template-card>.creation-link-button,.creation-template-card .creation-favorite { min-height:40px;min-width:40px; padding:0; border:0; border-radius:0; text-decoration:none; }
.creation-favorite { position:absolute; right:8px; bottom:8px; width:40px; height:40px; font-size:23px; color:#787368; background:#fffdf9; border:1px solid #e3ded4!important; }.creation-favorite[aria-pressed=true] { color:#9e4b3c; }
.creation-template-footer { display:flex; gap:8px; align-items:center; justify-content:space-between; border-top:1px solid #eee9de; margin-top:auto; min-width:0; }
.creation-template-usage { color:#787368; font-size:12px; white-space:nowrap; }.creation-template-open { font-size:12px; padding:8px 0 8px 8px; min-width:0; flex-shrink:0; }
.creation-catalog-empty { grid-column:1/-1; border:1px solid #e3ded4; padding:32px 24px; text-align:center; background:#faf8f4; }
.creation-form-grid { display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,1fr); gap:32px; align-items:start; }.creation-preview-column { position:sticky; top:24px; min-width:0; }.creation-form-column { min-width:0; background:#fff; border:1px solid #e3ded4; padding:24px; }
.creation-field { display:flex; flex-direction:column; gap:8px; margin:0 0 24px; font-size:14px; }.creation-field-label { font-weight:600; color:#3c3933; }.creation-field input[type=checkbox] { width:20px; height:20px; margin:2px 0; accent-color:#1a1917; }.creation-field .creation-note { margin:0; font-size:13px; }
.creation-checkbox-field { flex-direction:row; flex-wrap:wrap; align-items:flex-start; gap:10px; min-height:44px; }.creation-checkbox-field>input { order:-1; flex:0 0 20px; }.creation-checkbox-field>.creation-field-label { flex:1; min-width:0; font-weight:400; }.creation-checkbox-field>.creation-note { flex-basis:100%; padding-left:30px; }
.creation-enhance { min-width:0; margin:0 0 24px; padding:0; border:0; }
.creation-enhance legend { margin-bottom:12px; padding:0; }
.creation-enhance-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 16px; }
.creation-enhance-options .creation-field { margin:0; min-width:0; overflow-wrap:anywhere; }
.creation-input { box-sizing:border-box; width:100%; min-width:0; border:1px solid #cec7b9; border-radius:0; background:#fff; color:#1a1917; padding:10px 12px; min-height:44px; font-family:inherit; font-weight:inherit; font-size:16px; line-height:1.25; }
.creation-input[type=range] { padding:8px; }.creation-module textarea { resize:vertical; min-height:140px; line-height:1.7; }.creation-file { box-sizing:border-box; width:100%; min-width:0; min-height:44px; font-size:14px; line-height:1.25; }
.creation-input[type=file] { padding:0; border:0; background:transparent; }
.creation-file::file-selector-button,.template-share-form input[type=file]::file-selector-button { box-sizing:border-box; min-height:44px; margin:0 10px 0 0; padding:10px 16px; border:1px solid #cec7b9; border-radius:0; background:#fff; color:#3c3933; font-family:inherit; font-weight:inherit; font-size:14px; line-height:1.25; vertical-align:middle; cursor:pointer; }
.creation-photo-stage { width:100%; border-radius:0; overflow:hidden; background:#faf8f4; min-height:120px; border:1px solid #e3ded4; }.creation-photo-preview { width:100%; height:100%; display:block; object-fit:cover; }.creation-photo-empty { min-height:280px; display:grid; place-items:center; background:#faf8f4; color:#8b8478; border:1px dashed #cec7b9; border-radius:0; text-align:center; padding:24px; }
.creation-submit-bar { position:static; background:#fff; padding:20px 0 0; border-top:1px solid #e3ded4; display:flex; flex-wrap:wrap; align-items:center; gap:12px; }.creation-submit-bar>.creation-note { flex:1 0 100%; margin:0; text-align:center; }.creation-submit-bar>.creation-button { flex:1 0 100%; }
.creation-dialog { width:min(760px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); box-sizing:border-box; background:#f5f2eb; color:#3c3933; border:1px solid #cec7b9; border-radius:0; padding:28px; overflow:auto; }.creation-dialog::backdrop { background:rgba(20,17,12,.68); }
.creation-detail-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; position:sticky; top:0; background:#f5f2eb; padding:0 0 16px; margin-bottom:8px; z-index:2; }.creation-detail-heading h2 { margin:0; min-width:0; overflow-wrap:anywhere; }.creation-dialog-close { display:inline-flex; align-items:center; justify-content:center; min-height:40px; width:40px; flex-shrink:0; padding:0; border:1px solid #cec7b9; background:#fff; color:#3c3933; font-size:13px; cursor:pointer; }
.creation-detail-image { display:block; width:100%; max-height:520px; object-fit:contain; margin-bottom:24px; }.creation-advice { font-size:14px; line-height:1.8; padding-left:22px; }.creation-template-detail>.creation-button { display:inline-flex; width:100%; margin-top:24px; }
.creation-result-stage { position:relative; width:100%; aspect-ratio:4/3; max-height:75dvh; overflow:hidden; background:#faf8f4; border:1px solid #e3ded4; }.creation-result-image { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }.creation-comparison-slider { display:block; width:100%; min-height:48px; accent-color:#b38b4d; margin:16px 0; }.creation-result-actions { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0; }.creation-result-actions>.creation-button { flex:1; }
.creation-zoom-dialog { width:900px; }.creation-zoom-image { width:100%; max-width:none; display:block; }.creation-module img { color:#787368; font-size:13px; }
.template-sharing { max-width:960px; }.template-sharing .creation-heading { margin-bottom:24px; }.template-sharing .creation-state:empty { display:none; }
.template-share-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:24px 0; }
.template-share-rewards { border:1px solid #e3ded4; padding:20px 24px; background:#fff; margin:24px 0; }.template-share-rewards>h2 { font-size:17px; margin:0 0 14px; }.template-share-reward-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }.template-share-reward-item { display:flex; flex-direction:column; gap:6px; }.template-share-reward-label { font-size:13px; color:#787368; }.template-share-reward-value { font-size:20px; font-weight:600; color:#1a1917; }
.template-share-list { display:grid;gap:20px;margin:24px 0; }.template-share-card { background:#fff; border:1px solid #e3ded4; padding:24px; }.template-share-card-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }.template-share-card-heading h2 { font-size:20px; margin:0; min-width:0; overflow-wrap:anywhere; }.template-share-status { font-size:12px; color:#787368; background:#faf8f4; border:1px solid #e3ded4; padding:5px 8px; flex-shrink:0; }.template-share-card-actions,.template-share-pagination { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:20px 0 0; }
.template-share-empty { border:1px solid #e3ded4; background:#fff; padding:36px 28px; text-align:center; }.template-share-empty h2 { font-size:21px; margin:0 0 12px; }.template-share-empty .creation-button { margin-top:16px; }
.template-share-form,.template-share-footer { max-width:760px; margin-left:auto; margin-right:auto; }.template-share-section { background:#fff; border:1px solid #e3ded4; padding:24px; margin:0 0 24px; }.template-share-section-heading { margin:0 0 8px; font-size:20px!important; }.template-share-section-copy { margin:0 0 24px; font-size:13px; color:#787368; line-height:1.8; }
.template-share-covers { display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 24px; }.template-share-cover { max-width:150px; min-width:0; }.template-share-cover img { display:block;width:100%;height:150px;object-fit:contain;border:1px solid #e3ded4;background:#faf8f4; }.template-share-cover button { width:100%; margin-top:8px; }
.template-share-ai { background:#faf8f4; border:1px solid #e3ded4; padding:16px 20px; margin:24px 0; }.template-share-ai>summary { cursor:pointer; min-height:32px; font-size:14px; color:#3c3933; }.template-share-ai .creation-input { margin-top:16px; }
.template-share-consent { flex-direction:row; align-items:flex-start; gap:10px; min-height:44px; margin:24px 0; }.template-share-consent>input { flex-shrink:0; }.template-share-consent>span { min-width:0; flex:1; }
.template-share-form-actions { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }.template-share-form-actions>button { flex:1; }.template-share-footer { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:24px; }.template-share-version { font-size:13px; color:#787368; }
@media(max-width:900px) { .creation-template-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; } }
@media(max-width:700px) {
 .creation-module { padding:24px var(--page-gutter,16px) 40px; }.creation-module h1 { font-size:24px; }.creation-module h2 { font-size:21px; }.creation-form-page { padding-bottom:calc(230px + env(safe-area-inset-bottom)); }.creation-form-grid { grid-template-columns:minmax(0,1fr); gap:24px; }.creation-preview-column { position:static; }.creation-form-column { padding:20px; }
 .creation-template-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 12px; }.creation-template-body { padding:8px 10px 4px; gap:8px; }.creation-template-card .creation-template-name { font-size:16px; }.creation-template-card>.creation-link-button,.creation-template-card .creation-favorite { min-height:44px;min-width:44px; }.creation-favorite { flex-basis:44px;width:44px;height:44px; }.creation-template-open { min-height:44px;font-size:12px; }.creation-source-badge { top:6px;right:6px; }
 .creation-form-page .creation-submit-bar { position:fixed; bottom:calc(76px + env(safe-area-inset-bottom)); left:16px; right:16px; z-index:50; box-sizing:border-box; padding:14px 16px; border:1px solid #e3ded4; border-radius:0; }.creation-result-actions { flex-direction:column; }.creation-result-actions>.creation-button { width:100%; }.creation-dialog { padding:20px; }.creation-dialog-close { min-height:44px;width:44px; }.creation-tabs { gap:8px; }.creation-tab { padding:10px 12px; }.creation-photo-empty { min-height:220px; }.creation-link-button { min-height:44px; }
 .template-share-section,.template-share-card { padding:20px; }.template-share-card-heading { align-items:flex-start; }.template-share-card-heading h2 { font-size:18px; }.template-share-rewards { padding:20px; }.template-share-reward-grid { gap:16px; }.template-share-empty { padding:32px 20px; }.template-share-covers { gap:10px; }.template-share-cover { width:calc((100% - 20px)/3); }.template-share-cover img { height:100px; }.template-share-cover button { padding:10px 4px; font-size:13px; }.template-share-ai { padding:16px; }.template-share-ai>summary { min-height:44px; }.template-share-form-actions>button { flex:1 0 100%; }
}
@media(max-width:350px) { .creation-template-usage { font-size:11px; }.creation-template-open { font-size:11px;padding-left:4px; }.creation-template-footer { gap:4px; }.creation-template-card .creation-template-name { font-size:15px; }.creation-catalog-scope>.creation-tab { font-size:13px; }.creation-catalog-shuffle { padding:10px 8px; font-size:13px; } }
@media(prefers-reduced-motion:reduce) { .creation-module * { scroll-behavior:auto; transition:none!important; } }
