@charset "utf-8";
/* ============================================================
   BS4-MBS-ifade : 자유게시판 - ifadetv 스타일 리스트/뷰
   ============================================================ */

:root{
	--ifb-bg:#141018;
	--ifb-surface:#1b1622;
	--ifb-head:#221c2c;
	--ifb-line:#2b2436;
	--ifb-line-soft:#241e2e;
	--ifb-text:#d9d2e4;
	--ifb-text-strong:#f3eefb;
	--ifb-muted:#8b8299;
	--ifb-dim:#6f6780;
	--ifb-accent:#9a5bff;
	--ifb-accent-deep:#6a1fe0;
}

/* ---------- 리스트 ---------- */
#bo_list.ifade-board{ margin-top:6px; }

.ifade-list-wrap{
	border:1px solid var(--ifb-line);
	border-radius:12px;
	overflow:hidden;
	background:var(--ifb-surface);
}

table.ifade-list{
	width:100%;
	border-collapse:collapse;
	table-layout:fixed;
	font-size:14px;
}
.ifade-list col.cg-num{ width:88px; }
.ifade-list col.cg-writer{ width:158px; }
.ifade-list col.cg-date{ width:92px; }
.ifade-list col.cg-hit{ width:74px; }
.ifade-list col.cg-good{ width:64px; }

.ifade-list thead th{
	background:var(--ifb-head);
	color:var(--ifb-muted);
	font-size:12.5px;
	font-weight:700;
	letter-spacing:.01em;
	text-align:center;
	padding:12px 8px;
	border-bottom:1px solid var(--ifb-line);
	white-space:nowrap;
}
.ifade-list thead th.c-subj{ text-align:left; padding-left:20px; }
.ifade-list thead th a{ color:inherit; text-decoration:none; }
.ifade-list thead th a:hover{ color:var(--ifb-text); }

.ifade-list tbody td{
	padding:13px 8px;
	border-bottom:1px solid var(--ifb-line-soft);
	color:var(--ifb-dim);
	vertical-align:middle;
	text-align:center;
	font-variant-numeric:tabular-nums;
}
.ifade-list tbody tr:last-child td{ border-bottom:0; }
.ifade-list tbody tr:hover td{ background:rgba(154,91,255,.07); }

/* 번호 */
.ifade-list .c-num{ font-size:12.5px; color:var(--ifb-dim); }
.ifade-list .ifade-notice{
	display:inline-block; padding:2px 9px; border-radius:999px;
	font-size:11px; font-weight:800; color:#fff;
	background:linear-gradient(135deg,var(--ifb-accent),var(--ifb-accent-deep));
}
.ifade-list .ifade-now{
	display:inline-block; padding:2px 8px; border-radius:999px;
	font-size:11px; font-weight:700; color:var(--ifb-accent);
	border:1px solid rgba(154,91,255,.5);
}

/* 제목 */
.ifade-list .c-subj{ text-align:left; padding-left:20px; }
.ifade-list .subj-line{ display:flex; align-items:center; gap:7px; min-width:0; }
.ifade-list a.subj{
	color:var(--ifb-text);
	font-size:14.5px;
	font-weight:500;
	text-decoration:none;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	min-width:0;
	flex:0 1 auto;
}
.ifade-list tr:hover a.subj{ color:var(--ifb-text-strong); }
.ifade-list tr.is-notice a.subj strong{ color:var(--ifb-text-strong); font-weight:700; }

.ifade-list .cmt{
	flex:0 0 auto;
	font-size:12px; font-weight:700; color:#ff9d3d;
}
.ifade-list .badge-new{
	flex:0 0 auto;
	display:inline-flex; align-items:center; justify-content:center;
	min-width:17px; height:17px; padding:0 3px;
	border-radius:999px;
	background:#ff2f5e; color:#fff;
	font-size:10px; font-weight:800; line-height:1;
}
.ifade-list .ifade-ca{
	display:inline-block; padding:2px 7px; margin-right:2px;
	border-radius:5px; font-size:11px; font-weight:700;
	background:rgba(154,91,255,.16); color:#c9a6ff;
}
.ifade-list .ifade-hot{
	display:inline-block; padding:1px 6px; margin-right:3px;
	border-radius:4px; font-size:10px; font-weight:800;
	background:#e0245e; color:#fff; vertical-align:middle;
}
.ifade-list .na-ticon{ flex:0 0 auto; opacity:.55; }
.ifade-list .na-hicon.na-reply{ flex:0 0 auto; }

/* 작성자 */
.ifade-list .c-writer{ color:var(--ifb-text); font-size:13px; }
.ifade-list .c-writer img{ height:15px; width:auto; vertical-align:-3px; margin-right:4px; }
.ifade-list .c-writer .sv_wrap,
.ifade-list .c-writer .sv_member,
.ifade-list .c-writer a{ color:var(--ifb-text) !important; font-weight:500; }
.ifade-list .c-writer .sv{ display:none !important; }
.ifade-list .ifade-guest{ color:var(--ifb-muted); font-weight:500; }
.ifade-list .ifade-guest::before{
	content:""; display:inline-block; width:15px; height:15px; vertical-align:-3px; margin-right:5px;
	border-radius:4px; background:#3a3247;
}
#bo_v_info .ifade-guest{ color:var(--ifb-text); font-weight:600; }

/* 날짜 / 조회 / 추천 */
.ifade-list .c-date,
.ifade-list .c-hit,
.ifade-list .c-good{ font-size:12.5px; color:var(--ifb-dim); }

/* 공지 / 현재글 행 */
.ifade-list tr.is-notice td{ background:rgba(154,91,255,.06); }
.ifade-list tr.is-now td{ background:rgba(154,91,255,.1); }

/* 모바일 메타(제목 아래) - PC 숨김 */
.ifade-list .subj-meta{ display:none; }

/* 빈 목록 */
.ifade-empty{ padding:64px 20px; text-align:center; color:var(--ifb-muted); font-size:14px; }
.ifade-empty-row td{ padding:0 !important; }

/* ---------- 상단 버튼바 / 페이징 톤 맞춤 ---------- */
#bo_btn_top{ color:var(--ifb-muted); }
#bo_list_total b{ color:var(--ifb-accent); }
#bo_btn_top .btn_b01,
#bo_btn_top .btn_admin{ color:var(--ifb-muted) !important; }
#bo_btn_top .btn-primary{
	background:linear-gradient(135deg,var(--ifb-accent),var(--ifb-accent-deep)) !important;
	border:0 !important;
}

/* ---------- 모바일 : 행을 카드 형태로 ---------- */
@media (max-width:767px){
	.ifade-list-wrap{ border-radius:10px; }

	table.ifade-list,
	.ifade-list tbody,
	.ifade-list tr.list-item{ display:block; width:100%; }
	.ifade-list thead{ display:none; }
	.ifade-list colgroup{ display:none; }

	.ifade-list tbody td{ display:none; }
	.ifade-list tbody td.c-subj{
		display:block; width:100%;
		padding:13px 15px;
		border-bottom:1px solid var(--ifb-line-soft);
		text-align:left;
	}
	.ifade-list tbody tr.list-item:last-child td.c-subj{ border-bottom:0; }
	.ifade-list tbody tr:hover td.c-subj{ background:rgba(154,91,255,.07); }

	.ifade-list .subj-line{ flex-wrap:wrap; white-space:normal; row-gap:4px; }
	.ifade-list a.subj{
		white-space:normal; overflow:visible; text-overflow:clip;
		flex:0 1 auto; font-size:14.5px; line-height:1.45;
	}

	.ifade-list .subj-meta{
		display:flex; align-items:center; flex-wrap:wrap; gap:5px;
		margin-top:8px; font-size:11.5px; color:var(--ifb-dim);
	}
	.ifade-list .subj-meta .m-writer{ color:var(--ifb-muted); }
	.ifade-list .subj-meta img{ height:13px; width:auto; vertical-align:-2px; margin-right:3px; }
	.ifade-list .subj-meta .sv{ display:none !important; }
	.ifade-list .subj-meta a,
	.ifade-list .subj-meta .sv_member,
	.ifade-list .subj-meta .sv_wrap{ color:var(--ifb-muted) !important; }
	.ifade-list .subj-meta .m-dot{ opacity:.45; }

	.ifade-empty-row,
	.ifade-list .ifade-empty-row td{ display:block !important; }
}

/* ============================================================
   게시판 읽기 (view) - ifadetv 스타일
   ============================================================ */
#bo_v{ }
#bo_v > header{ padding-left:2px; padding-right:2px; }
#bo_v > header .f-sm.text-muted:first-child{
	color:var(--ifb-accent) !important;
	font-weight:800; font-size:12px; letter-spacing:.02em;
	margin-bottom:6px;
}
#bo_v_title{ font-size:25px; font-weight:800; line-height:1.32; letter-spacing:-0.02em; color:var(--ifb-text-strong); }

/* 작성자 / 정보 바 */
#bo_v_info{ font-size:13px; }
#bo_v_info > div:first-child{
	background:var(--ifb-surface) !important;
	border:1px solid var(--ifb-line) !important;
	border-radius:10px 10px 0 0;
	padding:14px 16px !important;
}
#bo_v_info > div:first-child img{ height:20px; width:auto; vertical-align:-4px; margin-right:6px; border-radius:4px; }
#bo_v_info > div:first-child .sv_wrap,
#bo_v_info > div:first-child .sv_member,
#bo_v_info > div:first-child a{ color:var(--ifb-text) !important; font-weight:600; }
#bo_v_info > div:first-child .sv{ display:none !important; }
#bo_v_info > div:first-child time{ color:var(--ifb-dim); }
#bo_v_info > div:nth-child(2){
	background:var(--ifb-surface) !important;
	border:1px solid var(--ifb-line) !important;
	border-top:0 !important;
	border-radius:0 0 10px 10px;
	padding:10px 16px !important;
	margin-bottom:20px;
}
#bo_v_info .wr_good_cnt, #bo_v_info .wr_nogood_cnt{ font-weight:700; color:var(--ifb-text); }

#bo_v_con{ min-height:220px; word-break:break-all; overflow:hidden; font-size:15px; line-height:1.75; color:var(--ifb-text); }
#bo_v_con img{ max-width:100%; height:auto; }
#bo_v_img{ width:100%; text-align:center; overflow:hidden; }
#bo_v_img:after{ display:block; visibility:hidden; clear:both; content:""; }
#bo_v_img a.view_image{ display:block; }
#bo_v_img img{ margin-bottom:1rem; }

#bo_v_sns_icon{ margin:-5px auto; }
#bo_v_sns_icon img{ width:40px; border-radius:50%; margin:5px; }

@media all and (max-width:575px){
	.responsive #bo_v_title{ font-size:20px; line-height:1.5; }
	.responsive #bo_v_con{ min-height:140px; }
}

/* 댓글 */
.cmt-reply{ top:0; left:-16px; }
.by-writer{ background:rgba(154,91,255,.08) !important; border-top:1px solid rgba(154,91,255,.3) !important; }
.cmt-content{ word-break:break-all; overflow:hidden; }
.cmt-content img{ max-width:100%; height:auto; }

.cmt-btn ul{ list-style:none; margin:0; }
.cmt-btn ul > li{ float:left; font-size:12px; padding:0 10px; }
.cmt-btn ul > li::before{ float:left; color:#4a4356; content:"|"; margin-left:-12px; }
.cmt-btn ul > li:last-child{ padding-right:0; }
.cmt-btn ul > li:first-child::before,
.cmt-btn ul > li.no-bar::before{ content:""; margin-left:0; }
.cmt-btn ul > li > a{ float:left; color:var(--ifb-muted); white-space:nowrap; }

#fviewcomment #wr_content{ resize:none; }
@media all and (max-width:575px){
	.responsive .cmt-box{ border-right:0 !important; }
	.responsive #bo_vc_w .cmt-box{ border-left:0 !important; border-radius:0 !important; }
	.responsive #bo_vc_login{ border-left:0 !important; border-right:0 !important; border-radius:0 !important; }
}

#bo_vc_opt ol{ margin:0; padding:0; list-style:none; background:#2b2436; border-radius:3px; }
#bo_vc_opt ol:after{ display:block; visibility:hidden; clear:both; content:""; }
#bo_vc_opt ol li{ float:left; margin:0; }
#bo_vc_send_sns ul{ margin:0; padding:0; list-style:none; }
#bo_vc_send_sns ul:after{ display:block; visibility:hidden; clear:both; content:""; }
#bo_vc_send_sns ul li{ float:left; margin:0 1rem 0 0; }
#bo_vc_send_sns input{ margin:0 0 0 .5rem; }

/* 쓰기 */
#bo_w .list-group-item{ padding-left:0; padding-right:0; border-left:0; border-right:0; }
#bo_w #wr_content{ margin-bottom:1rem !important; }
@media all and (max-width:575px){
	#bo_w .list-group-item{ padding-left:1rem; padding-right:1rem; }
	.responsive #bo_w #wr_content{ max-height:160px !important; }
}

/* 웹진 (기존 유지) */
#bo_webzine .chk-box{ position:absolute; bottom:5px; right:10px; z-index:2; }
#bo_webzine .wr-now{ position:absolute; width:100%; height:100%; top:0; left:0; background:rgba(0,0,0,.75); z-index:1; }

/* ============================================================
   갤러리 - 모던 카드 (.tv-card / .tv-gal*)
   → 공용 스타일은 theme/Simple-A/css/theme.css 에 있음
     (BS4-MBS-ifade 와 BS4-Basic-Gallery 가 공유)
   ============================================================ */
