.ptext,.ntext,.comment p{overflow-wrap:anywhere;white-space:pre-wrap}
.ptext a,.ntext a,.comment a{color:#2367ad;text-decoration:underline}
.comments{margin-top:14px;border-top:1px solid #eee0d0;padding-top:10px;font-size:12px}
.comments summary{cursor:pointer;color:#645547;padding:5px 0}
.comments textarea{box-sizing:border-box;width:100%;min-height:65px;margin:10px 0 5px;padding:8px;border:1px solid #dbcdbb;border-radius:8px;font:inherit}
.comments button,.pdate button,.ndate button{border:0;border-radius:6px;padding:5px 8px;cursor:pointer;background:#f1e9df;color:#584532;font:inherit}
.comment{padding:9px 0;border-bottom:1px solid #eee}.comment p{margin:5px 0}.comment small{color:#877563}.comment-msg{color:#b34032;margin-top:5px}
.attachment-previews,.post-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}
.attachment-previews>div{position:relative}.attachment-previews img{width:100%;height:110px;object-fit:cover;border-radius:8px}
.attachment-previews button{position:absolute;right:3px;top:3px;border:0;border-radius:50%;background:#fff;width:27px;height:27px;font-size:20px;cursor:pointer}
.post-photos .photo-open{padding:0;border:0;background:transparent;cursor:zoom-in;min-width:0}.post-card .post-photos img,.post-photos img{width:100%;height:150px;object-fit:cover;border-radius:9px;margin:0;display:block}
.post-photos:has(>button:only-child){grid-template-columns:1fr}.post-photos:has(>button:only-child) img{height:auto;max-height:400px;object-fit:contain}
.photo-dialog{max-width:94vw;max-height:92vh;border:0;border-radius:12px;padding:12px}.photo-dialog::backdrop{background:#000b}.photo-dialog img{display:block;max-width:88vw;max-height:80vh;object-fit:contain}.photo-dialog button{display:block;margin:0 0 8px auto;padding:7px 16px}
button:disabled{opacity:.55;cursor:wait}

/* v16: 작품 게시판 */
.board-sections{display:flex;gap:7px;margin-bottom:12px}
.board-sections button{flex:1;border:1px solid #e4d9ef;border-radius:12px;background:#fff;padding:11px 6px;color:#655571;font:inherit;font-size:12px;cursor:pointer}
.board-sections button[aria-pressed="true"]{background:#eee5fb;border-color:#b69acd;color:#563674;font-weight:700}
.board-notice{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--ink-soft);margin-top:6px}.board-notice input{width:auto}
.board-compose .row2 button{border:0;border-radius:8px;padding:9px 12px;font:inherit;font-size:12px;cursor:pointer}
.board-attach{color:#655571;background:#f5f0fa}.board-gallery-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.artwork-posts .post-card{border:1px solid #e3d4ef;background:linear-gradient(140deg,#fff,#fffbf5)}
.artwork-posts .post-photos img{object-fit:contain;background:#faf7f2}
