/* ==========================================================
   Airsoft Basic board skin (A안) — xedition 기본 CSS 위에 덮어쓰는 스타일
   변수는 레이아웃(.as-site)에서 오고, 레이아웃 없이 써도 되도록 기본값 포함
   ========================================================== */

.board {
	--as-bg: #F6F5F2;
	--as-surface: #FFFFFF;
	--as-surface-2: #F9F8F5;
	--as-border: #E2E0DA;
	--as-border-2: #EEECE6;
	--as-text: #1C1C1C;
	--as-text-2: #444444;
	--as-muted: #666666;
	--as-placeholder: #E8E6DF;
	--as-accent: #4F6137;
	--as-accent-soft: #EEF1E8;
	--as-accent-text: #3F4E2C;
	--as-hot: #E07A1F;
	--as-radius: 12px;
	--as-radius-s: 8px;
}
.as-site .board { --as-accent: inherit; --as-accent-soft: inherit; --as-accent-text: inherit; }

.board,
.board label, .board table, .board input, .board button, .board textarea, .board select {
	font-family: Pretendard, "Pretendard Variable", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
	font-size: 16px;
	color: var(--as-text);
}
.board { line-height: 1.6; word-break: keep-all; }
.board a { color: inherit; }
.board a:hover { color: var(--as-accent); }
.board .iText, .board textarea, .board select {
	border: 1px solid #D5D2CA; border-radius: var(--as-radius-s); background: #fff;
	font-size: 16px; padding: 8px 12px; min-height: 44px;
}
.board .iText:focus, .board textarea:focus, .board select:focus { border-color: var(--as-accent); outline: 0; }
.board .iCheck { width: 18px; height: 18px; }

/* ---------- 버튼 (레이아웃과 동일한 룩) ---------- */
.board .as-btn, .board .btn, .board .btn_insert {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 44px; padding: 0 18px; margin: 0;
	border-radius: var(--as-radius-s); border: 1px solid #D5D2CA;
	background: #fff; color: var(--as-text);
	font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
	cursor: pointer; box-shadow: none; text-shadow: none;
}
.board .btn:hover, .board .as-btn-outline:hover { border-color: var(--as-accent); color: var(--as-accent); background: #fff; }
.board .as-btn-primary, .board .btn_insert { background: var(--as-accent); border-color: var(--as-accent); color: #fff; font-weight: 700; }
.board .as-btn-primary:hover, .board .btn_insert:hover { color: #fff; filter: brightness(1.08); }
.board .as-btn-ghost { background: transparent; border-color: transparent; color: var(--as-muted); }
.board .as-btn-ghost:hover { background: var(--as-accent-soft); color: var(--as-accent); }
.board .btn i, .board .as-btn i { font-size: 16px; }

/* ---------- 칩 / 공통 ---------- */
.board .as-chip {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 2px 9px; border-radius: 4px;
	font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap;
	color: var(--as-accent-text); background: var(--as-accent-soft);
}
.board .as-chip-solid { color: #fff; background: #3f4e2c; font-weight: 700; font-size: 12px; }
.board .as-cmt { font-size: 14px; font-weight: 700; color: var(--as-hot); white-space: nowrap; }
.board .as-empty { margin: 0; padding: 40px 20px; text-align: center; color: var(--as-muted); font-size: 15px; }

/* ---------- 게시판 머리 ---------- */
.as-board-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin: 0 0 18px;
}
.as-board-title { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.3; }
.as-board-sub { margin: 2px 0 0; font-size: 14px; color: var(--as-muted); }
.as-board-head .as-btn-primary { min-height: 46px; padding: 0 22px; font-size: 16px; }

.as-board-tools {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	margin: 0 0 16px;
}
.as-cats { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.as-cats li a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	border-radius: 20px; border: 1px solid #D5D2CA; background: #fff;
	font-size: 15px; font-weight: 500;
}
.as-cats li.sub a { padding: 0 12px; font-size: 14px; color: var(--as-text-2); }
.as-cats li a:hover { border-color: var(--as-accent); color: var(--as-accent); }
.as-cats li.on a { background: var(--as-text); border-color: var(--as-text); color: #fff; font-weight: 700; }
.as-cats li.on a:hover { color: #fff; }

.as-board-search { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; }
.as-board-search .as-select { min-height: 44px; padding: 0 10px; font-size: 14px; }
.as-search-field {
	display: flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 12px; width: 240px;
	border: 1px solid #D5D2CA; border-radius: var(--as-radius-s); background: #fff;
}
.as-search-field:focus-within { border-color: var(--as-accent); }
.as-search-field i { color: var(--as-muted); font-size: 18px; }
.as-search-field input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; }

/* ---------- 목록형 ---------- */
.as-board-list { background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); overflow: hidden; }
.as-list-cols, .as-item { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.as-list-cols {
	padding: 9px 20px; background: var(--as-surface-2); border-bottom: 1px solid var(--as-border);
	font-size: 13px; color: var(--as-muted); font-weight: 500;
}
.as-list-cols a:hover { color: var(--as-accent); }
.as-item { border-bottom: 1px solid var(--as-border-2); min-height: 56px; }
.as-item:last-child { border-bottom: 0; }
.as-item:hover { background: var(--as-surface-2); }
.as-item-notice { background: #FBFAF6; }
.as-col-thumb { width: 64px; flex-shrink: 0; display: flex; align-items: center; }
.as-thumb {
	display: flex; align-items: center; justify-content: center;
	width: 64px; height: 48px; border-radius: 6px;
	background: var(--as-placeholder) center / cover no-repeat;
	color: #9B988F; font-size: 18px;
}
.as-col-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.as-title-link { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.as-item:hover .as-title-link { color: var(--as-accent); }
.as-extra-img { display: inline-flex; align-items: center; gap: 2px; }
.as-extra-img img { vertical-align: middle; }
.as-col-writer { width: 100px; font-size: 14px; color: var(--as-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-col-writer a { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.as-col-writer img { vertical-align: middle; }
.as-col-date { width: 52px; text-align: right; font-size: 14px; color: var(--as-muted); white-space: nowrap; }
.as-col-views { width: 56px; text-align: right; font-size: 14px; color: var(--as-muted); white-space: nowrap; }
.as-col-check { width: 28px; text-align: right; }
.as-list-cols .as-col-thumb { height: 1px; }

/* ---------- 사진형 ---------- */
.as-gallery-notice { background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); overflow: hidden; margin-bottom: 16px; }
.as-gallery-notice-row { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--as-border-2); min-height: 44px; }
.as-gallery-notice-row:last-child { border-bottom: 0; }
.as-gallery-notice-row .as-title-link { font-size: 16px; }
.as-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.as-gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); overflow: hidden; }
.as-gcard:hover { border-color: #CFCCC3; }
.as-gcard-img {
	position: relative; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 4 / 3; background: var(--as-placeholder) center / cover no-repeat;
	color: #9B988F; font-size: 34px;
}
.as-gcard-cat {
	position: absolute; top: 10px; left: 10px;
	padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700;
	color: #fff; background: var(--as-accent);
}
.as-gcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.as-gcard-title {
	font-size: 16px; font-weight: 500; line-height: 1.45;
	overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.as-gcard:hover .as-gcard-title { color: var(--as-accent); }
.as-gcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--as-muted); }
.as-gcard-writer { display: inline-flex; align-items: center; gap: 4px; color: var(--as-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-gcard-stats { white-space: nowrap; }
.as-gcard-check { font-size: 13px; color: var(--as-muted); display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 하단 ---------- */
.as-board-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0 0; }
.as-board-admin { display: flex; gap: 4px; flex-wrap: wrap; }
.as-pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 0 auto; }
.as-page {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 6px; border-radius: var(--as-radius-s);
	border: 1px solid #D5D2CA; background: #fff; font-size: 16px; font-weight: 500;
}
.as-page:hover { border-color: var(--as-accent); color: var(--as-accent); }
.as-page.is-on { background: var(--as-accent); border-color: var(--as-accent); color: #fff; font-weight: 700; }
.as-page-dir i { font-size: 18px; }
.as-write-bottom { margin-left: auto; }

/* ---------- 읽기 화면 (xedition 마크업 유지, 스타일만) ---------- */
.board_read { background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); padding: 28px 28px 20px; margin-bottom: 28px; }
.read_header { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--as-border); }
.read_header h1 { width: auto; font-size: 24px; font-weight: 700; line-height: 1.4; white-space: normal; color: var(--as-text); }
.read_header h1 .category {
	display: inline-flex; align-items: center; margin-right: 8px; padding: 2px 9px; vertical-align: middle;
	border: 0; border-radius: 4px; background: var(--as-accent-soft); color: var(--as-accent-text); font-size: 13px; font-weight: 500;
}
.read_header .meta { font-size: 14px; color: var(--as-muted); margin-top: 8px; }
.read_header .meta > span { margin-right: 14px; }
.read_header .meta .author a, .read_header .meta .author { color: var(--as-text-2); font-weight: 500; }
.read_header .meta i { color: #9B988F; }
.read_body .xe_content, .read_body .rhymix_content { font-size: 16px; line-height: 1.8; color: var(--as-text); }
.read_body .xe_content img { max-width: 100%; height: auto; border-radius: 6px; }
.read_footer { margin-top: 24px; }
.read_footer .btnArea { padding-top: 16px; border-top: 1px solid var(--as-border); display: flex; gap: 6px; flex-wrap: wrap; }
.read_footer .btnArea .btn { min-height: 42px; padding: 0 14px; font-size: 14px; }
.read_footer .vote a, .read_footer .sns a { border-color: #D5D2CA; border-radius: var(--as-radius-s); }
.read_footer .tags a { font-size: 14px; }
.read_footer .files a { font-size: 14px; }
.exOut table { font-size: 14px; }

/* ---------- 댓글 ---------- */
.feedback { font-size: 15px; }
.feedback .fbHeader h2 { font-size: 18px; font-weight: 700; }
.feedback .fbHeader h2 em { color: var(--as-accent); font-style: normal; }
.feedback .fbItem { padding: 16px 0; border-color: var(--as-border-2); }
.feedback .fbMeta .author a { font-size: 15px; font-weight: 500; color: var(--as-text); }
.feedback .time { font-size: 13px; color: var(--as-muted); }
.feedback .xe_content { font-size: 15px; line-height: 1.7; }
.feedback .action a { font-size: 13px; }
.write_comment textarea { font-size: 16px; line-height: 1.6; }
.write_comment .btn_insert { min-height: 44px; padding: 0 22px; font-size: 15px; }

/* ---------- 글쓰기 ---------- */
.board_write { background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); padding: 24px; }
.write_header .iText { font-size: 18px; min-height: 48px; }
.write_header select { min-height: 44px; }
.write_footer .btnArea { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.write_option label { font-size: 14px; }

/* ---------- 메시지 ---------- */
.context_message h1 { font-size: 20px; }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
	.as-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 768px) {
	.as-board-title { font-size: 22px; }
	.as-board-tools { flex-direction: column; align-items: stretch; }
	.as-board-search { width: 100%; }
	.as-board-search .as-select { display: none; }
	.as-search-field { flex: 1; width: auto; }
	.as-list-cols { display: none; }
	.as-item { flex-wrap: wrap; gap: 8px 10px; padding: 12px 14px; }
	.as-col-thumb { width: 56px; }
	.as-thumb { width: 56px; height: 42px; }
	.as-col-title { flex: 1 1 calc(100% - 66px); }
	.as-col-title .as-title-link { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 16px; }
	.as-col-writer { width: auto; margin-left: 66px; }
	.as-col-date, .as-col-views { width: auto; }
	.as-col-views::before { content: "조회 "; }
	.as-col-check { margin-left: auto; }
	.as-item-notice .as-col-writer { margin-left: 0; }
	.as-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.as-gcard-body { padding: 10px 12px 12px; }
	.as-gcard-title { font-size: 15px; }
	.as-board-foot { flex-direction: column; align-items: stretch; }
	.as-pagination { order: 1; }
	.as-write-bottom { order: 2; margin-left: 0; }
	.as-board-admin { order: 3; justify-content: center; }
	.board_read { padding: 20px 16px 16px; }
	.read_header h1 { font-size: 20px; }
}

/* ---------- 퍼가기 금지 안내 (본문 맨 아래 고정) ---------- */
.as-prevent-notice {
	display: flex; align-items: center; gap: 8px;
	margin: 28px 0 0; padding: 12px 16px;
	border: 1px solid var(--as-border); border-radius: var(--as-radius-s);
	background: var(--as-surface-2);
	font-size: 14px; color: var(--as-text-2); line-height: 1.5;
}
.as-prevent-notice i { font-size: 17px; color: var(--as-muted); flex-shrink: 0; }
.as-prevent-notice strong { color: var(--as-text); font-weight: 700; }

/* ---------- 글쓰기: 하단 옵션줄 ---------- */
/* 체크칸과 글자는 붙이고, 항목끼리는 넉넉히 띄운다 */
.write_option {
	display: flex; align-items: center; flex-wrap: wrap;
	gap: 10px 0; margin: 0 0 14px;
}
.write_option input[type="checkbox"],
.write_option input[type="radio"] {
	width: 18px; height: 18px; margin: 0 7px 0 0; flex-shrink: 0;
}
.write_option label {
	margin: 0 26px 0 0; font-size: 15px; color: var(--as-text); cursor: pointer; white-space: nowrap;
}
.write_option label:last-child { margin-right: 0; }

/* ---------- 글쓰기: 태그 등 입력 항목 ---------- */
.write_author { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-start; }
.write_author .item { display: flex; flex-direction: column; gap: 6px; }
.as-field-label { font-size: 14px; font-weight: 700; color: var(--as-text); }
.as-field-help { font-size: 13px; color: var(--as-muted); }
.as-tag-item { flex: 1 1 360px; min-width: 0; }
.as-tag-item .iText { width: 100%; max-width: 420px; }
.write_author .iText { min-height: 44px; }

@media (max-width: 768px) {
	.write_option label { margin-right: 18px; font-size: 14px; }
	.as-tag-item { flex-basis: 100%; }
	.as-tag-item .iText { max-width: none; }
}

/* ==========================================================
   카드뉴스형 목록 + 글 보기 뷰어
   ========================================================== */
.as-news-notice { background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); overflow: hidden; margin-bottom: 16px; }
.as-news-notice-row { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--as-border-2); min-height: 44px; }
.as-news-notice-row:last-child { border-bottom: 0; }
.as-news-notice-row .as-title-link { font-size: 16px; }

.as-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.as-ncard { display: flex; background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); overflow: hidden; }
.as-ncard:hover { border-color: #CFCCC3; color: var(--as-text); }
.as-ncard-img {
	position: relative; width: 200px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: var(--as-placeholder) center / cover no-repeat;
	color: #9B988F; font-size: 26px;
}
.as-ncard-count {
	position: absolute; bottom: 8px; right: 8px;
	padding: 2px 8px; border-radius: 5px; font-size: 12px; font-weight: 500;
	color: #fff; background: rgba(28,28,28,.65);
}
.as-ncard-body { flex: 1; min-width: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.as-ncard-meta { display: flex; align-items: center; gap: 8px; }
.as-ncard-title {
	font-size: 17px; font-weight: 500; line-height: 1.45;
	overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.as-ncard:hover .as-ncard-title { color: var(--as-accent); }
.as-ncard-summary {
	font-size: 14px; color: var(--as-muted); line-height: 1.5;
	overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.as-ncard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #8A877F; padding-top: 4px; }

/* 글 보기 뷰어 */
.as-viewer { margin: 0 0 22px; }
.as-viewer-stage {
	position: relative; background: #1C1C1C; border-radius: 10px; overflow: hidden;
	display: flex; align-items: center; justify-content: center; min-height: 240px;
}
.as-viewer-slide { display: none; width: 100%; }
.as-viewer-slide.is-on { display: block; }
.as-viewer-slide img { display: block; width: 100%; height: auto; max-height: min(68vh, 680px); object-fit: contain; margin: 0 auto; }
.as-viewer-counter {
	position: absolute; top: 14px; right: 14px;
	padding: 5px 12px; border-radius: 20px;
	font-size: 14px; font-weight: 700; color: #fff; background: rgba(28,28,28,.62);
}
.as-viewer-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0;
	background: rgba(255,255,255,.94); box-shadow: 0 2px 10px rgba(28,28,28,.25);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
	color: var(--as-text); font-size: 22px;
}
.as-viewer-nav:hover { background: #fff; color: var(--as-accent); }
.as-viewer-prev { left: 14px; }
.as-viewer-next { right: 14px; }
.as-viewer-cap { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: var(--as-text); }
.as-viewer-dots { display: flex; justify-content: center; gap: 8px; padding-top: 14px; flex-wrap: wrap; }
.as-viewer-dot {
	width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px;
	background: #D5D2CA; cursor: pointer; transition: width .2s, background .2s;
}
.as-viewer-dot.is-on { width: 28px; background: var(--as-accent); }

@media (max-width: 768px) {
	.as-news-grid { grid-template-columns: 1fr; gap: 12px; }
	.as-ncard-img { width: 120px; }
	.as-ncard-body { padding: 12px 14px; }
	.as-ncard-title { font-size: 16px; }
	.as-ncard-summary { display: none; }
	.as-viewer-nav { width: 42px; height: 42px; font-size: 19px; }
	.as-viewer-slide img { max-height: min(60vh, 520px); }
	.as-viewer-cap { font-size: 15px; }
}

/* ── 모바일 UI 버그 수정 (2026-11-06) ── */
.as-list-meta, .as-doc-byline, .bd-list .meta {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: flex-end; gap: 0 8px; text-align: right;
}
.as-doc-info, .as-doc-header .meta-row, ._header .as-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 10px; min-width: 0; overflow: hidden; box-sizing: border-box;
}
.as-doc-info > *, .as-doc-header .meta-row > * {
  white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.as-read-cnt, .doc-read-cnt, .as-doc-info .read_cnt { flex-shrink: 0 !important; }
.as-doc-info .nick, .as-doc-header .nick { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* airsoft-catbtn v1 — 글쓰기 분류 버튼 */
.as-catbox { margin:0 0 12px; }
.as-catbox-title { margin:0 0 6px; font-size:14px; font-weight:600; color:#444; }
.as-catbtns { display:flex; flex-wrap:wrap; gap:8px; }
.as-catbtn { min-height:44px; padding:0 20px; border:1px solid #d5d8dc; border-radius:10px; background:#fff; color:#333; font-size:16px; cursor:pointer; }
.as-catbtn:hover { border-color:#4F6137; }
.as-catbtn.on { background:#4F6137; border-color:#4F6137; color:#fff; font-weight:600; }
.as-catbtn:disabled { opacity:.45; cursor:not-allowed; }
.as-catbtn:focus-visible { outline:2px solid #4F6137; outline-offset:2px; }
select.as-cat-select-hidden { display:none !important; }
.board_write.as-has-catbtns .write_header input[name=title] { width:100% !important; box-sizing:border-box; margin-left:0 !important; }
@media (max-width:480px) { .as-catbtn { flex:1 1 calc(50% - 8px); padding:0 10px; } }

/* airsoft-readfix v2 — 글 보기 하단 정리 (SNS 제거 · 추천/비추천 · 게시물 관리 · 버튼 배경) */

/* 1) 페이스북·구글+·트위터 공유 버튼 제거 */
div.sns { display: none !important; }

/* 2) 추천 / 비추천 버튼 */
div.vote { margin: 28px 0 8px !important; padding: 0 !important; text-align: center; border: 0 !important; background: none !important; }
div.vote ul { display: flex !important; justify-content: center; gap: 12px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
div.vote li { float: none !important; margin: 0 !important; padding: 0 !important; width: auto !important; border: 0 !important; background: none !important; }
div.vote li a { display: inline-flex !important; flex-direction: row !important; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; width: auto !important; min-width: 128px; height: 48px !important; padding: 0 22px !important; background: #fff !important; border: 1.5px solid #D9D5C7 !important; border-radius: 999px !important; box-shadow: none !important; color: #1C1C1C !important; font-size: 16px !important; font-weight: 600; line-height: 1 !important; text-decoration: none !important; transition: border-color .15s, background .15s, color .15s; }
div.vote li a br { display: none !important; }
div.vote li a i { position: static !important; display: inline-block !important; margin: 0 !important; width: auto !important; height: auto !important; font-size: 20px !important; line-height: 1 !important; color: #4F6137 !important; background: none !important; }
div.vote li a:hover { border-color: #4F6137 !important; background: #F1F4EC !important; color: #4F6137 !important; }
div.vote li a:active { background: #E6ECDC !important; }

/* 3) "이 게시물을" -> "게시물 관리" 버튼 */
div.tns { margin: 14px 0 !important; text-align: right; }
div.tns a.action { display: inline-flex !important; align-items: center; gap: 8px; box-sizing: border-box; min-height: 44px; padding: 0 18px 0 14px !important; background: #fff !important; border: 1.5px solid #4F6137 !important; border-radius: 10px !important; box-shadow: none !important; color: #4F6137 !important; font-size: 0 !important; line-height: 1 !important; font-weight: 700; text-decoration: none !important; cursor: pointer; }
div.tns a.action > * { display: none !important; }
div.tns a.action::before { content: ""; width: 18px; height: 18px; flex: none; background: #4F6137; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13a7.5 7.5 0 0 0 0-2l2-1.6-2-3.4-2.4 1a7.6 7.6 0 0 0-1.7-1L15 3.3h-4L10.7 6a7.6 7.6 0 0 0-1.7 1l-2.4-1-2 3.4L6.6 11a7.5 7.5 0 0 0 0 2l-2 1.6 2 3.4 2.4-1a7.6 7.6 0 0 0 1.7 1l.3 2.7h4l.3-2.7a7.6 7.6 0 0 0 1.7-1l2.4 1 2-3.4zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13a7.5 7.5 0 0 0 0-2l2-1.6-2-3.4-2.4 1a7.6 7.6 0 0 0-1.7-1L15 3.3h-4L10.7 6a7.6 7.6 0 0 0-1.7 1l-2.4-1-2 3.4L6.6 11a7.5 7.5 0 0 0 0 2l-2 1.6 2 3.4 2.4-1a7.6 7.6 0 0 0 1.7 1l.3 2.7h4l.3-2.7a7.6 7.6 0 0 0 1.7-1l2.4 1 2-3.4zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat; }
div.tns a.action::after { content: "게시물 관리"; font-size: 16px; }
div.tns a.action:hover { background: #F1F4EC !important; }

/* 4) 수정·삭제·목록 버튼: 바깥/아이콘 칸의 회색 배경 제거 */
div.btnArea, div.btnArea .etc { background: transparent !important; box-shadow: none !important; }
div.btnArea .btn { background: #fff !important; box-shadow: none !important; }
div.btnArea .btn i, div.btnArea .btn [class^="xi-"] { background: transparent !important; box-shadow: none !important; }
div.btnArea .btn:hover { background: #F1F4EC !important; }
