/* 홈페이지 팝업(관리자 «팝업 관리»): 나열은 머리글 바로 아래에 얹히고, 슬라이드·탭형은 화면을 어둡게 하고 가운데에 뜬다 */
.pu-anchor { position: absolute; z-index: 99990; left: 0; top: 0; width: 100%; height: 0; }
.pu-wrap { pointer-events: none; position: absolute; left: 10px; right: 10px; top: 10px; z-index: 99990; display: flex; flex-direction: column; gap: 12px; }
.pu-card { box-sizing: border-box; font-family: inherit; pointer-events: auto; display: flex; flex-direction: column; width: 100%; max-height: min(90dvh, calc(100dvh - 130px)); overflow: hidden; background: #fff; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.pu-card-mo { max-height: calc(100dvh - 130px); }
.pu-content { min-height: 0; overflow-y: auto; }
.pu-img-full { display: block; width: 100%; height: auto; }
.pu-img-orig { display: block; width: 50%; height: auto; margin: 0 auto; }
.pu-text { padding: 16px 20px; color: #222; }
.pu-text strong { display: block; font-size: 16px; }
.pu-text p { margin: 4px 0 0; white-space: pre-line; font-size: 14px; line-height: 1.6; color: rgba(34, 34, 34, .8); }
.pu-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #000; padding: 10px 12px; font-size: 12px; color: #fff; }
.pu-foot label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.pu-foot input { width: 16px; height: 16px; accent-color: #0058a9; }
.pu-close { border: 0; border-radius: 999px; background: #888; color: #fff; padding: 4px 16px; font-size: 11px; font-weight: 700; letter-spacing: .05em; cursor: pointer; }
.pu-close:hover { background: #aaa; }
.pu-nav { pointer-events: auto; display: flex; align-items: center; justify-content: center; gap: 12px; }
.pu-dots { display: flex; align-items: center; gap: 8px; }
.pu-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); cursor: pointer; }
.pu-dot[aria-current="true"] { background: #0058a9; }
.pu-arrow { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .3); cursor: pointer; }
.pu-arrow:hover { background: rgba(255, 255, 255, .8); }
.pu-arrow:disabled { pointer-events: none; opacity: .3; }
.pu-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .75); padding: 12px; }
.pu-modal { display: flex; flex-direction: column; max-height: 100%; width: fit-content; max-width: 100%; }
.pu-tabwrap { min-width: min(640px, 92vw); max-width: min(1190px, 94vw); }
.pu-white { background: #fff; }
.pu-tabimg { display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 230px); object-fit: contain; }
.pu-tabs { display: grid; border-left: 1px solid rgba(0, 0, 0, .15); border-top: 1px solid rgba(0, 0, 0, .15); background: #fff; }
.pu-tab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .15); border-right: 1px solid rgba(0, 0, 0, .15); padding: 12px; font-size: 14px; color: #222; background: none; cursor: pointer; }
.pu-tab:hover { background: rgba(0, 0, 0, .05); }
.pu-tab[aria-selected="true"] { font-weight: 600; color: #0058a9; }
.pu-count { margin-bottom: 8px; text-align: center; font-size: 14px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.pu-row { display: flex; align-items: center; gap: 8px; }
.pu-cells { display: flex; align-items: flex-start; gap: 8px; }
.pu-slideimg { display: block; margin: 0 auto; width: 100%; height: auto; max-height: calc(100dvh - 230px); background: #fff; object-fit: contain; }
.pu-mfoot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: #fff; }
.pu-mfoot button { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: #fff; font-size: 14px; cursor: pointer; }
.pu-mfoot button:hover { text-decoration: underline; }
.pu-check { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #fff; border-radius: 50%; font-size: 11px; line-height: 1; }
.pu-x { font-size: 18px; line-height: 1; }
@media (min-width: 768px) {.pu-wrap { flex-direction: row; align-items: flex-start; }
.pu-card { width: min(574px, 44vw); }}
.pu-wrap *,.pu-modal *{box-sizing:border-box}.pu-foot label{margin:0}
