*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"Noto Sans KR","IBM Plex Sans KR","Malgun Gothic",sans-serif;background:#f3f4f6;color:#111827}button,input,textarea{font:inherit}button{cursor:pointer}.topbar{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:rgba(255,255,255,.96);border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:60;backdrop-filter:blur(12px)}.brand{display:flex;flex-direction:column;gap:1px}.brand strong{font-size:15px;letter-spacing:-.02em}.brand small{font-size:10px;color:#8a9099}.badge{font-size:10px;font-weight:900;padding:5px 9px;border-radius:999px;background:#111827;color:#fff}.shell{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:calc(100vh - 60px)}.composer{position:sticky;top:60px;height:calc(100vh - 60px);overflow:auto;background:#fff;border-right:1px solid #e5e7eb;padding:18px 16px 34px}.intro h1{margin:0;font-size:27px;line-height:1.1;letter-spacing:-.05em}.intro p{margin:8px 0 0;font-size:12px;line-height:1.58;color:#747b85}.step{margin-top:17px;padding-top:17px;border-top:1px solid #eceef1}.stephead{display:flex;gap:9px;align-items:flex-start;margin-bottom:11px}.stepnum{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:7px;background:#111827;color:#fff;font-size:10px;font-weight:900}.stephead strong{display:block;font-size:13px}.stephead span{display:block;margin-top:1px;font-size:10px;color:#8a9099}.uploads{display:grid;grid-template-columns:1fr 1fr;gap:8px}.upload{position:relative;min-height:86px;border:1px dashed #c8cdd4;border-radius:11px;background:#fafbfc;overflow:hidden;display:flex;align-items:flex-end;padding:8px;transition:.15s}.upload:hover,.upload.drag{border-color:#111827;background:#fff}.upload.loaded{border-style:solid;border-color:#cfd4da}.upload input{display:none}.upload .thumb{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:.15s}.upload.loaded .thumb{opacity:1}.upload.loaded:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 34%,rgba(0,0,0,.68))}.upload .meta{position:relative;z-index:2;display:flex;flex-direction:column;min-width:0}.upload b{font-size:11px}.upload small{font-size:9px;color:#8d939b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload.loaded b,.upload.loaded small{color:#fff}.jsonbox{border:1px solid #d7dbe0;border-radius:10px;overflow:hidden;background:#fff}.json{width:100%;min-height:185px;border:0;outline:0;resize:vertical;padding:11px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;line-height:1.48;color:#1f2937}.jsonbar{display:flex;gap:6px;padding:7px;border-top:1px solid #eceef1;background:#fafbfc}.jsonbar button,.toolbtn,.pick,.save{border-radius:8px;font-size:10px;font-weight:800}.jsonbar button,.toolbtn,.pick{border:1px solid #d8dde3;background:#fff;color:#343a42;padding:7px 9px}.jsonbar .paste{background:#111827;color:#fff;border-color:#111827}.primary{width:100%;border:0;border-radius:10px;background:#111827;color:#fff;padding:13px 14px;font-weight:850}.primary:disabled{opacity:.55;cursor:not-allowed}.status{margin-top:8px;font-size:10px;color:#777e87;line-height:1.45}.status[data-tone=ok]{color:#147a49}.status[data-tone=error]{color:#b42318}.status[data-tone=warn]{color:#8a6511}.workspace{min-width:0;padding:18px 18px 56px}.worktop{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;margin-bottom:13px}.worktop h2{margin:0;font-size:20px;letter-spacing:-.035em}.worktop p{margin:4px 0 0;font-size:11px;color:#7d838b}.hint{display:flex;gap:6px;flex-wrap:wrap}.hint span{font-size:9px;padding:5px 7px;border-radius:999px;background:#fff;border:1px solid #e0e4e8;color:#717780}.section-title{display:flex;align-items:center;justify-content:space-between;margin:18px 0 9px}.section-title h3{margin:0;font-size:14px}.section-title span{font-size:10px;color:#8a9098}.thumb-grid,.body-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.design,.bodycard{border:1px solid #dfe3e8;border-radius:13px;background:#fff;overflow:hidden;min-width:0;contain:layout paint style}.design.selected{border-color:#111827;box-shadow:0 0 0 3px rgba(17,24,39,.07)}.cardhead{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-bottom:1px solid #edf0f2}.cardhead .meta{display:flex;flex-direction:column;gap:2px;min-width:0}.cardhead strong{font-size:11px}.quality{font-size:9px;font-weight:750}.quality.good{color:#147a49}.quality.mid{color:#8a6511}.quality.warn{color:#b42318}.previewBtn{display:block;width:100%;padding:0;border:0;background:transparent;text-align:initial}.preview{padding:8px;background:#eef0f2;aspect-ratio:1/1;display:grid;place-items:center}.preview canvas{display:block;width:100%;height:auto}.bodyPreview{aspect-ratio:auto}.bodyPreview canvas{max-height:680px;object-fit:contain}.mobile-row{display:flex;align-items:center;gap:8px;padding:8px 9px;border-top:1px solid #edf0f2;color:#878e97;font-size:9px}.mobile-row canvas{width:56px;height:56px;border-radius:6px;border:1px solid #e1e5e9}.tools{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;border-top:1px solid #eef0f2}.toolbtn:hover,.pick:hover{background:#f8f9fa;border-color:#aeb5bd}.save{width:calc(100% - 16px);margin:0 8px 8px;padding:9px;border:0;background:#111827;color:#fff}.save:disabled{opacity:.45}.empty{grid-column:1/-1;padding:52px 20px;border:1px dashed #cfd4da;border-radius:12px;background:#fafbfc;text-align:center;color:#888f98;font-size:11px}.empty strong{display:block;margin-bottom:4px;color:#59606a}.toast{position:fixed;right:18px;bottom:18px;z-index:120;padding:10px 12px;border-radius:9px;background:#111827;color:#fff;font-size:10px;opacity:0;transform:translateY(8px);pointer-events:none;transition:.16s}.toast.show{opacity:1;transform:none}.lightbox{display:none;position:fixed;inset:0;z-index:200;background:rgba(8,10,13,.86);padding:18px;align-items:center;justify-content:center}.lightbox.show{display:flex}.lightbox-panel{max-width:min(94vw,980px);max-height:94vh;background:#11151b;border-radius:14px;padding:12px;box-shadow:0 30px 90px rgba(0,0,0,.42)}.lightbox-head{display:flex;align-items:center;justify-content:space-between;color:#fff;margin-bottom:9px}.lightbox-head strong{font-size:12px}.lightbox-head button{border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:6px 9px}.lightbox canvas{display:block;max-width:86vw;max-height:84vh;width:auto;height:auto;background:#fff}.footer-note{margin-top:14px;font-size:10px;line-height:1.5;color:#8a9098}.sticky-generate{display:none}@media(max-width:1180px){.shell{grid-template-columns:320px minmax(0,1fr)}.thumb-grid,.body-grid{grid-template-columns:1fr 1fr}}@media(max-width:860px){.shell{grid-template-columns:1fr}.composer{position:relative;top:auto;height:auto;border-right:0;border-bottom:1px solid #e6e8eb}.workspace{padding:15px 11px 82px}.thumb-grid,.body-grid{grid-template-columns:1fr}.sticky-generate{display:block;position:fixed;left:10px;right:10px;bottom:10px;z-index:80}.sticky-generate .primary{box-shadow:0 8px 28px rgba(0,0,0,.18)}}@media(max-width:520px){.topbar{height:56px;padding:0 12px}.brand small{display:none}.composer{padding:14px 11px 24px}.intro h1{font-size:23px}.uploads{grid-template-columns:repeat(2,1fr)}.upload{min-height:76px}.workspace{padding:13px 8px 84px}.preview{padding:6px}.tools{gap:5px}.toolbtn{padding:7px 5px;font-size:9px}.lightbox{padding:6px}.lightbox canvas{max-width:95vw;max-height:85vh}}