/* ===== 그누보드 팝업 플러그인 - 프론트 스타일 ===== */
#po-wrap { position: relative; z-index: 9990; }

/* 공통 카드 */
.po-card {
  position: fixed;
  z-index: 9991;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.po-card.po-center { left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* 닫기 X */
.po-x {
  position: absolute; top: 8px; right: 8px; z-index: 6;
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: #fff;
  font-size: 16px; line-height: 1; cursor: pointer;
}
.po-x:hover { background: rgba(0, 0, 0, .7); }

/* 드래그 핸들 (드래그 가능 팝업만 노출) */
.po-head { display: none; height: 16px; background: #ececec; cursor: move; }
.po-card.po-draggable .po-head { display: block; }

/* 본문 */
.po-body { line-height: 0; }
.po-body img { display: block; width: 100%; height: auto; }
.po-body :where(p, div, span, a) { line-height: normal; }

/* 하단 바: 오늘 하루 보지 않기 / 닫기 */
.po-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; background: #1f1f1f; color: #fff; font-size: 13px;
}
.po-today-label { display: flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; }
.po-today-label input { width: 15px; height: 15px; }
.po-close { border: 0; background: transparent; color: #fff; font-size: 13px; cursor: pointer; }
.po-close:hover { text-decoration: underline; }

/* ===== 슬라이더 ===== */
.po-view { position: relative; overflow: hidden; }
.po-track { display: flex; transition: transform .35s ease; }
.po-slide { flex: 0 0 100%; line-height: 0; }
.po-slide img { display: block; width: 100%; height: auto; }

.po-prev, .po-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 36px; height: 50px; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .4); color: #fff; font-size: 18px;
}
.po-prev { left: 0; border-radius: 0 6px 6px 0; }
.po-next { right: 0; border-radius: 6px 0 0 6px; }
.po-prev:hover, .po-next:hover { background: rgba(0, 0, 0, .7); }

.po-dots { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; z-index: 5; }
.po-dot {
  width: 9px; height: 9px; margin: 0 4px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer;
}
.po-dot.on { background: #fff; }

/* ===== 모바일: 무조건 1개의 슬라이더(센터) ===== */
@media (max-width: 768px) {
  .po-card { left: 50% !important; top: 50% !important;
             transform: translate(-50%, -50%) !important;
             width: 90vw !important; max-width: 420px; }
  .po-card .po-head { display: none; } /* 모바일은 드래그 비활성 */
}
