/* ==================================================================
 * 상세 화면 v3 — 작품 전시실 · 게시글 읽기 판 (2026-11-04, MISSION 04)
 * body.sx-d3-page(모든 ?mod=document) · body.sx-d3-work(작품 게시판 글).
 * 값은 전부 seeu-ds.css 토큰. 옛 KBoard 스킨 규칙을 이겨야 하는 자리만 !important.
 * ================================================================== */
body.sx-d3-page .container-wrap{ padding-top:0 !important; }
body.sx-d3-page .kb-m-doc-head,
body.sx-d3-page .kb-m-doc-body,
body.sx-d3-page .kb-m-doc-action,
body.sx-d3-page .kb-m-doc-comments,
body.sx-d3-page .sx-d3-band,
body.sx-d3-page .sx-d3-more{ max-width:var(--sx-w-main); margin-left:auto !important; margin-right:auto !important; }

/* 머리 — 갈래 · 큰 제목 · 메타 · 반응 */
body.sx-d3-page .kb-m-doc-head{
	padding:clamp(32px, 4vw, 56px) 0 24px !important;
	border:0 !important; border-bottom:1px solid var(--sx-line) !important;
	background:none !important; box-shadow:none !important;
	display:grid !important; gap:14px;
	grid-template-areas:"cats" "title" "meta";
}
body.sx-d3-page .kb-m-doc-cats{ grid-area:cats; display:flex; gap:8px; margin:0 !important; }
body.sx-d3-page .kb-m-chip{
	padding:0 !important; min-height:0 !important; height:auto !important;
	background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important;
	font-size:var(--sx-t-eyebrow) !important; font-weight:600 !important; letter-spacing:var(--sx-ls-eyebrow) !important;
	color:var(--sx-dim) !important; text-transform:uppercase;
}
body.sx-d3-page .kb-m-doc-titlerow{ grid-area:title; display:grid !important; gap:18px; margin:0 !important; }
body.sx-d3-page .kb-m-doc-title{
	margin:0 !important;
	font-family:var(--sx-font) !important;
	font-size:clamp(32px, 3.6vw, 52px) !important; font-weight:600 !important;
	line-height:1.1 !important; letter-spacing:var(--sx-ls-head) !important;
	color:var(--sx-ink) !important; text-wrap:balance; word-break:keep-all;
}
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-title{ font-size:clamp(28px, 2.8vw, 40px) !important; }
body.sx-d3-page .kb-m-doc-meta{
	grid-area:meta; display:flex !important; flex-wrap:wrap; align-items:center; gap:4px 10px;
	margin:0 !important; font-size:var(--sx-t-meta) !important; color:var(--sx-dim) !important;
}
body.sx-d3-page .kb-m-doc-author{ color:var(--sx-ink) !important; font-weight:600 !important; text-decoration:none !important; }
body.sx-d3-page .kb-m-doc-author:hover{ text-decoration:underline !important; text-underline-offset:3px; }
body.sx-d3-page .kb-m-dot{ color:var(--sx-faint) !important; }

/* 반응 줄 — 좋아요(테두리 단추) · 공유(아이콘) · 신고(글자) 한 줄, 높이 40 */
body.sx-d3-page .kb-m-vote.sx-acts{
	display:flex !important; flex-wrap:wrap; align-items:center; gap:8px 16px;
	padding:0 !important; margin:0 !important; background:none !important; border:0 !important;
}
body.sx-d3-page .kb-m-btn{
	display:inline-flex !important; align-items:center !important; gap:7px !important;
	min-height:var(--sx-ctl) !important; height:auto !important; padding:0 16px !important;
	border:0 !important; border-radius:var(--sx-r-3) !important;
	background:transparent !important; color:var(--sx-ink) !important;
	box-shadow:inset 0 0 0 1px var(--sx-line) !important;
	font-size:14px !important; font-weight:500 !important; line-height:1 !important;
	transition:box-shadow var(--sx-d-fast), background var(--sx-d-fast);
}
body.sx-d3-page .kb-m-btn:hover{ box-shadow:inset 0 0 0 1px var(--sx-ink) !important; background:var(--sx-surface) !important; }
body.sx-d3-page .kb-m-btn svg{ width:15px !important; height:15px !important; color:currentColor !important; }
body.sx-d3-page .kb-m-btn-like:is(.is-on, .active, [aria-pressed="true"]){ background:var(--sx-ink) !important; color:#fff !important; box-shadow:none !important; }
body.sx-d3-page .kb-m-share{ display:flex !important; align-items:center; gap:10px; margin:0 !important; padding:0 !important; background:none !important; border:0 !important; }
body.sx-d3-page .kb-m-share .kb-m-side-title{ margin:0 !important; font-size:13px !important; font-weight:500 !important; color:var(--sx-dim) !important; }
body.sx-d3-page .kb-m-share-row{ display:flex; gap:4px; }
body.sx-d3-page .kb-m-share-row :is(a, button){
	min-width:var(--sx-ctl) !important; height:var(--sx-ctl) !important; border-radius:var(--sx-r-3) !important;
	background:transparent !important; box-shadow:none !important; border:0 !important; color:var(--sx-ink-2) !important;
}
body.sx-d3-page .kb-m-share-row :is(a, button):hover{ background:var(--sx-surface) !important; color:var(--sx-ink) !important; }
body.sx-d3-page .sx-rp-open{
	margin-left:auto !important; min-height:var(--sx-ctl) !important; padding:0 10px !important;
	background:none !important; border:0 !important; box-shadow:none !important; border-radius:var(--sx-r-3) !important;
	color:var(--sx-dim) !important; font-size:13px !important;
}
body.sx-d3-page .sx-rp-open:hover{ color:var(--sx-ink) !important; background:var(--sx-surface) !important; }

/* 본문 — 작품 그림은 화면 폭을 다 쓰고, 글은 720 읽기 폭 */
body.sx-d3-page .kb-m-doc-body{
	padding:clamp(28px, 3vw, 40px) 0 !important; background:none !important; border:0 !important; box-shadow:none !important;
	font-size:var(--sx-t-body) !important; line-height:1.75 !important; color:var(--sx-ink-2) !important;
}
body.sx-d3-page .kb-m-doc-body > :is(p, ul, ol, blockquote, h2, h3, h4, pre, table){ max-width:var(--sx-w-text); }
body.sx-d3-page .kb-m-doc-body p{ margin:0 0 1.1em !important; }
body.sx-d3-page .kb-m-doc-body :is(h2, h3, h4){ color:var(--sx-ink) !important; letter-spacing:-.03em !important; font-family:var(--sx-font) !important; }
body.sx-d3-page .kb-m-doc-body a:not(.sx-btn):not(.sx-tab){ color:var(--sx-ink) !important; text-decoration:underline !important; text-underline-offset:3px; }
body.sx-d3-page figure.sx-cover{
	margin:0 0 clamp(28px, 3vw, 40px) !important; max-width:none !important;
	background:var(--sx-surface) !important; border-radius:var(--sx-r-1) !important; overflow:hidden;
	display:flex; justify-content:center;
}
body.sx-d3-page figure.sx-cover img{ width:auto !important; max-width:100% !important; max-height:78vh; height:auto !important; object-fit:contain; border-radius:0 !important; }
/* 글자 표지 — 미리보기 그림이 없는 작품 */
body.sx-d3-page figure.sx-d3-cover{
	display:grid !important; grid-template-rows:auto 1fr auto; justify-content:stretch;
	aspect-ratio:16 / 7; padding:clamp(20px, 3vw, 40px);
	color:var(--sx-ink);
}
body.sx-d3-page .sx-d3-cv-top{ display:flex; justify-content:space-between; gap:12px; font-size:12px; }
body.sx-d3-page .sx-d3-cv-top b{ font-weight:600; letter-spacing:.12em; color:var(--sx-ink-2); }
body.sx-d3-page .sx-d3-cv-top i{ font-style:normal; color:var(--sx-dim); }
body.sx-d3-page .sx-d3-cv-t{ align-self:end; font-size:clamp(36px, 5vw, 72px); font-weight:600; line-height:1.05; letter-spacing:-.055em; text-wrap:balance; word-break:keep-all; }
body.sx-d3-page .sx-d3-cv-by{ margin-top:12px; font-size:14px; color:var(--sx-dim); }

/* 목록 단추 줄 */
body.sx-d3-page .kb-m-doc-action{ padding:8px 0 32px !important; border:0 !important; background:none !important; }

/* 작가 띠 */
body.sx-d3-page .sx-d3-band{
	display:flex; align-items:center; gap:16px;
	padding:24px 0; margin-top:8px;
	border-top:1px solid var(--sx-ink); border-bottom:1px solid var(--sx-line);
}
body.sx-d3-page .sx-d3-av{
	flex:0 0 auto; display:grid; place-items:center; width:52px; height:52px; border-radius:50%;
	background:var(--sx-surface); box-shadow:inset 0 0 0 1px var(--sx-line);
	font-size:20px; font-weight:600; color:var(--sx-ink);
	overflow:hidden;
}
body.sx-d3-page .sx-d3-av img{ display:block; width:100%; height:100%; object-fit:cover; }
body.sx-d3-page .sx-d3-who{ display:grid; gap:3px; min-width:0; flex:1 1 auto; }
body.sx-d3-page .sx-d3-eye{ font-size:11.5px; font-weight:600; letter-spacing:.12em; color:var(--sx-dim); }
body.sx-d3-page .sx-d3-who b{ display:flex; align-items:center; gap:8px; font-size:20px; font-weight:600; letter-spacing:-.035em; color:var(--sx-ink); }
body.sx-d3-page .sx-d3-agg{ font-size:13px; color:var(--sx-ink-2); font-feature-settings:'tnum'; }
body.sx-d3-page .sx-d3-band .sx-btn{ flex:0 0 auto; }

/* 이 작가의 다른 작품 */
body.sx-d3-page .sx-d3-more{ width:auto !important; margin-top:48px !important; margin-bottom:56px !important; }
body.sx-d3-page .sx-d3-h2{ margin:0 0 24px !important; font-family:var(--sx-font) !important; font-size:22px !important; font-weight:600 !important; letter-spacing:-.035em !important; color:var(--sx-ink) !important; }
body.sx-d3-page .sx-d3-more .sx-w3-grid{ grid-template-columns:repeat(4, minmax(0,1fr)) !important; gap:32px 20px !important; }
body.sx-d3-page .sx-d3-more .sx-w3-card .seeu-work-title{ font-size:15.5px !important; }

/* 댓글 */
body.sx-d3-page .kb-m-doc-comments{ padding:24px 0 72px !important; border-top:1px solid var(--sx-line) !important; background:none !important; }
body.sx-d3-page .kboard-comments-wrap{ background:none !important; border:0 !important; box-shadow:none !important; padding:0 !important; }
body.sx-d3-page .comments-header{ border:0 !important; padding:0 0 12px !important; }
body.sx-d3-page .comments-header *{ font-family:var(--sx-font) !important; color:var(--sx-ink) !important; font-size:16px !important; font-weight:600 !important; }
body.sx-d3-page .comments-header .comments-total-count{ color:var(--sx-dim) !important; font-weight:500 !important; }
body.sx-d3-page .kboard-comments-login{
	padding:28px !important; border:0 !important; border-radius:var(--sx-r-3) !important;
	background:var(--sx-surface) !important; color:var(--sx-ink-2) !important; text-align:center; box-shadow:none !important;
}
body.sx-d3-page .kboard-comments-login a{ color:var(--sx-ink) !important; font-weight:600 !important; text-decoration:underline !important; text-underline-offset:3px; }
body.sx-d3-page .kboard-comments-wrap :is(textarea, input[type="text"]){
	border:1px solid transparent !important; border-radius:var(--sx-r-3) !important; background:var(--sx-surface) !important;
	box-shadow:none !important; color:var(--sx-ink) !important; font-family:var(--sx-font) !important; font-size:15px !important;
}
body.sx-d3-page .kboard-comments-wrap :is(textarea, input[type="text"]):focus{ background:#fff !important; border-color:var(--sx-ink) !important; outline:0 !important; }
body.sx-d3-page .kboard-comments-wrap :is(button[type="submit"], input[type="submit"]){
	min-height:var(--sx-ctl) !important; padding:0 18px !important; border:0 !important; border-radius:var(--sx-r-3) !important;
	background:var(--sx-ink) !important; color:#fff !important; font-weight:600 !important; box-shadow:none !important;
}
body.sx-d3-page .kboard-comments-wrap :is(button[type="submit"], input[type="submit"]):hover{ background:var(--sx-signal-ink) !important; }

/* 이벤트 상세 — 하위 탭을 공용 탭 결로 */
body.sx-d3-page .sx-ev-tabs{ border-bottom:1px solid var(--sx-line) !important; gap:0 20px !important; background:none !important; padding:0 !important; }
body.sx-d3-page .sx-ev-tabs .sx-tab{
	position:relative; min-height:48px !important; padding:0 !important; border-radius:0 !important;
	background:none !important; box-shadow:none !important; color:var(--sx-dim) !important; font-weight:500 !important;
}
body.sx-d3-page .sx-ev-tabs .sx-tab.is-on{ color:var(--sx-ink) !important; font-weight:600 !important; box-shadow:inset 0 -2px 0 var(--sx-ink) !important; background:none !important; }
body.sx-d3-page .sx-ev-tabs .sx-tab span{ background:none !important; color:var(--sx-dim) !important; }

/* 반응형 */
@media (max-width:900px){
	body.sx-d3-page .sx-d3-more .sx-w3-grid{ grid-template-columns:repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width:600px){
	body.sx-d3-page .kb-m-doc-title, body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-title{ font-size:20px !important; letter-spacing:-.03em !important; }
	body.sx-d3-page .sx-rp-open{ margin-left:0 !important; }
	body.sx-d3-page figure.sx-d3-cover{ aspect-ratio:4 / 3; }
	body.sx-d3-page .sx-d3-cv-t{ font-size:28px; }
	body.sx-d3-page .sx-d3-band{ flex-wrap:wrap; }
	body.sx-d3-page .sx-d3-who b{ font-size:17px; }
	body.sx-d3-page .sx-d3-band .sx-btn{ margin-left:68px; }
	body.sx-d3-page .sx-d3-more .sx-w3-grid{ gap:24px 12px !important; }
}

/* 공유 — 서비스별 원색 알약 대신 같은 결의 테두리 단추. 서비스는 아이콘·이름으로 구분한다 */
body.sx-d3-page .kb-m-share-row .kb-m-share-btn{
	display:inline-flex !important; align-items:center !important; gap:6px !important;
	min-height:var(--sx-ctl) !important; height:auto !important; padding:0 12px !important;
	background:transparent !important; color:var(--sx-ink) !important;
	box-shadow:inset 0 0 0 1px var(--sx-line) !important; border:0 !important; border-radius:var(--sx-r-3) !important;
	font-size:13px !important; font-weight:500 !important;
}
body.sx-d3-page .kb-m-share-row .kb-m-share-btn *{ color:inherit !important; fill:currentColor; }
body.sx-d3-page .kb-m-share-row .kb-m-share-btn:hover{ box-shadow:inset 0 0 0 1px var(--sx-ink) !important; background:var(--sx-surface) !important; }

body.sx-d3-page .sx-ev-tabs{ justify-content:flex-start !important; }
body.sx-d3-page .sx-ev-tabs .sx-tab{ flex:0 0 auto !important; border:0 !important; border-radius:0 !important; }

/* 댓글 안내의 「로그인」 글자 링크 — 휴대폰 누를 자리 24 미만(R4). 모양은 그대로, 누를 자리만 */
body.sx-d3-page .kboard-comments-login a{ display:inline-block; padding:8px 4px !important; margin:-8px -4px !important; }

/* 검수 뒤 — 메타 점 대비 · 댓글 수 배지의 옛 복숭아 바탕 · 작성자 이름 누를 자리 */
body.sx-d3-page .kb-m-doc-meta .kb-m-dot{ color:var(--sx-dim) !important; }
body.sx-d3-page .comments-header .comments-total-count{ background:var(--sx-surface) !important; color:var(--sx-ink-2) !important; border-radius:var(--sx-r-2) !important; padding:0 7px !important; }
body.sx-d3-page .kb-m-doc-author{ display:inline-block; padding:9px 0 !important; margin:-9px 0 !important; }

/* ③ 휴대폰 상세 — 좋아요 단추가 줄 전체로 늘어났다(QA 390 캡처). 내용만큼 */
@media (max-width:600px){
	body.sx-d3-page .kb-m-vote.sx-acts > .kb-m-btn-like{ flex:0 0 auto !important; width:auto !important; }
	body.sx-d3-page .kb-m-vote.sx-acts .sx-share-slot{ flex:1 1 100%; }
	body.sx-d3-page .kb-m-share{ flex-wrap:wrap; }
}

/* 작품 상세 — 영상은 작품 그 자체다. 읽기 폭(720)이 아니라 판 폭 전체 16:9 (본문 문단 안 iframe 도) */
body.sx-d3-page .kb-m-doc-body > p:has(> iframe[src*="youtube"], > iframe[src*="vimeo"]),
body.sx-d3-page .kb-m-doc-body > :is(.sx-player, .sx-yt, .wp-video){ max-width:none !important; margin:0 0 clamp(28px, 3vw, 40px) !important; }
body.sx-d3-page .kb-m-doc-body iframe[src*="youtube"], body.sx-d3-page .kb-m-doc-body iframe[src*="vimeo"]{
	display:block; width:100% !important; height:auto !important; aspect-ratio:16 / 9; border:0; border-radius:var(--sx-r-1);
	background:var(--sx-ink);
}

/* ==================================================================
 * 댓글 v3 — 2026-11-05 사용자 「댓글 다는 창 UI 가 최신 것에 하나도 안 따라왔다」
 * 실측(/board/?mod=document&uid=81, 1440): 겉 틀만 v3 였고 안쪽은 v1 그대로 —
 *   글쓰기 칸이 파란 회색 상자(테두리·12px 모서리·안쪽 여백 24) 안의 회색 칸 = 이중 틀 · 머리 「전체 [25]」 칩 ·
 *   댓글 한 줄에 200px(여백 24+24 · 단추 38px) · 「답글」「좋아요」 가 주황 그라데이션 알약.
 * 고친 것: 상자 없음 · 「댓글 25」 머리+선 · 칸은 판 색, 누르면 먹 테두리 · 단추는 글자 단추(흐린 먹, hover 먹) · 줄 촘촘
 * ================================================================== */
body.sx-d3-page .kboard-comments-wrap .comments-header{
	display:flex !important; align-items:baseline; justify-content:space-between; gap:12px;
	padding:0 0 12px !important; margin:0 0 20px !important; border-bottom:1px solid var(--sx-line) !important; }
body.sx-d3-page .kboard-comments-wrap .comments-count{ font-size:16px !important; line-height:1.4; }
body.sx-d3-page .kboard-comments-wrap .comments-count::before{ content:"댓글"; font-size:16px; font-weight:600; color:var(--sx-ink); letter-spacing:-.02em; }
body.sx-d3-page .kboard-comments-wrap .comments-total-count{
	background:none !important; padding:0 !important; margin-left:6px !important; border-radius:0 !important;
	font-size:16px !important; font-weight:500 !important; color:var(--sx-dim) !important; font-feature-settings:'tnum'; }
body.sx-d3-page .kboard-comments-wrap .comments-sort select{
	height:32px !important; padding:0 28px 0 10px !important; border:1px solid var(--sx-line) !important; border-radius:var(--sx-r-2, 4px) !important;
	background-color:#fff !important; font-size:13px !important; color:var(--sx-ink-2) !important; box-shadow:none !important; }

/* 글쓰기 — 상자 없이 칸 하나 + 오른쪽 단추 */
body.sx-d3-page .kboard-comments-wrap .kboard-comments-form{
	background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; padding:0 !important; margin:0 0 8px !important; }
body.sx-d3-page .kboard-comments-wrap .comments-field.field-content{ width:100% !important; margin:0 !important; padding:0 !important; }
body.sx-d3-page .kboard-comments-wrap textarea.comment-textarea{
	width:100% !important; min-height:96px !important; padding:14px 16px !important; line-height:1.6 !important; resize:vertical; }
body.sx-d3-page .kboard-comments-wrap textarea.comment-textarea::placeholder{ color:#8A8A8A; }
body.sx-d3-page .kboard-comments-wrap .comments-submit-button{
	display:flex !important; justify-content:flex-end; width:100% !important; margin:10px 0 0 !important; padding:0 !important; }

/* 댓글 한 줄 — 이름·날짜 한 줄, 본문, 글자 단추. 선으로만 가른다 */
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item{ padding:16px 0 !important; margin:0 !important; border:0 !important; border-bottom:1px solid var(--sx-line) !important; background:none !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list-username{
	display:inline-flex !important; align-items:center; gap:8px; margin:0 !important; vertical-align:middle;
	font-size:13.5px !important; font-weight:600 !important; color:var(--sx-ink) !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list-username img.avatar{ width:24px !important; height:24px !important; margin:0 !important; border-radius:50% !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list-create{
	display:inline-block !important; margin:0 0 0 8px !important; vertical-align:middle;
	font-size:12.5px !important; color:var(--sx-dim) !important; font-feature-settings:'tnum'; }
body.sx-d3-page .kboard-comments-wrap .comments-list-content{ margin:6px 0 0 32px !important; padding:0 !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list-content p{ margin:0 !important; padding:0 !important; font-size:15px !important; line-height:1.6 !important; color:var(--sx-ink-2) !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list-content p + p{ margin-top:1.6em !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list-controller{
	display:flex !important; align-items:center; gap:14px; margin:6px 0 0 32px !important; padding:0 !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list-controller > .left,
body.sx-d3-page .kboard-comments-wrap .comments-list-controller > .right{ display:flex !important; gap:14px; float:none !important; margin:0 !important; }
body.sx-d3-page .kboard-comments-wrap .comments-button-action{
	min-height:28px !important; height:auto !important; padding:0 !important; margin:0 !important;
	border:0 !important; border-radius:var(--sx-r-2, 4px) !important; box-shadow:none !important;
	background:none !important; background-image:none !important; filter:none !important;
	color:var(--sx-dim) !important; font-size:13px !important; font-weight:500 !important; letter-spacing:-.01em; }
body.sx-d3-page .kboard-comments-wrap .comments-button-action *{ color:inherit !important; }
body.sx-d3-page .kboard-comments-wrap .comments-button-action:hover{ color:var(--sx-ink) !important; background:none !important; }
body.sx-d3-page .kboard-comments-wrap .comments-button-action:focus-visible{ outline:2px solid var(--sx-ink) !important; outline-offset:2px; }
/* 답글 — 들여 쓰고 왼쪽 선 하나 */
body.sx-d3-page .kboard-comments-wrap .comments-list .comments-list{ margin:8px 0 0 32px !important; padding:0 0 0 16px !important; border-left:1px solid var(--sx-line) !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list .comments-list li.kboard-comments-item:last-child{ border-bottom:0 !important; }
@media (max-width:600px){
	body.sx-d3-page .kboard-comments-wrap .comments-list-content,
	body.sx-d3-page .kboard-comments-wrap .comments-list-controller{ margin-left:0 !important; }
	body.sx-d3-page .kboard-comments-wrap .comments-list .comments-list{ margin-left:8px !important; padding-left:12px !important; }
}
/* 2026-11-28 고객 덱 39장 「댓글에 첫 답글을 쓸 때 왼쪽 세로줄이 안 보여 답글인지 댓글인지 모름」 —
 * 열린 답글 쓰기 칸이 답글 목록(선 있는 상자) 밖, 댓글 바로 아래에 붙었다. 최상위 댓글의 열린 칸에만 답글과 같은 들여쓰기 + 선.
 * 답글에 답글은 이미 선 있는 상자 안이라 그대로(겹선 방지). 지우면 원래대로 */
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > form.comments-reply-form:has(> .kboard-comments-form){ margin:8px 0 0 32px !important; padding:0 0 0 16px !important; border-left:1px solid var(--sx-line) !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list .comments-list li.kboard-comments-item > form.comments-reply-form:has(> .kboard-comments-form){ margin:0 !important; padding:0 !important; border-left:0 !important; }
@media (max-width:600px){
	body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > form.comments-reply-form:has(> .kboard-comments-form){ margin-left:8px !important; padding-left:12px !important; }
	body.sx-d3-page .kboard-comments-wrap .comments-list .comments-list li.kboard-comments-item > form.comments-reply-form:has(> .kboard-comments-form){ margin-left:0 !important; padding-left:0 !important; }
}
/* 「좋아요」 가 줄 맨 오른쪽 끝으로 밀려 있었다(옛 좌우 나눔) — 「답글」 바로 옆으로 */
body.sx-d3-page .kboard-comments-wrap .comments-list-controller{ justify-content:flex-start !important; }
body.sx-d3-page .kboard-comments-wrap .comments-list-controller > .right{ margin-left:0 !important; }

/* 댓글 단추(삭제·편집·답글·좋아요)를 댓글 내용 줄 오른쪽 끝으로 — 2026-11-05 사용자 요청.
   한 줄 = [이름·날짜] / [내용 ........ 삭제 편집 답글 좋아요]. 답글 목록·답글 쓰기 칸은 아래 전폭.
   (전에는 내용 아래 따로 한 줄이었고, 32px 들여쓰기 + 100% 폭이라 오른쪽으로 32px 삐져나갔다) */
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item{
	display:grid; grid-template-columns:auto auto minmax(0,1fr) auto; column-gap:0; align-items:center; }
/* 「댓글 더 보기」 가 숨겨 둔 댓글(인라인 display:none)은 숨긴 채로 — !important 로 덮으면 전부 보여 버린다 */
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > .comments-list-username{ grid-column:1; grid-row:1; }
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > .comments-list-create{ grid-column:2; grid-row:1; }
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > .comments-list-content{
	grid-column:1 / 4; grid-row:2; align-self:start; min-width:0; margin:6px 16px 0 32px !important; }
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > .comments-list-controller{
	grid-column:4; grid-row:2; align-self:start; justify-self:end; width:auto !important;
	margin:4px 0 0 !important; gap:12px; flex-wrap:nowrap; }
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > .comments-list-controller > .left,
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > .comments-list-controller > .right{ gap:12px; }
body.sx-d3-page .kboard-comments-wrap .comments-button-action{ white-space:nowrap; }
body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > :not(.comments-list-username):not(.comments-list-create):not(.comments-list-content):not(.comments-list-controller){
	grid-column:1 / -1; }
@media (max-width:600px){
	/* 휴대폰: 내용이 좁아지지 않게 단추는 내용 아래, 오른쪽 끝 */
	body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > .comments-list-content{ grid-column:1 / -1; margin:6px 0 0 !important; }
	body.sx-d3-page .kboard-comments-wrap li.kboard-comments-item > .comments-list-controller{ grid-column:1 / -1; grid-row:3; margin:6px 0 0 !important; }
}

/* 2026-11-09 만든 사람 띠 — 이름도 프로필로. 글자 모양은 그대로, 누를 수 있다는 표시는 호버·초점 밑줄로 */
body.sx-d3-page .sx-d3-who a.sx-d3-name{ color:inherit; text-decoration:none; text-underline-offset:4px; text-decoration-thickness:1px; transition:text-decoration-color .18s cubic-bezier(.22,.61,.36,1); }
body.sx-d3-page .sx-d3-who a.sx-d3-name:hover{ text-decoration:underline; }
body.sx-d3-page .sx-d3-who a.sx-d3-name:focus-visible{ outline:2px solid var(--sx-focus); outline-offset:3px; border-radius:2px; }

/* 2026-11-09 글쓴이 링크 호버 밑줄 — 사용자 「마우스 올리면 밑줄 이상함」.
 * 실측: 호버 때 줄이 둘 — 글자 밑줄(3px 아래) + 공용 .sx-author 의 아래 테두리(누르는 자리 위아래 9px 안쪽 여백 끝, 글자에서 ~12px 아래).
 * 상세에서는 테두리를 빼고 글자 밑줄 하나만 — 두께 1px · 글자에서 3px. */
body.sx-d3-page .kb-m-doc-author.sx-author,
body.sx-d3-page .kb-m-doc-author.sx-author:hover,
body.sx-d3-page .kb-m-doc-author.sx-author:focus-visible{ border-bottom-color:transparent !important; }   /* 테두리 자리(1px)는 남겨 배치가 안 움직인다 */
body.sx-d3-page .kb-m-doc-author:hover{ text-decoration-thickness:1px !important; text-underline-offset:3px !important; }

/* 2026-11-09 글(게시판·공지·Q&A) 상세 — 사용자 「제목 크기 줄이고 컨텐츠 마진 조정」(/board/?mod=document&uid=69).
 * 실측(1440): 제목 40px · 구분선→본문 62 · 본문(한 줄)→목록 단추 ~110 · 단추→댓글 ~112 — 쌓인 여백이 겹쳐 화면이 비었다.
 *   (머리 아래 22 + 본문 위 40 / 문단 아래 17+23 + 본문 아래 40 + 단추줄 위 22+8 / 댓글 위 22+24 + 안쪽 40 + 26)
 * 후: 제목 30px(휴대폰 20 그대로) · 구분선→본문 28 · 본문→단추 24 · 단추→구분선 24 · 구분선→댓글 머리 24.
 * 작품 상세(.sx-d3-work 전시실)는 건드리지 않는다. */
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-title{ font-size:30px !important; line-height:1.25 !important; letter-spacing:-.035em !important; }
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-head{ margin-bottom:0 !important; }
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-body{ padding-top:28px !important; padding-bottom:24px !important; }
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-body > :last-child{ margin-bottom:0 !important; padding-bottom:0 !important; }
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-action{ margin-top:0 !important; padding-top:0 !important; padding-bottom:24px !important; }
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-comments{ margin-top:0 !important; padding-top:24px !important; }
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-comments > .kboard-comments-default{ margin-top:0 !important; }
body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-comments .kboard-comments-wrap{ margin-top:0 !important; }
@media (max-width:600px){
	body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-title{ font-size:20px !important; line-height:1.3 !important; }
	body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-body{ padding-top:20px !important; padding-bottom:20px !important; }
	body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-action{ padding-bottom:20px !important; }
	body.sx-d3-page:not(.sx-d3-work) .kb-m-doc-comments{ padding-top:20px !important; }
}

/* 회원 전용 글을 손님이 열었을 때(가림 판) — 제목이 머리글에 5px 로 붙어 40px 로 컸다. 글 상세와 같은 30px · 위 56px. */
.sx .sx-sec:has(> .sx-gate){ padding-top:56px !important; }
html body:not(.wp-admin) .sx > .sx-sec:not(.sx-lp):has(> .sx-gate) > .sx-head > h1.sx-h{ font-size:30px !important; line-height:1.25 !important; letter-spacing:-.035em !important; }
.sx .sx-sec:has(> .sx-gate) > .sx-head{ margin-bottom:24px !important; }
.sx .sx-sec:has(> .sx-gate) > .sx-gate-shot{ margin:0 0 12px !important; }
@media (max-width:600px){
	.sx .sx-sec:has(> .sx-gate){ padding-top:28px !important; }
	html body:not(.wp-admin) .sx > .sx-sec:not(.sx-lp):has(> .sx-gate) > .sx-head > h1.sx-h{ font-size:20px !important; line-height:1.3 !important; }
}

/* 2026-12-03 가림 판 안내 칸(seeu-doc-gate.php seeu_doc_gate_box) — 사용자 「저 부분 UI 랑 이미지 더 퀄리티 좋게」.
 * 전: 공유 카드 그림이 회색 상자 안 647×319 로 떠 있고, 점선 상자 안에 또 점선 안내가 겹쳤다.
 * 후: 안내 칸 하나 — 왼쪽 안내 · 단추, 오른쪽 키아트 원화가 왼쪽으로 스며든다. 글 그림 칸(.sx-gate-shot)은 건드리지 않는다. */
html body #ajax-content-wrap .sx .sx-gate.sx-gate-doc, .sx .sx-gate.sx-gate-doc{
	position:relative; display:grid; grid-template-columns:minmax(0,1fr) 46%; align-items:stretch;
	padding:0 !important; overflow:hidden; text-align:left; isolation:isolate;
	background:linear-gradient(120deg, #FFFFFF 0%, #FFFBF6 55%, #FFF3EA 100%) !important;
	border:1px solid #EFE7DE !important; border-radius:12px !important;
	box-shadow:0 1px 2px rgba(23,23,23,.04), 0 18px 40px -24px rgba(180,110,60,.28) !important;
}
.sx .sx-gate-doc .sx-gate-body{
	position:relative; z-index:1;
	display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
	padding:clamp(32px, 4.4vw, 56px) clamp(28px, 4vw, 52px);
}
.sx .sx-gate-doc .sx-gate-badge{
	display:inline-flex; align-items:center; gap:6px; margin:0 0 16px;
	padding:6px 11px 6px 9px; border-radius:999px;
	background:#FFEDE0; color:#B4531A; font-size:12px; font-weight:700; letter-spacing:.01em; line-height:1;
}
.sx .sx-gate-doc .sx-gate-badge svg{ width:13px; height:13px; }
html body #ajax-content-wrap .sx .sx-gate-doc p, .sx .sx-gate-doc p,
html body #ajax-content-wrap .sx .sx-gate-doc ul, .sx .sx-gate-doc ul{ margin:0 !important; padding:0 !important; }
.sx .sx-gate-doc .sx-gate-t b{
	display:block; color:var(--sx-ink); font-size:clamp(22px, 2.3vw, 28px); font-weight:800;
	line-height:1.3; letter-spacing:-.035em; word-break:keep-all;
}
html body #ajax-content-wrap .sx .sx-gate-doc .sx-note, .sx .sx-gate-doc .sx-note{
	margin:12px 0 0 !important; padding:0 !important; border:0 !important; background:none !important;
	max-width:400px; color:var(--sx-ink-2) !important; font-size:14.5px !important; line-height:1.7; word-break:keep-all;
}
html body #ajax-content-wrap .sx .sx-gate-doc .sx-hero-btns, .sx .sx-gate-doc .sx-hero-btns{ margin:28px 0 0 !important; justify-content:flex-start; }
html body #ajax-content-wrap .sx .sx-gate-doc .sx-hero-btns .sx-btn, .sx .sx-gate-doc .sx-hero-btns .sx-btn{
	min-height:50px !important; padding:0 26px !important; gap:8px; border-radius:999px !important;
	font-size:15px !important; font-weight:700;
	box-shadow:0 10px 22px -12px rgba(23,23,23,.55);
	transition:transform var(--sx-d-fast) var(--sx-ease), box-shadow var(--sx-d-fast) var(--sx-ease);
}
.sx .sx-gate-doc .sx-hero-btns .sx-btn:hover{ transform:translateY(-1px); box-shadow:0 14px 26px -12px rgba(23,23,23,.6); }
.sx .sx-gate-doc .sx-gate-art{ position:relative; min-height:340px; overflow:hidden; }
/* 원화 가장자리의 금테 · 흰 여백을 칸 밖으로 밀고, 왼쪽은 안내 쪽으로 스며들게 */
.sx .sx-gate-doc .sx-gate-art img{
	position:absolute; top:-4%; left:-4%; width:108%; height:108%; max-width:none !important;
	object-fit:cover; object-position:50% 0; mix-blend-mode:multiply;
	-webkit-mask-image:linear-gradient(90deg, transparent 0, #000 22%); mask-image:linear-gradient(90deg, transparent 0, #000 22%);
}
@media (max-width:767px){
	html body #ajax-content-wrap .sx .sx-gate.sx-gate-doc, .sx .sx-gate.sx-gate-doc{ grid-template-columns:minmax(0,1fr); }
	/* 12-03 사용자 「모바일도 중앙 정렬 · 그림 더 작게」 — 칸 폭 꽉 찬 4:3(356×267) → 가운데 190px 정사각에 가깝게 */
	.sx .sx-gate-doc .sx-gate-art{ order:-1; min-height:0; width:190px; height:200px; margin:22px auto 0; }
	.sx .sx-gate-doc .sx-gate-art img{ -webkit-mask-image:linear-gradient(180deg, #000 75%, transparent); mask-image:linear-gradient(180deg, #000 75%, transparent); }
	.sx .sx-gate-doc .sx-gate-body{ align-items:center; text-align:center; padding:6px 20px 26px; }
	.sx .sx-gate-doc .sx-gate-t b{ font-size:21px; }
	html body #ajax-content-wrap .sx .sx-gate-doc .sx-note, .sx .sx-gate-doc .sx-note{ margin-left:auto !important; margin-right:auto !important; }
	html body #ajax-content-wrap .sx .sx-gate-doc .sx-hero-btns, html body #ajax-content-wrap .sx .sx-gate-doc .sx-hero-btns .sx-btn{ width:100% !important; justify-content:center; }
}

/* 2026-11-09 작품 상세 제목 — 사용자 「글자크기 좀 더 작게」. 전: 51.8px(PC) · 20px(휴대폰). 후: 36 · 18 (글 상세 30 보다 한 단계 위) */
body.sx-d3-page.sx-d3-work .kb-m-doc-title{ font-size:36px !important; line-height:1.2 !important; letter-spacing:-.035em !important; }
@media (max-width:600px){ body.sx-d3-page.sx-d3-work .kb-m-doc-title{ font-size:18px !important; line-height:1.3 !important; } }

/* 2026-11-10 사용자 「공유 단추 배경을 각 SNS 색으로」 — 중립 단추(회색 테)를 서비스 색으로. 링크 복사만 중립 */
html body .kb-m-share .kb-m-share-btn.sx-sns{ border:0 !important; box-shadow:none !important; transition:filter .2s, transform .2s !important; }
html body .kb-m-share .kb-m-share-btn.sx-sns svg{ color:inherit !important; }
html body .kb-m-share .kb-m-share-btn.sx-sns-x{ background:#000 !important; color:#fff !important; }
html body .kb-m-share .kb-m-share-btn.sx-sns-naver{ background:#03C75A !important; color:#fff !important; }
html body .kb-m-share .kb-m-share-btn.sx-sns-kakao{ background:#FEE500 !important; color:#191919 !important; }
html body .kb-m-share .kb-m-share-btn.sx-sns-copy{ background:#F2F2EE !important; color:#171717 !important; }
html body .kb-m-share .kb-m-share-btn.sx-sns *{ color:inherit !important; }
html body .kb-m-share .kb-m-share-btn.sx-sns:hover{ filter:brightness(.92); transform:translateY(-1px); }
/* X 는 로고만(글자 「X」 는 눈에서 감춘다 — 읽기 도구·마우스 올림 title 은 그대로) */
html body .kb-m-share .kb-m-share-btn.sx-sns-x .sx-sns-tip{ position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; padding:0 !important; margin:0 !important; }
html body .kb-m-share .kb-m-share-btn.sx-sns-x{ padding-left:0 !important; padding-right:0 !important; width:40px; justify-content:center; }
html body .kb-m-share .kb-m-share-btn.sx-sns-x svg{ width:17px !important; height:17px !important; }


/* =====================================================================
 * 2026-11-10 MISSION 「커뮤니티 글 상세 — 위계는 또렷하게, 정보는 촘촘하게」 (자유게시판 = body.sx-d3-b1)
 * 읽는 차례: 게시판 맥락 → 분류 → 제목 → 글쓴이·날짜·조회 → 가는 선 → 본문 → 반응·공유 띠 → 이동·관리 → 댓글
 * 마크업은 그대로 두고(권한·삭제 확인·좋아요·공유 동작 보존) 순서와 간격만 다시 짠다.
 *  · 머리(head)·제목 줄(titlerow)을 풀어 한 세로 흐름으로 → 좋아요·공유 띠를 본문 뒤로 보낸다
 *  · 간격: 머리 위 40→20 · 분류↔제목 14→8 · 제목↔메타 14→8 · 메타↔본문 = 선 하나 + 20
 *  · 이동(목록)은 왼쪽, 관리(수정·삭제)와 글쓰기는 오른쪽 — 삭제는 붉은 글자로 구분
 *  · 댓글 입력: 큰 칸 + 키 큰 검은 단추 → 낮은 칸 안 오른쪽 아래에 작은 등록 단추
 * ===================================================================== */
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-wrap{ display:flex !important; flex-direction:column; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-head,
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-titlerow{ display:contents !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-cats{ order:1; margin:20px 0 8px !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-cats .kb-m-chip{ height:auto !important; padding:0 !important; background:none !important; border:0 !important; font-size:12.5px !important; font-weight:600 !important; letter-spacing:0 !important; color:var(--sx-signal-ink,#C23E1B) !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-title{ order:2; margin:0 !important; font-size:28px !important; font-weight:700 !important; line-height:1.3 !important; letter-spacing:-.035em !important; word-break:keep-all; overflow-wrap:anywhere; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-meta{ order:3; margin:10px 0 0 !important; padding:0 0 18px !important; border-bottom:1px solid rgba(23,23,23,.1) !important; font-size:13px !important; color:#6b6b6b !important; flex-wrap:wrap; row-gap:2px; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-meta .kb-m-doc-author{ font-weight:600 !important; color:var(--sx-ink,#171717) !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body{ order:4; padding:22px 0 8px !important; margin:0 !important; border:0 !important; font-size:16px !important; line-height:1.75 !important; color:#2a2a28 !important; max-width:720px; word-break:keep-all; overflow-wrap:anywhere; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body > :first-child{ margin-top:0 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body > :last-child{ margin-bottom:0 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body p{ margin:0 0 .9em !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body :is(h2,h3,h4){ margin:1.6em 0 .5em !important; font-weight:700 !important; letter-spacing:-.02em; line-height:1.4 !important; color:var(--sx-ink,#171717) !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body h2{ font-size:21px !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body h3{ font-size:18px !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body :is(ul,ol){ margin:0 0 .9em !important; padding-left:1.3em !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body li{ margin:.2em 0 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body blockquote{ margin:1em 0 !important; padding:2px 0 2px 16px !important; border-left:2px solid var(--sx-signal,#F0562E) !important; color:#4a4a46 !important; background:none !important; font-style:normal !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body img{ display:block; max-width:100% !important; height:auto !important; margin:1.1em 0 !important; border-radius:10px; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body :is(iframe, video){ max-width:100% !important; border-radius:10px; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body a{ color:var(--sx-signal-ink,#C23E1B) !important; text-decoration:underline !important; text-underline-offset:3px; }

/* 반응·공유 띠 — 본문 뒤 한 줄. 테두리 단추를 줄이고 높이 34 로 통일 */
html body.sx-d3-b1 .kb-m-doc .kb-m-vote.sx-acts{ order:5; display:flex !important; align-items:center; flex-wrap:wrap; gap:8px; margin:24px 0 0 !important; padding:14px 0 !important; border-top:1px solid rgba(23,23,23,.08) !important; border-bottom:1px solid rgba(23,23,23,.08) !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-vote.sx-acts > .kb-m-btn{ height:34px !important; min-height:34px !important; padding:0 12px !important; border-radius:10px !important; font-size:13px !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-vote.sx-acts .sx-share-slot{ margin-left:4px; }
html body.sx-d3-b1 .kb-m-doc .kb-m-vote.sx-acts .kb-m-share-btn{ height:34px !important; min-height:34px !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-vote.sx-acts .sx-rp-open{ margin-left:auto !important; height:34px !important; }

/* 이동·관리 — 목록은 왼쪽, 나머지는 오른쪽. 삭제는 붉은 글자 */
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-action{ order:6; padding:14px 0 0 !important; margin:0 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools{ display:flex !important; align-items:center; gap:6px; width:100%; justify-content:flex-end; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > a, html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > button{ height:34px !important; min-height:34px !important; padding:0 14px !important; border-radius:10px !important; font-size:13px !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > :first-child{ margin-right:auto !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > [href*="mod=remove"], html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > [onclick*="remove"], html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > .kb-m-btn-danger{ color:#B42318 !important; border-color:rgba(180,35,24,.25) !important; background:#fff !important; }

/* 댓글 */
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments{ order:7; margin:28px 0 0 !important; padding:22px 0 24px !important; border-top:1px solid rgba(23,23,23,.1) !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .kboard-comments-default{ margin-bottom:0 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .comments-header{ margin:0 0 12px !important; padding:0 !important; border:0 !important; min-height:0 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .comments-count{ font-size:15px !important; font-weight:700 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .kboard-comments-form{ position:relative; display:grid !important; grid-template-columns:minmax(0,1fr); gap:0 !important; }
/* 2026-11-12 댓글창을 누르면 kboard 가 아래 첨부 칸 묶음(.comments-field-wrap)을 펼쳐 폼이 길어진다 — 폼 바닥에 붙은 단추가 입력칸 밖으로 떨어지던 것.
   단추를 입력칸과 같은 칸(1행)에 겹쳐 두고 묶음은 2행으로 — 묶음이 펼쳐지거나 입력칸을 늘려도 단추는 입력칸 오른쪽 아래 */
/* 2026-11-20 사용자 「댓글 종류 선택이 왜 밑에 있어? 위로」 — 11/18 에 붙인 댓글 구분(fieldset.seeu-cmt-kind)은 자리를 안 받아
   자동으로 입력칸·단추(1행) 다음 줄로 밀렸다(1440 실측 입력칸 773 · 구분 857). 구분을 1행, 입력칸·단추를 2행, 첨부 묶음을 3행으로 */
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .kboard-comments-form > .seeu-cmt-kind{ grid-row:1; grid-column:1; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .kboard-comments-form > .comments-field.field-content{ grid-area:2 / 1; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .kboard-comments-form > .comments-field-wrap{ grid-row:3; grid-column:1; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .comments-field.field-content{ display:block !important; width:100% !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments textarea.comment-textarea{ display:block; width:100% !important; min-height:84px !important; height:84px; padding:12px 92px 12px 14px !important; border-radius:12px !important; border:1px solid rgba(23,23,23,.12) !important; background:#FAFAF8 !important; font-size:14.5px !important; line-height:1.6 !important; resize:vertical; box-sizing:border-box; transition:border-color .2s, background .2s, box-shadow .2s; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments textarea.comment-textarea:focus{ background:#fff !important; border-color:var(--sx-ink,#171717) !important; box-shadow:0 0 0 3px rgba(240,86,46,.12) !important; outline:0 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .comments-submit-button{ position:relative !important; grid-area:2 / 1; justify-self:end; align-self:end !important; z-index:1; width:auto !important; height:auto !important; margin:0 10px 10px 0 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments .comments-submit-button input{ height:34px !important; min-height:34px !important; width:auto !important; padding:0 16px !important; border-radius:9px !important; font-size:13px !important; }
/* 댓글 뒤 「자유게시판 목록」까지의 빈 띠 줄이기 */
html body.sx-d3-b1 .sx-after, html body.sx-d3-b1 .kb-m-doc-after{ margin-top:8px !important; padding-top:32px !important; }

@media (max-width:600px){
	html body.sx-d3-b1 .kb-m-doc .kb-m-doc-cats{ margin-top:14px !important; }
	html body.sx-d3-b1 .kb-m-doc .kb-m-doc-title{ font-size:20px !important; line-height:1.35 !important; }
	html body.sx-d3-b1 .kb-m-doc .kb-m-doc-meta{ margin-top:8px !important; padding-bottom:14px !important; font-size:12.5px !important; }
	html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body{ padding-top:18px !important; font-size:15.5px !important; }
	html body.sx-d3-b1 .kb-m-doc .kb-m-vote.sx-acts{ margin-top:20px !important; padding:12px 0 !important; gap:6px; }
	html body.sx-d3-b1 .kb-m-doc .kb-m-vote.sx-acts .sx-rp-open{ margin-left:0 !important; }
	html body.sx-d3-b1 .kb-m-doc .kb-m-doc-comments{ margin-top:20px !important; padding-top:18px !important; }
	html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > a, html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > button{ flex:0 0 auto; width:auto !important; }
}
/* 2차 — 제목 줄의 flex:1 이 세로 흐름에서 높이로 자라 제목이 320px 가 됐다 → 자라지 않게. 다른 칸도 같은 이유로 고정 */
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-wrap > *, html body.sx-d3-b1 .kb-m-doc .kb-m-doc-title, html body.sx-d3-b1 .kb-m-doc .kb-m-vote.sx-acts, html body.sx-d3-b1 .kb-m-doc .kb-m-doc-cats, html body.sx-d3-b1 .kb-m-doc .kb-m-doc-meta{ flex:0 0 auto !important; min-height:0 !important; }
/* 3차 — 인용이 테마의 큰 글씨(20px·넓은 자간)로 본문보다 커 보였다 → 본문 크기·자간 · 휴대폰 삭제 단추가 줄을 다 차지했다 → 내용 폭 */
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body blockquote, html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body blockquote *{ font-size:16px !important; line-height:1.7 !important; letter-spacing:-.005em !important; font-weight:400 !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools{ flex-wrap:wrap; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools > *{ flex:0 0 auto !important; width:auto !important; min-width:0 !important; }
@media (max-width:600px){ html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body blockquote, html body.sx-d3-b1 .kb-m-doc .kb-m-doc-body blockquote *{ font-size:15.5px !important; } }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools form.sx-own-del button{ height:34px !important; min-height:34px !important; padding:0 14px !important; border-radius:10px !important; font-size:13px !important; color:#B42318 !important; border:1px solid rgba(180,35,24,.25) !important; background:#fff !important; width:auto !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools form.sx-own-del button:hover{ background:#FEF3F2 !important; border-color:rgba(180,35,24,.45) !important; }
html body.sx-d3-b1 .kb-m-doc .kb-m-doc-tools form.sx-own-del button{ flex:0 0 auto !important; max-width:max-content !important; }


/* ===== 2026-11-10 요청 모드 4건 (글 상세 공유·신고) =====
 * ① 공유 단추에 올리면 옛 규칙(:hover 바탕 #F8F8F6)이 브랜드 바탕을 지워 흰 글자·로고가 사라졌다 → 바탕은 그대로, 살짝 어둡게만 */
html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.sx-sns-x:hover{ background:#000 !important; color:#fff !important; }
html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.kb-m-share-naver:hover, html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.sx-sns-naver:hover{ background:#03C75A !important; color:#fff !important; }
html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.kb-m-share-kakao:hover, html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.sx-sns-kakao:hover{ background:#FEE500 !important; color:#191919 !important; }
html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.kb-m-share-copy:hover{ background:#E9E9E4 !important; color:#171717 !important; }
html body.sx-d3-page .kb-m-share-row .kb-m-share-btn:hover{ box-shadow:none !important; filter:brightness(.93); }
/* ② 링크 복사 아이콘 — 선 아이콘이 면으로 채워져 네모 덩어리로 보였다 → 선만 */
html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.kb-m-share-copy svg, html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.kb-m-share-copy svg *{ fill:none !important; stroke:currentColor !important; }
html body.sx-d3-page .kb-m-share-row .kb-m-share-btn.kb-m-share-copy svg{ width:15px !important; height:15px !important; stroke-width:2 !important; }
/* ③ 신고 — 붉은 기운(글자·아이콘 붉게, 올리면 옅은 붉은 바탕) */
html body.sx-d3-page .sx-rp-open{ color:#B42318 !important; border-color:rgba(180,35,24,.22) !important; }
html body.sx-d3-page .sx-rp-open svg{ stroke:currentColor !important; }
html body.sx-d3-page .sx-rp-open:hover, html body.sx-d3-page .sx-rp-open:focus-visible{ color:#912018 !important; background:#FEF3F2 !important; border-color:rgba(180,35,24,.4) !important; }
