/* =========================================================
   글사유 ON · 게시판 틀 (gsu-on 스킨 전용) - 시안 board_handoff (2026-11-18)
   공지·이벤트, 이용안내, 자주 묻는 질문, 1:1 문의(cham/cs/inquiry.php 는 제목·소목차·칩만 씀), (메뉴에서 뺀) 체험후기·학습질문·국어자료·입시정보·학습관 도입 문의.
   마크업: skin/board/nams_skin/list.on.php · view.on.php. 머리말·바닥글은 chrome_on.php 것.
   값은 tokens-on.css 의 var(--gs-…)만. 이름은 모두 gb- (예전 common.css·board.css 와 안 겹치게).
   예전 css(common.css 등)가 이 파일 뒤에 다시 실리므로 선택자를 #gb 로 시작해 이긴다.
   ========================================================= */

/* ---------- 바탕 · 바깥 틀 ---------- */
html.gb-page body,
html.gb-page #wrapper { background: var(--gs-sand) !important; }
html.gb-page .container { padding-top: 0; }
html.gb-page #container { padding-bottom: 0; }

#gb { padding: 40px 0 80px; font-family: var(--gs-font); color: var(--gs-text); line-height: var(--gs-lh-ui); -webkit-font-smoothing: antialiased; }
#gb *, #gb *::before, #gb *::after { box-sizing: border-box; }
#gb h1, #gb h2, #gb h3, #gb p, #gb ul, #gb ol, #gb dl, #gb dd, #gb form { margin: 0; padding: 0; }
#gb ul, #gb li { list-style: none; }
#gb a { color: inherit; text-decoration: none; }
#gb h1, #gb h2, #gb h3, #gb button, #gb input, #gb select, #gb textarea { font-family: inherit; }
#gb button, #gb input, #gb select { color: inherit; }
#gb .gs-num { font-variant-numeric: tabular-nums; }
#gb svg.gb-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#gb .sound_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#gb a.gs-btn { color: var(--gs-navy); }
#gb a.gs-btn-line { color: var(--gs-text-sub); }
#gb a.gs-btn-line:hover { color: var(--gs-navy); }
#gb .gs-btn, #gb .gs-btn-line { gap: 8px; white-space: nowrap; }

/* ---------- 화면 제목 · 고객센터 소목차(밑줄 탭) ---------- */
#gb .gb-title { font-size: var(--gs-fs-h1); line-height: var(--gs-lh-tight); font-weight: 800; color: var(--gs-navy); letter-spacing: var(--gs-ls-title); margin-bottom: 24px; }
#gb .gb-subnav { margin: -6px 0 24px; box-shadow: inset 0 -1px 0 var(--gs-line-strong); }
#gb .gb-subnav ul { display: flex; gap: 4px; }
#gb .gb-subnav a { display: flex; align-items: center; height: 52px; padding: 0 18px; font-size: 17.5px; font-weight: 600; color: var(--gs-text-sub); white-space: nowrap; transition: color var(--gs-dur) var(--gs-ease); }
#gb .gb-subnav a:hover { color: var(--gs-navy); }
#gb .gb-subnav a.is-on { color: var(--gs-navy); font-weight: 800; box-shadow: inset 0 -3px 0 var(--gs-navy); }

/* ---------- 게시판 카드 ---------- */
#gb .gb-board { padding: 24px 28px 28px; }
#gb .gb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
#gb .gb-tabs { display: flex; gap: 6px; padding: 4px; background: var(--gs-tint); border-radius: var(--gs-r-item); }
#gb .gb-tabs a { display: flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--gs-r-btn); font-size: var(--gs-fs-ui); font-weight: 600; color: var(--gs-text-sub); white-space: nowrap; transition: background var(--gs-dur) var(--gs-ease), color var(--gs-dur) var(--gs-ease); }
#gb .gb-tabs a:hover { color: var(--gs-navy); }
#gb .gb-tabs a.is-on { background: var(--gs-white); color: var(--gs-navy); font-weight: 800; box-shadow: var(--gs-shadow-item); }
#gb .gb-count { font-size: var(--gs-fs-small); color: var(--gs-text-muted); white-space: nowrap; }
#gb .gb-count b { color: var(--gs-navy); font-weight: 800; }

#gb .gb-search { display: flex; align-items: center; gap: 8px; }
#gb .gb-search select { height: 42px; padding: 0 34px 0 14px; border: 0; border-radius: var(--gs-r-btn); background: var(--gs-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236A6966' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-size: var(--gs-fs-small); font-weight: 600; color: var(--gs-text-sub); cursor: pointer; }
#gb .gb-search select:focus { outline: none; box-shadow: var(--gs-focus-ring); }
#gb .gb-field { position: relative; display: block; }
#gb .gb-search input { display: block; width: 240px; height: 42px; margin: 0; padding: 0 44px 0 14px; border: 0; border-radius: var(--gs-r-btn); background: var(--gs-tint); font-size: var(--gs-fs-small); color: var(--gs-text); -webkit-appearance: none; appearance: none; }
#gb .gb-search input::placeholder { color: var(--gs-text-muted); }
#gb .gb-search input:focus { outline: none; box-shadow: var(--gs-focus-ring); background: var(--gs-white); }
#gb .gb-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
#gb .gb-go { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--gs-r-sm); background: transparent; color: var(--gs-text-sub); display: grid; place-items: center; cursor: pointer; }
#gb .gb-go:hover { color: var(--gs-navy); }

/* ---------- 목록 줄 ---------- */
#gb .gb-head, #gb .gb-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 116px 64px; align-items: center; gap: 16px; padding: 0 18px; }
#gb .is-qna .gb-head, #gb .is-qna .gb-row { grid-template-columns: 64px minmax(0, 1fr) 96px 116px 96px; }
#gb .gb-head { height: 40px; font-size: var(--gs-fs-label); font-weight: 700; color: var(--gs-text-muted); }
#gb .gb-head > span:nth-child(2) { padding-left: 2px; }
#gb .r { text-align: right; }
#gb .c { text-align: center; }
#gb .gb-rows { display: flex; flex-direction: column; gap: 6px; }
#gb .gb-row { min-height: 60px; padding-top: 12px; padding-bottom: 12px; border-radius: var(--gs-r-item); font-size: var(--gs-fs-ui); transition: background var(--gs-dur) var(--gs-ease); }
#gb .gb-row:hover, #gb .gb-row:focus-visible { background: var(--gs-tint); outline: none; }
#gb .gb-n { font-size: var(--gs-fs-small); color: var(--gs-text-muted); display: flex; justify-content: center; }
#gb .gb-t { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; color: var(--gs-text); }
#gb .gb-s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#gb .gb-d, #gb .gb-v, #gb .gb-w { font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gb .gb-cm { flex: none; font-size: var(--gs-fs-small); font-weight: 700; color: var(--gs-amber-text); }
#gb .gb-new { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gs-amber); }
#gb .gb-ico { color: var(--gs-text-muted); display: flex; flex: none; }
#gb .gb-row.is-pin { background: var(--gs-tint); }
#gb .gb-row.is-pin .gb-t { font-weight: 700; color: var(--gs-navy); }
#gb .gb-row.is-pin + .gb-row:not(.is-pin) { margin-top: 10px; }
#gb .gb-row.is-rep .gb-t { padding-left: 18px; }
#gb .gb-mm { display: none; }
#gb .gb-pin-m { display: none; }

/* 분류 칩 */
#gb .gb-chip { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: var(--gs-r-sm); font-size: var(--gs-fs-micro); font-weight: 700; line-height: 1; white-space: nowrap; background: var(--gs-tint); color: var(--gs-text-sub); }
#gb .gb-row:hover .gb-chip, #gb .gb-row.is-pin .gb-chip { background: var(--gs-white); }
#gb .gb-chip.is-notice { color: var(--gs-navy); }
#gb .gb-chip.is-event, #gb .gb-row .gb-chip.is-event { background: var(--gs-amber-tint); color: var(--gs-amber-text); }
#gb .gb-chip.is-end { color: var(--gs-text-muted); }
#gb .gb-chip.is-navy, #gb .gb-chip.is-done,
#gb .gb-row .gb-chip.is-navy, #gb .gb-row .gb-chip.is-done { background: var(--gs-navy); color: var(--gs-ivory); }
#gb .gb-chip.is-wait, #gb .gb-row .gb-chip.is-wait { background: var(--gs-white); color: var(--gs-text-muted); box-shadow: inset 0 0 0 1px var(--gs-line-strong); }
#gb .gb-chip.is-pin { justify-content: center; width: 28px; height: 28px; padding: 0; }
#gb .gb-chip.is-pin svg { width: 15px; height: 15px; }
#gb .gb-chip.gb-pin-m { display: none; }   /* 휴대폰에서만 제목 앞 */

/* ---------- 아래: 쪽 번호 + 단추 ---------- */
#gb .gb-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 24px; }
#gb .gb-pager { grid-column: 2; display: flex; align-items: center; gap: 4px; }
#gb .gb-pager a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: var(--gs-r-btn); font-size: var(--gs-fs-small); font-weight: 600; color: var(--gs-text-sub); font-variant-numeric: tabular-nums; transition: background var(--gs-dur) var(--gs-ease); }
#gb .gb-pager a:hover { background: var(--gs-tint); }
#gb .gb-pager a.is-on { background: var(--gs-navy); color: var(--gs-ivory); font-weight: 800; }
#gb .gb-pager a.is-arw { color: var(--gs-text-muted); }
#gb .gb-gap { color: var(--gs-text-muted); padding: 0 4px; }
#gb .gb-act { grid-column: 3; justify-self: end; display: flex; gap: 8px; }

/* 글자 단추(관리자) */
#gb .gb-txt { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: var(--gs-r-btn); font-size: var(--gs-fs-small); font-weight: 600; color: var(--gs-text-muted); transition: background var(--gs-dur) var(--gs-ease), color var(--gs-dur) var(--gs-ease); }
#gb .gb-txt:hover { background: var(--gs-tint); color: var(--gs-navy); }
#gb .gb-admin-tag { display: inline-flex; align-items: center; margin-right: 4px; font-size: var(--gs-fs-micro); font-weight: 700; color: var(--gs-text-muted); }
#gb .gb-admin-row { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-top: 14px; }

/* 빈 목록·검색 결과 없음 (tokens 의 .gs-empty) */
#gb .gs-empty { padding: 56px 20px; }
#gb .gs-empty svg { display: block; margin: 0 auto; }
#gb .gs-empty .gs-btn-line { margin-top: 18px; }

/* ---------- 글 보기 ---------- */
#gb .gb-view { padding: 0; }
#gb .gb-vhead { padding: 34px 44px 26px; }
#gb .gb-chips { display: flex; gap: 6px; margin-bottom: 14px; }
#gb .gb-vhead h1 { font-size: 28px; line-height: 1.4; font-weight: 800; color: var(--gs-navy); letter-spacing: var(--gs-ls-title); word-break: keep-all; overflow-wrap: anywhere; }
#gb .gb-vmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px; font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gb .gb-vmeta b { font-weight: 700; color: var(--gs-text-sub); }
#gb .gb-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gs-line-strong); }
#gb .gb-vbody { margin: 0 20px; padding: 36px 24px 40px; border-radius: var(--gs-r-item); background: var(--gs-ivory); }
#gb .gb-read { max-width: var(--gs-read-w); margin: 0 auto; font-size: var(--gs-fs-body); line-height: 1.85; color: var(--gs-text); word-break: keep-all; overflow-wrap: anywhere; }
#gb .gb-read p + p { margin-top: 1.1em; }
#gb .gb-read h3 { margin: 1.8em 0 .6em; font-size: 20px; font-weight: 800; color: var(--gs-navy); }
#gb .gb-read img { max-width: 100%; height: auto; border-radius: var(--gs-r-item); }
#gb .gb-imgs img { display: block; width: 100%; margin: 0 0 1.6em; }
#gb .gb-read a { color: var(--gs-navy); text-decoration: underline; text-underline-offset: 3px; }
#gb .gb-read table { max-width: 100%; }
#gb .gb-con ul, #gb .gb-con ol { margin: .6em 0; padding-left: 1.2em; }
#gb .gb-con ul li { list-style: disc; }
#gb .gb-con ol li { list-style: decimal; }

#gb .gb-files { margin: 20px 44px 0; }
#gb .gb-cap { font-size: var(--gs-fs-label); font-weight: 700; color: var(--gs-text-muted); margin-bottom: 8px; }
#gb .gb-file + .gb-cap { margin-top: 14px; }
#gb .gb-file { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--gs-r-item); background: var(--gs-tint); font-size: var(--gs-fs-ui); }
#gb .gb-file + .gb-file { margin-top: 6px; }
#gb .gb-nm { font-weight: 600; color: var(--gs-text); min-width: 0; overflow-wrap: anywhere; }
#gb a.gb-nm:hover { color: var(--gs-navy); text-decoration: underline; }
#gb .gb-sz { font-size: var(--gs-fs-small); color: var(--gs-text-muted); white-space: nowrap; }
#gb .gb-dl { margin-left: auto; }

#gb .gb-vnav { margin: 28px 44px 0; display: flex; flex-direction: column; gap: 6px; }
#gb .gb-vnav a { display: grid; grid-template-columns: 76px minmax(0, 1fr) 116px; align-items: center; gap: 16px; min-height: 56px; padding: 0 18px; border-radius: var(--gs-r-item); background: var(--gs-tint); font-size: var(--gs-fs-ui); transition: background var(--gs-dur) var(--gs-ease); }
#gb .gb-vnav a:hover { background: var(--gs-sand); }
#gb .gb-k { display: flex; align-items: center; gap: 6px; font-size: var(--gs-fs-small); font-weight: 700; color: var(--gs-text-muted); }
#gb .gb-vnav .gb-s { display: flex; align-items: center; gap: 4px; font-weight: 600; }
#gb .gb-vnav .gb-d { text-align: right; }
#gb .gb-vfoot { display: flex; align-items: center; justify-content: space-between; margin: 24px 44px 0; padding-bottom: 32px; }
#gb .gb-admin { display: flex; align-items: center; gap: 2px; }

/* 넓은 카드 안에서 제목·첨부·이전/다음·단추를 읽기 폭(760)에 맞춤 */
@media (min-width: 900px) {
	#gb .gb-vhead { max-width: calc(var(--gs-read-w) + 48px); margin: 0 auto; padding: 40px 24px 28px; }
	#gb .gb-files, #gb .gb-vnav, #gb .gb-vfoot, #gb .gb-cmt { max-width: var(--gs-read-w); margin-left: auto; margin-right: auto; }
}

/* 학습관 도입 문의: 답변 묶음 */
#gb .gb-answer { margin: 20px 20px 0; padding: 26px 24px 28px; border-radius: var(--gs-r-item); background: var(--gs-tint); }
#gb .gb-who { display: flex; align-items: center; gap: 10px; max-width: var(--gs-read-w); margin: 0 auto 12px; font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gb .gb-who b { color: var(--gs-navy); font-weight: 800; font-size: var(--gs-fs-ui); }

/* 댓글(예전 댓글 칸을 그대로 불러 색만 맞춤) */
#gb .gb-cmt { margin: 28px 44px 0; font-size: var(--gs-fs-small); }
#gb .gb-cmt #bo_vc, #gb .gb-cmt #bo_vc_w, #gb .gb-cmt aside { width: auto !important; margin: 0; }
#gb .gb-cmt #bo_vc h2, #gb .gb-cmt #bo_vc_w h2 { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-bottom: 8px; font-size: var(--gs-fs-label); font-weight: 700; color: var(--gs-text-muted); }
#gb .gb-cmt #bo_vc article { padding: 14px 16px; border: 0 !important; border-radius: var(--gs-r-item); background: var(--gs-tint); }
#gb .gb-cmt #bo_vc article + article { margin-top: 6px; }
#gb .gb-cmt textarea { width: 100%; border: 0; border-radius: var(--gs-r-btn); background: var(--gs-white); box-shadow: inset 0 0 0 1px var(--gs-line-strong); padding: 12px 14px; font-family: var(--gs-font); font-size: var(--gs-fs-small); }
#gb .gb-cmt textarea:focus { outline: none; box-shadow: var(--gs-focus-ring); }

/* ---------- 자주 묻는 질문: 펼치는 줄 ---------- */
#gb .gb-faq { display: flex; flex-direction: column; gap: 6px; }
#gb .gb-faq details { border-radius: var(--gs-r-item); background: var(--gs-tint); transition: background var(--gs-dur) var(--gs-ease); }
#gb .gb-faq summary { display: grid; grid-template-columns: auto minmax(0, 1fr) 20px; align-items: center; gap: 14px; min-height: 60px; padding: 12px 20px; cursor: pointer; list-style: none; font-size: var(--gs-fs-ui); font-weight: 600; }
#gb .gb-faq summary::-webkit-details-marker { display: none; }
#gb .gb-faq summary:focus-visible { outline: 2px solid var(--gs-navy); outline-offset: 2px; border-radius: var(--gs-r-item); }
#gb .gb-faq summary .gb-chip { background: var(--gs-white); }
#gb .gb-faq details[open] summary .gb-chip { background: var(--gs-tint); }
#gb .gb-chev { width: 20px; height: 20px; color: var(--gs-text-muted); transition: transform var(--gs-dur) var(--gs-ease); }
#gb .gb-faq details[open] { background: var(--gs-white); box-shadow: inset 0 0 0 1px var(--gs-line); }
#gb .gb-faq details[open] summary { color: var(--gs-navy); font-weight: 800; }
#gb .gb-faq details[open] .gb-chev { transform: rotate(180deg); }
#gb .gb-ans { margin: 0 20px; padding: 16px 0 22px; border-top: 1px solid var(--gs-line); font-size: var(--gs-fs-body); line-height: 1.8; color: var(--gs-text-sub); word-break: keep-all; overflow-wrap: anywhere; }
#gb .gb-ans p + p { margin-top: .7em; }
#gb .gb-ans img { max-width: 100%; height: auto; }
#gb .gb-ans-admin { display: flex; justify-content: flex-end; margin-top: 8px !important; }
#gb .gb-faq-more { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: var(--gs-r-item); background: var(--gs-sand); }
#gb .gb-faq-more b { display: block; font-size: var(--gs-fs-ui); color: var(--gs-navy); font-weight: 800; }

/* =========================================================
   휴대폰 (900px 미만): 한 줄로 쌓기, 좌우 16px, 누르는 것 44px 이상
   ========================================================= */
@media (max-width: 899px) {
	html.gb-page body { min-width: 0 !important; }
	html.gb-page body .container { width: auto; }   /* theme-gsu-on.css(나중에 실림)의 html.gon-wide .container 보다 세게 */
	html.gb-page #wrapper { width: auto !important; min-width: 0; }   /* 그누보드 css/default.css 의 1000px */
	#gb { padding: 20px 16px 48px; }
	#gb .gb-title { margin-bottom: 14px; }
	/* 소목차 → 가로로 밀리는 칩 줄 */
	#gb .gb-subnav { margin: 0 -16px 14px; box-shadow: none; }
	#gb .gb-subnav ul { gap: 6px; overflow-x: auto; padding: 0 16px 2px; scrollbar-width: none; }
	#gb .gb-subnav ul::-webkit-scrollbar { display: none; }
	#gb .gb-subnav a { height: var(--gs-touch); padding: 0 14px; font-size: var(--gs-fs-ui); border-radius: var(--gs-r-item); background: var(--gs-white); }
	#gb .gb-subnav a.is-on { background: var(--gs-navy); color: var(--gs-ivory); box-shadow: none; }

	#gb .gb-board { padding: 16px 14px 20px; }
	#gb .gb-bar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 12px; }
	#gb .gb-count { display: none; }
	#gb .gb-tabs a { flex: 1; justify-content: center; height: var(--gs-touch); padding: 0 8px; }
	#gb .gb-search select { height: var(--gs-touch); }
	#gb .gb-field { flex: 1; }
	#gb .gb-search input { width: 100%; height: var(--gs-touch); }
	#gb .gb-go { width: 36px; height: 36px; }

	#gb .gb-head { display: none; }
	#gb .gb-row, #gb .is-qna .gb-row { display: block; min-height: 0; padding: 14px; background: var(--gs-tint); }
	#gb .gb-row > .gb-n, #gb .gb-row > .gb-d, #gb .gb-row > .gb-v, #gb .gb-row > .gb-w, #gb .gb-row > .gb-st { display: none; }
	#gb .gb-t { display: block; font-size: var(--gs-fs-body); line-height: 1.5; }
	#gb .gb-t > .gb-chip:not(.is-pin) { display: flex; width: fit-content; margin-bottom: 6px; }
	#gb .gb-s { display: inline; white-space: normal; }
	#gb .gb-t .gb-ico, #gb .gb-t .gb-cm { display: inline-flex; vertical-align: -2px; margin-left: 6px; }
	#gb .gb-t .gb-ico:first-child { margin: 0 6px 0 0; }
	#gb .gb-t .gb-new { display: inline-block; vertical-align: 3px; margin-left: 6px; }
	#gb .gb-mm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
	#gb .gb-row .gb-chip.gb-pin-m { display: inline-flex; width: 26px; height: 26px; margin: 0 8px 0 0; vertical-align: -5px; }
	#gb .gb-row.is-rep .gb-t { padding-left: 0; }
	#gb .gb-rows { gap: 8px; }
	#gb .gb-row .gb-chip:not(.is-navy):not(.is-event):not(.is-done) { background: var(--gs-white); }
	#gb .gb-foot { grid-template-columns: 1fr; gap: 14px; }
	#gb .gb-pager { grid-column: 1; justify-self: center; gap: 0; }
	#gb .gb-pager a { min-width: 36px; height: var(--gs-touch); padding: 0 4px; }
	#gb .gb-gap { padding: 0 2px; }
	#gb .gb-act { grid-column: 1; justify-self: stretch; width: 100%; }
	#gb .gb-act:empty { display: none; }
	#gb .gb-act > .gs-btn, #gb .gb-act > .gs-btn-line { flex: 1; height: var(--gs-touch); }
	#gb .gb-admin-row { justify-content: center; flex-wrap: wrap; }

	#gb .gb-vhead { padding: 22px 18px 18px; }
	#gb .gb-vhead h1 { font-size: 22px; }
	#gb .gb-vbody { margin: 0 10px; padding: 22px 14px 26px; }
	#gb .gb-read { font-size: var(--gs-fs-body); line-height: 1.8; }
	#gb .gb-files { margin: 16px 10px 0; }
	#gb .gb-file { flex-wrap: wrap; padding: 12px 14px; }
	#gb .gb-dl { margin-left: 0; width: 100%; height: var(--gs-touch); }
	#gb .gb-vnav { margin: 20px 10px 0; }
	#gb .gb-vnav a { grid-template-columns: 64px minmax(0, 1fr); min-height: 56px; padding: 0 14px; }
	#gb .gb-vnav .gb-d { display: none; }
	#gb .gb-vfoot { flex-direction: column-reverse; align-items: stretch; gap: 10px; margin: 18px 10px 0; padding-bottom: 20px; }
	#gb .gb-vfoot > .gs-btn-line { height: var(--gs-touch); }
	#gb .gb-admin { justify-content: center; flex-wrap: wrap; }
	#gb .gb-answer { margin: 16px 10px 0; padding: 20px 14px; }
	#gb .gb-cmt { margin: 20px 10px 0; }
	#gb .gb-faq summary { padding: 12px 14px; min-height: 56px; }
	#gb .gb-ans { margin: 0 14px; }
	#gb .gb-faq-more { flex-direction: column; align-items: stretch; }
}

/* ---------- 글쓰기 (시안 07, 2026-11-24) : skin/board/nams_skin/write.on.php ---------- */
#gb .gb-write { padding: 30px 36px 32px; }
#gb .gb-wrow { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 20px; padding: 10px 0; }
#gb .gb-wrow.is-top { align-items: start; }
#gb .gb-wrow.is-top > .gb-wlab { padding-top: 12px; }
#gb .gb-wlab { font-size: var(--gs-fs-small); font-weight: 700; color: var(--gs-text-sub); }
#gb .gb-write .gs-input { font-size: var(--gs-fs-ui); }
#gb .gb-wshort { max-width: 280px; }
#gb .gb-wsel { width: 200px; max-width: 100%; height: var(--gs-input-h); padding: 0 36px 0 14px; border: 0; border-radius: var(--gs-r-btn); background: var(--gs-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231E2A3F' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; font-size: var(--gs-fs-ui); cursor: pointer; }
#gb .gb-wsel:focus { outline: none; box-shadow: var(--gs-focus-ring); }
#gb .gb-wsubj { position: relative; display: flex; align-items: center; gap: 8px; }
#gb .gb-wsubj .gs-input { flex: 1; min-width: 0; }
#gb #autosave_pop { display: none; z-index: 10; position: absolute; top: calc(100% + 6px); right: 0; width: 360px; max-height: 240px; overflow-y: auto; padding: 8px 12px; background: var(--gs-white); border-radius: var(--gs-r-item); box-shadow: var(--gs-shadow-card); }
#gb #autosave_pop strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#gb #autosave_pop div { text-align: right; }
#gb #autosave_pop .autosave_close { width: 32px; height: 32px; border: 0; background: transparent; font-size: 20px; color: var(--gs-text-muted); cursor: pointer; }
#gb #autosave_pop li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; box-shadow: inset 0 -1px 0 var(--gs-line); font-size: var(--gs-fs-small); }
#gb #autosave_pop li a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
#gb #autosave_pop .autosave_content { display: none; }
#gb .gb-weditor { min-width: 0; border-radius: var(--gs-r-item); background: var(--gs-tint); padding: 1px; overflow: hidden; }
#gb .gb-weditor textarea, #gb .gb-weditor iframe { display: block; width: 100% !important; max-width: 100%; border: 0; background: var(--gs-white); }
#gb .gb-weditor textarea { min-height: 260px; padding: 18px 20px; font: 400 var(--gs-fs-body)/1.8 var(--gs-font); color: var(--gs-text); resize: vertical; }
#gb .gb-weditor .gs-msg { margin: 0; padding: 8px 14px; }
#gb .gb-wfile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: var(--gs-fs-ui); }
#gb .gb-wfile input[type=file] { font: inherit; font-size: var(--gs-fs-ui); color: var(--gs-text-sub); max-width: 100%; }
#gb .gb-wfile input[type=file]::file-selector-button { height: var(--gs-btn-sm); margin-right: 12px; padding: 0 14px; border: 1.5px solid var(--gs-line-strong); border-radius: var(--gs-r-btn); background: var(--gs-white); font: 600 15.5px/1 var(--gs-font); color: var(--gs-text-sub); cursor: pointer; }
#gb .gb-wfile input[type=file]::file-selector-button:hover { border-color: var(--gs-navy); color: var(--gs-navy); }
#gb .gb-wfile .gs-input { flex: 1 1 240px; height: 40px; }
#gb .gb-wdel { display: flex; align-items: center; gap: 6px; font-size: var(--gs-fs-small); color: var(--gs-text-muted); cursor: pointer; }
#gb .gb-wnm { color: var(--gs-text-sub); }

/* 보는 곳: 세 칸 고르기 */
#gb .gb-wseg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--gs-tint); border-radius: var(--gs-r-item); justify-self: start; }
#gb .gb-wseg label { position: relative; cursor: pointer; }
#gb .gb-wseg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#gb .gb-wseg span { display: flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--gs-r-btn); font-size: var(--gs-fs-ui); font-weight: 600; color: var(--gs-text-sub); white-space: nowrap; transition: background var(--gs-dur) var(--gs-ease); }
#gb .gb-wseg input:checked + span { background: var(--gs-white); color: var(--gs-navy); font-weight: 800; box-shadow: var(--gs-shadow-item); }
#gb .gb-wseg input:focus-visible + span { outline: 2px solid var(--gs-navy); outline-offset: 1px; }

/* 게시 설정 */
#gb .gb-wopts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
#gb .gb-wopts.has-prev { grid-template-columns: minmax(0, 1fr) 360px; }
#gb .gb-wopts-l { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
#gb .gb-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: var(--gs-r-item); background: var(--gs-tint); font-size: var(--gs-fs-ui); cursor: pointer; transition: background var(--gs-dur) var(--gs-ease); }
#gb .gb-opt b { font-weight: 700; color: var(--gs-text); }
#gb .gb-opt input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
#gb .gb-box { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--gs-white); box-shadow: inset 0 0 0 1.5px var(--gs-line-strong); display: grid; place-items: center; }
#gb .gb-opt input:checked + .gb-box { background: var(--gs-navy); box-shadow: none; }
#gb .gb-opt input:checked + .gb-box::after { content: ''; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg) translate(1px, -1px); }
#gb .gb-opt input:focus-visible + .gb-box { outline: 2px solid var(--gs-navy); outline-offset: 2px; }
#gb .gb-opt.is-home { cursor: default; }
#gb .gb-opt.is-home.is-on { background: var(--gs-amber-tint); box-shadow: inset 0 0 0 2px var(--gs-navy); }
#gb .gb-opt.is-home.is-off .gb-otxt b { color: var(--gs-text-muted); }
#gb .gb-otxt { display: flex; flex-direction: column; gap: 2px; }
#gb .gb-otxt span { font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gb .gb-sw { flex: none; position: relative; width: 46px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: var(--gs-line-strong); cursor: pointer; transition: background var(--gs-dur) var(--gs-ease); }
#gb .gb-sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(30,42,63,.25); transition: transform var(--gs-dur) var(--gs-ease); }
#gb .gb-sw[aria-checked="true"] { background: var(--gs-navy); }
#gb .gb-sw[aria-checked="true"] i { transform: translateX(18px); }
#gb .gb-sw:disabled { opacity: .5; cursor: not-allowed; }
#gb .gb-sw:focus-visible { outline: 2px solid var(--gs-navy); outline-offset: 2px; }
#gb .gb-swap[hidden], #gb .gb-prev [hidden] { display: none; }
#gb .gb-swap b { margin-bottom: 2px; }
#gb .gb-prev .gb-cap { font-size: var(--gs-fs-label); font-weight: 700; color: var(--gs-text-muted); margin-bottom: 8px; }
#gb .gb-prev-card { border-radius: var(--gs-r-card); background: var(--gs-white); box-shadow: var(--gs-shadow-card); overflow: hidden; }
#gb .gb-prev-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
#gb .gb-prev-body b { font-size: 17px; font-weight: 800; color: var(--gs-navy); margin-bottom: 2px; }
#gb .gb-prev-body i { display: block; height: 30px; border-radius: var(--gs-r-btn); background: var(--gs-tint); }
#gb .gb-prev-body i.is-btn { background: var(--gs-navy); }
#gb .gb-wfoot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; padding-top: 22px; box-shadow: inset 0 1px 0 var(--gs-line); }
@media (max-width: 899px) {
	#gb .gb-write { padding: 18px 14px 20px; }
	#gb .gb-wrow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	#gb .gb-wrow.is-top > .gb-wlab { padding-top: 0; }
	#gb .gb-wopts.has-prev { grid-template-columns: minmax(0, 1fr); }
	#gb .gb-wsubj { flex-wrap: wrap; }
	#gb #autosave_pop { width: 100%; }
	#gb .gb-wfoot > * { flex: 1; height: var(--gs-touch); }
}

@media (prefers-reduced-motion: reduce) {
	#gb * { transition: none !important; animation: none !important; }
}
