/*@font-face {font-family:NanumGo; src:url(NanumGothic.eot);}
/*BODY,input,form,TEXTAREA,center,option,pre,blockquote,A,select,DIV,TD,UL,LI {font-size:12px;font-family:NanumGo,gulim,tahoma;color:#444;line-height:140%;}*/
BODY,input,form,TEXTAREA,center,option,pre,blockquote,A,select,DIV,TD,UL,LI {font-size:12px;font-family:gulim,tahoma;color:#444;line-height:140%;}

img,fieldset{border:0px; }
body,form,fieldset,h1{margin:0px;padding:0px;}
p { margin-top:2px; margin-bottom:2px; }
LI,UL {font-size:13px;line-height:160%;}

A:link    {color:#444;text-decoration:none;}
A:visited {color:#444;text-decoration:none;}
A:active  {color:#444;text-decoration:none;}
A:hover   {color:#000;text-decoration:underline;}

#hd {width:500px;margin:0px auto;padding-top:10px;}
#hd h1 {position:absolute;z-index:1;width:150px;}
#hd h1 a{display:block;position:absolute;right:0px;top:12px;}

.fds{position:relative;width:100%}
.fdsd{padding:15px 50px 0px 160px}
.fds .asdf{width:255px;display:block;height:25px;padding:2px 5px 0px 5px;border:5px solid #e4de83;background:#fff}
.fds .asd{width:99%;border:0px;font-weight:bold;height:20px;font-size:14px;}
.fds .scanbt{position:absolute;right:0px;top:15px;vertical-align:middle}
.lgt {visibility:hidden;overflow:hidden;position:absolute;width:0px;height:0px;font-size:0px;line-height:0%}

.category_bar
    {line-height:130%;color:#fff;text-decoration:none;}
.category_bar a:link
    {line-height:130%;color:#fff;text-decoration:none;}
.category_bar a:visited
    {line-height:130%;color:#fff;text-decoration:none;}
.category_bar a:active
    {line-height:130%;color:#fff;text-decoration:none;}
.category_bar a:hover
    {line-height:130%;color:#fff;text-decoration:none;}

.category_bar_group
    {font-size:13px;line-height:180%;color:#aaa;text-decoration:none;border-bottom:1px solid #aaa;font-weight:bold;}
.category_bar_group a:link
    {font-size:13px;line-height:180%;color:#aaa;text-decoration:none;border-bottom:1px solid #aaa;font-weight:bold;}
.category_bar_group a:visited
    {font-size:13px;line-height:180%;color:#aaa;text-decoration:none;border-bottom:1px solid #aaa;font-weight:bold;}
.category_bar_group a:active
    {font-size:13px;line-height:180%;color:#aaa;text-decoration:none;border-bottom:1px solid #aaa;font-weight:bold;}
.category_bar_group a:hover
    {font-size:13px;line-height:180%;color:#aaa;text-decoration:none;border-bottom:1px solid #aaa;font-weight:bold;}
    
.homelnkfont 
	{font-weight: normal;	text-decoration: none;	}
.homelnkfont a:link
	{font-weight: normal;	text-decoration: none;	}
.homelnkfont a:visited
	{font-weight: normal;	text-decoration: none;	}
.homelnkfont a:active
	{font-weight: normal;	text-decoration: none;	}
.homelnkfont a:hover
	{font-weight: normal;	text-decoration: underline;	}

.ftitlefont 
	{font-size: 14px;font-weight: bold;text-decoration: none;	}
.ftitlefont a:link
	{font-size: 14px;font-weight: bold;text-decoration: none;	}
.ftitlefont a:visited
	{font-size: 14px;font-weight: bold;text-decoration: none;	}
.ftitlefont a:active
	{font-size: 14px;font-weight: bold;text-decoration: none;	}
.ftitlefont a:hover
	{font-size: 14px;font-weight: bold;text-decoration: underline;	}


.cafetitlefont 
	{		font-size: 14pt;	font-weight: bold;		text-decoration: none;	}
.cafetitlefont a:link
	{		font-size: 14pt;	font-weight: bold;		text-decoration: none;	}
.cafetitlefont a:visited
	{		font-size: 14pt;	font-weight: bold;		text-decoration: none;	}
.cafetitlefont a:active
	{		font-size: 14pt;	font-weight: bold;		text-decoration: none;	}
.cafetitlefont a:hover
	{		font-size: 14pt;	font-weight: bold;		text-decoration: none;	}
	
.foldmenu 
	{		font-size: 13px;	font-weight: bold;		text-decoration: none;	}
.foldmenu a:link
	{		font-size: 13px;	font-weight: bold;		text-decoration: none;	}
.foldmenu a:visited
	{		font-size: 13px;	font-weight: bold;		text-decoration: none;	}
.foldmenu a:active
	{		font-size: 13px;	font-weight: bold;		text-decoration: none;	}
.foldmenu a:hover
	{		font-size: 13px;	font-weight: bold;		text-decoration: none;	}

.scrap
	{font-size: 8pt;	color:#666666;	font-weight: normal;		text-decoration: underline;	}
.scrap a:link
	{font-size: 8pt;	color:#666666;	font-weight: normal;		text-decoration: underline;	}
.scrap a:visited
	{font-size: 8pt;	color:#666666;	font-weight: normal;		text-decoration: underline;	}
.scrap a:active
	{font-size: 8pt;	color:#666666;	font-weight: normal;		text-decoration: underline;	}
.scrap a:hover
	{font-size: 8pt;	color:#000000;	font-weight: normal;		text-decoration: underline;	}

.bigmenu 
	{font-size: 10pt;	color:#222222;	font-weight: bold;		text-decoration: none;	}

.title
	{color:#333333; font-size: 12pt; font-weight: bold;		text-decoration: none;	}

.onms {background-color:#f7f7f7;color:#f7f7f7;} 
.offms {background-color:#ffffff;color:#ffffff;} 
.offms2 {background-color:#ffffff;color:#ffffff;} 

.menu 
	{			color:#404040;	font-weight: normal;		text-decoration: none;	}
.menu a:link
	{			color:#404040;	font-weight: normal;		text-decoration: none;	}
.menu a:visited
	{			color:#404040;	font-weight: normal;		text-decoration: none;	}
.menu a:active
	{			color:#404040;	font-weight: normal;		text-decoration: none;	}
.menu a:hover
	{			color:#1380B3;	font-weight: normal;		text-decoration: underline;	}

.menu2 
	{font-weight: normal;		text-decoration: none;	}
.menu2 a:link
	{font-weight: normal;		text-decoration: none;	}
.menu2 a:visited
	{font-weight: normal;		text-decoration: none;	}
.menu2 a:active
	{font-weight: normal;		text-decoration: none;	}
.menu2 a:hover
	{color:#660000; font-weight: normal;		text-decoration: underline;	}


.st						{ color:#a1a1a1; font-family:"tahoma", "arial"; font-size: 7pt; }	
.menus				{ color:#a1a1a1; font-family:"tahoma", "arial"; font-size: 7pt; }	
.sn						{ color:#8DB345; font-family:"tahoma", "arial"; font-size: 7pt; }	
.sb						{ color:#0584C5; font-family:"tahoma", "arial"; font-size: 7pt; }	
.sr						{ color:#E66F2E; font-family:"tahoma", "arial"; font-size: 7pt; }	

.font8pt  			{ color:#456605; font-family:"tahoma","tahoma", "arial"; font-size: 10px; }	

.clear{clear:both;}

	
.searchedit {
    background-color:#ffffff; 
    color:black; 
    border:1px solid #cdcdcd; 
}


.editbox {
    background-color:white; 
    color:black; 
    border: 1px solid #ddd; 
    height:18px;
    padding:2px 3px 0px 3px;
}

.editbox99 {
    background-color:white; 
	width:98%;
	color:black; 
	border: 1px solid #ddd; 
    height:18px;
    padding:0px 3px;
}
  
.memobox {
    background-color:white; 
	width:100%;
	color:black; 
	height:300px;
	border:1px solid #cdcdcd; 
	padding: 1px 0px 0px 4px;
}  
  
.commentbox {
    background-color:white; 
    width:98%;
    color:black; 
    height:242px;
    border: 1px solid silver; 
    padding: 3px;
}

.hottag1 a:link
	{line-height:170%;font-family:gulim,tahoma;font-size: 13px;	padding:4px 3px 2px 3px;margin:0px; color:#ffffff;	background-color:#666; font-weight: bold;}
.hottag1 a:visited
	{line-height:170%;font-family:gulim,tahoma;font-size: 13px;	padding:4px 3px 2px 3px;margin:0px; color:#ffffff;	background-color:#666; font-weight: bold;}
.hottag1 a:hover
	{line-height:170%;font-family:gulim,tahoma;font-size: 13px;	padding:4px 3px 2px 3px;margin:0px; color:#ffffff;	background-color:#990000; font-weight:bold; text-decoration: none;}

.hottag2 a:link
	{line-height:170%;	font-size: 13px;	padding:2px 0px;margin:0px 0px; color:#222; font-weight: bold;}
.hottag2 a:visited
	{line-height:170%;	font-size: 13px;	padding:2px 0px;margin:0px 0px; color:#222; font-weight: bold;}
.hottag2 a:hover
	{line-height:170%;	font-size: 13px;	padding:2px 0px;margin:0px 0px; color:#ffffff;	background-color:#990000; font-weight:bold; text-decoration: none;}

.hottag3 a:link
	{line-height:170%;	font-size: 13px;	padding:2px 0px 2px 0px;margin:0px 0px;color:#555;	font-weight: bold;}
.hottag3 a:visited
	{line-height:170%;	font-size: 13px;	padding:2px 0px 2px 0px;margin:0px 0px;color:#555;	font-weight: bold;}
.hottag3 a:hover
	{line-height:170%;	font-size: 13px;	padding:2px 0px 2px 0px;margin:0px 0px;color:#ffffff;	background-color:#990000;		font-weight:bold; text-decoration: none;}


.hottag4 a:link
	{line-height:170%;	font-size: 12px;	padding:2px 0px;margin:0px 0px;color:#404040;	font-weight: normal; text-decoration: none;}
.hottag4 a:visited
	{line-height:170%;	font-size: 12px;	padding:2px 0px;margin:0px 0px;color:#404040;	font-weight: normal; text-decoration: none;}
.hottag4 a:hover
	{line-height:170%;	font-size: 12px;	padding:2px 0px;margin:0px 0px;color:#ffffff;	background-color:#990000;		font-weight:normal; text-decoration: none;}

.hottag5 a:link
	{line-height:170%;	font-size: 12px;	padding:2px 0px;margin:0px 0px;color:#212121;	font-weight: normal;}
.hottag5 a:visited
	{line-height:170%;	font-size: 12px;	padding:2px 0px;margin:0px 0px;color:#212121;	font-weight: normal;}
.hottag5 a:hover
	{line-height:170%;	font-size: 12px;	padding:2px 0px;margin:0px 0px;color:#ffffff;	background-color:#990000;		font-weight:normal; text-decoration: none;}

.hottag6 a:link
	{line-height:170%;	font-size: 11px;	padding:2px 0px;margin:0px 0px;color:#919191;	font-weight: normal; }
.hottag6 a:visited
	{line-height:170%;	font-size: 11px;	padding:2px 0px;margin:0px 0px;color:#919191;	font-weight: normal; }
.hottag6 a:hover
	{line-height:170%;	font-size: 11px;	padding:2px 0px;margin:0px 0px;color:#ffffff;	background-color:#990000;		font-weight:normal; text-decoration: none;}

/* ── comm v4 shell refresh ─────────────────────────────── */

body { margin: 0; padding: 0; font-size: 13px; color: #3f4e49; }

.commv4-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 14px 60px;
  box-sizing: border-box;
}

.commv4-subnav,
.commv4-mobile-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.commv4-subnav a,
.commv4-mobile-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d0e4db;
  background: rgba(255,255,255,.82);
  color: #5e756c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.commv4-subnav a.is-active,
.commv4-mobile-subnav a.is-active {
  background: linear-gradient(135deg, #2f7d66 0%, #5ca98a 100%);
  border-color: #2f7d66;
  color: #fff;
}
.commv4-mobile-subnav {
  margin: 12px 0 0;
}

.commv4-statebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(247, 252, 250, .92);
  border: 1px solid #d7e7df;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #567267;
}
.commv4-statebar a { text-decoration: none; }
.commv4-member-state { color: #6d887e; }
.commv4-action-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.commv4-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.commv4-label-green { color: #2f7d66; border-color: #b6dccc; background: #ecf8f2; }
.commv4-label-soft { color: #4d675d; border-color: #d0e4db; background: #f7fcfa; }
.commv4-label-active { color: #fff !important; border-color: #336699 !important; background: #336699 !important; box-shadow: 0 2px 8px rgba(51,102,153,.25); }
.commv4-label-red { color: #c85747; border-color: #f0c4bc; background: #fff4f1; }

.commv4-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}
.commv4-layout.no-sidebar { grid-template-columns: 1fr; }
.commv4-sidebar { position: sticky; top: 14px; }
.commv4-main {
  min-width: 0;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(58, 91, 78, .08);
}

.commv4-sidebar-card {
  background: rgba(255,255,255,.97);
  border: 1px solid #d7e7df;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(58, 91, 78, .08);
  padding: 16px;
  margin-bottom: 14px;
}
.commv4-sidebar-card a { text-decoration: none; }
.commv4-sidebar-card a:hover { text-decoration: none; }

.commv4-sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5f0eb;
  margin-bottom: 12px;
}
.commv4-sb-brand-title {
  font-size: 16px;
  font-weight: 700;
  color: #2f7d66;
}
.commv4-sb-brand-title a { color: inherit; text-decoration: none; }
.commv4-sb-brand-desc {
  margin-top: 2px;
  color: #739184;
  font-size: 11px;
}
.commv4-sb-copy,
.commv4-sb-meta {
  color: #5e756c;
  font-size: 12px;
  line-height: 1.7;
}

.commv4-sb-section-title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 14px 0 6px 4px;
  color: #5b8a79;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.commv4-sb-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.commv4-sb-menu li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  color: #4d675d;
  font-size: 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background .15s;
}
.commv4-sb-menu li a:hover {
  background: #eef8f3;
  color: #2f7d66;
}
.commv4-sb-group { padding: 4px 8px; }
.commv4-sb-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #34584c;
  font-size: 12px;
  font-weight: 700;
}
.commv4-sb-group-toggle img { width: 11px; height: 11px; }
.commv4-sb-divider {
  margin: 4px 0;
  border-top: 1px dashed #dbe9e2;
}
.commv4-sb-indent {
  width: 10px;
  height: 1px;
  flex: 0 0 10px;
}
.commv4-sb-count {
  margin-left: auto;
  color: #7a988b;
  font-size: 11px;
  font-weight: 400;
}

.commv4-sb-frame-box {
  border: 1px solid #d7e7df;
  border-radius: 12px;
  overflow: hidden;
  margin: 8px 0;
  background: #fff;
}
.commv4-sb-center { text-align: center; padding: 6px 0; }
.commv4-sb-spacer { height: 10px; overflow: hidden; }

.commv4-sb-search { padding: 2px 0 8px; }
.commv4-sb-search-row { display: flex; gap: 6px; }
.commv4-sb-search-input {
  flex: 1;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid #d0e4db;
  border-radius: 10px;
  background: #fbfefd;
  color: #446055;
  font-size: 12px;
  box-sizing: border-box;
}
.commv4-sb-search-btn {
  padding: 7px 11px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2f7d66 0%, #5ca98a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.commv4-sb-poll {
  margin: 8px 0;
  padding: 12px;
  border: 1px solid #d7e7df;
  border-radius: 14px;
  background: #fbfefd;
}
.commv4-sb-poll-title {
  color: #34584c;
  font-size: 12px;
  font-weight: 700;
}
.commv4-sb-poll-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5f0eb;
}
.commv4-sb-poll-item {
  padding: 2px 0;
  color: #4d675d;
  font-size: 12px;
}

.commv4-sb-best-thumb {
  text-align: center;
  padding: 5px 0;
}
.commv4-sb-best-thumb img {
  max-width: 100%;
  border: 1px solid #d0e4db;
  border-radius: 10px;
}
.commv4-sb-best-title {
  padding: 4px 0 10px;
  text-align: center;
  color: #4d675d;
  font-size: 12px;
}

.commv4-sb-login { padding: 8px 0; }
.commv4-sb-link-row {
  padding: 3px 0;
  color: #4d675d;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.commv4-sb-file-size {
  color: #7a988b;
  font-size: 11px;
}

.commv4-sb-cmt-item {
  padding: 6px 0;
  border-bottom: 1px solid #e7f1ec;
}
.commv4-sb-cmt-item:last-child { border-bottom: none; }
.commv4-sb-cmt-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #446055;
  font-size: 12px;
}
.commv4-sb-cmt-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
  color: #739184;
  font-size: 11px;
}

.commv4-sb-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 2px 0 4px;
}
.commv4-sb-visitor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.commv4-sb-visitor-item a:link,
.commv4-sb-visitor-item a:visited {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #f4fbf8;
  border: 1px solid #d0e4db;
  color: #4d675d;
  font-size: 11px;
  text-decoration: none;
}
.commv4-sb-visitor-item a:hover {
  background: #eaf7f1;
  color: #2f7d66;
  border-color: #b6dccc;
}

.commv4-sb-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 14px;
  margin: 8px 0 4px;
  border: 1px solid #d7e7df;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbfefd 0%, #eef8f3 100%);
}
.commv4-sb-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.commv4-sb-stat-label {
  color: #7a988b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.commv4-sb-stat-value {
  color: #2f7d66;
  font-size: 15px;
  font-weight: 700;
}
.commv4-sb-scrap {
  text-align: center;
  color: #739184;
  font-size: 11px;
}

.chch-desktop-nav .nav li.commv4-active {
  background: rgba(92, 169, 138, .16);
  border-radius: 6px;
}
.chch-desktop-nav .nav li.commv4-active > a,
.chch-desktop-nav .nav li.commv4-active > a:link,
.chch-desktop-nav .nav li.commv4-active > a:visited {
  color: #2f7d66 !important;
  font-weight: 700;
}

@media (max-width: 767px) {
  .commv4-layout { grid-template-columns: 1fr; }
  .commv4-sidebar { display: none; }
  .commv4-label { font-size: 13px; padding: 5px 14px; }
  .commv4-statebar { padding: 10px 14px; gap: 10px; }
  .commv4-action-links { gap: 7px; }
}

@media (max-width: 640px) {
  .commv4-page { padding: 10px 10px 44px; }
  .commv4-statebar { padding: 10px; }
  .commv4-main { padding: 4px; border-radius: 12px; }
  .commv4-sidebar-card { padding: 14px; border-radius: 16px; }
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  color: #dbe7f7;
}

html[data-theme="dark"] .commv4-subnav a,
html[data-theme="dark"] .commv4-mobile-subnav a {
  border-color: #29435f;
  background: rgba(18, 35, 56, .94);
  color: #9db9d7;
}

html[data-theme="dark"] .commv4-subnav a.is-active,
html[data-theme="dark"] .commv4-mobile-subnav a.is-active {
  border-color: #2f7d66;
  background: linear-gradient(135deg, #1f5e4d 0%, #34795e 100%);
  color: #f3fff9;
}

html[data-theme="dark"] .commv4-statebar,
html[data-theme="dark"] .commv4-main,
html[data-theme="dark"] .commv4-sidebar-card,
html[data-theme="dark"] .commv4-sb-frame-box,
html[data-theme="dark"] .commv4-sb-poll,
html[data-theme="dark"] .commv4-sb-stat-row {
  border-color: #223954;
  background: linear-gradient(180deg, #122338 0%, #0f1d31 100%);
  box-shadow: 0 18px 36px rgba(2, 8, 18, .34);
}

html[data-theme="dark"] .commv4-sb-brand {
  border-bottom-color: #20344d;
}

html[data-theme="dark"] .commv4-sb-brand-title,
html[data-theme="dark"] .commv4-sb-best-title,
html[data-theme="dark"] .commv4-sb-cmt-title,
html[data-theme="dark"] .commv4-sb-link-row,
html[data-theme="dark"] .commv4-sb-copy,
html[data-theme="dark"] .commv4-sb-meta,
html[data-theme="dark"] .commv4-sb-menu li a,
html[data-theme="dark"] .commv4-member-state,
html[data-theme="dark"] .commv4-statebar,
html[data-theme="dark"] .commv4-sb-poll-title,
html[data-theme="dark"] .commv4-sb-poll-item {
  color: #dbe7f7;
}

html[data-theme="dark"] .commv4-sb-brand-desc,
html[data-theme="dark"] .commv4-sb-cmt-meta,
html[data-theme="dark"] .commv4-sb-file-size,
html[data-theme="dark"] .commv4-sb-scrap,
html[data-theme="dark"] .commv4-sb-count,
html[data-theme="dark"] .commv4-sb-stat-label {
  color: #8ea8c5;
}

html[data-theme="dark"] .commv4-sb-stat-value,
html[data-theme="dark"] .commv4-sb-scrap span {
  color: #8fd9b7;
}

html[data-theme="dark"] .commv4-sb-section-title,
html[data-theme="dark"] .chch-desktop-nav .nav li.commv4-active > a {
  color: #8fd9b7 !important;
}

html[data-theme="dark"] .chch-desktop-nav .nav li.commv4-active {
  background: rgba(47, 125, 102, .24);
}

html[data-theme="dark"] .commv4-label-green,
html[data-theme="dark"] .commv4-label-soft,
html[data-theme="dark"] .commv4-label-red {
  color: #dbe7f7;
}

html[data-theme="dark"] .commv4-label-green {
  border-color: #2f7d66;
  background: #1f5e4d;
  color: #e7fff5;
}

html[data-theme="dark"] .commv4-label-soft {
  border-color: #2c557d;
  background: #173250;
  color: #a9cbf0;
}
html[data-theme="dark"] .commv4-label-active {
  border-color: #2a5080 !important; background: #2a5080 !important; color: #fff !important; box-shadow: 0 2px 8px rgba(42,80,128,.3);
}

html[data-theme="dark"] .commv4-label-red {
  border-color: #7c4747;
  background: #4a2626;
  color: #ffd8d8;
}

html[data-theme="dark"] .commv4-sb-menu li a:hover,
html[data-theme="dark"] .commv4-sb-visitor-item a:hover {
  background: #13253a;
  color: #8fd9b7;
  border-color: #35506d;
}

html[data-theme="dark"] .commv4-sb-group-toggle {
  color: #f2f7ff;
}

html[data-theme="dark"] .commv4-sb-divider,
html[data-theme="dark"] .commv4-sb-cmt-item,
html[data-theme="dark"] .commv4-sb-poll-body {
  border-color: #223954;
}

html[data-theme="dark"] .commv4-sb-search-input,
html[data-theme="dark"] .commv4-sb-search-btn,
html[data-theme="dark"] .commv4-sb-visitor-item a:link,
html[data-theme="dark"] .commv4-sb-visitor-item a:visited {
  border-color: #2b425d;
  background: #13253a;
  color: #dbe7f7;
}

html[data-theme="dark"] .commv4-sb-search-btn {
  background: linear-gradient(135deg, #1f5e4d 0%, #34795e 100%);
  color: #f3fff9;
}

html[data-theme="dark"] .commv4-sb-best-thumb img {
  border-color: #2b425d;
}

html[data-theme="dark"] .hottag1 a:link, html[data-theme="dark"] .hottag1 a:visited,
html[data-theme="dark"] .hottag2 a:link, html[data-theme="dark"] .hottag2 a:visited,
html[data-theme="dark"] .hottag3 a:link, html[data-theme="dark"] .hottag3 a:visited,
html[data-theme="dark"] .hottag4 a:link, html[data-theme="dark"] .hottag4 a:visited,
html[data-theme="dark"] .hottag5 a:link, html[data-theme="dark"] .hottag5 a:visited,
html[data-theme="dark"] .hottag6 a:link, html[data-theme="dark"] .hottag6 a:visited {
  border-color: #2c557d !important;
  background: #173250 !important;
  color: #a9cbf0 !important;
}

html[data-theme="dark"] .hottag1 a:hover, html[data-theme="dark"] .hottag2 a:hover,
html[data-theme="dark"] .hottag3 a:hover, html[data-theme="dark"] .hottag4 a:hover,
html[data-theme="dark"] .hottag5 a:hover, html[data-theme="dark"] .hottag6 a:hover {
  border-color: #2f7d66 !important;
  background: #1f5e4d !important;
  color: #f3fff9 !important;
}

/* 사이드바 사랑방/문의 네비게이션 */
.commv4-sb-nav {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e0ece0;
}
.commv4-sb-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  border-radius: 10px;
  border: 1px solid #c8e0c8;
  background: #f5faf5;
  color: #4a6a4a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s;
}
.commv4-sb-nav-item:hover {
  background: #e8f4e8;
  border-color: #49a46c;
  color: #2a5030;
}
.commv4-sb-nav-item.is-active {
  background: linear-gradient(135deg, #49a46c 0%, #6bc48e 100%);
  border-color: #49a46c;
  color: #fff;
}
.commv4-sb-nav-icon {
  font-size: 16px;
}
html[data-theme="dark"] .commv4-sb-nav { border-top-color: #1e3a28; }
html[data-theme="dark"] .commv4-sb-nav-item {
  border-color: #1e3a28;
  background: #0f1e16;
  color: #8bd0a1;
}
html[data-theme="dark"] .commv4-sb-nav-item:hover {
  background: #142a1c;
  border-color: #49a46c;
}
html[data-theme="dark"] .commv4-sb-nav-item.is-active {
  background: linear-gradient(135deg, #2a6040 0%, #3a7a54 100%);
  color: #fff;
}

/* 가입하기 버튼 강조 */
.commv4-label-join {
  background: linear-gradient(135deg, #e74c8b 0%, #f472b6 100%) !important;
  border-color: #e74c8b !important;
  color: #fff !important;
  animation: joinPulse 2s ease-in-out infinite;
}
.commv4-label-join:hover { opacity: .85; }
@keyframes joinPulse { 0%,100%{box-shadow:0 0 0 0 rgba(231,76,139,.3)} 50%{box-shadow:0 0 0 6px rgba(231,76,139,0)} }
