/* 팝업레이어(그누보드 new_win) 전용 스타일 — bbs/newwin.inc.php 가 직접 로드(자기완결).
   .hd_pops_con 은 nw_width/nw_height 를 인라인 px 로 받으므로, 화면을 넘지 않도록 폭을 제한한다. */

#hd_pop { position: static; z-index: 1000; margin: 0; padding: 0; }
#hd_pop h2 { overflow: hidden; position: absolute; width: 0; height: 0; margin: 0; font-size: 0; line-height: 0; text-indent: -9999px; }
.hd_pops { position: fixed; z-index: 1000; width: auto; max-width: 96vw; background: #fff; border: 1px solid #d0d0d0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22); }
.hd_pops_con { overflow: hidden; max-width: 100%; }
.hd_pops_con img { display: block; max-width: 100%; height: auto; }
.hd_pops_footer { display: flex; align-items: stretch; justify-content: space-between; background: #2b2b2b; }
.hd_pops_footer button { display: flex; align-items: center; gap: 3px; margin: 0; padding: 10px 14px; border: 0; background: transparent; color: #fff; font-size: 13px; line-height: 1.4; cursor: pointer; }
.hd_pops_footer .hd_pops_reject { flex: 1 1 auto; text-align: left; }
.hd_pops_footer .hd_pops_reject strong { color: #ffd35a; font-weight: 700; font-size: 13px; line-height: 1.4; }
.hd_pops_footer .hd_pops_close { flex: 0 0 auto; gap: 5px; white-space: nowrap; background: #1b1b1b; color: #fff; }
.hd_pops_footer .hd_pops_close i { display: none; }
.hd_pops_footer .hd_pops_close::after { content: "\2715"; font-size: 13px; font-weight: 700; color: #fff; line-height: 1; }

@media (max-width: 820px) {
    .hd_pops { left: 50% !important; right: auto !important; transform: translateX(-50%); }
    .hd_pops_con { height: auto !important; }
}
