/* 만들기 창 (public/js/create.js): 시작 카드 3개 → 고르기 → 세 안 나란히 → 사진 만들기 */
.modal.create-modal { max-width: 920px; }
.cr-starts { grid-template-columns: repeat(3, 1fr); }
.cr-starts .make-opt { flex-direction: column; align-items: flex-start; padding: 18px 16px; min-height: 120px; }
.cr-starts .make-opt .emo { font-size: 30px; }
.cr-sec { margin-bottom: 16px; }
.cr-sec h3 { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.cr-refs, .cr-products { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.cr-ref, .cr-product { flex: 0 0 auto; width: 96px; display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; text-align: left; opacity: .55; }
.cr-product { opacity: 1; }
.cr-ref.on, .cr-product.on { border-color: var(--accent); opacity: 1; }
.cr-ref img, .cr-product img, .cr-nophoto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.cr-nophoto { display: grid; place-items: center; align-content: center; color: var(--text-3, var(--muted)); }
.cr-ref .xs, .cr-product .xs { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.cr-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.cr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cr-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.cr-shot { position: relative; background: var(--surface-2); }
.cr-canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.cr-count { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; border: 0; cursor: pointer; }
.cr-notai { position: absolute; left: 8px; top: 8px; background: rgba(0, 0, 0, .65); color: #fff; }
.cr-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.cr-label { font-size: 14px; }
.cr-cap { margin: 0; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.cr-from { display: flex; gap: 4px; align-items: center; }
.cr-from img { width: 28px; height: 35px; object-fit: cover; border-radius: 5px; }
.cr-strip { display: flex; gap: 4px; overflow-x: auto; }
.cr-strip figure { margin: 0; text-align: center; } .cr-strip canvas { width: 54px; height: 68px; border-radius: 4px; display: block; }
.cr-empty { text-align: center; padding: 32px 16px; }
.cr-done { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cr-shot.big { border-radius: 14px; overflow: hidden; }
.cr-done-side h3 { font-size: 14px; margin: 0 0 8px; }
.cr-shots { display: grid; gap: 8px; }
.cr-shotbtn { display: flex; align-items: center; gap: 6px; } .cr-shotbtn .btn { min-width: 84px; }
@media (max-width: 760px) { .cr-starts, .cr-grid, .cr-done { grid-template-columns: 1fr; } }
.cr-shotchip { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #222; }
/* 따라 할 게시물 아래 판정 칩 (평소 대비), 스토어 상품의 가격·스토어 줄, 만들기가 꺼진 이유 한 줄 */
.cr-ref { width: 128px; } .cr-product { width: 112px; }
.cr-ref-v { display: block; min-width: 0; } .cr-ref-v .verdict small { font-size: 11px; } .cr-ref-v .verdict { font-size: 11px; padding: 2px 6px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-product .cr-pmeta { color: var(--text-3, var(--muted)); }
.cr-why { color: var(--text-2); white-space: nowrap; }
/* 사진 올리기 (우리 상품으로 첫 칸): 올린 사진·상품명·가격·메모, 끌어 놓기 표시 · 결과 카드의 고칠 수 있는 제목·첫 문장·캡션·왜 이렇게? */
.cr-upload .cr-nophoto { font-size: 26px; border: 1.5px dashed var(--border); } .cr-upload .cr-nophoto small { font-size: 11px; color: var(--text-2); }
.cr-upload.drag, .cr-uppanel.drag { outline: 2px dashed var(--accent); outline-offset: 2px; }
.cr-uppanel { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); display: grid; gap: 8px; }
.cr-upphotos { display: flex; gap: 6px; flex-wrap: wrap; }
.cr-upphotos figure { position: relative; margin: 0; width: 64px; } .cr-upphotos img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; display: block; }
.cr-upfirst { position: absolute; left: 4px; bottom: 4px; padding: 1px 5px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; }
.cr-upx { position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; line-height: 20px; padding: 0; }
.cr-upadd { width: 64px; aspect-ratio: 4 / 5; border: 1.5px dashed var(--border); border-radius: 8px; background: none; cursor: pointer; display: grid; place-items: center; align-content: center; font-size: 20px; color: var(--text-2); } .cr-upadd small { font-size: 10.5px; }
.cr-upfields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; } .cr-upfields label { display: grid; gap: 3px; } .cr-upfields .cr-upmemo { grid-column: 1 / -1; }
.cr-field { display: grid; gap: 3px; } .cr-field .input, .cr-field .textarea { font-size: 12.5px; padding: 6px 8px; } .cr-field .textarea { resize: vertical; min-height: 0; }
.cr-hook .xs { font-weight: 700; color: var(--accent); } .cr-hook .textarea { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); font-weight: 600; }
.cr-whyline { margin: 0; color: var(--text-2); } .cr-whyline b { color: var(--text); }
.cr-from a { display: block; line-height: 0; }
.cr-note { margin: 0 0 8px; color: var(--text-2); }
@media (max-width: 760px) { .cr-upfields { grid-template-columns: 1fr; } }
