/* V143.58 페이지 상단 사진 */
#page-generic .sub-hero,#page-qna .sub-hero,#page-reservation .sub-hero{--hpb-pos:var(--hpb-pc,50% 50%)}
@media(max-width:620px){#page-generic .sub-hero,#page-qna .sub-hero,#page-reservation .sub-hero{--hpb-pos:var(--hpb-m,50% 50%)}}
.hpb-dialog{width:min(860px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.25);padding:22px 24px;color:#1f1f1f;word-break:keep-all}
.hpb-groups{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.hpb-groups button{height:34px;padding:0 12px;border-radius:999px;border:1px solid #d6d3ca;background:#fff;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}
.hpb-groups button i{font-style:normal;color:#2563eb;font-size:10px}
.hpb-groups button.on{background:#1f1f1f;border-color:#1f1f1f;color:#fff}
.hpb-groups button.on i{color:#93c5fd}
.hpb-devices{display:inline-flex;border:1px solid #d6d6d6;border-radius:8px;overflow:hidden;margin-bottom:10px}
.hpb-devices button{height:34px;padding:0 14px;border:0;background:#f7f7f5;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}
.hpb-devices button.on{background:#2563eb;color:#fff}
.hpb-stage-wrap{display:flex;justify-content:center;background:#f1f1ee;border-radius:10px;padding:12px}
.hpb-stage{position:relative;width:100%;aspect-ratio:1440/420;background-color:#203243;background-size:cover,cover;background-repeat:no-repeat;border-radius:6px;overflow:hidden;cursor:grab;touch-action:none;user-select:none}
.hpb-stage.is-mobile{width:300px;aspect-ratio:390/310}
.hpb-stage:active{cursor:grabbing}
.hpb-stage.is-inherit{cursor:default}
.hpb-menu{position:absolute;left:0;right:0;top:0;height:21%;background:linear-gradient(rgba(255,255,255,.18),rgba(255,255,255,0));border-bottom:1px dashed rgba(255,255,255,.55);color:rgba(255,255,255,.85);font-size:11px;padding:6px 10px}
.hpb-title{position:absolute;left:5%;bottom:14%;color:#fff;text-shadow:0 4px 18px rgba(0,0,0,.3);pointer-events:none}
.hpb-title small{display:block;font-size:12px;font-weight:700;opacity:.9}
.hpb-title strong{display:block;font-size:clamp(20px,3.4vw,34px);font-weight:800}
.hpb-stage.is-mobile .hpb-title strong{font-size:22px}
.hpb-dot{position:absolute;width:18px;height:18px;margin:-9px 0 0 -9px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #2563eb,0 2px 8px rgba(0,0,0,.4);pointer-events:none}
.hpb-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px}
.hpb-upload{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:8px;background:#1f1f1f;color:#fff;font-weight:700;font-size:14px;cursor:pointer}
.hpb-grid{display:grid;grid-template-columns:repeat(3,22px);gap:4px}
.hpb-grid button{width:22px;height:22px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;cursor:pointer;padding:0}
.hpb-grid button.on{background:#2563eb;border-color:#2563eb}
.hpb-grid button:disabled{opacity:.4;cursor:not-allowed}
.hpb-clear{height:36px;padding:0 12px;border-radius:6px;border:1px solid #cfcfcf;background:#fff;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}
.hpb-clear:disabled{opacity:.45;cursor:not-allowed}
.hpb-msg{margin:10px 0 0;font-size:13px;color:#475569;min-height:1em}
