/* 아방스 스튜디오 게시판 스킨: board.default.css 위에 덮어쓴다 */

.st-board {
	--st-ink: #16181d;
	--st-muted: #596070;
	--st-line: #dfe3ea;
	--st-soft: #f2f4f7;
	--st-blue: var(--blue, #2b3af7);
	color: var(--st-ink);
	font-family: inherit;
}

.st-board a { color: inherit; }

/* 카테고리 탭 */
.st-board .cTab { margin: 0 0 20px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.st-board .cTab li { float: none; margin: 0; border: 0; background: none; }
.st-board .cTab li a { display: block; padding: 6px 16px; border: 0; border-radius: 999px; background: var(--st-soft); color: var(--st-muted); font-weight: 600; font-size: 0.92rem; }
.st-board .cTab li.on > a { background: var(--st-ink); color: #fff; }

/* 공지 */
.st-notices { margin: 0 0 24px; padding: 0; list-style: none; border-top: 2px solid var(--st-ink); }
.st-notices li { display: flex; align-items: baseline; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--st-line); }
.st-notices a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.st-notices a:hover { color: var(--st-blue); }
.st-notices time { flex: none; color: var(--st-muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.st-notice-tag { flex: none; color: var(--st-blue); font-size: 0.85rem; font-weight: 700; }

.st-empty { padding: 72px 0; text-align: center; color: var(--st-muted); }

/* 목록: 썸네일 카드 */
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 20px; margin: 0; padding: 0; border: 0; width: auto; }
.st-card { position: relative; min-width: 0; }
.st-card-link { display: block; }
.st-card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--st-line); }
.st-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.st-card-link:hover .st-card-thumb img { transform: scale(1.04); }
.st-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 10px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.02em;
}
.st-card-link:hover .st-card-title { color: var(--st-blue); }
.st-card-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 4px 0 0; color: var(--st-muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.st-card-meta a:hover { color: var(--st-blue); }
.st-file { color: var(--st-blue); font-weight: 600; }
.st-card.current .st-card-thumb { outline: 3px solid var(--st-blue); outline-offset: 2px; }

.st-check { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 4px; background: rgba(255, 255, 255, 0.92); border-radius: 4px; line-height: 0; }
.st-notices .st-check { position: static; background: none; padding: 0; align-self: center; }

/* 목록 아래: 쪽 이동, 검색, 글쓰기 */
.st-footer { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: none; padding: 0; }
.st-footer .pagination { flex: 1 0 100%; text-align: center; margin: 0; }
.st-search { display: flex; gap: 6px; margin: 0; position: static; padding: 0; border: 0; background: none; }
.st-search .iText { width: 220px; height: 40px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 8px; }
.st-search select { height: 40px; border: 1px solid var(--st-line); border-radius: 8px; padding: 0 8px; }
.st-footer .btn, .st-board .read_footer .btn {
	display: inline-block;
	height: 40px;
	padding: 0 18px;
	line-height: 38px;
	border: 1px solid var(--st-line);
	border-radius: 8px;
	background: #fff;
	color: var(--st-ink);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}
.st-footer .btn:hover, .st-board .read_footer .btn:hover { border-color: var(--st-ink); }
.st-actions { display: flex; gap: 6px; margin: 0; float: none; }
/* 목록 아래 버튼(태그 등)은 조용한 테두리 버튼. 파란 강조는 글쓰기·등록에만 쓴다 */

/* 글 본문 */
.st-board .board_read { margin: 0 auto 64px; max-width: 800px; padding: 0; border: 0; }
.st-board .read_header { margin: 0 0 28px; padding: 0; border: 0; background: none; }
.st-board .read_header h1 { margin: 0; padding: 0; font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.28; letter-spacing: -0.035em; }
.st-board .read_header h1 a { color: inherit; }
.st-board .read_header .category { margin-right: 8px; color: var(--st-blue); font-size: 0.6em; vertical-align: middle; }
.st-board .read_header .time { margin: 14px 0 0; float: none; position: static; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta { margin: 2px 0 0; float: none; position: static; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta .sum { margin-left: 10px; float: none; }
.st-board .read_header .meta .sum span + span { margin-left: 8px; }

.st-board .read_body { margin: 0; padding: 0; font-size: 1.04rem; line-height: 1.85; word-break: keep-all; overflow-wrap: break-word; }
.st-board .read_body img { max-width: 100%; height: auto; }
.st-board .read_body iframe, .st-board .read_body video { max-width: 100%; }
.st-board .read_body :where(h2, h3) { margin: 1.8em 0 0.6em; letter-spacing: -0.03em; line-height: 1.3; }
.st-board .read_body a { color: var(--st-blue); text-decoration: underline; text-underline-offset: 3px; }

/* 내려받기 블록: 본문 위, 글 폭 전체. 파일이 여러 개면 칸으로 나눈다 */
.st-download { margin: 0 0 28px; padding: 18px 20px; border: 1.5px solid var(--st-blue); border-radius: 12px; background: #f4f5ff; }
.st-download h2 { margin: 0 0 12px; font-size: 1rem; letter-spacing: -0.02em; }
.st-download h2 span { margin-left: 4px; color: var(--st-muted); font-weight: 500; }
.st-download ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.st-download a {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	height: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--st-blue);
	color: #fff;
}
.st-download a:hover { background: #1f2bd0; }
.st-download strong { min-width: 0; overflow-wrap: anywhere; }
.st-download a span { font-size: 0.82rem; opacity: 0.85; font-variant-numeric: tabular-nums; }

.st-board .read_footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--st-line); }
.st-board .read_footer .tns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.st-board .read_footer .tags a { margin-right: 6px; color: var(--st-muted); }
.st-linkcopy { height: 34px; padding: 0 14px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.st-linkcopy:hover { border-color: var(--st-ink); }
.st-board .read_footer .btnArea { margin-top: 18px; display: flex; gap: 6px; }
.st-board .read_footer .btnArea .etc { margin-left: auto; float: none; }

/* 본문 아래에 나오는 같은 게시판 다른 글 */
.st-board .board_read ~ .st-cards::before,
.st-board .board_read ~ .st-notices { }
.st-board .board_read ~ .st-cards { padding-top: 28px; border-top: 2px solid var(--st-ink); }

@media (max-width: 860px) {
	.st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.st-search { width: 100%; }
	.st-search .iText { flex: 1; width: auto; min-width: 0; }
	.st-board .read_body { font-size: 1rem; }
}
@media (max-width: 340px) {
	.st-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.st-card-thumb img { transition: none; }
	.st-card-link:hover .st-card-thumb img { transform: none; }
}

/* 기본 스킨의 어두운 제목 띠와 고정 너비를 걷어낸다 */
.st-board .board_read { background: none; }
.st-board .read_header { background: none; }
.st-board .read_header h1 {
	width: auto;
	margin: 0;
	overflow: visible;
	white-space: normal;
	text-overflow: clip;
	color: var(--st-ink);
	font-size: clamp(1.55rem, 3.4vw, 2.2rem);
	line-height: 1.28;
}
.st-board .read_header h1 a { color: var(--st-ink); }
.st-board .read_header h1 .category { border: 0; padding: 0; margin: 0 10px 0 0; color: var(--st-blue); font-weight: 700; }
.st-board .read_header .time { position: static; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0 14px; background: none; border-bottom: 1px solid var(--st-line); white-space: normal; }
.st-board .read_header .meta .author { float: none; color: var(--st-ink); }
.st-board .read_header .meta .sum { float: none; margin: 0; font-size: 0.9rem; }
.st-board .read_header .meta .sum .vote { border: 0; padding: 0; margin: 0 0 0 8px; }
.st-board .read_header .time { margin: 14px 0 0; }
.st-board .read_body { padding: 0; background: none; }
.st-board .read_body .xe_content { color: var(--st-ink); }
.st-board .read_footer .tns { margin: 0; padding: 0; border: 0; overflow: visible; }
.st-board .read_footer .tns .action { float: none; margin: 0; padding: 0 12px; line-height: 34px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; color: var(--st-ink); font-size: 0.86rem; font-weight: 600; }
.st-board .exOut { margin: 0 0 24px; }

/* 카테고리 탭: 기본 스킨의 고정 높이와 탭 테두리 제거 */
.st-board .cTab { border: 0; margin-bottom: 24px; }
.st-board .cTab li, .st-board .cTab li.on { border: 0; margin: 0; }
.st-board .cTab li a { float: none; position: static; height: auto; line-height: 1.5; padding: 6px 16px; border: 0; font-size: 0.92rem; }
.st-board .cTab li.on a { color: #fff; border: 0; }

.st-board .st-cards, .st-board .st-footer { background: none; }

/* 댓글 */
.st-board .feedback { margin: 48px auto 0; max-width: 800px; border: 0; color: var(--st-ink); }
.st-board .feedback .fbHeader { height: auto; margin: 0 0 8px; padding: 0 0 12px; line-height: 1.4; background: none; border-bottom: 2px solid var(--st-ink); }
.st-board #comment .fbHeader { background: none; }
.st-board .feedback .fbHeader h2 { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.st-board .feedback .fbHeader h2 em { color: var(--st-blue); text-decoration: none; font-style: normal; }
.st-hint { margin: 20px 0; color: var(--st-muted); font-size: 0.93rem; line-height: 1.7; }

.st-board .feedback .fbList { margin: 0; }
.st-board .feedback .fbItem { padding: 18px 0; border-bottom: 1px solid var(--st-line); margin: 0; background: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.st-board .feedback .fbItem::after { display: none; }
.st-board .feedback .fbItem.indent { margin-left: 28px; padding-left: 16px; border-left: 3px solid var(--st-soft); }
.st-board .feedback .fbMeta { float: none; width: auto; padding: 0; display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; }
.st-board .feedback .fbMeta .profile { float: none; flex: none; width: 32px; height: 32px; margin: 0; border: 0; border-radius: 50%; background-color: var(--st-soft); object-fit: cover; }
.st-board .feedback .fbMeta .author { font-size: 0.93rem; font-weight: 700; }
.st-board .feedback .author a { color: var(--st-ink); }
.st-board .feedback .time { font: inherit; font-size: 0.82rem; color: var(--st-muted); font-variant-numeric: tabular-nums; }
.st-board .feedback .xe_content { margin: 0; color: var(--st-ink); font-size: 0.97rem; line-height: 1.75; }
.st-board .feedback .xe_content.deleted { color: var(--st-muted); font-style: italic; }
.st-board .feedback .action { float: none; padding: 0; display: flex; gap: 14px; font-size: 0.84rem; white-space: normal; }
.st-board .feedback .action a, .st-board .feedback .action a.this { padding: 0; margin: 0; background: none; color: var(--st-muted); text-decoration: none; }
.st-board .feedback .action a:hover { color: var(--st-ink); }
.st-board .feedback .fileList { margin: 0; }

.st-board .write_comment { margin: 28px 0 0; padding: 20px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-soft); }
.st-board .write_comment textarea { width: 100%; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font: inherit; }
.st-board .write_comment .write_author { margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.st-board .write_author .item { display: flex; align-items: center; gap: 8px; margin: 0; }
.st-board .write_author .iLabel, .st-board .write_author label { position: static; margin: 0; color: var(--st-muted); font-size: 0.86rem; text-indent: 0; width: auto; }
.st-board .write_author .iText { width: 150px; max-width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; }
.st-board .write_comment .btnArea { margin-top: 14px; float: none; text-align: right; }
.st-board .write_comment .btn, .st-board .write_footer .btn {
	height: 42px;
	padding: 0 22px;
	line-height: 40px;
	border: 1px solid var(--st-ink);
	border-radius: 8px;
	background: #fff;
	color: var(--st-ink);
	font: inherit;
	font-size: 0.93rem;
	font-weight: 700;
	cursor: pointer;
}
.st-board .write_comment .btn[type="submit"], .st-board .write_footer input.btn[type="submit"] { background: var(--st-blue); border-color: var(--st-blue); color: #fff; }
.st-board .write_comment .btn[type="submit"]:hover, .st-board .write_footer input.btn[type="submit"]:hover { background: #1f2bd0; }
.st-board .fbFooter { max-width: 800px; margin: 20px auto 0; }
.st-board .fbFooter .btn { display: inline-block; height: 40px; padding: 0 18px; line-height: 38px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font-weight: 600; font-size: 0.9rem; }
.st-board .context_data { max-width: 800px; margin: 0 auto 16px; padding: 16px 20px; border-left: 4px solid var(--st-line); background: var(--st-soft); border-radius: 0 8px 8px 0; }

/* 글쓰기 */
.st-board .board_write { max-width: 900px; margin: 0 auto; background: none; }
.st-write-title { margin: 0 0 20px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.035em; }
.st-board .write_header { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; background: none; }
.st-board .write_header select { width: auto; height: 52px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font: inherit; }
.st-board .write_header .iText { flex: 1 1 320px; width: auto; min-width: 0; height: 52px; margin: 0; padding: 0 16px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font: inherit; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.st-board .write_header .iText:focus { border-color: var(--st-blue); outline: 0; box-shadow: 0 0 0 3px rgba(var(--blue-rgb, 43, 58, 247), 0.18); }
.st-board .write_editor { margin-top: 14px; }
.st-board .write_editor .xd { margin-top: 0; }
.st-board .exForm { margin-top: 14px; padding: 0; background: none; }
.st-board .exForm table { width: 100%; border-collapse: collapse; }
.st-board .exForm th, .st-board .exForm td { padding: 10px 8px; border: 0; border-bottom: 1px solid var(--st-line); text-align: left; }
.st-board .exForm th { width: 140px; font-weight: 600; font-size: 0.9rem; }
.st-board .write_footer { margin: 20px 0 0; overflow: visible; }
.st-board .write_footer .write_option { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: var(--st-soft); font-size: 0.9rem; }
.st-board .write_footer .write_option label { margin: 0 14px 0 0; }
.st-board .write_footer .write_author { padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px 16px; }
.st-board .write_footer .write_author .item:last-child { flex: 1 1 280px; flex-wrap: wrap; }
.st-board .write_footer .write_author .item:last-child .iText { flex: 1 1 200px; width: auto; }
.st-board .write_footer .btnArea { float: none; display: flex; gap: 8px; margin: 0; justify-content: flex-end; }

@media (max-width: 860px) {
	.st-board .feedback .fbItem.indent { margin-left: 12px; }
	.st-board .write_author .iText { width: 100%; }
	.st-board .write_author .item { flex: 1 1 100%; flex-wrap: wrap; }
	.st-board .exForm th { display: block; width: auto; border: 0; padding-bottom: 0; }
	.st-board .exForm td { display: block; }
}

/* 입력칸 이름표는 안내 문구(placeholder)가 대신한다. 화면 낭독용으로만 남긴다 */
.st-board .write_author .iLabel {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.st-board .write_author .item { position: relative; }
.st-board .write_footer .btnArea .btn { height: 46px; padding: 0 30px; line-height: 44px; font-size: 1rem; }
.st-board .write_footer .btnArea input.btn { appearance: none; -webkit-appearance: none; }

.st-board .write_footer .btnArea .btn,
.st-board .write_comment .btnArea .btn {
	height: 46px !important;
	padding: 0 30px !important;
	line-height: 44px !important;
	font-size: 1rem !important;
	border-radius: 8px !important;
}

/* 강좌 영상: 글에 박힌 고정 크기와 상관없이 본문 너비를 채운다 */
.st-board .read_body iframe[src*="youtube"],
.st-board .read_body iframe[src*="youtu.be"] {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 10px;
	background: #000;
}

/* 글 하단: 한 줄로 정리 */
.st-board .read_footer .tns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 0; border: 0; background: none; }
.st-board .read_footer .tns .st-back { margin-right: auto; }
.st-board .read_footer .tns .tags { order: 2; }
.st-board .read_footer .tns .action { margin-left: auto; }
.st-board .read_footer .btnArea:not(:has(a)) { display: none; }

/* 이어서 보기: 같은 게시판의 앞뒤 강좌 */
.st-neighbors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; }
.st-nb { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; }
.st-nb:hover { border-color: var(--st-ink); }
.st-nb-prev { grid-column: 1; }
.st-nb-next { grid-column: 2; flex-direction: row-reverse; text-align: right; }
.st-nb-thumb { flex: none; width: 104px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--st-soft); }
.st-nb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-nb-text { min-width: 0; }
.st-nb-text em { display: block; margin-bottom: 2px; font-style: normal; font-size: 0.8rem; color: var(--st-muted); }
.st-nb-text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.95rem; line-height: 1.4; letter-spacing: -0.02em; }
@media (max-width: 860px) {
	.st-neighbors { grid-template-columns: minmax(0, 1fr); }
	.st-nb-next { grid-column: 1; }
	.st-nb-thumb { width: 88px; }
}

/* 글 하단 줄: 목록은 왼쪽, 나머지는 오른쪽. 버튼 높이를 맞춘다 */
.st-board .read_footer .tns { justify-content: flex-end; }
.st-board .read_footer .tns .st-back { order: -1; margin: 0 auto 0 0 !important; }
.st-board .read_footer .tns .action { margin-left: 0; }
.st-board .read_footer .tns .btn.st-back,
.st-board .read_footer .tns .action,
.st-board .read_footer .tns .st-linkcopy {
	box-sizing: border-box;
	height: 36px !important;
	padding: 0 16px !important;
	line-height: 34px !important;
	border: 1px solid var(--st-line);
	border-radius: 8px !important;
	background: #fff;
	color: var(--st-ink);
	font-size: 0.88rem;
	font-weight: 600;
}
.st-board .read_footer .tns { float: none; width: 100%; }

/* 보기 방식 전환: 방문자가 직접 고른다 */
.st-viewbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 0 0 14px; }
.st-viewbar-label { color: var(--st-muted); font-size: 0.85rem; }
.st-viewtoggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--st-soft); }
.st-viewtoggle button { appearance: none; -webkit-appearance: none; border: 0; background: none; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--st-muted); padding: 6px 14px; border-radius: 8px; cursor: pointer; }
.st-viewtoggle button[aria-pressed="true"] { background: #fff; color: var(--st-ink); box-shadow: 0 1px 3px rgba(22, 24, 29, 0.14); }
.st-viewtoggle button:focus-visible { outline: 2px solid var(--focus, #ffd23f); outline-offset: 2px; }

/* 목록(표) 모양 */
.st-board .board_list.st-table { background: none; margin: 0; }
.st-board .st-table table { width: 100%; border: 0; border-top: 2px solid var(--st-ink); border-collapse: collapse; background: none; color: var(--st-ink); font-size: 0.95rem; }
.st-board .st-table th { padding: 12px 10px; border: 0; border-bottom: 1px solid var(--st-line); height: auto; background: none; color: var(--st-muted); font-size: 0.82rem; font-weight: 600; text-align: center; white-space: nowrap; }
.st-board .st-table th.title { text-align: left; }
.st-board .st-table th span { display: inline; height: auto; padding: 0; border: 0; }
.st-board .st-table th a { color: inherit; }
.st-board .st-table td { padding: 14px 10px; border: 0; border-bottom: 1px solid var(--st-line); vertical-align: middle; white-space: nowrap; }
.st-board .st-table tr:last-child td { border-bottom: 1px solid var(--st-line); }
.st-board .st-table tbody tr:hover { background: var(--st-soft); }
.st-board .st-table tr.notice { background: #f6f7ff; }
.st-board .st-table tr.notice td.title a { font-weight: 700; }
.st-board .st-table td.title { width: 100%; white-space: normal; line-height: 1.45; }
.st-board .st-table td.title > a:first-child { font-weight: 600; color: var(--st-ink); }
.st-board .st-table td.title a:hover { color: var(--st-blue); }
.st-board .st-table .replyNum, .st-board .st-table .trackbackNum { margin-left: 6px; color: var(--st-blue); font-size: 0.82rem; font-weight: 700; text-decoration: none !important; }
.st-board .st-table td.no, .st-board .st-table td.notice, .st-board .st-table td.time, .st-board .st-table td.readNum,
.st-board .st-table td.voteNum, .st-board .st-table td.author, .st-board .st-table td.lastReply, .st-board .st-table td.lastReply a {
	font: inherit; font-size: 0.85rem; color: var(--st-muted); text-align: center; font-variant-numeric: tabular-nums;
}
.st-board .st-table td.notice { color: var(--st-blue); font-weight: 700; }
.st-board .st-table td.author a { color: inherit; }

@media (max-width: 640px) {
	.st-viewbar { justify-content: space-between; }
	.st-board .st-table thead { display: none; }
	.st-board .st-table tbody tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 4px; border-bottom: 1px solid var(--st-line); }
	.st-board .st-table tbody tr:hover { background: none; }
	.st-board .st-table td, .st-board .st-table tr:last-child td { padding: 0; border: 0; font-size: 0.8rem; }
	.st-board .st-table td.title { order: -1; flex: 1 0 100%; font-size: 0.98rem; }
	.st-board .st-table td.no { display: none; }
}

/* ==== 리디자인 (2026-11-12) ==== */

/* 프로그램 색: 레이아웃의 TRACKS 기본 색과 같다. 게시판 mid가 이 목록에 없으면 대표 파랑 */
.st-board { --st-prog: var(--st-blue); }
.st-mid-pr { --st-prog: #7c6cf0; }
.st-mid-vegas { --st-prog: #1b7fd6; }
.st-mid-fcpx { --st-prog: #f29a1f; }
.st-mid-ae { --st-prog: #c25bd9; }

/* 게시판 머리: 이름, 소개, 글 수, 검색, 글쓰기 */
.st-board .st-bh { margin: 0; padding: 30px 0 0; border-top: 4px solid var(--st-prog); }
.st-board .st-bh-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 28px; padding-bottom: 26px; }
.st-board .st-bh-id { flex: 1 1 340px; min-width: 0; }
.st-board .st-bh-title { margin: 0; padding: 0; border: 0; font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--st-ink); }
.st-board .st-bh-title a { color: inherit; }
.st-board .st-bh-desc { margin: 12px 0 0; max-width: 62ch; color: var(--st-muted); font-size: 1.02rem; line-height: 1.65; }
.st-board .st-bh-stat { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--st-ink); font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-board .st-bh-stat::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--st-prog); }
.st-board .st-bh-search { display: flex; align-items: stretch; flex: 0 1 470px; height: 48px; margin: 0; padding: 0; border: 1px solid var(--st-line); border-radius: 999px; background: #fff; overflow: hidden; }
.st-board .st-bh-search:focus-within { border-color: var(--st-ink); }
.st-board .st-bh-search select { flex: none; max-width: 7.5em; height: auto; margin: 0; padding: 0 10px 0 20px; border: 0; border-right: 1px solid var(--st-line); border-radius: 0; background: none; color: var(--st-muted); font: inherit; font-size: 0.88rem; }
.st-board .st-bh-search input[type="search"] { flex: 1; min-width: 0; height: auto; margin: 0; padding: 0 14px; border: 0; border-radius: 0; background: none; font: inherit; font-size: 0.96rem; outline: none; box-shadow: none; }
.st-board .st-bh-search button { flex: none; margin: 0; padding: 0 22px; border: 0; background: var(--st-ink); color: #fff; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.st-board .st-bh-search button:hover { background: #000; }
.st-board .st-bh-search :focus-visible { outline: 2px solid var(--focus, #ffd23f); outline-offset: -2px; }
.st-board .st-bh-write { display: inline-flex; align-items: center; flex: none; height: 48px; padding: 0 26px; border-radius: 999px; background: var(--st-blue); color: #fff; font-size: 0.96rem; font-weight: 700; }
.st-board .st-bh-write:hover { background: var(--blue-deep, #1f2bd0); }

/* 분류와 보기 전환을 한 줄에 */
.st-board .st-bh-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0 0 30px; padding: 14px 0; border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); }
.st-board .st-bh-bar:not(:has(.cTab, .st-viewbar)) { display: none; }
.st-board .st-bh-bar .cTab { margin: 0; }
.st-board .st-bh-bar .st-viewbar { margin: 0 0 0 auto; }

/* 보기 전환 */
.st-viewbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 0 0 14px; }
.st-viewbar-label { color: var(--st-muted); font-size: 0.88rem; }
.st-viewtoggle { display: inline-flex; padding: 3px; border: 1px solid var(--st-line); border-radius: 999px; background: #fff; }
.st-viewtoggle button { appearance: none; -webkit-appearance: none; min-height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--st-muted); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; }
.st-viewtoggle button[aria-pressed="true"] { background: var(--st-ink); color: #fff; box-shadow: none; }
.st-viewtoggle button[aria-pressed="false"]:hover { color: var(--st-ink); }
.st-viewtoggle button:focus-visible { outline: 2px solid var(--focus, #ffd23f); outline-offset: 2px; }

/* 카드 */
.st-card-thumb { position: relative; border-radius: 10px; background: var(--st-soft); }
.st-card-thumb::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; margin: -13px 0 0 -8px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #c9ced8; }
.st-card-thumb img { position: relative; }
.st-board .st-card-cat { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(22, 24, 29, 0.74); color: #fff; font-size: 0.76rem; font-weight: 600; line-height: 1.5; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.st-board .st-card-play { position: absolute; z-index: 1; inset: 0; background: rgba(22, 24, 29, 0.3); opacity: 0; transition: opacity 0.2s; }
.st-board .st-card-play::before { content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; }
.st-board .st-card-play::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -10px 0 0 -6px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--st-ink); }
.st-card-link:hover .st-card-play, .st-card-link:focus-visible .st-card-play { opacity: 1; }
.st-card-title { font-size: 1.02rem; font-weight: 650; }
.st-card-meta { align-items: center; gap: 2px 12px; font-size: 0.86rem; }
.st-board .st-new { color: var(--st-blue); font-weight: 700; }

/* 표 */
.st-board .board_list.st-table { margin: 0; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; overflow: hidden; }
.st-board .st-table table { border: 0; }
.st-board .st-table thead th { background: #f7f8fa; }
.st-board .st-table td { padding: 16px 12px; }
.st-board .st-table tbody tr:last-child td { border-bottom: 0; }
.st-board .st-table tbody tr:hover { background: #f7f8fa; }
.st-board .st-table td.title > a:first-of-type { font-weight: 500; }
.st-board .st-table tr.notice td.title a { font-weight: 700; }
.st-board .st-table td.title a:hover { color: var(--st-blue); }
.st-board .st-table td.no { width: 56px; }
.st-board .st-table .st-cat { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--st-soft); color: var(--st-muted); font-size: 0.8rem; font-weight: 600; line-height: 1.5; vertical-align: 1px; }

/* 페이지 이동 */
.st-board .st-footer .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 0; padding: 0; border: 0; background: none; }
.st-board .pagination a, .st-board .pagination strong { display: inline-flex; align-items: center; justify-content: center; float: none; min-width: 40px; height: 40px; margin: 0; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--st-ink); font-size: 0.92rem; font-weight: 600; line-height: 1; text-decoration: none; }
.st-board .pagination a:hover { background: var(--st-soft); }
.st-board .pagination strong { background: var(--st-ink); color: #fff; }
.st-board .pagination .direction { border-color: var(--st-line); color: var(--st-muted); }
.st-board .pagination .direction span { display: none; }

/* 글 읽기: 머리 */
.st-board .read_header h1 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.3; }
.st-board .read_header h1 .category { display: inline-block; margin: 0 10px 0 0; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--st-prog) 13%, #fff); color: var(--st-prog); font-size: 0.8rem; font-weight: 700; letter-spacing: 0; vertical-align: 0.35em; }
.st-board .board_read .read_body { font-size: 1.06rem; line-height: 1.85; }

.st-board .st-crumb { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--st-muted); font-size: 0.88rem; font-weight: 600; }
.st-board .st-crumb::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st-prog); }
.st-board .st-crumb:hover { color: var(--st-ink); }


@media (max-width: 720px) {
	.st-board .st-bh { padding-top: 22px; }
	.st-board .st-bh-search { flex: 1 1 100%; }
	.st-board .st-bh-write { flex: 1 1 100%; justify-content: center; }
	.st-board .st-bh-bar .st-viewbar { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .st-board .st-card-play { transition: none; } }

/* ---- 점검 반영 (2026-11-12) ---- */
/* 글 읽기: 분류 줄을 본문 칼럼과 같은 폭에 맞춘다 */
.st-board:has(.board_read) .st-bh-bar { max-width: 760px; margin-left: auto; margin-right: auto; }
/* 글 읽기: 제목 아래 날짜와 글쓴이·조회수를 한 줄로 */
.st-board .read_header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.st-board .read_header > .st-crumb, .st-board .read_header > h1 { flex: 1 0 100%; }
.st-board .read_header .time { order: 2; margin: 0; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta { order: 3; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta a { color: inherit; }
/* 본문 안의 표·코드·인용·이미지: 화면 밖으로 넘치지 않게 정돈 */
.st-board .read_body { overflow-wrap: anywhere; }
.st-board .read_body img, .st-board .read_body video, .st-board .read_body iframe { max-width: 100%; height: auto; }
.st-board .read_body pre { max-width: 100%; margin: 1.2em 0; padding: 14px 16px; overflow-x: auto; border-radius: 10px; background: #f4f5f8; font-size: 0.9rem; line-height: 1.6; overflow-wrap: normal; }
.st-board .read_body code { font-size: 0.92em; }
.st-board .read_body table { display: block; max-width: 100%; margin: 1.2em 0; overflow-x: auto; border-collapse: collapse; font-size: 0.92rem; }
.st-board .read_body th, .st-board .read_body td { padding: 9px 14px; border: 1px solid var(--st-line); font-size: inherit; }
.st-board .read_body th { background: var(--st-soft); font-weight: 700; text-align: left; }
.st-board .read_body blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 3px solid var(--st-line); color: var(--st-muted); }
.st-board .read_body :where(h2, h3, h4) { margin: 1.8em 0 0.6em; letter-spacing: -0.02em; line-height: 1.35; }
/* 누를 수 있는 영역: 눈에 보이는 모양은 그대로, 터치 크기를 36px 이상으로 */
.st-board .cTab li a { padding: 9px 16px; }
.st-viewtoggle button { min-height: 36px; }
.st-board .st-crumb { min-height: 36px; margin-bottom: 4px; }
.st-board .read_footer .btnArea .btn, .st-board .list_footer .btn { min-height: 36px; box-sizing: border-box; }
.st-board .st-table td.title > a:first-of-type { display: inline-block; padding: 5px 0; }

/* 글 머리: 구분선은 머리 전체 아래에 한 줄로 */
.st-board .read_header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--st-line); }
.st-board .read_header .meta { padding: 0; border: 0; background: none; }
/* 댓글 수정·삭제, 표 목록의 글쓴이·댓글 수: 모양은 그대로 두고 누를 영역만 키운다 */
.st-board .feedback a.modify, .st-board .feedback a.delete { display: inline-flex; align-items: center; min-height: 32px; padding: 0 8px; }
.st-board .st-table td.author a, .st-board .st-table .replyNum { display: inline-block; padding: 8px 6px; margin: -8px -6px; }

/* ==== 태블릿 (2026-11-17) ==== */
@media (min-width: 768px) and (max-width: 860px) {
	.st-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
	.st-neighbors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 터치 기기에는 마우스를 올릴 일이 없으니 재생 표시를 항상 작게 보여 준다 */
@media (hover: none) {
	.st-board .st-card-play { opacity: 1; background: none; }
	.st-board .st-card-play::before { width: 40px; height: 40px; margin: -20px 0 0 -20px; opacity: 0.92; }
	.st-board .st-card-play::after { margin: -8px 0 0 -4px; border-width: 8px 0 8px 13px; }
}

/* ==== 버튼·정렬 정리 (2026-11-17) ==== */
/* 라이믹스 옛 .btn의 입체 그림자·글자 번짐을 모두 끈다 */
.st-board .btn, .st-board input.btn, .st-board button.btn, .st-board .xefu-btn, .st-board .fileinput-button {
	text-shadow: none !important; box-shadow: none !important; background-image: none !important;
}
.st-board .xefu-btn, .st-board .fileinput-button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 8px; line-height: 1.2; }
/* 글쓰기 옵션 줄: 체크·라디오와 글자를 같은 높이로 */
.st-board .write_option input[type="checkbox"], .st-board .write_option input[type="radio"] { flex: none; margin: 0 4px 0 0; vertical-align: middle; }
.st-board .write_option label { display: inline-flex; align-items: center; margin: 0 12px 0 0; line-height: 1.4; }
@media (max-width: 640px) {
	.st-board .write_footer .btnArea { flex-wrap: wrap; }
	.st-board .write_footer .btnArea .btn { flex: 1 1 0; padding: 0 16px !important; }
	.st-board .write_footer .btnArea input.btn[type="submit"] { flex-basis: 100%; }
}

/* 링크·버튼형 .btn은 줄 높이와 상관없이 글자를 상자 가운데에 둔다 (2026-11-17, 목록 아래 "태그" 글자가 위로 붙던 문제) */
.st-board a.btn, .st-board button.btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; line-height: 1.2; text-align: center; }
.st-footer .btn, .st-board .list_footer .btn { height: 40px; min-height: 40px; padding: 0 18px; }

/* ==== 글 읽기: 본문·댓글 폭 통일, 영상 키우기, 글쓴이 카드 (2026-11-17) ==== */
.st-board { --st-read: 100%; } /* 글 읽기 폭 = 목록 폭(게시판 폭) */
.st-board .board_read, .st-board .feedback, .st-board .fbFooter, .st-board .context_data { max-width: var(--st-read); }
.st-board:has(.board_read) .st-bh-bar { max-width: var(--st-read); }

.st-author { display: flex; align-items: flex-start; gap: 16px; margin: 28px 0 0; padding: 20px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-soft); }
.st-author-pf { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--st-prog, var(--st-blue)); color: #fff; font-size: 1.3rem; font-weight: 800; }
.st-author-pf img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-author-tx { min-width: 0; }
.st-author-tx em { display: block; font-style: normal; font-size: 0.78rem; color: var(--st-muted); }
.st-author-tx strong { font-size: 1.05rem; letter-spacing: -0.02em; }
.st-author-sign { margin: 6px 0 0; color: var(--st-muted); font-size: 0.92rem; line-height: 1.6; overflow-wrap: anywhere; }
.st-author-tx a { display: inline-block; margin-top: 8px; color: var(--st-blue); font-size: 0.88rem; font-weight: 600; }
.st-author-tx a:hover { text-decoration: underline; }

/* ==== 버튼 기준 하나로 (2026-11-17) ====
   라이믹스 공통 .btn은 height/line-height/padding을 !important로 고정한다(24px, 24px, 0 12px).
   그래서 !important 없는 규칙은 전부 무시된다. 같은 !important로 이기고, 글자는 flex로 가운데 둔다.
   쓰기 화면 버튼(46px)은 더 구체적인 선택자의 !important가 따로 있어 그대로 유지된다. */
.st-board a.btn, .st-board button.btn {
	display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
	height: 40px !important; min-height: 40px; padding: 0 18px !important; line-height: 1.2 !important; text-align: center; white-space: nowrap;
}
.st-board input.btn { box-sizing: border-box; height: 40px !important; padding: 0 18px !important; line-height: normal !important; }

/* 글 하단 한 줄(목록·더보기·링크 복사): 높이 40px로 통일 (2026-11-17, 40·36·36px로 어긋나 있었다) */
.st-board .read_footer .tns .st-back, .st-board .read_footer .tns .action, .st-board .read_footer .tns .st-linkcopy {
	display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
	height: 40px !important; min-height: 40px; padding: 0 16px !important; line-height: 1.2 !important;
}

/* ==== 확인·안내 화면 통일 (2026-11-17) ====
   글·댓글·엮인글 삭제, 비밀번호 입력, 안내 메시지가 모두 같은 카드 모양. 로그인 카드와 같은 계열(둥근 테두리, 큰 입력칸, 46px 버튼).
   삭제 확인은 위(내용 요약)·아래(질문과 버튼)가 한 장의 카드로 붙는다. 삭제 버튼만 빨강. */
.st-board .context_data, .st-board .context_message { box-sizing: border-box; width: 100%; max-width: 520px; margin: 32px auto 0; padding: 24px 28px; border: 1px solid var(--st-line); border-radius: 16px; background: #fff; }
.st-board .context_data { margin-bottom: 16px; background: var(--st-soft); }
.st-board .context_data:has(+ .context_message) { margin-bottom: 0; border-radius: 16px 16px 0 0; }
.st-board .context_data + .context_message { margin-top: 0; border-top: 0; border-radius: 0 0 16px 16px; }
.st-board .context_data h3.title { margin: 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; overflow-wrap: anywhere; }
.st-board .context_data p.author, .st-board .context_data h3.author { margin: 6px 0 0; color: var(--st-muted); font-size: 0.9rem; font-weight: 600; }
.st-board .context_data p.author strong, .st-board .context_data h3.author strong, .st-board .context_data h3.author a { font-weight: 600; color: inherit; }
.st-board .context_data .xe_content { margin: 10px 0 0; color: var(--st-ink); font-size: 0.95rem; line-height: 1.7; overflow-wrap: anywhere; }
.st-board .context_message h1 { margin: 0 0 20px; color: var(--st-ink); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.5; text-align: left; }
.st-board .context_message .btnArea { display: flex; gap: 8px; float: none; margin: 0; padding: 0; text-align: left; }
.st-board .context_message .btnArea .btn { flex: 1 1 0; height: 46px !important; padding: 0 20px !important; line-height: 1.2 !important; font-size: 1rem; font-weight: 700; border-radius: 10px; background: #fff; border: 1px solid var(--st-line); color: var(--st-ink); cursor: pointer; }
.st-board .context_message .btnArea .btn:hover { border-color: var(--st-ink); }
.st-board .context_message .btnArea a.btn { background: var(--st-blue); border-color: var(--st-blue); color: #fff; }
.st-board .context_message .btnArea a.btn:hover { background: #1f2bd0; border-color: #1f2bd0; }
.st-board .context_message .btnArea .btn.st-danger { background: #d92d20; border-color: #d92d20; color: #fff; }
.st-board .context_message .btnArea .btn.st-danger:hover { background: #b42318; border-color: #b42318; }
/* 비밀번호 입력: 입력칸과 버튼이 한 줄 */
.st-board .context_message:not(:has(.btnArea)) { display: flex; flex-wrap: wrap; gap: 10px; }
.st-board .context_message:not(:has(.btnArea)) > h1 { flex: 1 0 100%; margin-bottom: 4px; }
.st-board .context_message > .iText { flex: 1 1 200px; min-width: 0; height: 46px; margin: 0; padding: 0 16px; border: 1px solid #cdd2dc; border-radius: 10px; background: #fff; font: inherit; font-size: 1rem; }
.st-board .context_message > .iText:focus-visible { outline: 3px solid var(--focus, #ffd23f); outline-offset: 1px; border-color: var(--st-ink); }
.st-board .context_message > input.btn { flex: none; height: 46px !important; padding: 0 22px !important; border: 0; border-radius: 10px; background: var(--st-blue); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.st-board .context_message > input.btn:hover { background: #1f2bd0; }
@media (max-width: 480px) { .st-board .context_data, .st-board .context_message { margin-top: 16px; padding: 20px; } }

/* 수정·삭제는 상단 버튼 줄(목록·더보기·링크 복사)로 옮겼다 (2026-11-17). 같은 40px 줄에 맞춘다 */
.st-board .read_footer .tns .btn.st-edit, .st-board .read_footer .tns .btn.st-delete { margin: 0; }
/* 폰(480px 이하): 버튼 다섯 개가 한 줄에 들어오게 안쪽 여백을 줄인다. 넘치면 둘째 줄로 고르게 늘어난다 */
@media (max-width: 480px) {
	.st-board .read_footer .tns { gap: 6px; }
	.st-board .read_footer .tns .st-back, .st-board .read_footer .tns .action, .st-board .read_footer .tns .st-linkcopy, .st-board .read_footer .tns .btn { padding: 0 11px !important; font-size: 0.86rem; flex: 1 1 auto; }
	.st-board .read_footer .tns .st-back { margin: 0 !important; }
}

/* ==== 목록·읽기 머리 통일, 관리자 설정 버튼 (2026-11-17) ==== */
/* 글 읽기에도 목록과 같은 머리(파란 선, 게시판 이름, 검색, 글쓰기)를 쓴다. 읽기는 설명·글 수를 빼서 낮게 */
.st-board .st-bh--read { padding-top: 22px; }
.st-board .st-bh--read .st-bh-top { align-items: center; padding-bottom: 18px; }
.st-board .st-bh--read .st-bh-title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.st-board .st-bh--read .st-bh-search, .st-board .st-bh--read .st-bh-write, .st-board .st-bh--read .st-bh-admin { height: 44px; }
.st-board .st-bh--read .st-bh-bar { margin-bottom: 26px; }
/* 읽기 화면은 머리도 본문 칸과 같은 폭·같은 위치 */
.st-board:has(.board_read) .st-bh { max-width: var(--st-read); margin-left: auto; margin-right: auto; }
/* 관리자에게만 보이는 "게시판 설정": 글쓰기 옆의 조용한 테두리 버튼 (예전에는 화면 위에 톱니 띠가 따로 있었다) */
.st-board .st-bh-admin { display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; height: 48px; padding: 0 18px; border: 1px solid var(--st-line); border-radius: 999px; background: #fff; color: var(--st-muted); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.st-board .st-bh-admin:hover { border-color: var(--st-ink); color: var(--st-ink); }
@media (max-width: 720px) { .st-board .st-bh-admin { flex: 1 1 100%; } }
/* 읽기 화면 머리는 폭이 좁아 검색칸을 줄여야 이름·검색·글쓰기·설정이 한 줄에 들어온다 */
.st-board .st-bh--read .st-bh-search { flex: 0 1 340px; }
.st-board .st-bh--read .st-bh-id { flex: 1 1 160px; }
/* 폰: 글쓰기와 게시판 설정은 반반으로 한 줄 (설정이 없는 일반 방문자에게는 글쓰기가 한 줄 전체) */
@media (max-width: 720px) {
	.st-board .st-bh-write, .st-board .st-bh-admin { flex: 1 1 0; min-width: 120px; justify-content: center; }
}

/* 비밀글 비밀번호 입력 (글 읽기) */
.st-board .st-secret { box-sizing: border-box; width: 100%; max-width: 520px; margin: 24px auto 40px; padding: 36px 28px 32px; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-soft); text-align: center; }
.st-board .st-secret-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border: 1px solid var(--st-line); border-radius: 50%; background: #fff; color: var(--st-blue); }
.st-board .st-secret-title { margin: 0 0 6px; color: var(--st-ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; }
.st-board .st-secret-desc { margin: 0 0 20px; color: var(--st-muted); font-size: 1.05rem; line-height: 1.6; }
.st-board .st-secret-row { display: flex; gap: 8px; max-width: 380px; margin: 0 auto; }
.st-board .st-secret-row .iText { flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: 46px; padding: 0 14px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; color: var(--st-ink); font-size: 1rem; }
.st-board .st-secret-row .iText:focus { outline: 2px solid var(--st-blue); outline-offset: 1px; border-color: var(--st-blue); }
.st-board .st-secret-row .btn { flex: 0 0 auto; height: 46px !important; padding: 0 22px !important; line-height: 1.2 !important; border-radius: 10px; border: 1px solid var(--st-blue); background: var(--st-blue); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.st-board .st-secret-row .btn:hover { background: #1f2bd0; border-color: #1f2bd0; }
/* 본문 안 바로가기 링크(#user_content_...)로 이동할 때 고정 헤더에 제목이 가려지지 않게 */
.st-board [id^="user_content_"] { scroll-margin-top: 90px; }
