@charset "utf-8";
/* ═══ anyboard.css — 게시판 공통 (스킨과 상관없는 것: 안내 · 그림 보기 창 · 3.5 에서 단추로 바꾼 칸) — core/anyboard/board.php 가 불러옴 ═══ */

.anyboardWrap { position: relative; }
.anyboardMsg { padding: 60px 16px; text-align: center; font-size: 15px; line-height: 1.6; color: #666; }
.anyboardEmpty { padding: 40px 0; text-align: center; }

/* 스킨 단추는 3.0 과 같은 <p> (스킨 CSS 가 p 에 걸려 있음) — 3.5 는 onclick 대신 data-board-submit + 키보드 */
.anyboardWrap [data-board-submit] { cursor: pointer; }
.anyboardWrap::after { content: ""; display: table; clear: both; }	/* 스킨의 float 가 감싼 칸 밖으로 나가지 않게 */

/* 리스트 최신게시물 접기 */
.mdLatestView { position: relative; width: 100%; padding-bottom: 20px; display: inline-block; }
.mdLatestToggle { position: absolute; right: 0; z-index: 100; border: 0; background: none; color: #666; font-size: 14px; cursor: pointer; }

.anyboardPwdMsg { margin-top: 10px; color: #e60012; font-size: 13px; }

/* 글쓰기 (단계 4) — 첨부 안내 · 끌어 놓기 · 대표 그림 · 손님 글 삭제 비밀번호 창 */
.anyboardWrap [hidden] { display: none !important; }
.anyboardWrap .mdEditor .sun-editor { text-align: left; }	/* 스킨 .mdEditor 가운데 정렬이 에디터 본문으로 물려 들지 않게 (3.0 CKEditor 는 iframe 이라 상관없었다) */
.anyboardFileHelp { clear: both; margin: 0; padding: 6px 5px 0; font-size: 12px; color: #888; }
.anyboardDropOn { outline: 2px dashed #00a6e3; outline-offset: -4px; background: #f0f9fd; }
.anyboardMainImg { display: block; margin-top: 4px; padding: 4px 0; font-size: 12px; color: #666; text-align: center; cursor: pointer; }
.anyboardInsert { margin: 2px 0 0; font-size: 12px; text-align: center; white-space: nowrap; }	/* 본문에 삽입 (11-24 — anyboardWrite.js insertBtn) */
.anyboardInsert a { color: #3a6fd8; text-decoration: underline; cursor: pointer; }
.anyboardWrap .mdImgBox, .anyboardWrap .mdFile_TextList, .anyboardWrap .mdImgBoxWrap { position: relative; }
.anyboardWrap .mdImgBox img { object-fit: cover; }
.anyboardDelBox { position: relative; clear: both; float: right; margin: 0 0 20px; padding: 15px 20px; border: 1px solid #d2d2d2; background: #fff; list-style: none; text-align: center; }
.anyboardDelBox li { list-style: none; }

/* 댓글 · 신고 (단계 5) — 3.0 popLayer · reportArea 자리 */
.anyboardWrap .mdRpbox { position: relative; }
.anyboardWrap [data-board-cmtslot] .anyboardDelBox { float: none; display: inline-block; margin: 10px 0 0; }
.anyboardCmtSub { clear: both; padding-top: 5px; }
.anyboardReportBtn { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
.anyboardReportIcon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #e60012; color: #fff; font-size: 11px; font-weight: bold; }
.anyboardReportLayer { position: absolute; right: 0; top: 100%; z-index: 50; min-width: 120px; padding: 6px 0; border: 1px solid #d2d2d2; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); text-align: left; }
.anyboardReportLayer p { margin: 0; padding: 6px 14px; font-size: 13px; color: #333; cursor: pointer; white-space: nowrap; }
.anyboardReportLayer p:hover { background: #f4f5f7; }
.anyboardReportBox { position: relative; clear: both; max-width: 360px; margin: 10px 0; padding: 15px 20px; border: 1px solid #d2d2d2; background: #fff; list-style: none; font-size: 13px; }
.anyboardReportBox li { list-style: none; }
.anyboardContent img { max-width: 100%; height: auto; }
.anyboardContent.sun-editor-editable { padding: 0; background: transparent; }	/* 에디터 본문 CSS 를 쓰되 바깥 여백 · 바탕은 스킨대로 */
.anyboardContent.sun-editor-editable .se-video-container iframe { outline: 0; }
.anyboardContent iframe { max-width: 100%; }

/* 본문 그림 보기 창 (3.0 anyboardLayer · lightGallery 자리) */
.anyboardLayer { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .88); }
.anyboardLayer[hidden] { display: none; }
.anyboardLayerImg { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); object-fit: contain; box-shadow: 0 4px 24px rgba(0, 0, 0, .4); }
.anyboardLayer button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 34px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.anyboardLayer button:hover { background: rgba(255, 255, 255, .25); }
.anyboardLayer button[hidden] { display: none; }
.anyboardLayerPrev { left: 16px; top: 50%; transform: translateY(-50%); }
.anyboardLayerNext { right: 16px; top: 50%; transform: translateY(-50%); }
.anyboardLayerClose { right: 16px; top: 16px; font-size: 28px; }
.anyboardLayerCount { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); color: #ddd; font-size: 13px; }
