@charset "utf-8";

.board-notice	{ width: 264px; padding: 10px; margin: 0 auto; text-align: center; box-sizing: border-box; }


.avocado-list	{
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.avocado-list li {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
}

.avocado-list li.no-data {
    display: block;
    grid-template-columns: none;
}

.avocado-list li.bo_notice	{  }
.avocado-list li.no-data	{ 
	text-align: center;
	line-height: 200px;
}
.avocado-list li .td_chk {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avocado-list li strong .highlight {font-weight:normal;}
.avocado-list li strong .cnt_cmt:before	{ content: "( "; }
.avocado-list li strong .cnt_cmt:after	{ content: " )"; }

.avocado-list li .ico-cate	{
	display: block;
	position: absolute;
	top: 0; 
	left: 20px;
	width: 100px;
	text-align: center;
}

.avocado-list li a {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    line-height: 1.4;
}

.list-subject {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
flex: 1 1 auto;
}

.list-title {
    display: flex;
    align-items: center;
    gap: 6px;
font-size: 15px;
}

.list-subtitle {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
    white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
min-width: 0;
flex: 1 1 auto;
display: inline-block;
max-width: 100%;
}

.list-title > .subject-text {
    white-space: nowrap;
}


.avocado-list li a {
    min-width: 0;
}


.avocado-list li .info {
    display: flex;
justify-content:flex-end;
gap: 10px;
    grid-template-columns: 110px auto;
    column-gap: 6px;
    align-items: center;
    font-size: 11px;
    white-space: nowrap;
margin-right: 24px;
}

.avocado-list li .info .name {
    text-align: right;
    overflow: hidden;
max-width: 80px;
	gap: 4px;
	justify-content: flex-end;
	text-overflow: ellipsis;
	padding-right:5px;
}

.avocado-list li .highlight {
flex: 0 0 auto;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 0;
padding-right: 4px;
    border-radius: 3px;
    line-height: 1.4;
font-size: 8px;
margin-bottom: 0px !important;
font-family: inherit;
}

.avocado-list li .info .date {
    text-align: right;
flex-shrink: 0;
padding-right: 6px;
}


.avocado-list li .hit	{
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	text-align: center;
	opacity: .6;
	font-size: 11px;
}



.bo_fx {position:relative;padding:20px 0;}


.board-category	{
	display: block;
	position: relative;
	margin-bottom: 10px; 
	
}


.board-write	{  padding: 0 10px; }

.board-write h3	{
	font-size: 26px;
	text-align: center;
	padding: 30px 0 20px;
} 
.board-write .write-notice	{
	padding: 10px;
	font-size: 11px;
}
.board-write > dl {position:relative;}
.board-write > dl > dt { width:70px;position:absolute;line-height:32px;text-align:center; }
.board-write > dl > dd { width:100%;margin-left:0;padding-left:80px;box-sizing:border-box;line-height:32px;}
.board-write input.frm_input.full	{ width: 100%; display:block;margin:1px 0;}


.board-viewer.theme-box	{
	display: block;
	position: relative;
	padding: 72px 64px 44px 48px;
	max-width: 800px;
	margin: 40px auto;
	border-radius: 10px;
}

.board-viewer .subject	{
	text-align: left;
	margin-bottom:8px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.board-viewer .subject em	{
	display: block;
	position: relative;
	font-size: 14px;
	line-height: 1.2em;
	padding-bottom: 10px;
}
.board-viewer .subject strong	{
	display: block;
	position: relative;
	font-size: 25px;
	line-height: 1.3em;
	margin-bottom: 15px;
	margin-left: 0;
	padding-left: 0;
}

.board-viewer .info	{
	margin-top: -10px;
	padding-left: 2px;
}
.board-viewer .info span	{ display: inline-block; }
.board-viewer .info span + span:before	{
	content: "";
	display: inline-block;
	width: 1px;
	height: 8px;
	vertical-align: middle;
	margin: 0 10px;
}

.board-viewer .contents	{
	display: block;
	position: relative;
	margin: 20px 0;
	padding: 40px 5px;
	border-left-width: 0;
	border-right-width: 0;
	margin-bottom: 100px;
}

.board-viewer .contents hr{
    display:block;
    border:0;
    border-top:1px solid #999;
    margin:20px 0;
}

@media all and (max-width: 768px) {
#bo_v_con * {max-width:100%;}

.board-category	{
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 0 10px;
}
.board-category select	{
		width: 100%;
}

.bo_fx	{
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 20px 10px !important;
}

.bo_fx a.ui-btn {
    font-weight: bold;
}
}


#bo_v_bot	{ padding: 20px 0; overflow: visible; }

.view-nav-item {
    display: block;
    padding: 8px 0;
margin-bottom: 10px; 

}

.view-nav {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bo_v_nb,
.bo_v_com {
    float: right;
}

.board-comment-list			{ position: relative; }
.board-comment-list .co-line	{
	display: block;
	position: relative;
	clear: both;
	width: 100%;
	height: 1px;
	margin: 0;
	padding: 0;
	border: none;
}
.board-comment-list .item	{
display: flex;
flex-direction: column;
align-items: flex-start;
	position: relative;
	padding: 10px;
}
.board-comment-list .co-name	{
	position: static;
	top: 0px;
	left: 0;
	bottom: 0;
	width: auto;
	padding: 10px 10px;
	box-sizing: border-box;
}
.board-comment-list .co-info {
	display: block;
	text-align: right;
	padding-top: 15px;
	font-size: 11px;
	opacity: .7;
}
.board-comment-list .co-info span	{ display: inline-block; opacity: .8; }
.board-comment-list .co-info span + span:before	{
	content: "";
	display: inline-block;
	width: 1px;
	height: 8px;
	vertical-align: middle;
	margin: 0 10px;
}

.board-comment-list .item.reply	{ border-left: 5px solid rgba(255, 255, 255, .1); }
.board-comment-list .item.reply .co-name	{
	background: none;
}


.board-comment-list {
    margin-top: 20px;
}

.board-comment-write {
    margin-top: 30px;
}


.board-comment-form	{ 
	position: relative;
	padding-right: 80px;
}
.board-comment-form .btn_confirm	{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 29px;
	width: 80px;
}
.board-comment-form .btn_confirm .ui-btn	{
	width: 100%;
	height: 100%;
}
.board-comment-form p	{
	margin: 0;
	padding: 5px 10px;
}
.board-comment-form textarea	{ display: block; height: 100px; resize: none; border: none; }


@media all and (max-width: 768px) {

.avocado-list li a {
    display: flex;
    align-items: center;
    padding: 6px 16px;
}
.avocado-list li .ico-cate,
.avocado-list li .name,
.avocado-list li .date,
.avocado-list li .hit	{
		position: relative;
		width: auto;
		left: auto;
		right: auto;
		bottom: auto;
		line-height: 1.2em;
	}

	

.avocado-list li .ico-cate	{ display: inline; }
.avocado-list li .ico-cate:before	{ content: "[ "; }
.avocado-list li .ico-cate:after	{ content: " ]"; }

.avocado-list li strong	{ display: flex; min-width: 0; line-height: 1.2em; }

.avocado-list li .name,
.avocado-list li .date,
.avocado-list li .hit	{ display: inline; padding: 0 5px; }

.board-comment-list .item	{ padding: 0; }
.board-comment-list .co-name	{ display: flex; align-items: center; gap: 6px; white-space: nowrap; position: relative; width: auto; padding: 5px 10px; }
.board-comment-list .co-content	{ padding: 10px; word-break:break-all;}

}

.board-comment-list .co-name .secret {
    white-space: nowrap;
    flex: 0 0 auto;
}

.board-comment-list .co-nick,
.board-comment-list .secret {
    white-space: nowrap;
}

#bo_v_con.indent-on p {
    text-indent: 0.8em;
}

#bo_v_con.indent-on p:has(img),
#bo_v_con.indent-on p:has(iframe) {
    text-indent: 0 !important;
    margin-left: 0 !important;
}


#bo_v_con img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}


#bo_v_con p {
    margin-left: 0;
    padding-left: 0;
}


.view-font-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-font-control .indent-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}


#bo_v_con {
    line-height: 1.8;
}


.board-comment-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.board-comment-form > textarea {
    flex: 1;
    resize: none;
}

.comment-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.comment-input-row textarea {
    flex: 1;
    min-height: 120px;
    resize: none;
}

.comment-input-row .btn_confirm {
    display: flex;
}

.comment-input-row .btn_confirm button {
    min-width: 90px;
    white-space: nowrap;
}

.comment-extra {
    margin-top: 10px;
}

.comment-extra input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 6px;
}


.board-comment-form .btn_confirm {
    flex: 0 0 72px;
}


.board-comment-form .btn_confirm button {
    min-width: 80px;
    padding: 0 16px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}
.view-font-control {
    margin-bottom: 30px;
    display: flex;
    gap: 6px;
justify-content: right;
}

.view-font-control button {
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
}

.view-status {
    margin-top: 6px;
    font-size: 14px;
    color: #5797f8;
margin-left: -16px;
margin-right: -16px;
}

.view-status .highlight {
    display: inline-block;
    margin-right: 4px;
    padding: 1px 5px;
    font-size: 11px;
    border-radius: 3px;
    background: #000;
    color: #fff;
}

.view-subtitle {
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 16px;
    color: #555;
padding-left: 1px;
}

/* === 게시글 보기: 제목/부제목/정보/본문 좌측 들여쓰기 === */
.board-viewer.theme-box .note-layout {
    padding-left: 36px;       /* 좌측 여백 추가 */
    padding-top: 8px;
}

.board-viewer.theme-box .note-meta {
    margin-bottom: 20px;
}

.board-viewer.theme-box .note-meta .subject strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

.board-viewer.theme-box .note-meta .info {
    margin-top: 12px;
    font-size: 14px;
    color: #888;
}

@media (max-width: 768px) {
    .board-viewer.theme-box .note-layout {
        padding-left: 0;
    }
    .board-viewer.theme-box .note-meta .subject strong {
        font-size: 22px;
    }
}

.avocado-list li a.bo_row {
    display: grid;
	grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
	gap: 12px;
width: 100%;
}
.avocado-list li .bo_title {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 130px;            /* 박스 높이 고정 */
    min-width: 0;
}

.avocado-list li .bo_title .list-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}


.avocado-list li .list-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}


.avocado-list li .title-main {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.avocado-list li .list-subtitle {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #999;
    font-size: 15px;
    margin-top: 2px;
}

.no-data-row {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    color: #888;
    font-size: 15px;
}

.subtitle-wrap {
    display: block;
    width: 100%;
    overflow: hidden;
}

.comment-count {
    font-size: 12px;
    color: #5797f8;
font-weight: 700;
}


.board-comment-list .co-name,
.board-comment-list .co-content {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    box-sizing: border-box;
}

#bo_v_con em,
#bo_v_con i {
    font-style: italic;
}

.btn_submit {
font-size: 13.5px;
}

.view-nav-item {
    display: block;
    padding: 8px 0;
    border-radius: 12px;
    background: none;
    text-decoration: none;
    color: inherit;
    transition: background .2s ease;
}

.view-nav-item:hover {
    background: none;
}

.view-nav-item.prev {
    text-align: left;
}

.view-nav-item.next {
    text-align: left;
}

.view-nav-item .nav-label {
    font-size: 11px;
    opacity: .5;
    display: block;
    margin-bottom: 6px;
}

.nav-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-subtitle {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-nav-item .nav-content {
    min-width: 0;
}


.video-inline {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16 / 9;
    vertical-align: middle;
}

.video-inline iframe {
    display: block; 
    width: 100%;
    height: 100%;

    border: 0;
    outline: none;
    box-shadow: none;
}


@media (max-width: 768px) {
  
 .comment-input-row .btn_confirm button {
        width: 100%;
    }

  a.bo_row {
        display: block !important;
    }

a.bo_row .bo_title {
        width: 100%;
    }

a.bo_row .info {
        width: 100%;
        margin-top: 6px;
    }

.avocado-list li .highlight {
padding-left: 0px;
padding-right: 10px;
}
.avocado-list li .info .name {
        padding-left: 0;
	padding-right: 5px;
    }

.comment-input-row {
        flex-wrap: wrap;
    }

.comment-input-row .file_box {
        flex: 0 0 100%;
        margin-top: 8px;
    }
.comment-input-row .btn_confirm {
        margin-left: auto;
        display: flex;
        justify-content: flex-end;
    }
.view-nav {
        grid-template-columns: 1fr;
    }

.avocado-list li .bo_title .list-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 5px;
}

.list-preview {
    margin-top: 5px;
}
}

html.dark-mode,
body.dark-mode {
    background: #000;
    color: #e3e3e2;
}


/* body.dark-mode #header .gnb_1da 색상 변경 제거 (원래 색 유지) */

body.dark-mode .board-viewer,
body.dark-mode .board-viewer.theme-box,
body.dark-mode #bo_v_con {
    background: #000;
    color: #e3e3e2;
}

body.dark-mode .subject strong {
    color: #e3e3e2;
}

body.dark-mode .view-subtitle {
    color: #c7c7c7;
}

body .info {
    color: #777;
}
body.dark-mode .info,
body.dark-mode .sv_member {
    color: #999;
}

body.dark-mode a {
    color: #e3e3e2;
}


.view-category,
.view-category a {
    color: #777;
}

body.dark-mode .view-category,
body.dark-mode .view-category a {
    color: #999;
}

body.dark-mode .nav-title {
    color: #e3e3e2;
}

body.dark-mode .nav-subtitle {
    color: #999;
}

body.dark-mode .board-comment-list {
    color: #fff;
}

body.dark-mode .board-comment-list.theme-box {
    background: #000;
}
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #000;
    color: #fff;
    border-color: #555;
}

body.dark-mode .required,
body.dark-mode .frm_file,
body.dark-mode .frm_input.full {
    border: 1px solid #999;
}

body.dark-mode .ui-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

body.dark-mode .theme-box {
    border-color: #000;
}

body.dark-mode::-webkit-scrollbar-track {
    background: #222;
}

body.dark-mode::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 5px;
}


    body.dark-mode #gnb_wrapper {
        background: #000;
    }
/* === 게시판 목록: 좌/우 고정 레이아웃 === */
.avocado-list li .bo_title .content-side {
    flex: 1 1 auto;           /* 좌측: 남는 공간 차지 */
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
}

.avocado-list li .bo_title .content-side .list-title {
    flex: 0 0 auto;
}

.avocado-list li .bo_title .text-area {
    flex: 1 1 auto;
    min-height: 0;
    line-height: 1.6;
    font-size: 14px;
    color: #666;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 3;    /* 본문 미리보기 최대 3줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avocado-list li .bo_title .info {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding: 0;
    margin: 0;
}

.avocado-list li .bo_title .protect-hint {
    margin-top: 7px;
    font-size: 0.9em;
}

.avocado-list li .bo_title .thumb-area {
    flex: 0 0 auto;           /* 우측: 고정 너비 */
    width: 180px;
    height: 100%;
}

.avocado-list li .bo_title .thumb-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #eee;
    background: #f9f9f9;
}

.avocado-list li .bo_title .thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avocado-list li .bo_title .thumb-img.is-blurred {
    filter: blur(10px);
    -webkit-filter: blur(10px);
    transform: scale(1.2);
}

blockquote.se2_quote2 {
    display: table !important;
    margin: 20px auto !important;
    position: relative !important;
    padding: 10px 10px 10px 50px !important;
    border: 0 !important;
    background: none !important;
    text-indent: 0 !important;
    min-width: 50px;
text-align: left;
}

blockquote.se2_quote2 p {
    display: inline-block !important;
vertical-align: middle;
    text-align: inherit;
    margin: 0 !important;
    text-indent: 0 !important;
}

blockquote.se2_quote2::before {
    content: "\201C" !important;
    position: absolute !important;
    left: 10px !important;
    top: 2px !important;
    font-size: 70px !important;
    color: #777 !important;
    font-family: Georgia, serif !important;
    z-index: 999 !important;
    line-height: 1 !important;
}

blockquote.se2_quote2[style*="text-align: left"],
blockquote.se2_quote2:has(p[style*="text-align: left"]) {
    margin-left: 0.8em !important;
    margin-right: auto !important;
}
blockquote.se2_quote2[style*="text-align: right"],
blockquote.se2_quote2:has(p[style*="text-align: right"]) {
    margin-left: auto !important;
    margin-right: 0.8em !important;
}

.view-font-control button {
    width: 40px; 
    height: 25px;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    vertical-align: middle;
    border: none;
    background: #EEF0F0;
    cursor: pointer;
}

.view-font-control button:hover {
    background-color: #e2e6ea;
}

.light-mode .emoji {
    color: #555 !important;
}

.dark-mode .comment-extra input::placeholder {
    color: #999 !important;
    opacity: 1;
}

.dark-mode .comment-extra input:-ms-input-placeholder {
    color: #999 !important;
}

.dark-mode .comment-extra input::-ms-input-placeholder {
    color: #999 !important;
}

html.light-mode,
body.light-mode {
    background: #fff;
    color: #555;
}



/* body.light-mode #header .gnb_1da 색상 변경 제거 (원래 색 유지) */

body.light-mode .board-viewer,
body.light-mode .board-viewer.theme-box,
body.light-mode #bo_v_con {
    background: #fff;
    color: #555;
}

body.light-mode .subject strong {
    color: #555;
}

body.light-mode .view-subtitle {
    color: #555;
}

body .info,
body .sv_member {
    color: #999;
}
body.light-mode .info,
body.light-mode .sv_member {
    color: #777;
}


body.light-mode a {
    color: #333;
}


body.dark-mode #bo_v_con {
    color: #e3e3e2; 
}
body.dark-mode #bo_v_con span, 
body.dark-mode #bo_v_con p, 
body.dark-mode #bo_v_con div {
    color: inherit; 
}

body.light-mode #bo_v_con {
    color: #555;
}
body.light-mode #bo_v_con span, 
body.light-mode #bo_v_con p, 
body.light-mode #bo_v_con div {
    color: inherit;
}


body.light-mode .nav-title {
    color: #333;
}

body.light-mode .nav-subtitle {
    color: #777;
}

body.light-mode .board-comment-list {
    color: #555;
}

body.light-mode .board-comment-list.theme-box {
    background: #fff;
}

body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: #fff;
    color: #555;
}

body.light-mode .required,
body.light-mode .frm_file,
body.light-mode .frm_input.full {
    border: 1px solid rgb(227,227,226);
}
body.light-mode .ui-btn {
    background: #fff;
    color: #555;
    border: 1px solid #fff;
}

body.light-mode .theme-box {
    border-color: #fff;
}

    body.light-mode #gnb_wrapper {
        background: #fff;
    }

body.light-mode .view-category,
body.light-mode .view-category a {
    color: #777;
}

body.light-mode::-webkit-scrollbar-track {
    background: #f5f5f5;
}

body.light-mode::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 5px;
}

.light-mode .emoji {
    color: #555 !important;
}

.light-mode .comment-extra input::placeholder {
    color: #555 !important;
    opacity: 1;
}

.light-mode .comment-extra input:-ms-input-placeholder {
    color: #555 !important;
}

.light-mode .comment-extra input::-ms-input-placeholder {
    color: #555 !important;
}

.temp-check {
    width: 20px;
    height: 20px;
    transform: scale(1.3);
    cursor: pointer;
}

.board-skin-basic .td_chk { 
    visibility: hidden;
    opacity: 0;
}

.board-skin-basic .admin-btns { 
    display: none !important; 
}

.edit-mode .td_chk { 
    visibility: visible;
    opacity: 1;
}

.edit-mode .admin-btns { 
    display: inline-block !important; 
}

.edit-mode .btn-hide-edit {
    display: none !important;
}

.ui-btn.fiction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    height: 32px;
    font-size: 13px;
    font-weight: 500 !important;
    color: #555;
    background-color: #fff;
    border: 1.5px solid #eef0f0;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
    gap: 4px;
    box-sizing: border-box;
}

.ui-btn.cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    height: 32px;
    font-size: 13px;
    font-weight: 500 !important;
    color: #555;
    background-color: #fff;
    border: 1.5px solid #eef0f0;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
    gap: 4px;
    box-sizing: border-box;
}

.ui-btn.cancel:hover {
background-color: #eef0f0;
}

.edit-mode .ui-btn.cancel {
background-color: #eef0f0;
}

.ui-btn.fiction:hover {
    background-color: #eef0f0;
}

.board-write > dl > dt {
text-align: right;
}

.theme-box {
padding: 20px 10px !important;
}

.light-mode #header {
background-color: #fff;
}

@media screen and (max-width: 768px) {
    .board-viewer.theme-box {
        padding-left: 25px !important;
        padding-right: 25px !important;
        
    }
.light-mode #header {
background-color: #none;
}
}
/* ── 목록 카드 박스 스타일 ── */
.avocado-list li.theme-box {
    background: var(--container-bg-color);
    border: 1px solid var(--container-border-color);
    border-radius: var(--container-border-radius);
    backdrop-filter: blur(8px);
    margin-bottom: 10px;
    padding: 12px 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.avocado-list li.theme-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 목록 전체 최대 폭 제한 */
.board-skin-basic {
    max-width: 860px;
    margin: 0 auto;
}

/* ── note 2단 레이아웃 ── */
.note-layout {
    display: flex !important;
    gap: 0;
    min-height: 160px;
}

/* 좌: 제목/부제/날짜 */
.note-meta {
    flex: 0 0 45%;
    padding: 24px 28px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.note-meta .subject strong {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.note-meta .info {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 우: 본문 이미지/내용 */
.note-content {
    flex: 1;
    padding: 24px 0 24px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.note-content #bo_v_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.note-content #bo_v_img {
    width: 100%;
    height: 100%;
}

/* 사진 없을 때 본문 텍스트 */
.note-content #bo_v_con {
    font-size: 13px;
    line-height: 1.8;
    color: #a8a8a8;
    width: 100%;
    overflow: hidden;
}

.note-content #bo_v_con img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    max-height: 240px;
}

/* 모바일 */
@media (max-width: 600px) {
    .note-layout {
        flex-direction: column;
    }
    .note-meta {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 20px 0;
    }
    .note-content {
        padding: 20px 0 0;
    }
}

/* ── note-layout 내부 선택자 우선순위 보정 ── */
.note-meta .subject {
    text-align: left;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.note-meta .subject strong {
    font-size: 18px !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
}

.note-meta .info {
    margin-top: 12px !important;
    padding-left: 0 !important;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.note-meta .info span + span::before {
    display: none !important;
}

/* ============================================================
   게시글 페이지 카드(박스) 패치 v5
   ★ 핵심 변경: 모든 규칙을 게시글 보기 페이지의 컨테이너
     (.board-viewer / #bo_vc_w) 안으로만 한정.
     → 목록 페이지(list.skin.php)에는 절대 영향 안 가게.

   사용법: style.css 파일 맨 끝에 통째로 붙여넣기
   ============================================================ */


/* ── 0) 기존 좌/우 2단 무력화 → 위/아래 (게시글 카드 안에서만) ── */
.board-viewer .note-layout {
    display: block !important;
    min-height: 0 !important;
    gap: 0;
}

.board-viewer .note-meta {
    flex: none !important;
    width: 100% !important;
    padding: 0 !important;
    border-right: none !important;
    display: block !important;
    margin-bottom: 16px;
}

.board-viewer .note-content {
    flex: none !important;
    width: 100% !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
}

.board-viewer .note-content #bo_v_img {
    width: auto !important;
    height: auto !important;
}
.board-viewer .note-content #bo_v_img img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    object-fit: initial !important;
    border-radius: 0 !important;
}
.board-viewer .note-content #bo_v_con img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    object-fit: initial !important;
    max-height: none !important;
    border-radius: 0 !important;
}

.board-viewer .note-content #bo_v_con {
    color: inherit !important;
    width: 100% !important;
}


/* ── 1) 페이지 배경: 모드 토글 시 단색으로 덮지 않기
   (이건 body 전역이라 한정 불가능. 이 자체는 목록 페이지에도
    동일하게 적용되어야 함 — 어차피 페이지 배경이 보이는 게 정상) */
html.light-mode,
body.light-mode,
html.dark-mode,
body.dark-mode {
    background: transparent !important;
}


/* ── 1-1) 헤더 메뉴 색상 고정 (모드 따라 안 바뀌게) ── */
body.light-mode #header .gnb_1da,
body.light-mode #header .gnb_1da a,
body.dark-mode #header .gnb_1da,
body.dark-mode #header .gnb_1da a {
    color: inherit !important;
}

/* ============================================================
   게시글 페이지 카드(박스) 패치 v5
   ★ 핵심 변경: 모든 규칙을 게시글 보기 페이지의 컨테이너
     (.board-viewer / #bo_vc_w) 안으로만 한정.
     → 목록 페이지(list.skin.php)에는 절대 영향 안 가게.

   사용법: style.css 파일 맨 끝에 통째로 붙여넣기
   ============================================================ */


/* ── 0) 기존 좌/우 2단 무력화 → 위/아래 (게시글 카드 안에서만) ── */
.board-viewer .note-layout {
    display: block !important;
    min-height: 0 !important;
    gap: 0;
}

.board-viewer .note-meta {
    flex: none !important;
    width: 100% !important;
    padding: 0 !important;
    border-right: none !important;
    display: block !important;
    margin-bottom: 16px;
}

.board-viewer .note-content {
    flex: none !important;
    width: 100% !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
}

.board-viewer .note-content #bo_v_img {
    width: auto !important;
    height: auto !important;
}
.board-viewer .note-content #bo_v_img img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    object-fit: initial !important;
    border-radius: 0 !important;
}
.board-viewer .note-content #bo_v_con img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    object-fit: initial !important;
    max-height: none !important;
    border-radius: 0 !important;
}

.board-viewer .note-content #bo_v_con {
    color: inherit !important;
    width: 100% !important;
}


/* ── 1) 페이지 배경: 모드 토글 시 단색으로 덮지 않기
   (이건 body 전역이라 한정 불가능. 이 자체는 목록 페이지에도
    동일하게 적용되어야 함 — 어차피 페이지 배경이 보이는 게 정상) */
html.light-mode,
body.light-mode,
html.dark-mode,
body.dark-mode {
    background: transparent !important;
}


/* ── 1-1) 헤더 메뉴 색상 고정 (모드 따라 안 바뀌게) ── */
body.light-mode #header .gnb_1da,
body.light-mode #header .gnb_1da a,
body.dark-mode #header .gnb_1da,
body.dark-mode #header .gnb_1da a {
    color: inherit !important;
}


/* ── 2) 카드 박스 (게시글 보기 컨테이너) ── */
.board-viewer.theme-box {
    max-width: 800px !important;
    padding: 72px 64px 44px 88px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: background-color .2s ease,
                box-shadow .2s ease,
                border-color .2s ease;
    position: relative;
}

body.light-mode .board-viewer.theme-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

body.dark-mode .board-viewer.theme-box {
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
}

body.dark-mode .board-viewer.theme-box #bo_v_con,
body.light-mode .board-viewer.theme-box #bo_v_con {
    background: transparent !important;
}


/* ── 3) 우측 상단: 폰트/모드 토글 (1행) ── */
.board-viewer.theme-box .view-font-control {
    position: absolute;
    top: 40px;
    right: 36px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

/* ── 3-1) 우측 상단: 수정/공유/목록 버튼 (2행, 토글 아래) ── */
.board-viewer.theme-box .bo_v_com {
    position: absolute;
    top: 80px;
    right: 36px;
    margin: 0;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.board-viewer.theme-box .bo_v_com .ui-btn {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    line-height: 1.6;
    border-radius: 6px;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

body.light-mode .board-viewer.theme-box .bo_v_com .ui-btn {
    background: #f4f4f5 !important;
    color: #333 !important;
    border: 1px solid #e0e0e0 !important;
}
body.light-mode .board-viewer.theme-box .bo_v_com .ui-btn:hover {
    background: #e8e8ea !important;
}

body.dark-mode .board-viewer.theme-box .bo_v_com .ui-btn {
    background: #2a2a2a !important;
    color: #e3e3e2 !important;
    border: 1px solid #3a3a3a !important;
}
body.dark-mode .board-viewer.theme-box .bo_v_com .ui-btn:hover {
    background: #353535 !important;
}

.board-viewer.theme-box .note-meta {
    padding-right: 160px !important;
}


/* ── 4) 제목/부제/메타 글자 크기 (게시글 보기 안에서만) ── */
.board-viewer.theme-box .note-meta .subject strong {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
}

.board-viewer.theme-box .view-subtitle {
    font-size: 17px !important;
    line-height: 1.4 !important;
    margin-top: 2px;
}

.board-viewer.theme-box .note-meta .info {
    margin-top: 14px !important;
    font-size: 14px !important;
    gap: 10px !important;
}


/* ── 5) 카드 안 요소 간격 ── */
.board-viewer.theme-box #bo_v_nav {
    margin-top: 36px;
}

.board-viewer.theme-box .contents {
    margin-top: 28px;
}

.board-viewer.theme-box .board-comment-list,
.board-viewer.theme-box .board-comment-list.theme-box {
    background: transparent !important;
    padding: 0;
    box-shadow: none;
    border: none;
}

.board-viewer.theme-box hr.padding {
    border: none;
    height: 1px;
    background: transparent;
    margin: 0;
}


/* ── 6) 댓글 입력 영역 정렬 (#bo_vc_w 는 댓글 컨테이너 ID) ── */
#bo_vc_w .comment-input-row {
    display: flex !important;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 10px;
}

#bo_vc_w .comment-input-row #wr_content,
#bo_vc_w .comment-input-row textarea {
    flex: 1 1 auto;
    min-height: 70px;
    max-height: 160px;
    padding: 10px 12px;
    border-radius: 6px;
    resize: vertical;
    box-sizing: border-box;
}

#bo_vc_w .comment-input-row .btn_confirm {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
}

#bo_vc_w .comment-input-row .btn_confirm #btn_submit {
    height: auto;
    min-height: 70px;
    padding: 0 22px;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
}

#bo_vc_w .comment-secret {
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin: 6px 0 0 0;
    flex-wrap: wrap;
    font-size: 13px;
}

#bo_vc_w .comment-secret .emoticon-btn {
    font-size: 13px;
}

#bo_vc_w .comment-secret label {
    font-size: 13px;
    cursor: pointer;
}

#bo_vc_w .comment-secret .file_box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

#bo_vc_w .comment-secret .file_box input[type="file"] {
    font-size: 12px;
    max-width: 240px;
}


/* ── 7) 댓글 목록 다듬기 (게시글 보기 안 댓글만) ── */
.board-viewer .board-comment-list .item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.12);
}
.board-viewer .board-comment-list .item:last-child {
    border-bottom: none;
}

.board-viewer .board-comment-list .co-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.board-viewer .board-comment-list .co-content .co-inner {
    font-size: 14px;
    line-height: 1.6;
}

.board-viewer .board-comment-list .co-info {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.7;
    display: flex;
    gap: 10px;
}


/* ── 8) 모바일 ── */
@media (max-width: 600px) {
    .board-viewer.theme-box {
        margin: 20px 12px;
        padding: 22px 18px 22px 28px;
        border-radius: 8px;
        max-width: none !important;
    }

    .board-viewer.theme-box .view-font-control,
    .board-viewer.theme-box .bo_v_com {
        position: static;
    }
    .board-viewer.theme-box .view-font-control {
        margin-bottom: 8px;
        justify-content: flex-end;
    }
    .board-viewer.theme-box .bo_v_com {
        margin-bottom: 16px;
        justify-content: flex-end;
    }
    .board-viewer.theme-box .note-meta {
        padding-right: 0 !important;
    }

    #bo_vc_w .comment-input-row {
        flex-direction: column;
    }
    #bo_vc_w .comment-input-row .btn_confirm #btn_submit {
        min-height: 44px;
        width: 100%;
    }

    .board-viewer.theme-box .note-meta .subject strong {
        font-size: 21px !important;
    }
    .board-viewer.theme-box .view-subtitle {
        font-size: 15px !important;
    }
}


/* ============================================================
   목록 페이지 카드 패치
   ============================================================ */

/* 카드 높이 줄이기 — 패딩 축소 */
.avocado-list li.theme-box {
    margin-bottom: 10px;
}

.avocado-list li a.bo_row {
    padding: 14px 16px !important;
}

/* 제목: 크고 굵게 */
.avocado-list li .title-main {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: inherit;
    line-height: 1.3;
}

/* 부제목: 중간 크기, 제목과 확실히 구분 */
.avocado-list li .list-subtitle {
    font-size: 14px !important;
    color: #888 !important;
    font-weight: 400 !important;
    margin-top: 2px;
}

/* 다크모드 부제목 */
body.dark-mode .avocado-list li .list-subtitle {
    color: #aaa !important;
}

/* 제목/부제목 간격 */
.avocado-list li .bo_title .list-title {
    gap: 4px;
}

/* 작성자/날짜 — 본문 바로 아래 붙게 */
.avocado-list li .info {
    margin-top: 6px !important;
    font-size: 12px !important;
}

/* ════════════════════════════════════════════════════
   글 리스트 박스 — 어두운 글래스모피즘 스타일
   ════════════════════════════════════════════════════ */

/* 리스트 전체 컨테이너 — 배경 없음 */
.board-skin-basic .avocado-list {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

/* 개별 카드 박스 */
.avocado-list li.theme-box {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    margin-bottom: 10px;
    padding: 0 !important;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.avocado-list li.theme-box:hover {
    background: rgba(255, 255, 255, 0.10) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

/* 카드 링크 영역 */
.avocado-list li a.bo_row {
    padding: 18px 22px !important;
    color: #e8e8e8 !important;
}

/* 제목 */
.avocado-list li .title-main {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #f0f0f0 !important;
}

/* 부제목 */
.avocado-list li .list-subtitle {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #aaaaaa !important;
    margin-top: 3px;
}

/* 본문 미리보기 — 숨김 */
.avocado-list li .bo_title .text-area {
    display: none !important;
}

/* 썸네일 — 표시 */
.avocado-list li .thumb-area {
    display: block !important;
}

/* 카드 내부 가로 중앙정렬 */
.avocado-list li .bo_title {
    display: flex !important;
    align-items: center !important;
}

/* 텍스트 영역 세로 중앙정렬 */
.avocado-list li .content-side {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* 작성자 / 날짜 */
.avocado-list li .info {
    color: #888888 !important;
    font-size: 12px !important;
    margin-top: 8px !important;
}

.avocado-list li .info .name { color: #999999 !important; }
.avocado-list li .info .date { color: #888888 !important; }

/* 댓글 수 */
.avocado-list li .comment-count {
    color: #7ab3f8 !important;
}

/* 비밀글/멤버글 뱃지 */
.avocado-list li .highlight {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ccc !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 게시물 없음 */
.avocado-list li.no-data.theme-box {
    background: rgba(255, 255, 255, 0.04) !important;
}
.no-data-row { color: #777 !important; }

/* 검색창 */
#bo_sch select,
#bo_sch input {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ddd !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px;
}

/* 모바일 */
@media (max-width: 768px) {
    .board-skin-basic .avocado-list {
        padding: 0;
    }
    .avocado-list li a.bo_row { padding: 14px 16px !important; }
    .avocado-list li .title-main { font-size: 16px !important; }
    .avocado-list li .list-subtitle { font-size: 13px !important; }
}
