/**
 * 스케치북5 list.list / view_comment 레이아웃에 가깝게 (이미지 URL 없이 CSS만)
 */

/* ---------- 목록 테이블 (.sk-sb-classic) ---------- */
.sk-sb-classic .bd_lst {
	clear: both;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sk-sb-classic .bd_tb_lst td,
.sk-sb-classic .bd_zine li {
	border-bottom: 1px solid var(--sk-border-color, rgba(15, 23, 42, 0.08));
}
.sk-sb-classic .bd_tb_lst .notice td,
.sk-sb-classic .bd_tb_lst .select,
.sk-sb-classic .bd_tb_lst tbody tr:hover {
	background: #f9f9f9;
	border-color: var(--sk-border-color, rgba(15, 23, 42, 0.08));
}
.sk-sb-classic .bd_lst input[type="checkbox"] {
	position: relative;
	z-index: 30;
}
.sk-sb-classic .no_doc {
	clear: both;
	padding: 20px;
	text-align: center;
	color: #666;
	font-size: 12px;
}
.sk-sb-classic .replyNum,
.sk-sb-classic .trackbackNum {
	margin-left: 4px;
	font: bold 11px Tahoma, sans-serif;
	white-space: nowrap;
	text-decoration: none;
}
.sk-sb-classic .replyNum {
	color: #c66;
}
/* fdb_count: 댓글·트랙백 수 뱃지 공통 형태 */
.sk-sb-classic.fdb_count .replyNum,
.sk-sb-classic.fdb_count .trackbackNum {
	padding: 3px 9px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 11px;
	line-height: 1.25;
	text-decoration: none;
	color: #fff !important;
}
/* 댓글 수 뱃지 색 (사용자 지정 배경, 그림자 없음) */
.sk-sb-classic.fdb_count .replyNum {
	background-color: #23d2e2 !important;
	background: #23d2e2 !important;
	box-shadow: none;
	border: none;
}
.sk-sb-classic.fdb_count .trackbackNum {
	background: #475569 !important;
	border: 1px solid rgba(15, 23, 42, 0.12);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
/* 목록 테이블: float:left 이면 DOM상 제목 뒤여도 시각적으로 왼쪽(제목 앞)에 붙음 → 인라인으로 제목 바로 뒤에 배치 */
.sk-sb-classic .bd_tb_lst .replyNum,
.sk-sb-classic .bd_tb_lst .trackbackNum {
	float: none;
	display: inline-block;
	margin: 0 0 0 8px;
	vertical-align: middle;
}
.sk-sb-classic .bd_lst img,
.sk-sb-classic .bd_lst input {
	vertical-align: middle;
}
.sk-sb-classic .bd_tb_lst {
	margin-top: 12px;
	width: 100%;
	border-collapse: collapse;
}
.sk-sb-classic .bd_tb_lst th,
.sk-sb-classic .bd_tb_lst td {
	padding: 8px 12px;
	font-size: 11px;
	text-align: center;
	white-space: nowrap;
}
.sk-sb-classic .bd_tb_lst th {
	padding: 9px 12px;
	border-top: 1px solid var(--sk-border-color, rgba(15, 23, 42, 0.08));
	border-bottom: 1px solid var(--sk-border-color, rgba(15, 23, 42, 0.08));
	box-shadow: inset 0 -1px 0 #fff;
	color: #666;
	text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}
.sk-sb-classic .bg_f_f9 {
	background: #f9f9f9;
}
.sk-sb-classic .bd_tb_lst td,
.sk-sb-classic .bd_tb_lst .hx:visited {
	color: #555;
}
.sk-sb-classic .bd_tb_lst .cate {
	padding: 8px;
	color: #666;
}
.sk-sb-classic .bd_tb_lst .title {
	padding-right: 6px;
	width: 100%;
}
.sk-sb-classic .bd_tb_lst td.title {
	text-align: left;
	font-size: 12px;
	white-space: normal;
	word-break: break-all;
}
.sk-sb-classic .bd_lst td.title a {
	color: #222;
}
.sk-sb-classic .bd_tb_lst .title img {
	vertical-align: middle;
}
.sk-sb-classic .bd_tb_lst .wrp {
	left: 0;
	margin-left: 0 !important;
	white-space: normal;
}
.sk-sb-classic .bd_tb_lst .speech {
	min-width: 200px;
	max-width: 320px;
	padding: 6px;
}
.sk-sb-classic .bd_tb_lst .cate span,
.sk-sb-classic .bd_tb_lst .last_post small:not(.sk-date-rel) {
	display: block;
	overflow: hidden;
	max-width: 90px;
	text-overflow: ellipsis;
}
/* .author span 전체에 display:block 주면 na_name_photo 안쪽 span이 세로로 쌓여 레벨아이콘+닉이 깨짐 */
.sk-sb-classic .bd_tb_lst .author > span:not(.sk-author-cell) {
	display: block;
	overflow: hidden;
	max-width: 90px;
	text-overflow: ellipsis;
}
.sk-sb-classic .bd_tb_lst .author .sk-author-cell span {
	display: inline;
	max-width: none;
	overflow: visible;
	text-overflow: clip;
	vertical-align: middle;
}
.sk-sb-classic .bd_tb_lst .last_post {
	line-height: 12px;
}
.sk-sb-classic .bd_tb_lst .extraimages {
	margin-left: 2px;
	white-space: nowrap;
}
.sk-sb-classic .bubble {
	position: relative;
}
.sk-sb-classic .bubble:hover .wrp,
.sk-sb-classic .bubble:focus .wrp {
	display: block;
}
.sk-sb-classic .bubble .wrp {
	display: none;
	position: absolute;
	left: 50%;
	bottom: 100%;
	z-index: 100;
	margin: 8px 0;
	font-size: 11px;
	background: #fff;border-radius: 5px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	transform: translateX(-50%);
}
.sk-sb-classic .bubble .speech {
	display: block;
	padding: 3px 6px;
	font-weight: normal;
	line-height: 1.5em;
	text-decoration: none;
}
.sk-sb-classic .sk-bubble-edge {
	display: block;
	position: absolute;
	bottom: -6px;
	left: 50%;
	width: 0;
	height: 0;
	margin-left: -5px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid var(--sk-border-color, rgba(15, 23, 42, 0.08));
}
.sk-sb-classic .bd_tb_lst td {
	position: relative;
}
.sk-sb-classic .bd_tb_lst .title a.hx {
	position: relative;
	z-index: 1;
	font-size: 13px;
}
.sk-sb-classic .bd_tb_lst .hx:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
}

/* 목록 테이블: 외곽 #bo_list 카드만 테두리 — 내부 .bd 이중 보더 제거 */
.sk-board .sk-sb-list-section .sk-sb-classic.bd {
	border: none;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}
.sk-board .sk-sb-classic .bd_tb_lst {
	margin-top: 0;
	/* 마지막 행 호버 시 하단 border-radius 적용을 위해 (collapse에서는 td radius 무시) */
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}
.sk-board .sk-sb-classic .bd_tb_lst th {
	border-top: none;
	border-left: none;
	border-right: none;
	box-shadow: none;
	border-bottom: 1px solid var(--sk-border-color, rgba(15, 23, 42, 0.08));
}

/* 카드(#bo_list)에 이미 하단 테두리가 있어, 마지막 행 셀 하단선과 겹치면 이중 선처럼 보임 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr:last-child td {
	border-bottom: none;
}

/* 데스크톱 목록 헤더(분류·제목·글쓴이…): 밝은 배경 + 진한 글자로 가독성 확보 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst thead th {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	color: #1e293b;
	font-weight: 600;
	font-size: 11px;
	text-shadow: none;
	letter-spacing: -0.02em;
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst thead th a {
	color: #334155;
	font-weight: 600;
	text-decoration: none;
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst thead th a:hover {
	color: var(--sk-accent, #4f46e5);
}

/* 목록 제목 링크 호버·포커스 (댓글 뱃지 등 .hx 아닌 링크는 제외) */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title a.hx:hover,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title a.hx:focus-visible {
	color: #5753e4 !important;
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title a.hx:hover strong,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title a.hx:hover b,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title a.hx:focus-visible strong,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title a.hx:focus-visible b {
	color: #5753e4 !important;
}

/* 체크 열: 맨 앞, 좁게 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst thead th.sk-th-chk,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody td.sk-td-chk {
	width: 42px;
	max-width: 48px;
	text-align: center;
	vertical-align: middle;
}

/* 공지 뱃지 (번호 칸) — 댓글 뱃지와 줄·패딩 높이 맞춤 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst .sk-notice-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 9px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
	color: #fff;
	background: var(--sk-accent, #4f46e5);
	border-radius: 999px;
	vertical-align: middle;
	white-space: nowrap;
}

/* 분류 미사용 시 답글 아이콘을 제목 앞에 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title .sk-title-reply {
	display: inline;
	margin-right: 4px;
	vertical-align: middle;
}
/* 헤더·첫 글 이중선 방지 + separate 시 세로 이중선 방지 */
.sk-board .sk-sb-classic .bd_tb_lst tbody td {
	border-top: none;
	border-left: none;
	border-right: none;
}
/* 데스크톱: 행 세로 여유 (프리미엄 목록) */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst th,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td {
	padding-top: 14px;
	padding-bottom: 14px;
	padding-left: 14px;
	padding-right: 14px;
}

/* 데스크톱: 세로 가운데 정렬 (제목·메타 한 줄 높이감 통일) */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody td {
	vertical-align: middle;
}

/*
 * 제목 열: td에 display:flex 를 쓰면 테이블 열 너비 계산이 깨져 제목이 한 글자씩 세로로 쌓임.
 * 셀은 기본 table-cell 유지, 안쪽만 vertical-align 으로 한 줄감 맞춤.
 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title .sk-title-reply,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title a.hx,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title .replyNum,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title .trackbackNum,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.title .extraimages {
	vertical-align: middle;
}

/* 글쓴이: 레벨아이콘+닉 — 전역 .author span { display:block } 깨짐 방지 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.author .sk-author-cell {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	max-width: min(260px, 36vw);
	flex-wrap: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.author .sk-author-cell img {
	flex-shrink: 0;
	vertical-align: middle;
}

/* 나리야 na_name_photo: 링크가 block이면 아이콘·닉이 세로로 갈라짐 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.author .sk-author-cell a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	vertical-align: middle;
}

/* 상대 날짜: block/max-width 90px 제거 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.last_post .sk-date-rel {
	display: inline;
	max-width: none;
	overflow: visible;
	text-overflow: clip;
	white-space: nowrap;
	font-size: 11px;
	color: #475569;
}

/* 데스크톱: 조회·추천·비추천 숫자 — 연한 회색보다 진하게 (공지행 연한 배경에서도 읽기 쉽게) */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.sk-col-hit,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.sk-col-good,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst td.sk-col-nogood {
	font-weight: 600;
	color: #1e293b;
}

/* 글쓴이 열 — 헤더·공지 배경과 구분되게 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody td.author {
	color: #334155;
}

/* 공지 행: 연블루 배경 위 메타 대비 — 번호 칸은 뱃지라 글자색만(뱃지 내부는 .sk-notice-badge) */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.no:not(.sk-td-chk) {
	color: #1e293b;
	font-weight: normal;
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.cate,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.last_post .sk-date-rel,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.author {
	color: #1e293b;
	font-weight: 600;
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.title a,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.title {
	color: #0f172a;
}

/*
 * 공지 행 배경: tr 한 덩어리에만 칠함.
 * (예전: td마다 배경 → 모바일 flex+gap에서 셀·메타 조각마다 색이 들어가 '글자마다 배경'처럼 보임)
 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice {
	background: rgba(239, 246, 255, 0.92) !important; /* blue-50 계열, 눈에 잘 보이게 */
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td {
	background: transparent !important;
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice:hover {
	/* 기본 공지색과 거의 같은 톤 — blue-100급은 너무 진해서 미세한 변화만 */
	background: rgba(237, 243, 252, 0.98) !important;
}

.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice:hover td {
	background: transparent !important;
}

/* 공지 제목을 <strong>으로 감싸면 테마/인라인 스타일이 줄마다 배경을 갈라 그리는 경우 제거 */
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.title a:not(.replyNum):not(.trackbackNum),
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.title a:not(.replyNum):not(.trackbackNum) strong,
.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.notice td.title strong {
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

/* 공지 행에서도 댓글·트랙백 수 뱃지 배경은 유지 (위 제목 링크 배경 제거 규칙에 같이 걸리면 흰 글자만 남음) */
.sk-board .sk-sb-list-section .sk-sb-classic.fdb_count .bd_tb_lst tbody tr.notice td.title a.replyNum {
	background: #23d2e2 !important;
	background-color: #23d2e2 !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	border: none !important;
}

.sk-board .sk-sb-list-section .sk-sb-classic.fdb_count .bd_tb_lst tbody tr.notice td.title a.trackbackNum {
	background: #475569 !important;
	background-color: #475569 !important;
	background-image: none !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
	color: #fff !important;
}

/* 마지막 게시물 행 호버: 카드 하단(16px)과 맞춘 아래쪽 라운드만 */
.sk-board .sk-sb-classic .bd_tb_lst tbody tr:last-child:hover td:first-child {
	border-bottom-left-radius: 16px;
}
.sk-board .sk-sb-classic .bd_tb_lst tbody tr:last-child:hover td:last-child {
	border-bottom-right-radius: 16px;
}
.sk-board .sk-sb-classic .bd_tb_lst tbody tr:last-child:hover td:first-child:last-child {
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
}

/* ---------- 댓글 (스케치북 fdb_v2) ---------- */
.sk-sb-cmt.bd .profile {
	float: left;
	width: 50px;
	height: 50px;
	line-height: 46px;
	padding: 2px;
	font-size: 28px;text-align: center;
	overflow: hidden;
	background: #f3f3f3;
	color: #ccc;
	font-weight: bold;
	box-sizing: border-box;
}
/* 사진 없을 때: 물음표 대신 중앙 정렬 실루엣 아이콘 */
.sk-sb-cmt.bd .profile.no_img {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	line-height: 0;
	color: transparent;
}
.sk-sb-cmt.bd .profile.no_img .sk-ico-user {
	width: 26px;
	height: 26px;
	background-color: #94a3b8;
	opacity: 0.9;
}
.sk-sb-cmt.bd .profile img {
	display: block;
	width: 50px;
	height: 50px;
	object-fit: cover;
}

/* get_member_profile_img() 등으로 삽입된 img (기본 class 유지) */
.sk-sb-cmt.bd .profile.sk-cmt-profile--html {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 0;
	font-size: 0;
	background: #f8fafc;
}
.sk-sb-cmt.bd .profile.sk-cmt-profile--html img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 0;
}
.sk-sb-cmt .fdb_lst_wrp {
	margin-bottom: 24px;
	zoom: 1;
}
.sk-sb-cmt .fdb_lst_wrp.fdb_v2 {
	padding: 0;
	background: #f3f3f3;
	border: none;
}
.sk-sb-cmt .fdb_lst {
	position: relative;
	zoom: 1;
}
.sk-sb-cmt .fdb_lst_ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sk-sb-cmt .fdb_v2 .fdb_lst {
	padding: 14px 14px 12px;
	background: #fff;border-top: 0;
}
.sk-sb-cmt .fdb_tag {
	position: relative;
	margin: 0;
	padding: 10px 14px;
	font-size: 12px;background: #f5f5f5;
	color: #111;
	zoom: 1;
}
.sk-sb-cmt .fdb_tag b {
	font-size: 13px;
	font-weight: 600;
	color: #111;
}
.sk-sb-cmt .fdb_tag .sk-fdb-tag__sort {
	float: right;
	margin-top: -2px;
}
.sk-sb-cmt .fdb_itm {
	position: relative;
	margin: -1px 0 0;
	padding: 12px 12px 16px 72px;
	border-top: 1px solid var(--sk-border-color, rgba(15, 23, 42, 0.08));
	list-style: none;
	zoom: 1;
}
.sk-sb-cmt .fdb_v2 .fdb_itm {
	padding-left: 72px;
	border-bottom: 0;
}
.sk-sb-cmt .fdb_v2 .fdb_itm:first-child {
	margin-top: 0;
}
.sk-sb-cmt .fdb_v2 .fdb_itm.re {
	margin-bottom: 12px;
	margin-top: 8px;
	padding: 12px 12px 12px 80px;border-radius: 4px;
}
.sk-sb-cmt .fdb_itm .sk-cmt-profile-wrap {
	float: left;
	margin-left: -72px;
	width: 50px;
}
.sk-sb-cmt .fdb_v2 .fdb_itm.re .sk-cmt-profile-wrap {
	margin-left: -68px;
}
.sk-sb-cmt .fdb_itm .meta {
	margin-bottom: 8px;
	padding-right: 120px;
	font-size: 12px;
}
.sk-sb-cmt .fdb_itm .meta strong {
	color: #444;
}
.sk-sb-cmt .fdb_itm .meta .secondary {
	margin-left: 6px;
	font-size: 11px;
	color: #999;
}
.sk-sb-cmt .fdb_itm .meta .date {
	padding-left: 10px;
	font-size: 11px;
	color: #888;
}
.sk-sb-cmt .fdb_itm .sk-cmt-sns {
	text-align: right;
	margin: -36px 0 8px;
	min-height: 24px;
}
.sk-sb-cmt .fdb_itm .xe_content {
	clear: both;
	font-size: 13px;
	line-height: 1.5;
	color: #333;
	word-break: break-word;
}
.sk-sb-cmt .fdb_nav {
	position: absolute;
	top: 12px;
	right: 8px;
	font-size: 11px;
}
.sk-sb-cmt .fdb_nav a,
.sk-sb-cmt .fdb_nav button {
	display: inline-block;
	margin-left: 6px;
	color: #666;
	text-decoration: none;
}
.sk-sb-cmt .fdb_nav a:hover {
	text-decoration: underline;
}
.sk-sb-cmt .fdb_itm:hover .fdb_nav a {
	height: auto !important;
}
/* 댓글 없음: 바깥 연회색 + 안쪽 점선 박스 (캡처와 동일 구조) */
.sk-sb-vc-empty-wrap {
	margin: 12px 14px 16px;
	padding: 20px 16px;
	background: #f0f0f0;}
.sk-sb-vc-empty-dash {
	max-width: 400px;
	margin: 0 auto;
	padding: 28px 16px;
	text-align: center;
	font-size: 12px;
	color: #999;
	line-height: 1.5;
	border: 1px dashed var(--sk-border-color, rgba(15, 23, 42, 0.08));
	background: #fafafa;
}
/* 구조 .sk-sb-vc-empty-wrap 안에서만 (단일 .sk-sb-vc-empty 는 sketchbook-comment-cards.css) */
.sk-sb-vc-empty-wrap .sk-sb-vc-empty-ico {
	display: block;
	margin: 0 auto 10px;
}

/* 댓글 입력 — 전폭 등록 버튼은 .sk-board --sk-accent(인디고) */
#bo_vc_w {
	margin-top: 14px;
}

.sk-sb-cmt-wrt {
	margin: 0;
	padding: 16px 18px 14px;border-radius: 5px;
	background: #fff;
	box-sizing: border-box;
}

.sk-sb-cmt-editor {
	margin-bottom: 10px;
}

.sk-sb-cmt-textarea {
	display: block;
	width: 100% !important;
	min-height: 120px;
	margin: 0 !important;
	padding: 10px 12px;
	border: 1px solid var(--sk-border-color, rgba(15, 23, 42, 0.08)) !important;
	border-radius: 3px;
	font-size: 13px;
	line-height: 1.5;
	resize: vertical;
	box-sizing: border-box;
}

.sk-sb-cmt-reg-btn {
	display: block;
	width: 100%;
	margin: 0 0 12px;
	padding: 12px 16px;
	border: 0;
	border-radius: 4px;
	background: var(--sk-accent, #4f46e5);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
	transition: background 0.15s ease, filter 0.15s ease;
}

.sk-sb-cmt-reg-btn:hover,
.sk-sb-cmt-reg-btn:focus-visible {
	background: var(--sk-accent-h, #4338ca);
	filter: none;
}

.sk-sb-cmt-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
	padding: 0;
}

.sk-sb-cmt-toolbar__end {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px 14px;
	max-width: 100%;
}

.sk-sb-cmt-secret {
	margin: 0;
	font-size: 12px;
	color: #777;
}

.sk-sb-cmt-toolbar__end a,
.sk-sb-cmt-toolbar__end button,
.sk-sb-cmt-editor-btns a,
.sk-sb-cmt-editor-btns button {
	color: #888 !important;
}

.sk-sb-cmt-toolbar__end .fa,
.sk-sb-cmt-editor-btns .fa {
	color: #888;
}

.sk-sb-cmt-editor-btns {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

/* 모바일: 목록 표 → 카드형(플렉스), 가로 스크롤·컬럼 겹침 방지 */
@media screen and (max-width: 767.98px) {
	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst {
		display: block;
		width: 100%;
		border-collapse: collapse;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody {
		display: block;
		width: 100%;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		align-content: flex-start;
		/* 체크~공지·번호 사이만 과하게 벌어지지 않게 (가로 간격 축소) */
		gap: 6px 8px;
		width: 100%;
		box-sizing: border-box;
		padding: 14px 12px;
		margin: 0;
		border-bottom: 1px solid var(--sk-border-color, rgba(15, 23, 42, 0.08));
	}

	/* 체크·번호·분류·제목 다음에 메타(닉·날짜·통계) 줄 강제 — 보이지 않는 풀폭 줄바꿈 */
	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr:not(.sk-tr-empty)::before {
		content: "";
		flex-basis: 100%;
		width: 0;
		height: 0;
		order: 5;
		overflow: hidden;
		pointer-events: none;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr:last-child:not(.sk-tr-empty) {
		border-bottom: none;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td {
		display: block;
		width: auto;
		padding: 0;
		border: none;
		text-align: left !important;
		white-space: normal;
		vertical-align: middle;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.title {
		flex: 1 1 0;
		order: 4;
		min-width: 0;
		padding: 0;
		font-size: 0.9375rem;
		line-height: 1.45;
		align-self: center;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.title .replyNum {
		float: none;
		display: inline-block;
		margin: 0 0 0 6px;
		vertical-align: middle;
	}

	/* 한 줄: 체크 → 번호(공지뱃지) → 분류(옵션) → 제목(남는 폭) → ::before로 줄바꿈 → 메타 */
	/* 데스크톱 width:42px·td:block 때문에 모바일에서 체크 옆에 빈 칸이 크게 보이는 것 방지 */
	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-td-chk {
		order: 1;
		flex: 0 0 auto;
		display: inline-flex !important;
		align-items: center;
		justify-content: flex-start;
		width: auto !important;
		max-width: none !important;
		min-width: 0;
		padding: 0 !important;
		margin: 0;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.no:not(.sk-td-chk) {
		order: 2;
		flex: 0 0 auto;
		font-size: 0.75rem;
		font-weight: 700;
		color: #64748b;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-td-chk input {
		width: 20px;
		height: 20px;
		margin: 0;
		vertical-align: middle;
		touch-action: manipulation;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.cate {
		order: 3;
		flex: 0 1 auto;
		min-width: 0;
		max-width: 32%;
		font-size: 0.72rem;
		color: #64748b;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.author .sk-author-cell {
		max-width: 100%;
		flex-wrap: wrap;
		white-space: normal;
		justify-content: flex-start;
	}

	/* 닉네임·날짜 — 제목 아래 둘째 줄(가상 줄바꿈 이후) */
	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.author,
	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.last_post {
		order: 10;
		flex: 0 0 auto;
		display: inline-block;
		width: auto !important;
		padding: 4px 0 0;
		margin-top: 2px;
		font-size: 0.75rem;
		color: #64748b;
	}

	/* 조회·추천·비추천 — 닉/날짜보다 진한 색·굵기 (공지 연블루 배경에서도 대비 확보) */
	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-col-hit,
	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-col-good,
	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-col-nogood {
		order: 10;
		flex: 0 0 auto;
		display: inline-block;
		width: auto !important;
		padding: 4px 0 0;
		margin-top: 2px;
		font-size: 0.75rem;
		font-weight: 700;
		color: #1e293b;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.last_post::before {
		content: "· ";
		color: #94a3b8;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-col-hit::before {
		content: "· 조회 ";
		color: #475569;
		font-weight: 700;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-col-good::before {
		content: "· 추천 ";
		color: #475569;
		font-weight: 700;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-col-nogood::before {
		content: "· 비추천 ";
		color: #475569;
		font-weight: 700;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr.sk-tr-empty {
		display: block;
		padding: 24px 12px;
		border-bottom: none;
	}

	.sk-board .sk-sb-list-section .sk-sb-classic .bd_tb_lst tbody tr td.sk-sb-no-doc {
		flex: none;
		width: 100%;
		text-align: center !important;
		padding: 8px 0;
	}

	/* 모바일에선 행 단위 플렉스라 셀 단위 하단 호버 라운드는 비활성화에 가깝게 */
	.sk-board .sk-sb-classic .bd_tb_lst tbody tr:last-child:hover td:first-child,
	.sk-board .sk-sb-classic .bd_tb_lst tbody tr:last-child:hover td:last-child,
	.sk-board .sk-sb-classic .bd_tb_lst tbody tr:last-child:hover td:first-child:last-child {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
}

@media screen and (max-width: 640px) {
	.sk-sb-cmt .fdb_v2 .fdb_lst {
		padding: 12px 10px 10px;
	}
	.sk-sb-cmt .fdb_itm .meta {
		padding-right: 0;
	}
	.sk-sb-cmt .fdb_nav {
		position: static;
		margin-top: 8px;
		text-align: right;
	}
}
