/* ===== share (스레드에 올리기 통합) : 이 블록은 share.css 전용 ===== */
#share-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:rgba(40,30,20,.45);padding:16px}
#share-modal .sm-box{position:relative;background:#fff9e6;color:#5a4632;border:0;border-radius:22px;box-shadow:0 6px 0 rgba(90,70,50,.16);padding:18px;max-width:min(980px,96vw);max-height:94vh;overflow:auto;font-family:Jua,sans-serif}
#share-modal .sm-x{position:absolute;right:12px;top:12px;width:44px;height:44px;border-radius:50%;background:#f3ead6;border:0;color:#5a4632;font-size:26px;line-height:44px;padding:0;cursor:pointer}
#share-modal .sm-body{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap;justify-content:center}
#share-modal .sm-img{height:min(78vh,640px);width:auto;max-width:100%;border-radius:10px;box-shadow:0 8px 28px rgba(0,0,0,.5)}
#share-modal .sm-side{flex:1 1 280px;max-width:380px;display:flex;flex-direction:column;gap:8px}
#share-modal .sm-h{font-size:22px}
#share-modal .sm-l{font-size:14px;color:#7a6650}
#share-modal textarea{width:100%;box-sizing:border-box;border-radius:10px;border:2px solid #e4d6bd;background:#fff;color:#4a3a2c;font:15px/1.5 sans-serif;padding:10px;resize:vertical}
#share-modal .sm-note{font-size:15px;line-height:1.5;color:#8a5a1a;margin:0}
#share-modal .sm-row{display:flex;gap:8px}
#share-modal .sm-row button{flex:1;padding:12px 8px;border-radius:999px;border:2px solid #0f7f76;font:17px Jua,sans-serif;cursor:pointer;background:#fff;color:#0f7f76}
#share-modal .sm-row .sm-go{background:#0f7f76;color:#fff}
#share-modal .sm-msg{min-height:1.4em;font-size:14px;color:#0f7f76;margin:0}
.share-open{display:block;width:100%;margin:10px 0;padding:11px;border-radius:999px;border:0;background:#0f7f76;color:#fff;font:17px Jua,sans-serif;cursor:pointer}
@media (max-width:700px){#share-modal .sm-img{height:auto;max-height:42vh}}

#share-modal .sm-invite-link{width:100%;box-sizing:border-box;border-radius:10px;border:2px solid #e4d6bd;background:#fff;color:#4a3a2c;font:14px sans-serif;padding:10px}

#share-modal textarea,#share-modal input,#share-modal .sm-invite-link{font-family:Jua,"Malgun Gothic",sans-serif}
