@charset "utf-8";

/* 게시판 쓰기 */
#autosave_wrapper {position:relative; font-size:14px;}
#autosave_pop {display:none;z-index:10;position:absolute !important;top:34px;right:0;width:100%;height:auto;max-height:205px;border:1px solid var(--color-base-300);background:var(--color-base-100);box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);}
#autosave_pop:before{content: "";position: absolute;top: -8px;right: 45px;width: 0;height: 0;border-style: solid;border-width: 0 6px 8px 6px;border-color: transparent transparent #000 transparent;}
#autosave_pop:after{content: "";position: absolute;top: -7px;right: 45px;width: 0;height: 0;border-style: solid;border-width: 0 6px 8px 6px;border-color: transparent transparent var(--color-base-100) transparent;}
#autosave_pop strong {position:absolute;font-size:0;line-height:0;overflow:hidden}
#autosave_pop div {text-align:center;margin:0 !important;}
#autosave_pop button {margin:0;padding:0;border:0;}
#autosave_pop ul {margin:0px;padding:15px;border-top:1px solid #e9e9e9;list-style:none;overflow-y:scroll;height:156px;border-bottom:1px solid #e8e8e8}
#autosave_pop li {padding:8px 5px;border-bottom:1px solid var(--color-base-300);}
#autosave_pop li:after {display:block;visibility:hidden;clear:both;content:""}
#autosave_pop a {display:block;float:left}
#autosave_pop span {display:block;float:right;color:#999}
.autosave_close {cursor:pointer;width:100%;height:30px;background:none;color:#888;font-weight:bold;font-size:0.92em}
.autosave_close:hover{background:var(--color-base-200);color:#3597d9}
.autosave_del{background:url(./img/close_btn.png) no-repeat 50% 50%;text-indent:-999px;overflow:hidden;height:26px;width:20px;}

/* 기타 */
#bo_v_con img { margin-bottom: 1rem; }
#bo_v_con iframe { position: absolute; width: 100%; height: 100%; }
#bo_v_con .video { position: relative; width: 100%;	padding-bottom: 56.25%;	border-radius: 2px;	overflow: hidden; }
#bo_v_con .video iframe { position: absolute; width: 100%; height: 100%; }

/* 커스텀 */
.table { table-layout: fixed; }

.list-icon { width: 20px; height: 20px; vertical-align: text-bottom; }
.view-icon { width: 48px; height: 48px; }
.comm-icon { width: 48px; height: 48px; }
.comm-body { background: var(--color-base-200); /* 다크 모드에서도 따라가게 (옛 #f4f4f4, 2026-09-28) */ padding: 10px 20px 10px 20px; border-radius: 5px; }

@media (max-width: 575px)
{
	#captcha_audio {display:none !important;}

	.list-icon { width: 18px; height: 18px; vertical-align: text-top; }
	.comm-icon { width: 24px; height: 24px; margin: 10px; position: absolute; }
	.comm-body { padding: 10px; }
	.comm-name { margin: 0 0 6px 30px; }
}
/* 마크다운 본문 (tiptech · mypage — view.skin.php 가 Parsedown 으로 바꾼 것, 2026-09-25)
   새 테마(Tailwind)는 제목 · 목록 · 코드 · 표의 기본 모양을 지우므로 여기서 되살린다. 다른 게시판 글은 건드리지 않게 .kh-md 가 붙은 본문에만. */
#bo_v_con.kh-md p { margin: 0 0 1rem; line-height: 1.8; }
#bo_v_con.kh-md h1, #bo_v_con.kh-md h2, #bo_v_con.kh-md h3, #bo_v_con.kh-md h4 { margin: 2rem 0 .75rem; font-weight: 700; line-height: 1.4; }
#bo_v_con.kh-md h1 { font-size: 1.6rem; }
#bo_v_con.kh-md h2 { font-size: 1.35rem; }
#bo_v_con.kh-md h3 { font-size: 1.15rem; }
#bo_v_con.kh-md h4 { font-size: 1rem; }
#bo_v_con.kh-md pre { margin: 0 0 1rem; border-radius: .5rem; overflow-x: auto; font-size: .875rem; line-height: 1.6; }
#bo_v_con.kh-md pre > code { display: block; padding: 1rem; white-space: pre; }
#bo_v_con.kh-md :not(pre) > code { padding: .1rem .35rem; border-radius: .25rem; background: var(--color-base-200); font-size: .875em; }
#bo_v_con.kh-md blockquote { margin: 0 0 1rem; padding: .5rem 1rem; border-left: 4px solid var(--color-base-300); color: color-mix(in oklab, var(--color-base-content) 75%, transparent); }
#bo_v_con.kh-md hr { margin: 1.5rem 0; border-color: var(--color-base-300); }
#bo_v_con.kh-md table.table { width: 100%; margin: 0 0 1rem; border-collapse: collapse; font-size: .9rem; }
#bo_v_con.kh-md table.table th, #bo_v_con.kh-md table.table td { padding: .5rem .75rem; border: 1px solid var(--color-base-300); text-align: left; vertical-align: top; }
#bo_v_con.kh-md table.table th { background: var(--color-base-200); font-weight: 700; }
#bo_v_con.kh-md a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

/* 카테고리 탭 — 여러 줄로 접히지 않고 한 줄로, 넘치면 가로 스크롤 (2026-09-26) */
.tabs.kh-cate { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs.kh-cate::-webkit-scrollbar { display: none; width: 0; height: 0; } /* 스크롤바 숨김 — 아이폰(사파리)은 scrollbar-width 대신 이것을 본다 */
.tabs.kh-cate > .tab { flex: 0 0 auto; white-space: nowrap; }
