@charset "UTF-8";
/* 고객센터(허브·FAQ·1:1 문의 스킨·공지 스킨) 전용. 색·글꼴·모서리는 tokens.css 변수만 쓴다. 폭은 .pm-page 가 정한다(여기서 max-width 를 정하지 않는다). */
.hp [hidden], .hp-skin [hidden] { display: none !important; }
.hp-h2 { margin: 0 0 14px; font-family: var(--pm-font-head); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--pm-ink); }
.hp-ic { flex: none; color: var(--pm-fire-deep); }
.hp-more, .hp-actions { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hp-actions > .pm-btn, .hp-more > .pm-btn { flex: 1 1 140px; text-align: center; justify-content: center; }
.hp-reply { margin-top: 14px; }

/* 검색 */
.hp-search { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.hp-search input[type="search"] { flex: 1 1 220px; min-height: var(--pm-tap); box-sizing: border-box; padding: 0 16px; font: 16px/1.4 var(--pm-font-body); color: var(--pm-ink); background: var(--pm-cream); border: 2px solid var(--pm-line); border-radius: var(--pm-r-input); }
.hp-search input[type="search"]::placeholder { color: var(--pm-sub); opacity: 1; }
.hp-search input[type="search"]:focus { border-color: var(--pm-water); box-shadow: 0 0 0 3px var(--pm-focus-ring); outline: 3px solid var(--pm-focus); outline-offset: 2px; }
.hp-search .pm-btn { flex: 0 0 auto; }

/* 바로 가기 타일 */
.hp-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hp-tile { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-height: 96px; box-sizing: border-box; padding: 16px; background: var(--pm-cream); border: 2px solid var(--pm-line); border-radius: var(--pm-r-card); color: var(--pm-ink); text-decoration: none; }
.hp-tile strong { font-family: var(--pm-font-head); font-weight: 400; font-size: 17px; line-height: 1.3; }
.hp-tile span { font-size: 13.5px; line-height: 1.45; color: var(--pm-sub-text); }
.hp-tile:hover { background: var(--pm-soft); }
.hp-tile:focus-visible { outline: 3px solid var(--pm-focus); outline-offset: 2px; }

/* 링크 목록(많이 찾는 질문) */
.hp-links { list-style: none; margin: 0; padding: 0; }
.hp-links li + li { border-top: 1px solid var(--pm-line); }
.hp-links a { display: flex; align-items: center; min-height: 52px; padding: 8px 2px; color: var(--pm-ink); text-decoration: none; font-size: 15.5px; line-height: 1.5; }
.hp-links a::after { content: "›"; margin-left: auto; padding-left: 12px; color: var(--pm-sub-text); font-size: 20px; }
.hp-links a:hover { color: var(--pm-fire-deep); }

/* 공지·내 문의 목록 */
.hp-notices, .hp-mine { list-style: none; margin: 0; padding: 0; }
.hp-notices li + li, .hp-mine li + li { border-top: 1px solid var(--pm-line); }
.hp-notices a, .hp-mine a { display: block; padding: 12px 2px; color: var(--pm-ink); text-decoration: none; min-height: var(--pm-tap); box-sizing: border-box; }
.hp-notices a:hover strong, .hp-mine a:hover strong { color: var(--pm-fire-deep); }
.hp-notices strong, .hp-mine strong { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.5; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
.hp-n-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--pm-sub-text); }
.hp-chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--pm-r-pill); background: var(--pm-soft); color: var(--pm-ink); font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.hp-chip--pin { background: var(--pm-fire); }

/* 처리 상태(접수·확인 중·답변 완료) — 색과 글자를 함께 쓴다 */
.hp-st { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: var(--pm-r-pill); font-size: 12.5px; font-weight: 700; line-height: 1.5; color: var(--pm-ink); }
.hp-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hp-st--received { background: var(--pm-soft2); }
.hp-st--check { background: var(--pm-info-bg); color: var(--pm-info-ink); }
.hp-st--done { background: var(--pm-wood); }

/* 알아 두면 좋아요 */
.hp-info { margin: 0; padding: 0 0 0 20px; display: grid; gap: 10px; font-size: 15px; line-height: 1.7; color: var(--pm-ink); }
.hp-info strong { font-weight: 700; }
.hp-legal { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hp-legal a { display: inline-flex; align-items: center; min-height: var(--pm-tap); color: var(--pm-fire-deep); text-decoration: underline; font-size: 14px; }

/* FAQ */
.hp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.hp-fchip { display: inline-flex; align-items: center; min-height: var(--pm-tap); box-sizing: border-box; padding: 0 16px; border: 2px solid var(--pm-line); border-radius: var(--pm-r-pill); background: var(--pm-cream); color: var(--pm-ink); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.hp-fchip:hover { background: var(--pm-soft); }
.hp-fchip.is-on { background: var(--pm-soft2); border-color: var(--pm-fire); }
.hp-fchip:focus-visible { outline: 3px solid var(--pm-focus); outline-offset: 2px; }
.hp-qs { display: grid; gap: 0; }
.hp-q { border-top: 1px solid var(--pm-line); }
.hp-q:first-child { border-top: 0; }
.hp-q summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; box-sizing: border-box; padding: 10px 2px; cursor: pointer; font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--pm-ink); word-break: keep-all; }
.hp-q summary::-webkit-details-marker { display: none; }
.hp-q summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-left: auto; border-right: 2.5px solid var(--pm-sub-text); border-bottom: 2.5px solid var(--pm-sub-text); transform: rotate(45deg) translate(-2px, -2px); }
.hp-q[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.hp-q summary:focus-visible { outline: 3px solid var(--pm-focus); outline-offset: 2px; border-radius: 8px; }
.hp-a { padding: 0 2px 16px; font-size: 15px; line-height: 1.75; color: var(--pm-ink); }
.hp-a p { margin: 0 0 8px; }
.hp-go { display: inline-flex; align-items: center; min-height: var(--pm-tap); color: var(--pm-fire-deep); font-weight: 700; text-decoration: underline; }

/* 1:1 문의 스킨(목록·작성·보기) 공통 */
.hp-skin .pm-page { padding-top: 28px; }
.hp-radios { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0 0 16px; padding: 0; }
.hp-radios legend { padding: 0; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--pm-ink); }
.hp-radio { position: relative; }
.hp-radio input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.hp-radio span { display: inline-flex; align-items: center; min-height: var(--pm-tap); box-sizing: border-box; padding: 0 16px; border: 2px solid var(--pm-line); border-radius: var(--pm-r-pill); background: var(--pm-cream); color: var(--pm-ink); font-size: 14.5px; font-weight: 700; }
.hp-radio input:checked + span { background: var(--pm-soft2); border-color: var(--pm-fire); }
.hp-radio input:focus-visible + span { outline: 3px solid var(--pm-focus); outline-offset: 2px; }
.hp-hint { margin: 0 0 16px; }
.hp-bug { margin: 0 0 16px; padding: 16px; border: 2px solid var(--pm-line); border-radius: var(--pm-r-card); background: var(--pm-cream); }
.hp-bug h2 { margin: 0 0 8px; font-family: var(--pm-font-head); font-weight: 400; font-size: 17px; }
.hp-bug p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; color: var(--pm-ink); }
.hp-bug .pm-check { margin: 8px 0 10px; }
.hp-meta { margin: 0; padding: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 13.5px; line-height: 1.6; }
.hp-meta dt { font-weight: 700; color: var(--pm-sub-text); }
.hp-meta dd { margin: 0; color: var(--pm-ink); overflow-wrap: anywhere; word-break: keep-all; }
.hp-files { display: grid; gap: 10px; margin: 0 0 16px; }
.hp-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 2px dashed var(--pm-line); border-radius: var(--pm-r-card); background: var(--pm-cream); }
.hp-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.hp-file .hp-fbtn { display: inline-flex; align-items: center; min-height: var(--pm-tap); padding: 0 16px; border-radius: var(--pm-r-input); background: var(--pm-soft); color: var(--pm-ink); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.hp-file input[type="file"]:focus-visible + .hp-fbtn { outline: 3px solid var(--pm-focus); outline-offset: 2px; }
.hp-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid var(--pm-line); }
.hp-fname { flex: 1 1 140px; min-width: 0; font-size: 13.5px; color: var(--pm-sub-text); overflow-wrap: anywhere; }
.hp-fclear { min-height: var(--pm-tap); padding: 0 12px; background: none; border: 0; color: var(--pm-fire-deep); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 14px; }
.hp-write .pm-field textarea { min-height: 200px; }
.hp-write .hp-actions { margin-top: 20px; }

/* 문의 목록 */
.hp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hp-rows a { display: block; padding: 14px 16px; border: 2px solid var(--pm-line); border-radius: var(--pm-r-card); background: var(--pm-cream); color: var(--pm-ink); text-decoration: none; min-height: var(--pm-tap); box-sizing: border-box; }
.hp-rows a:hover { background: var(--pm-soft); }
.hp-rows strong { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; word-break: keep-all; }
.hp-rows .hp-n-top time { margin-left: auto; }
.hp-empty-msg { margin: 0; color: var(--pm-sub-text); font-size: 15px; line-height: 1.7; }
.hp-pg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 0; }
.hp-pg a, .hp-pg strong, .hp-pg span { display: inline-flex; align-items: center; justify-content: center; min-width: var(--pm-tap); min-height: var(--pm-tap); padding: 0 8px; box-sizing: border-box; border-radius: var(--pm-r-input); color: var(--pm-ink); text-decoration: none; font-size: 14.5px; }
.hp-pg strong { background: var(--pm-soft2); }
.hp-pg a:hover { background: var(--pm-soft); }

/* 문의 보기 */
.hp-body { font-size: 15.5px; line-height: 1.85; color: var(--pm-ink); overflow-wrap: anywhere; word-break: keep-all; }
.hp-body img { max-width: 100%; height: auto; }
.hp-shots { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.hp-shots img { display: block; max-width: 100%; max-height: 360px; border: 1px solid var(--pm-line); border-radius: 12px; }
.hp-shots a { display: inline-block; min-height: var(--pm-tap); }
.hp-flow { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: var(--pm-sub-text); }
.hp-flow li { display: inline-flex; align-items: center; gap: 6px; }
.hp-flow li.is-now { color: var(--pm-ink); font-weight: 700; }
.hp-flow li + li::before { content: "→"; color: var(--pm-sub); margin-right: 4px; }
.hp-answer { border-left: 4px solid var(--pm-fire); padding-left: 16px; }
.hp-admin-note { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--pm-r-input); background: var(--pm-info-bg); color: var(--pm-info-ink); font-size: 13.5px; line-height: 1.6; }

/* 공지 스킨 */
.hp-nrows { list-style: none; margin: 0; padding: 0; }
.hp-nrows li + li { border-top: 1px solid var(--pm-line); }
.hp-nrows a { display: block; padding: 14px 2px; min-height: var(--pm-tap); box-sizing: border-box; color: var(--pm-ink); text-decoration: none; }
.hp-nrows strong { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; word-break: keep-all; }
.hp-nrows a:hover strong { color: var(--pm-fire-deep); }

@media (max-width: 480px) {
  .hp-tiles { gap: 10px; }
  .hp-tile { padding: 14px; min-height: 92px; }
  .hp-meta { grid-template-columns: 1fr; gap: 0; }
  .hp-meta dd { margin-bottom: 8px; }
}

/* 쪽 이동(그누보드 get_paging 출력) */
.hp-pg .pg_wrap, .hp-pg .pg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hp-pg .pg_page, .hp-pg .pg_current { display: inline-flex; align-items: center; justify-content: center; min-width: var(--pm-tap); min-height: var(--pm-tap); padding: 0 8px; box-sizing: border-box; border-radius: var(--pm-r-input); color: var(--pm-ink); text-decoration: none; font-size: 14.5px; }
.hp-pg .pg_current { background: var(--pm-soft2); font-weight: 700; }
.hp-pg .pg_page:hover { background: var(--pm-soft); }
.hp-pg .sound_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 문의 지우기(2단계 확인) */
.hp-del { margin: 16px 0 0; }
.hp-del summary { display: inline-flex; align-items: center; min-height: var(--pm-tap); cursor: pointer; color: var(--pm-sub-text); font-size: 14px; text-decoration: underline; }
.hp-del summary:focus-visible { outline: 3px solid var(--pm-focus); outline-offset: 2px; border-radius: 8px; }
.hp-del .pm-btn { margin-top: 8px; }

/* 비회원 문의(guest.php): 사람 눈에는 없는 함정 칸, 동의 안내 */
.hp-honey { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hp-consent .hp-info { margin-bottom: 8px; font-size: 14px; }
.hp-guest .pm-error { margin: 6px 0 0; }
