/* 오른쪽 «채널 바로가기» 퀵메뉴 (요청 72, 2026-11-23) — 모든 공개 페이지 공용. 모양은 quick-menu.js가 만든 nav.qm */
.qm{--qm-deep:#1f4d3a;--qm-line:#e6dfcf;--qm-paper:#fffdf8;--qm-sub:#5f6b62;--qm-focus:#a4533a;
  position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:50;
  display:flex;flex-direction:column;align-items:center;gap:10px;margin:0;padding:0;
  font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif}
.qm ul{list-style:none;margin:0;padding:8px 6px;display:flex;flex-direction:column;gap:6px;
  background:var(--qm-paper);border:1px solid var(--qm-line);border-radius:999px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.qm a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;color:var(--qm-deep);
  font-size:11px;font-weight:700;line-height:1.1;letter-spacing:-.02em;padding:6px 4px;border-radius:18px;min-width:52px}
.qm a svg{width:24px;height:24px;flex:none}
.qm a:hover{background:#f2ede1}
.qm a:focus-visible,.qm button:focus-visible{outline:3px solid var(--qm-focus);outline-offset:3px}
.qm .qm-talk{flex-direction:row;gap:8px;background:#FEE500;color:#191919;font-size:15px;padding:13px 18px 13px 15px;border-radius:999px;box-shadow:0 8px 24px rgba(0,0,0,.18);min-width:0}
.qm .qm-talk:hover{background:#FEE500;filter:brightness(.97)}
.qm .qm-talk svg{width:22px;height:22px}
.qm .qm-more{display:none}
/* 키보드 순서는 «+» → 펼친 3개 → 상담, 보이는 순서는 위에서 3개 → «+» → 상담 (검수 140) */
.qm ul{order:1}.qm .qm-more{order:2}.qm .qm-talk{order:3}
/* 맨 아래까지 내렸을 때 바닥글 링크를 덮지 않게: 바닥글 오른쪽에 메뉴 폭만큼 비움, 바닥글 없는 옛 약관 판은 끝에 메뉴 높이만큼 빈칸 (검수 140) */
html body footer{padding-right:176px;min-height:280px;box-sizing:border-box}
body:not(:has(footer))::after{content:"";display:block;height:260px}
/* 휴대폰: 상담 버튼만 두고 «+»로 나머지 3개를 펼친다(본문·첫 화면 버튼을 덜 가리게) */
@media (max-width:560px){
  .qm{right:12px;bottom:calc(16px + env(safe-area-inset-bottom,0px));gap:8px;width:60px}
  .qm ul{padding:6px 4px}
  .qm a{min-width:48px;padding:6px 2px}
  .qm .qm-talk{padding:13px;font-size:12px}
  .qm .qm-talk span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .qm .qm-more{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;
    border:1px solid var(--qm-line);background:var(--qm-paper);color:var(--qm-deep);box-shadow:0 6px 18px rgba(0,0,0,.12);cursor:pointer;padding:0}
  .qm .qm-more svg{width:20px;height:20px;transition:transform .2s}
  .qm[data-open="false"] ul{display:none}
  html body footer{padding-right:84px;min-height:310px}
  body:not(:has(footer))::after{height:310px}
  .qm[data-open="true"] .qm-more svg{transform:rotate(45deg)}
}
@media (prefers-reduced-motion:reduce){.qm .qm-more svg{transition:none}}
@media print{.qm{display:none}}
