/* 도움말 센터 · 와그작 소식 (help.html · notice.html) — 오너 W-65, 2026-10-06
 * 계획 = docs/PLAN-HELP-CENTER-2026-10-06.md 3절. 와그작 토큰(tokens.css)만 쓴다 — 새 색 값을 만들지 않는다.
 * 갈래 색 = 캐릭터 색: start 할메 purple · run 뿌리 mint · fix 방구 yellow · pay 디디 coral · gift 보보 pink · safe sky.
 * 움직임은 tokens.css 가 prefers-reduced-motion 에서 duration 을 0 으로 바꾼다. 여기서는 transform 만 더 끈다. */

.hc-page {
  background: var(--wz-bg-light);
  color: var(--wz-text-primary);
}

/* 사이트 공통 규칙(tokens.css)이 ja · zh 에도 한국어식 keep-all 을 걸어, 띄어쓰기 없는 문장이 'WAGZAK' 뒤에서 끊기거나
   카드 밖으로 넘친다. 이 두 쪽 안에서만 그 언어의 보통 줄바꿈으로 되돌린다(한국어는 그대로 keep-all). */
html[lang="ja"] .hc-main,
html[lang="zh"] .hc-main,
html[lang="zh-TW"] .hc-main {
  word-break: normal;
  line-break: strict;
}

.hc-wrap {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (max-width: 640px) {
  .hc-wrap { padding-inline: var(--space-4); }
}

/* 갈래 색 — 한 곳에서 정하고 아래는 --hc-c* 만 쓴다 */
[data-hc-color="purple"] { --hc-c: var(--wz-purple); --hc-c-dark: var(--wz-purple-dark); --hc-c-soft: var(--wz-purple-lightest); --hc-c-glow: var(--wz-purple-glow-light); }
[data-hc-color="mint"]   { --hc-c: var(--wz-mint);   --hc-c-dark: var(--wz-mint-darker);  --hc-c-soft: var(--wz-mint-lightest);   --hc-c-glow: var(--wz-mint-glow); }
[data-hc-color="yellow"] { --hc-c: var(--wz-yellow); --hc-c-dark: var(--wz-yellow-darker); --hc-c-soft: var(--wz-yellow-lightest); --hc-c-glow: var(--wz-yellow-glow); }
[data-hc-color="coral"]  { --hc-c: var(--wz-coral);  --hc-c-dark: var(--wz-coral-dark);  --hc-c-soft: var(--wz-coral-lightest);  --hc-c-glow: var(--wz-coral-glow); }
[data-hc-color="pink"]   { --hc-c: var(--wz-pink);   --hc-c-dark: var(--wz-pink-darker);  --hc-c-soft: var(--wz-pink-lightest);   --hc-c-glow: var(--wz-pink-glow); }
[data-hc-color="sky"]    { --hc-c: var(--wz-sky);    --hc-c-dark: var(--wz-sky-darker);   --hc-c-soft: var(--wz-sky-lightest);    --hc-c-glow: var(--wz-sky-glow); }

/* ── 머리 ─────────────────────────────────────────────────────────── */
.hc-hero {
  position: relative;
  overflow: hidden;
  background: var(--wz-bg-cream);
  padding-block: calc(var(--wz-header-height) + var(--space-12)) var(--space-16);
}

/* 6색 동그라미 — 장식. 글자 뒤에 깔린다 */
.hc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 22%, var(--wz-yellow-lightest) 0 46px, transparent 47px),
    radial-gradient(circle at 92% 14%, var(--wz-pink-lightest) 0 70px, transparent 71px),
    radial-gradient(circle at 78% 88%, var(--wz-mint-lightest) 0 90px, transparent 91px),
    radial-gradient(circle at 18% 96%, var(--wz-sky-lightest) 0 60px, transparent 61px),
    radial-gradient(circle at 52% 6%, var(--wz-purple-lightest) 0 22px, transparent 23px),
    radial-gradient(circle at 40% 92%, var(--wz-coral-lightest) 0 16px, transparent 17px);
  opacity: 0.85;
}

.hc-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: var(--space-8);
}

.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--wz-purple-lightest);
  color: var(--wz-purple-darker);
  font-family: var(--font-accent);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
}

.hc-hero__title {
  margin: var(--space-4) 0 var(--space-3);
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.hc-hero__lead {
  margin: 0 0 var(--space-8);
  max-width: 34em;
  color: var(--wz-text-secondary);
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
}

.hc-hero__art {
  justify-self: center;
  width: min(100%, 340px);
}

.hc-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  animation: hc-float 6s var(--ease-gentle) infinite;
}

.hc-hero[data-inview="0"] .hc-hero__art img { animation-play-state: paused; }
/* 2-A+ (2026-10-07) 저사양 · 데이터 절약(html.lite)이면 장식 떠다니기도 없다 — 2-A 원칙 */
:where(html.lite) .hc-hero__art img { animation: none; }

@keyframes hc-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@media (max-width: 860px) {
  .hc-hero { padding-block: calc(var(--wz-header-height) + var(--space-6)) var(--space-12); }
  .hc-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .hc-hero__art { order: -1; width: 150px; justify-self: start; }
  .hc-hero__lead { margin-bottom: var(--space-6); }
}

/* 2-A+ (2026-10-07) MB-06 — 휴대폰 첫 화면. 그림이 제목 위에 한 줄을 따로 차지해 소식 쪽은 첫 화면에 소식이 0개였다.
   그림은 제목 끝쪽 옆에 작게(88px) 두고, 머리 위 여백(main 이 이미 헤더 높이만큼 비운 위에 72+24px 를 또 비웠다)을 절반으로.
   그림 요소는 그대로(LCP 요소 불변) — 크기 · 자리만 바꾼다. 글 묶음을 display: contents 로 풀어 꼬리표 · 제목만 그림 옆 칸에,
   나머지(소개 · 찾기 · 칩)는 두 칸 전체를 쓴다. 칸은 논리 방향이라 아랍어 · 히브리어에서는 그림이 왼쪽으로 거울이 된다. */
@media (max-width: 640px) {
  .hc-hero { padding-block-start: var(--space-12); }
  .hc-hero__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--space-3);
    row-gap: 0;
    align-items: start;
  }
  .hc-hero__grid > :not(.hc-hero__art) { display: contents; }
  .hc-hero__grid > :not(.hc-hero__art) > * { grid-column: 1 / -1; }
  .hc-hero__grid > :not(.hc-hero__art) > .hc-eyebrow { grid-column: 1; grid-row: 1; justify-self: start; }
  .hc-hero__grid > :not(.hc-hero__art) > .hc-hero__title { grid-column: 1; grid-row: 2; overflow-wrap: break-word; }
  .hc-hero__art { grid-column: 2; grid-row: 1 / span 2; order: 0; width: 88px; align-self: center; justify-self: end; }
}

/* ── 찾기 칸 ─────────────────────────────────────────────────────── */
.hc-search {
  position: relative;
  max-width: 600px;
}

.hc-search__icon {
  position: absolute;
  inset-inline-start: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: var(--wz-purple);
  pointer-events: none;
}

.hc-search__input {
  width: 100%;
  height: 60px;
  padding-inline: 58px 56px;
  border: 2px solid var(--wz-purple-lighter);
  border-radius: var(--radius-full);
  background: var(--wz-bg-light);
  box-shadow: var(--shadow-md);
  color: var(--wz-text-primary);
  font: inherit;
  font-size: var(--text-body-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.hc-search__input::placeholder { color: var(--wz-text-tertiary); }

.hc-search__input:focus {
  outline: none;
  border-color: var(--wz-purple);
  box-shadow: 0 0 0 var(--focus-ring-width) var(--focus-ring-color), var(--shadow-lg);
}

.hc-search__input::-webkit-search-cancel-button { display: none; }

.hc-search__clear {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 0;
  border-radius: var(--radius-full);
  background: var(--wz-purple-lightest);
  color: var(--wz-purple-darker);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hc-search__clear[hidden] { display: none; }

.hc-search__clear:hover { background: var(--wz-purple-lighter); }

.hc-hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hc-hot__label {
  color: var(--wz-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-inline-end: var(--space-1);
}

.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid rgba(45, 42, 62, 0.12);
  border-radius: var(--radius-full);
  background: var(--wz-bg-light);
  color: var(--wz-text-primary);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-playful), border-color var(--transition-fast), background-color var(--transition-fast);
}

/* 2-A+ (2026-10-07) MB-11 — 떠오름은 마우스(진짜 호버)에서만. 터치에서는 누른 뒤 다른 곳을 누를 때까지 떠 있는다(끈적한 호버).
   터치의 눌림은 아래 '눌림' 블록이 맡는다. 같은 꼴을 카드 · 소식 카드 · 교사 카드에도 쓴다. */
@media (hover: hover) and (pointer: fine) {
  .hc-chip:hover { transform: translateY(-2px); border-color: var(--wz-purple-light); }
}

.hc-chip[aria-pressed="true"] {
  border-color: var(--hc-c, var(--wz-purple));
  background: var(--hc-c-soft, var(--wz-purple-lightest));
  color: var(--wz-text-primary);
}

.hc-chip__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--hc-c, var(--wz-purple));
}

/* ── 띠 공통 ─────────────────────────────────────────────────────── */
.hc-band { padding-block: var(--space-16); }
.hc-band--cream { background: var(--wz-bg-cream); }

.hc-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hc-band__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: var(--leading-snug);
}

.hc-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--touch-target-min);
  color: var(--wz-purple-dark);
  font-weight: var(--weight-bold);
  text-decoration: none;
  white-space: nowrap;
}

.hc-more:hover { text-decoration: underline; text-underline-offset: 4px; }

.hc-arrow { display: inline-block; transition: transform var(--transition-fast); }
[dir="rtl"] .hc-arrow { transform: scaleX(-1); }
/* 2-A+ (2026-10-07) MB-11 — 화살표 밀기도 마우스에서만(터치에서는 밀린 채 남는다) */
@media (hover: hover) and (pointer: fine) {
  .hc-more:hover .hc-arrow, .hc-link:hover .hc-arrow, .hc-news__card:hover .hc-arrow { transform: translateX(3px); }
  [dir="rtl"] .hc-more:hover .hc-arrow, [dir="rtl"] .hc-link:hover .hc-arrow, [dir="rtl"] .hc-news__card:hover .hc-arrow { transform: scaleX(-1) translateX(3px); }
}

/* ── 갈래 카드 ───────────────────────────────────────────────────── */
.hc-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-cat > span:last-child { min-width: 0; }

.hc-cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
  min-height: 128px;
  padding: var(--space-5) var(--space-6);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  background: var(--hc-c-soft);
  color: var(--wz-text-primary);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-playful), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.hc-cat:focus-visible {
  transform: translateY(-4px);
  border-color: var(--hc-c);
  box-shadow: 0 12px 24px var(--hc-c-glow);
}

/* 2-A+ (2026-10-07) MB-11 — 마우스에서만 떠오른다(키보드 초점은 위 규칙 그대로) */
@media (hover: hover) and (pointer: fine) {
  .hc-cat:hover {
    transform: translateY(-4px);
    border-color: var(--hc-c);
    box-shadow: 0 12px 24px var(--hc-c-glow);
  }
  .hc-cat:hover .hc-cat__art img { transform: scale(1.08) rotate(-3deg); }
}

.hc-cat[aria-current="true"] { border-color: var(--hc-c); }

.hc-cat__art {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: var(--radius-full);
  background: var(--wz-bg-light);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hc-cat__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-normal) var(--ease-playful);
}

.hc-cat__art svg { width: 44px; height: 44px; color: var(--hc-c-dark); }

.hc-cat__name {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-headline-sm);
  line-height: var(--leading-snug);
}

.hc-cat__desc {
  display: block;
  margin-top: var(--space-1);
  color: var(--wz-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.hc-cat__count {
  display: inline-block;
  margin-top: var(--space-2);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  background: var(--wz-bg-light);
  color: var(--hc-c-dark);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

@media (max-width: 960px) {
  .hc-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
}

@media (max-width: 560px) {
  .hc-cat { flex-direction: column; align-items: flex-start; gap: var(--space-3); min-height: 0; padding: var(--space-4); }
  .hc-cat__art { width: 56px; height: 56px; }
  .hc-cat__art svg { width: 30px; height: 30px; }
  .hc-cat__name { font-size: var(--text-body-lg); }
  .hc-cat__desc { display: none; }
}

/* ── 질문 목록 ───────────────────────────────────────────────────── */
.hc-faq__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.hc-faq__status {
  margin-inline-start: auto;
  color: var(--wz-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.hc-group + .hc-group { margin-top: var(--space-12); }
.hc-group[hidden] { display: none; }

.hc-group__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  scroll-margin-top: calc(var(--wz-header-height) + var(--space-4));
}

.hc-group__avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: var(--radius-full);
  background: var(--hc-c-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hc-group__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hc-group__avatar svg { width: 26px; height: 26px; color: var(--hc-c-dark); }

.hc-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-headline-sm);
}

.hc-group__count {
  color: var(--wz-text-tertiary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.hc-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-q {
  border: 1.5px solid rgba(45, 42, 62, 0.08);
  border-radius: var(--radius-lg);
  background: var(--wz-bg-light);
  box-shadow: var(--shadow-xs);
  scroll-margin-top: calc(var(--wz-header-height) + var(--space-4));
  transition: border-color var(--transition-fast), box-shadow var(--transition-normal);
}

.hc-q[hidden] { display: none; }

/* 2-A+ (2026-10-07) MB-11 — 그림자 떠오름도 마우스에서만(터치에서 닫은 질문에 그림자가 남지 않게) */
@media (hover: hover) and (pointer: fine) {
  .hc-q:hover { box-shadow: var(--shadow-md); }
}

.hc-q__h { margin: 0; font: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .hc-q:not(.is-open) .hc-q__btn:hover .hc-q__icon { transform: rotate(90deg); }
}

.hc-q.is-open {
  border-color: var(--hc-c);
  box-shadow: 0 8px 20px var(--hc-c-glow);
}

.hc-q__btn {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  min-height: var(--touch-target-comfortable);
  padding: var(--space-4) var(--space-5);
  border: 0;
  border-radius: inherit;
  background: none;
  color: var(--wz-text-primary);
  font: inherit;
  font-weight: var(--weight-semibold);
  font-size: var(--text-body-lg);
  line-height: var(--leading-snug);
  text-align: start;
  cursor: pointer;
}

.hc-q__btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.hc-q__text { flex: 1 1 auto; }

.hc-q__icon {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--hc-c-soft);
  transition: transform var(--duration-normal) var(--ease-playful), background-color var(--transition-fast);
}

.hc-q__icon::before,
.hc-q__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--hc-c-dark);
  transform: translate(-50%, -50%);
}

.hc-q__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.hc-q.is-open .hc-q__icon { transform: rotate(135deg); background: var(--hc-c); }
.hc-q.is-open .hc-q__icon::before,
.hc-q.is-open .hc-q__icon::after { background: var(--wz-bg-light); }

/* 펼침 — 높이를 grid 로 옮긴다(0fr → 1fr). 닫히고 나면 스크립트가 hidden 을 붙인다 */
.hc-q__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-normal) var(--ease-smooth);
}

.hc-q.is-open .hc-q__panel { grid-template-rows: 1fr; }
.hc-q__panel[hidden] { display: none; }
/* 브라우저 찾기로 열 수 있게 숨긴 답 — 보이지 않지만 찾기는 닿는다(스크립트가 지원 브라우저에서만 붙인다) */
.hc-q__panel[hidden="until-found"] { display: block; content-visibility: hidden; }

.hc-q__inner { overflow: hidden; }

.hc-q__answer {
  margin: 0;
  padding: 0 var(--space-5) var(--space-4);
  padding-inline-end: calc(var(--space-5) + 32px + var(--space-4));
  color: var(--wz-text-secondary);
  font-size: var(--text-body-md);
  line-height: var(--leading-relaxed);
  white-space: pre-line;
}

/* 2-A+ (2026-10-07) MB-08 — 끝쪽 68px 는 PC 의 + 단추 줄에 맞춘 값이다. 휴대폰에서는 글 폭만 줄여(390px 화면에서 270px) 소식 하나가 10줄을 넘었다 */
@media (max-width: 640px) {
  .hc-q__answer { padding-inline-end: var(--space-5); }
}

/* 2-A+ (2026-10-07) MB-07 — 답 · 소식 끝 단추는 누름 자리 48px(도움말 계획 3절), 줄이 넘어가도 위아래 12px 이상 떨어진다.
   48px 상자 안에 글자 위 여백이 이미 있으므로 점선 위 · 아래 띄움은 줄인다(답 높이가 덜 늘게) */
.hc-q__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  margin: 0 var(--space-5) var(--space-2);
  padding-top: var(--space-1);
  border-top: 1px dashed rgba(45, 42, 62, 0.12);
  font-size: var(--text-sm);
}

.hc-q__help { color: var(--wz-text-tertiary); }

.hc-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--touch-target-comfortable);
  color: var(--hc-c-dark, var(--wz-purple-dark));
  font-weight: var(--weight-bold);
  text-decoration: none;
}

.hc-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.hc-copy {
  margin-inline-start: auto;
  min-height: var(--touch-target-comfortable);
  padding: 0 var(--space-4);
  border: 1px solid rgba(45, 42, 62, 0.12);
  border-radius: var(--radius-full);
  background: var(--wz-bg-light);
  color: var(--wz-text-secondary);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
}

.hc-copy:hover { border-color: var(--hc-c); color: var(--wz-text-primary); }

/* 2-A+ (2026-10-07) MB-07 — 휴대폰(터치 + 시스템 공유)에서는 help-center.js 가 '공유하기' 단추를 주소 복사 앞에 그때그때 만들고
   (data-bake-drop — 굽기에 남지 않는다) 복사 단추는 이 규칙으로 가린다. 공유 단추가 없으면(PC · 구운 DOM · JS 없음) 복사 그대로 */
.hc-share + .hc-copy { display: none; }

.hc-q__cta {
  display: inline-flex;
  margin: 0 var(--space-5) var(--space-4);
}

.hc-group__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-3);
  padding-inline-start: var(--space-2);
  font-size: var(--text-sm);
}

mark.hc-hit {
  background: var(--wz-yellow-lightest);
  color: inherit;
  border-radius: 4px;
  padding: 0 2px;
}

/* 찾은 것이 없을 때 */
.hc-empty {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-10) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--wz-bg-light);
  text-align: center;
}

.hc-empty[hidden] { display: none; }
.hc-empty img { width: 132px; height: auto; }

.hc-empty__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-headline-sm);
}

.hc-empty__desc { margin: 0; color: var(--wz-text-secondary); }

/* ── 소식 카드 (도움말 센터 아래 3개 · 소식 쪽 목록) ─────────────── */
.hc-news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-news__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: var(--space-6);
  /* 2-A+ (2026-10-07) MB-11 — 흰 바탕 위 크림 카드라 가장자리가 안 보여 누를 수 있는지 몰랐다. 옅은 테두리 + 끝 화살표 */
  border: 1.5px solid rgba(45, 42, 62, 0.1);
  border-radius: var(--radius-xl);
  background: var(--wz-bg-cream);
  color: var(--wz-text-primary);
  text-decoration: none;
  transition: transform var(--duration-normal) var(--ease-playful), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

/* 끝 화살표 — help-center.js 가 카드 끝에 단다. 꼬리 줄이라 세 카드의 화살표가 같은 높이에 선다(margin-top: auto) */
.hc-news__go {
  margin-top: auto;
  align-self: flex-end;
  color: var(--wz-purple-dark);
  font-weight: var(--weight-bold);
  line-height: 1;
}

/* 2-A+ (2026-10-07) MB-11 — 마우스에서만 떠오른다 */
@media (hover: hover) and (pointer: fine) {
  .hc-news__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--wz-purple-lighter); }
}

.hc-news__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-body-lg);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

.hc-date { color: var(--wz-text-secondary); }

.hc-tag {
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  background: var(--hc-c-soft);
  color: var(--hc-c-dark);
}

.hc-new {
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--wz-coral);
  color: var(--wz-text-inverse);
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 860px) {
  .hc-news { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .hc-news__card { padding: var(--space-5); }
}

/* ── 직접 물어봐요 ───────────────────────────────────────────────── */
.hc-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-10);
  border-radius: var(--radius-2xl);
  background: var(--wz-coral-lightest);
}

.hc-contact__art { width: 120px; height: auto; margin-block: calc(var(--space-8) * -1) calc(var(--space-8) * -1); }

.hc-contact__title {
  margin: 0 0 var(--space-1);
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-headline-md);
}

.hc-contact__desc { margin: 0; color: var(--wz-text-secondary); line-height: var(--leading-relaxed); }

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--btn-height-lg);
  padding: 0 var(--space-8);
  border-radius: var(--btn-radius);
  background: var(--wz-purple);
  color: var(--wz-text-inverse);
  box-shadow: 0 var(--btn-shadow-depth) 0 var(--wz-purple-dark);
  font-family: var(--font-accent);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-body-md);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-playful), box-shadow var(--duration-fast) ease;
}

/* 2-A+ (2026-10-07) MB-11 — 큰 단추의 떠오름도 마우스에서만. 눌림(:active)은 원래대로 모두에게 */
@media (hover: hover) and (pointer: fine) {
  .hc-btn:hover { transform: translateY(-2px); box-shadow: 0 calc(var(--btn-shadow-depth) + 2px) 0 var(--wz-purple-dark); }
}
.hc-btn:active { transform: translateY(var(--btn-shadow-depth)); box-shadow: 0 0 0 var(--wz-purple-dark); }
.hc-btn:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); }

.hc-btn--soft {
  background: var(--wz-bg-light);
  color: var(--wz-purple-dark);
  box-shadow: 0 var(--btn-shadow-depth) 0 var(--wz-purple-lighter);
}

@media (max-width: 760px) {
  .hc-contact { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: var(--space-8) var(--space-6); }
  .hc-contact__art { margin: 0; width: 96px; }
}

/* ── 알림(주소 복사) ─────────────────────────────────────────────── */
.hc-toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-8);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  background: var(--wz-bg-dark);
  color: var(--wz-text-inverse);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-xl);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--duration-normal) var(--ease-playful), opacity var(--transition-fast);
}

.hc-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ── 와그작 소식 쪽 ─────────────────────────────────────────────── */
/* 2-A+ (2026-10-07) 640px 이하는 세 쪽 공용 머리 규칙(MB-06, 88px)이 맡는다 — 여기 크기가 그것을 이기지 않게 범위를 641px 위로 */
@media (min-width: 641px) {
  .nb-hero .hc-hero__art { width: min(100%, 280px); }
}

@media (min-width: 641px) and (max-width: 860px) {
  .nb-hero .hc-hero__art { width: 140px; }
}

.hc-contact--mint { background: var(--wz-mint-lightest); }

.nb-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nb-item .hc-q__btn { align-items: flex-start; }
.nb-item .hc-meta { margin-bottom: var(--space-2); }

.nb-item__title {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-headline-sm);
  line-height: var(--leading-snug);
}

/* ── 스크롤 등장 — 공용 관찰자(js/reveal.js · base.css [data-reveal])가 맡는다(2-A, 2026-10-06). 여기서는 차례(--hc-i)와 거리만 ── */
@media (prefers-reduced-motion: no-preference) {
  :where(html.js:not(.lite)) .hc-main [data-reveal]:not(.is-in) { transform: translateY(16px); }
  .hc-main [data-reveal][data-reveal] { transition-delay: calc(var(--hc-i, 0) * 60ms); }
}

@media (prefers-reduced-motion: reduce) {
  .hc-hero__art img { animation: none; }
  .hc-cat, .hc-chip, .hc-news__card, .hc-btn, .hc-q__icon, .hc-toast { transition: none; }
  .hc-cat:hover, .hc-chip:hover, .hc-news__card:hover, .hc-btn:hover { transform: none; }
  .hc-cat:hover .hc-cat__art img { transform: none; }
}

/* 화면에는 안 보이고 화면 낭독기만 읽는 글 */
.hc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 제목 · 질문 끝에 한두 글자만 홀로 넘어가지 않게(지원 안 하는 브라우저는 그대로) */
.hc-hero__title,
.hc-band__title,
.hc-cat__name,
.hc-q__text,
.nb-item__title,
.hc-news__title {
  text-wrap: pretty;
}

/* ── 교사허브(준비 중 + 서비스 카드) — teachers.html ─────────────── */
.tc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tc-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
  padding: var(--space-6);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  background: var(--hc-c-soft);
  color: var(--wz-text-primary);
  text-decoration: none;
  transition: transform var(--duration-normal) var(--ease-playful), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.tc-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--hc-c);
  box-shadow: 0 12px 24px var(--hc-c-glow);
}

/* 2-A+ (2026-10-07) MB-11 — 마우스에서만 떠오른다(키보드 초점은 위 규칙 그대로) */
@media (hover: hover) and (pointer: fine) {
  .tc-card:hover {
    transform: translateY(-4px);
    border-color: var(--hc-c);
    box-shadow: 0 12px 24px var(--hc-c-glow);
  }
  .tc-card:hover .hc-arrow { transform: translateX(3px); }
  [dir="rtl"] .tc-card:hover .hc-arrow { transform: scaleX(-1) translateX(3px); }
}

.tc-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tc-card__name {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-headline-sm);
  line-height: var(--leading-snug);
}

.tc-card__slogan {
  color: var(--hc-c-dark);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
}

.tc-card__desc {
  flex: 1 1 auto;
  color: var(--wz-text-secondary);
  line-height: var(--leading-relaxed);
}

.tc-card__go {
  margin-top: var(--space-2);
  color: var(--hc-c-dark);
  font-weight: var(--weight-bold);
}

.tc-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  text-align: center;
  color: var(--wz-text-secondary);
}

.tc-ask p { margin: 0; }

@media (max-width: 860px) {
  .tc-cards { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
}

/* 2-A+ (2026-10-07) C-28 — 휴대폰에서는 머리가 짧아져(MB-06) 첫 카드가 첫 화면에 들고, 그 카드 글이 가장 큰 글(LCP)이 된다.
   등장 효과로 0.8초 숨기면 LCP 가 그만큼 늦는다(실측 380 → 1232ms). 첫 카드만 처음부터 최종 상태로 둔다 */
@media (max-width: 640px) {
  .tc-cards > li:first-child[data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-card { transition: none; }
  .tc-card:hover { transform: none; }
}

/* 2-A+ (2026-10-07) MB-11 — 터치의 눌림. 누르는 동안만 살짝 작아진다(개별 속성 scale — 카드 자신의 transform 과 싸우지 않는다).
   마우스는 위 떠오름이 맡고, 움직임 줄이기면 걸지 않는다. 세 쪽의 카드 정의보다 뒤에 둬야 transition 이 이긴다(파일 끝) */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .hc-chip, .hc-cat, .hc-news__card, .tc-card {
    transition: transform var(--duration-normal) var(--ease-playful), scale var(--duration-fast) var(--ease-smooth),
      box-shadow var(--transition-normal), border-color var(--transition-fast), background-color var(--transition-fast);
  }
  .hc-chip:active, .hc-cat:active, .hc-news__card:active, .tc-card:active { scale: 0.98; }
}


/* ── 2-C (2026-10-07) 쪽 안 길찾기 — 도움말 질문 목록 (MB-02 · MB-05 · P-20) ─────────────────────
   docs/PLAN-NEXT-STAGES-2026-10-07.md 4절. 위 2-A+ (2026-10-07) 블록(MB-06 · MB-07 · MB-08 · MB-11)은 그대로 두고 그 위에 얹는다.
   ① 갈래 칩 줄이 질문 목록 구간(#faq 안 .hc-wrap)에서만 헤더 아래에 붙는다(PC 도). 붙는 범위는 부모 상자라 목록을 벗어나면 따라 올라간다.
   ② 860px 이하는 칩 줄을 한 줄 가로 밀기(높이 48px)로 — 세 줄(137px)이던 것.
   ③ 지금 보는 갈래 칩 표시(.is-here) · 붙었을 때 아래 실선(.is-stuck) — help-center.js 가 스크롤 때만 단다(굽는 순간에는 스크롤이 없어 남지 않는다).
   ④ 찾기 칸 아래 미리보기(.hc-peek) — help-center.js 가 data-bake-drop 으로 만든다(구운 쪽에는 없다). */
.hc-faq {
  --hc-stick-top: var(--header-height, 60px);
  --hc-bar-h: 56px;
}
@media (max-width: 900px) {
  .hc-faq { --hc-stick-top: var(--header-height-mobile, 52px); }
}
@media (max-width: 860px) {
  .hc-faq { --hc-bar-h: 48px; }
}
/* 헤더가 스크롤에 숨는 꼴이 되면(지금 도움말 헤더는 안 숨는다) 칩 줄이 그 자리로 올라간다 — 헤더 정리 뒤에도 허공에 뜨지 않게 */
.hc-page:has(.wz-header--hidden) .hc-faq { --hc-stick-top: 0px; }

.hc-faq__bar {
  position: sticky;
  top: var(--hc-stick-top);
  z-index: 5;
  padding-block: var(--space-2);
  margin-bottom: var(--space-4);
  background: var(--wz-bg-cream);
  /* 바탕을 화면 끝까지 — 상자 크기는 그대로 두고 그림자로 칠한다(붙었을 때 칩 옆으로 질문 카드가 비치지 않게) */
  box-shadow: 0 0 0 100vmax var(--wz-bg-cream);
  clip-path: inset(0 -100vmax);
  transition: top var(--duration-normal) var(--ease-smooth);
}
.hc-faq__bar.is-stuck {
  box-shadow: 0 0 0 100vmax var(--wz-bg-cream), 0 1px 0 100vmax rgba(45, 42, 62, 0.1);
  clip-path: inset(0 -100vmax -1px);
}

/* 질문 · 갈래 머리로 바로 갈 때(#q-… · 많이 찾는 질문 칩) 붙은 칩 줄에 가리지 않게. JS 가 실제 높이로 한 번 더 맞춘다 */
.hc-faq .hc-q,
.hc-faq .hc-group__head {
  scroll-margin-top: calc(var(--hc-stick-top) + var(--hc-bar-h) + var(--space-3));
}

/* 지금 보는 갈래 — 눌린 칩(옅은 바탕)과 다르게 테두리만 그 갈래 색으로 진하게 */
.hc-faq__bar .hc-chip.is-here {
  border-color: var(--hc-c, var(--wz-purple));
  box-shadow: inset 0 0 0 1px var(--hc-c, var(--wz-purple));
}

@media (max-width: 860px) {
  .hc-faq__bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: calc(var(--space-6) * -1);
    padding: 2px var(--space-6);
    scroll-padding-inline: var(--space-6);
    box-shadow: none;
    clip-path: none;
  }
  .hc-faq__bar::-webkit-scrollbar { display: none; }
  .hc-faq__bar.is-stuck { box-shadow: 0 1px 0 rgba(45, 42, 62, 0.1); clip-path: none; }
  .hc-faq__bar > .hc-chip {
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  /* 가로 밀기 상자는 위아래를 잘라 바깥 초점 테두리가 반쯤 숨는다 — 칩 안쪽에 그린다 */
  .hc-faq__bar > .hc-chip:focus-visible { outline-offset: -3px; }
  /* 몇 개 찾았는지는 찾기 칸 아래 미리보기가 보여 준다. 이 줄은 화면 낭독기만 읽는다(알림 자리는 그대로 하나) */
  .hc-faq__bar > .hc-faq__status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media (max-width: 640px) {
  .hc-faq__bar {
    margin-inline: calc(var(--space-4) * -1);
    padding-inline: var(--space-4);
    scroll-padding-inline: var(--space-4);
  }
}

/* 찾기 미리보기 — 휴대폰에서는 자판이 결과 목록을 덮어 글을 쳐도 아무 일이 없는 것처럼 보였다.
   칸 바로 아래에 '몇 개 찾았나' + 맞은 질문 제목 3개(링크만 — 질문을 복제하지 않는다, 같은 id 두 개 금지) + 결과로 가기 */
.hc-peek {
  max-width: 600px;
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-4) var(--space-1);
  border: 1.5px solid var(--wz-purple-lighter);
  border-radius: var(--radius-lg);
  background: var(--wz-bg-light);
  box-shadow: var(--shadow-sm);
}
.hc-peek[hidden] { display: none; }

.hc-peek__count {
  margin: var(--space-1) 0 0;
  color: var(--wz-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.hc-peek__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-peek__q {
  display: flex;
  align-items: center;
  min-height: var(--touch-target-min);
  padding-block: var(--space-1);
  border-bottom: 1px dashed rgba(45, 42, 62, 0.12);
  color: var(--wz-text-primary);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  text-decoration: none;
}
.hc-peek__q > span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hc-peek__all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--touch-target-min);
  color: var(--wz-purple-dark);
  font-weight: var(--weight-bold);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .hc-peek__q:hover > span,
  .hc-peek__all:hover { text-decoration: underline; text-underline-offset: 3px; }
}

.hc-peek__q:focus-visible,
.hc-peek__all:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  .hc-faq__bar { transition: none; }
}
