@charset "utf-8";

/* 전체게시물(new) 스킨 - site 032 전용.
   theme/vue-032/css/style.css의 .crumb/.board-head/table.board(.c-num/.c-cat/.c-title/
   .c-author/.c-time/.c-hit)/.chip/.pager/.board-actions/.board-search/.btn 클래스를
   그대로 재사용한다. .col-main/.col-rail은 head.php/tail.php가 전역으로 열고 닫으므로
   new.skin.php는 <main> 안쪽 내용만 담당하며, 실시간 랭킹 레일은 tail.php가 $gb_popular
   전역변수를 읽어 자동 렌더링하므로 new.skin.php 최상단에서 그 변수를 채워준다. 테이블
   레이아웃이라 카드형에서 발생하는 sv_wrap overflow:hidden 클리핑 버그 자체가 없음.
   그룹/게시판 두 컬럼(c-cat 재사용, 헤더 텍스트만 그룹/게시판으로 구분)을 신규 추가했다.
   name은 plain td라 raw 그대로 출력(strip_tags 금지, sv_wrap CSS-hide로 처리). */

.new-actions { margin:16px 0; }
.new-search { border:none; margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:8px; width:100%; }
.new-search legend { position:absolute; margin:0; padding:0; font-size:0; line-height:0; text-indent:-9999em; overflow:hidden; }
.new-search form { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.new-search select,
.new-search input[type="text"] {
  height:40px;
  padding:0 12px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  background:var(--surface);
  color:var(--text);
  font-family:var(--font-body);
  font-size:14px;
}
.new-search select { background:var(--surface-alt); }
.new-search input[type="text"] { min-width:180px; }
.new-search select:focus,
.new-search input:focus { outline:none; border-color:var(--accent); }
.new-search-hint { flex:1 1 100%; margin:8px 0 0; font-family:var(--font-mono); font-size:12px; color:var(--muted); }

.admin_new_btn { display:flex; align-items:center; justify-content:flex-end; gap:16px; margin:14px 0; }
.new-allchk { margin-right:auto; }

/* 이 테마는 .chk_box를 댓글쓰기 비밀글 체크박스용으로 이미 다른 방식(네이티브 accent-color)으로
   정의해뒀다. 그 규칙과 충돌하지 않도록 전체게시물 폼(#fnewlist) 안에서만 그누보드 관리자
   표준 체크박스 패턴(hidden input + label span 커스텀 박스)으로 재정의한다. */
#fnewlist .selec_chk { position:absolute; top:0; left:0; width:0; height:0; opacity:0; outline:0; z-index:-1; overflow:hidden; }
#fnewlist .chk_box { position:relative; display:inline-flex; align-items:center; font-size:inherit; color:inherit; }
#fnewlist .chk_box label { display:inline-flex; }
#fnewlist .chk_box input[type="checkbox"] + label { position:relative; padding-left:22px; color:var(--muted); cursor:pointer; font-size:12.5px; }
#fnewlist .chk_box input[type="checkbox"] + label:hover { color:var(--accent-dark); }
#fnewlist .chk_box input[type="checkbox"] + label span {
  position:absolute; top:1px; left:0; width:15px; height:15px; display:block;
  margin:0; background:var(--surface); border:1px solid var(--border); border-radius:3px;
}
#fnewlist .chk_box input[type="checkbox"]:checked + label { color:var(--text); }
#fnewlist .chk_box input[type="checkbox"]:checked + label span {
  background:var(--accent) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8.5l3 3 7-7" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat 50% 50%;
  border-color:var(--accent-dark);
}
