/* STREAMING_CHUNK:Initializing core reset styles... /
/ * 경로: /theme/ak_theme/css/style.css

설명: AK 테마 공통 스타일 및 그누보드 코어 요소 UI 커스텀 */

/* 1. 그누보드 스크린리더 및 숨김 텍스트 강제 숨김 */
.sound_only, caption.sound_only, legend.sound_only {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
border: 0 !important;
}

/* 2. 스크롤바 숨김 유틸리티 */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}

/* STREAMING_CHUNK:Styling text highlights and captcha... /
/ 3. 형광펜 하이라이트 효과 */
.ak-highlight {
background: linear-gradient(to top, #FFF3A3 60%, transparent 40%);
}
.dark .ak-highlight {
background: linear-gradient(to top, rgba(253, 224, 71, 0.25) 60%, transparent 40%);
}

/* STREAMING_CHUNK:Dark mode input and editor contrast fixes... /
/ 4. 다크모드 입력 폼 & 에디터 시인성 고대비 보정 */
.dark input[type="text"],
.dark input[type="password"],
.dark select,
.dark textarea {
background-color: #334155 !important;
color: #f8fafc !important;
border-color: #475569 !important;
}
.dark input::placeholder,
.dark textarea::placeholder {
color: #94a3b8 !important;
}

/* 웹에디터 (SmartEditor2 / CKEditor) 다크모드 컨테이너 대비 */
.dark .se2_input_area,
.dark .cke_inner {
background-color: #1e293b !important;
color: #f8fafc !important;
}

/* STREAMING_CHUNK:Styling captcha component... /
/ 5. 그누보드 자동등록방지(Captcha) 콤팩트 가로형 디자인 */
#captcha {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
background: #ffffff;
padding: 10px 14px;
border: 1px solid #e2e8f0;
border-radius: 0.85rem;
max-width: 480px;
}
.dark #captcha {
background: #1e293b;
border-color: #334155;
}
#captcha img {
height: 38px;
border-radius: 6px;
object-fit: contain;
}
#captcha_key {
height: 38px;
padding: 6px 12px;
border: 1px solid #cbd5e1;
border-radius: 0.5rem;
font-size: 15px;
font-weight: 800;
width: 120px;
text-align: center;
background: #f8fafc;
color: #0f172a;
}
.dark #captcha_key {
background: #0f172a;
border-color: #475569;
color: #f1f5f9;
}

#captcha_mp3, #captcha_reload {
position: relative;
width: 38px;
height: 38px;
font-size: 0 !important;
color: transparent !important;
background: #f1f5f9;
border: 1px solid #cbd5e1;
border-radius: 0.5rem;
cursor: pointer;
transition: background 0.2s;
}
#captcha_mp3:hover, #captcha_reload:hover {
background: #e2e8f0;
}
.dark #captcha_mp3, .dark #captcha_reload {
background: #0f172a;
border-color: #475569;
}
.dark #captcha_mp3:hover, .dark #captcha_reload:hover {
background: #334155;
}
#captcha_mp3::before, #captcha_reload::before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 16px !important;
color: #475569;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.dark #captcha_mp3::before, .dark #captcha_reload::before {
color: #94a3b8;
}
#captcha_mp3::before { content: "\f144"; }
#captcha_reload::before { content: "\f021"; }

/* STREAMING_CHUNK:Styling GNUBoard pagination... /
/ 6. 그누보드 페이징(.pg_wrap) 스타일 */
.pg_wrap {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
margin: 12px 0;
}
.pg_page, .pg_current, .pg_start, .pg_prev, .pg_next, .pg_end {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 36px;
height: 36px;
padding: 0 10px;
border-radius: 0.75rem;
font-size: 0.8rem;
font-weight: 700;
text-decoration: none;
transition: all 0.2s;
}
.pg_page {
background: #f1f5f9;
color: #475569;
}
.pg_page:hover {
background: #14b8a6;
color: #ffffff;
}
.pg_current {
background: #14b8a6;
color: #ffffff;
box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25);
}
.dark .pg_page {
background: #334155;
color: #cbd5e1;
}
.dark .pg_page:hover {
background: #14b8a6;
color: #ffffff;
}
.dark .pg_current {
background: #14b8a6;
color: #ffffff;
}


/* STREAMING_CHUNK:Styling category tabs and removing list bullets... */
/* 7. 카테고리 탭(#bo_cate) 스타일 및 리스트 점(bullet) 제거 */
#bo_cate, #bo_cate_ul, #bo_cate ul {
display: flex !important;
flex-wrap: nowrap;
align-items: center !important;
gap: 6px !important;
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
overflow-x: auto;
}
#bo_cate li {
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
display: inline-flex !important;
}
#bo_cate a {
display: inline-flex;
align-items: center;
padding: 6px 14px;
border-radius: 9999px;
font-size: 0.78rem;
font-weight: 700;
color: #64748b;
background: #f1f5f9;
transition: all 0.2s;
white-space: nowrap;
text-decoration: none;
}
#bo_cate a:hover {
color: #0d9488;
background: #ccfbf1;
}
#bo_cate #bo_cate_on {
background: #14b8a6 !important;
color: #ffffff !important;
font-weight: 800;
box-shadow: 0 3px 10px rgba(20, 184, 166, 0.3);
}
.dark #bo_cate a {
background: #334155;
color: #94a3b8;
}
.dark #bo_cate a:hover {
color: #5eead4;
background: #134e4a;
}
.dark #bo_cate #bo_cate_on {
background: #14b8a6 !important;
color: #ffffff !important;
}

/* 8. 본문 이미지 반응형 래핑 */
#bo_v_con img {
max-width: 100% !important;
height: auto !important;
border-radius: 0.75rem;
margin: 12px 0;
}
#bo_v_img img {
max-width: 100% !important;
height: auto !important;
border-radius: 1rem;
}