/* ============================================================
   pages.css — 페이지별 레이아웃 (v6 디자이너 시안)
   ============================================================ */

/* ============ 캠페인 홈 — 히어로(시안 ①) ============ */
.hero { padding: 22px 0 30px; overflow: hidden; }
.hero__ref { margin-bottom: 16px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__bubble {
  position: relative; display: inline-block; padding: 10px 20px; border-radius: 999px; background: #fff; color: var(--navy);
  font-weight: 800; font-size: 15px; letter-spacing: -0.01em; box-shadow: 0 6px 18px rgba(38, 74, 148, .12); z-index: 2;
}
.hero__bubble strong { color: var(--teal); font-weight: 800; }
.hero__bubble::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.hero__stage { position: relative; width: 100%; max-width: 920px; margin: 18px auto 0; }
.phone {
  position: relative; margin: 0 auto; width: min(100%, 640px); aspect-ratio: 640 / 332; border-radius: 34px; background: #fff; padding: 9px;
  box-shadow: 0 22px 56px rgba(38, 74, 148, .18), inset 0 0 0 1.5px #E1E8F0; z-index: 1;
}
.phone__screen { width: 100%; height: 100%; border-radius: 26px; background: var(--grad-screen); display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* lockup 덩어리를 프레임 정중앙에: 퍼센트 폭을 .kv-lock(inline-flex · 내용 폭)이 아니라 화면 폭 기준으로 → 그림이 왼쪽으로 치우치던 원인 제거 */
.phone__screen .kv-lock { width: 74%; align-items: center; justify-content: center; }
.phone__screen .kv-logo { width: 100%; height: auto; }
.hero__item { position: absolute; z-index: 2; display: none; }
.hero__item--mo { display: block; }
.hero__item img { width: 100%; height: auto; }
/* 모바일: 프레임 네 모서리에 좌우 대칭 — 위: 배지 12 ↔ 19, 아래: 캐릭터 초록 ↔ 2 */
@media (max-width: 1023px) {
  .hero__item--mo.hero__item--badge-12 { width: 46px; left: 2%; top: -14px; transform: rotate(-10deg); }
  .hero__item--mo.hero__item--badge-19 { width: 46px; right: 2%; top: -14px; transform: rotate(10deg); }
  .hero__item--mo.hero__item--char-green { width: 56px; left: 3%; bottom: -24px; }
  .hero__item--mo.hero__item--char-2 { width: 56px; right: 3%; bottom: -24px; }
}
.hero__cta { margin-top: 24px; height: 58px; padding: 0 30px; font-size: 18px; border-radius: 16px; gap: 10px; }
.hero__cta .icon { opacity: .9; }
.hero__pill { margin-top: 14px; }
.hero__recert { margin-top: 10px; background: rgba(255,255,255,.85); }
/* 우리 아이 나이 — 구간별 인원 스테퍼(2026-10-30) */
.age-chips__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.age-steppers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
@media (min-width: 640px) { .age-steppers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.age-step { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.age-step.is-on { border-color: var(--teal); background: var(--sky-tint); }
.age-step__label { font-weight: 700; font-size: 14px; color: var(--ink); }
.age-step__ctl { display: inline-flex; align-items: center; gap: 2px; }
.age-step__num { min-width: 22px; text-align: center; font-size: 15px; color: var(--navy); }
.age-step__btn { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.age-step__btn:disabled { opacity: .35; cursor: default; }
.age-step__btn .icon { width: 16px; height: 16px; }
/* 내 서약서 다시보기 */
.recert-img { display: block; width: 100%; max-width: 540px; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.hero__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 1024px) {
  .hero { padding: 36px 0 44px; }
  .hero__bubble { font-size: 20px; padding: 13px 28px; }
  .hero__stage { margin-top: 26px; }
  .hero__item { display: block; }
  .hero__item--mo { display: block; }
  /* PC: 프레임 중심 기준 좌우 대칭 — 짝(왼쪽 ↔ 오른쪽)은 같은 크기·같은 높이·거울 기울기
     위 모서리 배지  12 ↔ ALL  ·  중간 바깥 배지  15 ↔ 19
     위 캐릭터  초록 ↔ 2  ·  아래 캐릭터  5 ↔ 7
     오브제  위 안쪽 obj-1 ↔ obj-4  ·  중간 바깥 obj-3 ↔ obj-3(복제·반전)  ·  아래 안쪽 obj-2 ↔ obj-5 */
  .hero__item--badge-12  { width: 88px; left: 3.5%;  top: -18px; bottom: auto; transform: rotate(-10deg); }
  .hero__item--badge-all { width: 88px; right: 3.5%; top: -18px; bottom: auto; transform: rotate(10deg); }
  .hero__item--badge-15  { width: 86px; left: -1%;   top: 44%; bottom: auto; transform: rotate(9deg); }
  .hero__item--badge-19  { width: 86px; right: -1%;  top: 44%; bottom: auto; transform: rotate(-9deg); }
  .hero__item--char-green { width: 104px; left: 9%;  top: 18%; bottom: auto; transform: rotate(-4deg); }
  .hero__item--char-2    { width: 104px; right: 9%;  top: 18%; bottom: auto; transform: rotate(4deg); }
  .hero__item--char-5    { width: 100px; left: 6.5%;  top: auto; bottom: -18px; transform: rotate(-6deg); }
  .hero__item--char-7    { width: 100px; right: 6.5%; top: auto; bottom: -18px; transform: rotate(6deg); }
  .hero__item--obj-1  { width: 34px; left: 15.5%;  top: 3%; }
  .hero__item--obj-4  { width: 34px; right: 15.5%; top: 3%; }
  .hero__item--obj-3  { width: 36px; left: 9%;  bottom: 30%; }
  .hero__item--obj-3r { width: 36px; right: 9%; bottom: 30%; }
  .hero__item--obj-3r img { transform: scaleX(-1); }
  .hero__item--obj-2  { width: 34px; left: 19.5%;  bottom: 12%; }
  .hero__item--obj-5  { width: 34px; right: 19.5%; bottom: 12%; }
  .hero__cta { margin-top: 34px; height: 64px; padding: 0 40px; font-size: 20px; border-radius: 18px; }
  .hero__pill { margin-top: 16px; }
}

/* ============ 캠페인 홈 — 하단 섹션(지붕 모티프 카드) ============ */
.home-card { padding: 26px 20px; }
.home-card__head { margin-bottom: 18px; }
.home-card__head .sub { margin-top: 6px; }
@media (min-width: 1024px) { .home-card { padding: 40px 44px; } .home-card__head { margin-bottom: 26px; } .home-card__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; } }
.home-card__deco { position: absolute; right: 18px; top: -46px; z-index: 1; }
.home-card__deco .kv-char { --char-w: 76px; }
@media (min-width: 1024px) { .home-card__deco { right: 44px; top: -54px; } .home-card__deco .kv-char { --char-w: 96px; } }

/* 참여 흐름 3단계 */
.flow { display: grid; gap: 12px; }
.flow__item { padding: 16px 18px; border-radius: 18px; background: var(--sky-tint); display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.flow__no { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-cta); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.flow__title { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.flow__desc { margin-top: 4px; color: var(--sub); font-size: var(--fs-sm); }
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .flow__item { grid-template-columns: 1fr; gap: 14px; padding: 26px 28px 28px; }
  .flow__no { width: 42px; height: 42px; font-size: 17px; }
  .flow__title { font-size: 20px; }
  .flow__desc { font-size: 15px; margin-top: 6px; }
}

/* 참여지수 미니 위젯 */
.widget { display: grid; gap: 20px; }
.widget__total { display: flex; align-items: baseline; gap: 10px; }
.widget__total .stat__num { font-size: 36px; }
.widget__list .gauge-row { padding: 12px 0; }
@media (min-width: 1024px) {
  .widget { grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
  .widget__list .gauge-row { grid-template-columns: 180px 1fr 140px; }
}

/* 릴레이 소개 */
.relay-intro { display: grid; gap: 24px; }
.relay-intro__ladder { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ladder-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ladder-row__cond { font-weight: 800; color: var(--navy); font-size: 15px; }
.ladder-row__prize { font-weight: 700; color: var(--ink); }
.ladder-row__prize small { display: block; font-weight: 500; color: var(--sub); font-size: 13px; margin-top: 2px; }
@media (min-width: 1024px) {
  .relay-intro { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .ladder-row { grid-template-columns: 130px 1fr; padding: 18px 0; }
  .ladder-row__cond { font-size: 17px; }
}

/* 안내 카드 */
.info-card { background: var(--sky-tint); box-shadow: none; }
.info-card:hover { background: #fff; }
.info-card .h3 { margin-bottom: 6px; }
.info-card .sub { min-height: 2.6em; }
.info-card .link-arrow { margin-top: 16px; }

/* 경품 배너 */
.event-banner { display: flex; flex-direction: column; gap: 16px; background: var(--gold-tint); }
.event-banner__title { font-size: 20px; font-weight: 800; color: var(--ink); }
.event-banner__items { display: flex; flex-wrap: wrap; gap: 8px; }
.event-banner__prizes { display: grid; grid-template-columns: 1fr; gap: 8px; }
.prize-mini { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid rgba(154, 116, 32, .18); min-width: 0; }
.prize-mini img { width: 64px; height: 44px; object-fit: contain; flex: none; border-radius: 6px; background: var(--soft); }
.prize-mini span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--sub); font-weight: 600; min-width: 0; }
.prize-mini b { font-size: 13px; color: var(--ink); font-weight: 800; line-height: 1.3; }
@media (min-width: 640px) { .event-banner__prizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .event-banner > div { min-width: 0; flex: 1; } .prize-mini img { width: 72px; height: 48px; } }
/* 경품 카드(event) */
.prize-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .prize-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.prize-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
/* 경품 이미지 3종은 같은 1200×750(16:10) 캔버스로 맞춰 두어 PC · 모바일에서 같은 크기로 보입니다(2026-10-30) */
.prize-card__img { aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 0; }
.prize-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prize-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; align-items: flex-start; }
.prize-card__title { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }
.prize-card__title small { display: block; font-size: 13px; color: var(--sub); font-weight: 600; margin-top: 2px; }
.prize-card__win { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: #9A7420; }
.prize-card__win .icon { color: var(--kmrb-gold); }
/* 릴레이 보상 목록(relay) */
.reward-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.reward-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.reward-row__cond { font-weight: 800; color: var(--navy); font-size: 14px; }
.reward-row__text { display: flex; align-items: center; gap: 12px; min-width: 0; }
.reward-row__text > div { min-width: 0; }
.reward-row__text strong { display: block; font-weight: 700; color: var(--ink); line-height: 1.35; }
.reward-row__text strong small { font-weight: 600; color: var(--sub); margin-left: 4px; }
.reward-row__text .sub { display: block; font-size: 13px; margin-top: 2px; }
.reward-row__thumb { flex: none; width: 72px; height: 48px; border-radius: 8px; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.reward-row__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (min-width: 1024px) { .reward-row { grid-template-columns: 110px minmax(0, 1fr); padding: 16px 0; } .reward-row__cond { font-size: 15px; } }
@media (min-width: 1024px) {
  .event-banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .event-banner__title { font-size: 24px; }
}

/* ============ 서약 참여(pledge · 시안 ③) ============ */
.wizard { padding-bottom: 40px; }
.wizard__head { padding: 24px 0 18px; }
.wizard__head .h1 { position: relative; padding-top: 30px; }
.wizard__head .h1::before { content: ''; position: absolute; left: -2px; top: 0; width: 72px; height: 24px; background: url('../assets/kv2/_extracted/roof.svg') no-repeat left bottom / contain; }
.wizard__card { padding: 18px 16px 24px; }
.wizard__top { padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.wizard__top .steps { margin-top: 6px; }
.wizard__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 18px; }
.wizard__main { min-width: 0; }
.wizard__aside { min-width: 0; }
.wizard__top { min-width: 0; }
.wstep { animation: stepIn .25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wstep__sub { padding-top: 20px; border-top: 1px solid var(--line); }
#resumeBox { padding-top: 16px; }
.wizard__deco { display: none; }
@media (min-width: 1024px) {
  .wizard__head { padding: 44px 0 24px; }
  .wizard__head .h1 { padding-top: 36px; }
  .wizard__head .h1::before { width: 86px; height: 29px; }
  .wizard__card { padding: 36px 44px 44px; position: relative; }
  .wizard__top { padding: 0 0 22px; }
  .wizard__top .steps { margin-top: 10px; }
  .wizard__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 32px; }
  .wizard__deco { display: block; position: absolute; z-index: -1; pointer-events: none; }
  .wizard__deco--l { left: -58px; top: 230px; }
  .wizard__deco--r { right: -60px; top: 330px; }
  .wizard__deco .kv-char { --char-w: 92px; }
}
/* 우측 '나의 서약' 요약 패널 — 모바일은 폼 위 한 줄 접힘 바 */
.wizard__aside { order: -1; }
.aside-toggle { width: 100%; max-width: 100%; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--sky-tint); color: var(--navy); font-weight: 700; font-size: 14px; }
.aside-toggle__sum { display: block; flex: 1 1 0; min-width: 0; width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text); font-weight: 600; text-align: left; }
.aside-toggle__sum b { color: var(--navy); margin-right: 8px; }
.aside-toggle .icon { flex: none; transition: transform .2s; }
.aside-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.aside-card { display: none; margin-top: 10px; }
.wizard__aside.is-open .aside-card { display: block; }
.aside-card__title { font-size: 18px; font-weight: 800; color: var(--teal); margin-bottom: 6px; }
.aside-row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; opacity: .55; }
.aside-row.is-active { opacity: 1; }
.aside-row__key { font-size: 15px; font-weight: 700; color: var(--ink); }
.aside-row__val { font-weight: 600; color: var(--ink); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.aside-row__val .sub { font-weight: 500; }
.aside-note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--text); }
.aside-note strong { color: var(--ink); }
@media (min-width: 1024px) {
  .wizard__aside { order: 0; }
  .aside-toggle { display: none; }
  .aside-card { display: block; margin-top: 0; position: sticky; top: calc(var(--header-h) + 24px); padding: 26px 26px 24px; box-shadow: var(--shadow-card); }
  .aside-card__title { font-size: 20px; margin-bottom: 10px; }
  .aside-row { grid-template-columns: 84px 1fr; padding: 15px 0; }
}

/* 단계 이동 바 — 모바일 하단 고정 · PC 본문 하단 */
.wizard-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
}
.wizard-nav .btn { height: 52px; }
.wizard-nav #nextBtn { min-width: 132px; }
.wizard-nav__hint { font-size: 12px; color: var(--sub); text-align: center; line-height: 1.3; }
@media (min-width: 1024px) {
  .wizard-nav { position: static; border: 0; border-top: 1px dashed var(--line); padding: 28px 0 0; margin-top: 36px; background: transparent; }
  .wizard-nav #nextBtn { min-width: 180px; }
  .wizard-nav__hint { font-size: 14px; }
}
.autosave { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sub); font-weight: 600; }
.autosave .icon { color: var(--teal); }
.wizard__save { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.wizard__save-btns { gap: 6px; }
.wizard__save-btns .btn { min-height: 36px; }   /* 모바일 터치 영역(2026-10-30 점검) */
.check__text small { display: block; font-size: 12px; color: var(--sub); font-weight: 500; margin-top: 2px; }
.access-mine { margin-bottom: 14px; }
.access-find summary { cursor: pointer; list-style: none; flex-wrap: wrap; }
.access-find summary::-webkit-details-marker { display: none; }
.access-find summary .icon { color: var(--navy); }
.input.is-invalid { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(236, 109, 101, .18); }
.member--main { border-color: #BFD3F5; box-shadow: 0 0 0 3px rgba(38, 74, 148, .06); }

.chip__del { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; color: var(--sub); margin-left: 2px; }
.chip__del:hover { background: rgba(0,0,0,.06); color: var(--ink); }

/* 체크리스트 카드 */
.check-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.check-card__list { display: grid; gap: 8px; }
@media (min-width: 1024px) { .check-card__list { grid-template-columns: repeat(3, 1fr); } }
.age-chips { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: var(--sky-tint); }
.age-chips__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.age-chips__hint { font-size: 13px; color: var(--navy); font-weight: 600; line-height: 1.5; }
.age-chips__hint ul { display: flex; flex-direction: column; gap: 4px; }
.age-chips__hint li { display: flex; gap: 6px; align-items: flex-start; }
.age-chips__hint .icon { flex: none; margin-top: 2px; color: var(--teal); }

/* 응모 배수 배지 */
.mult-badge {
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 30;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 20px; box-shadow: var(--shadow-float);
}
.mult-badge__label { font-size: 13px; font-weight: 600; opacity: .8; }
.mult-badge__num { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.mult-badge__dots { display: inline-flex; gap: 4px; }
.mult-badge__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); display: inline-block; transition: background .2s; }
.mult-badge__dots i.is-on { background: #FFD166; }
.mult-badge__next { margin-left: auto; font-size: 13px; font-weight: 600; color: #FFD166; }
@media (min-width: 1024px) { .mult-badge { top: calc(var(--header-h) + 16px); padding: 12px 18px; } .mult-badge__num { font-size: 26px; } }

/* 사진 타일 */
.photo-tile { display: flex; flex-direction: column; gap: 14px; }
.photo-tile__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.photo-tile__preview { border-radius: 14px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.photo-tile__preview img { width: 100%; height: 100%; object-fit: contain; }
.photo-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 4 / 3; border-radius: 14px; border: 1.5px dashed #B8C8DA; background: var(--sky-tint);
  color: var(--teal); cursor: pointer; text-align: center; transition: border-color .15s, background .15s;
}
.photo-drop strong { color: var(--ink); font-size: 15px; }
.photo-drop:hover { border-color: var(--teal); background: var(--mint-tint); }
.photo-tile:focus-within .photo-drop { outline: 3px solid var(--teal); outline-offset: 2px; }

/* 가족 서명 카드 */
.member { display: flex; flex-direction: column; gap: 14px; }
.member__head { display: flex; align-items: center; justify-content: space-between; }
.member__fields { display: grid; gap: 12px; }
.member__mode { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .member__fields { grid-template-columns: 1fr 140px; } .member__mode { flex-direction: row; align-items: center; justify-content: space-between; } }
.pad { position: relative; border: 1.5px solid var(--line); border-radius: 14px; background: #FBFBFC; height: 170px; overflow: hidden; }
.pad--tall { height: 210px; }
.pad__canvas { width: 100%; height: 100%; cursor: crosshair; touch-action: none; display: block; }
.pad__hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #B3B7C2; font-size: 15px; font-weight: 600; pointer-events: none; }
.pad::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 34px; border-top: 1px dashed var(--line); pointer-events: none; }
@media (min-width: 1024px) { .pad { height: 190px; } .pad--tall { height: 240px; } }
.palette { display: inline-flex; gap: 8px; }
.palette__swatch { position: relative; }
.palette__swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.palette__swatch span:first-of-type { display: block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid transparent; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.palette__swatch input:checked + span { border-color: #fff; box-shadow: 0 0 0 2px var(--ink); }
.palette__swatch:focus-within span:first-of-type { outline: 3px solid var(--teal); outline-offset: 2px; }
.member--remote .member__remote-body { display: flex; align-items: center; gap: 16px; }
.member--remote img { width: 160px; height: 80px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #FBFBFC; }
.share-box .h3 { display: flex; align-items: center; gap: 8px; }
/* 아이 서명 모드: 다짐 체크 · 따라 쓰기 */
.kid-mode { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: var(--sky-tint); }
.kid-mode .check { padding: 8px 0; }
.kid-mode__sentence { font-family: var(--font-hand); font-size: 30px; color: var(--navy); line-height: 1.2; text-align: center; padding: 6px 0; }
.kid-mode__preview { min-height: 72px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-hand); font-size: 32px; color: var(--navy); padding: 8px 14px; text-align: center; }
.kid-mode__preview.is-empty { color: #B3B7C2; font-size: 20px; }

/* 완료 — 서약서 카드(CI 컬러 유지 · 배경 영향 없음) */
.cert-wrap { display: flex; justify-content: center; }
.cert { width: 100%; max-width: 560px; }
.cert__inner { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); overflow: hidden; border: 1px solid var(--line); padding: 10px; }
.cert__frame { position: absolute; inset: 10px; border: 1px solid var(--kmrb-emerald); border-radius: 16px; opacity: .5; pointer-events: none; }
.cert__frame::after { content: ''; position: absolute; inset: 3px; border: 1px solid var(--kmrb-emerald); border-radius: 13px; opacity: .4; }
.cert__band { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; background: #E4F5F4; margin: 7px 7px 0; border-radius: 11px 11px 0 0; position: relative; }
.cert__band::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 0; border-bottom: 1px dashed rgba(0, 167, 157, .45); }
.cert__band .brand-logo { height: 30px; }
.cert__band .kv-lock--sm { --kv: 19px; }
.cert__body { padding: 18px 22px 14px; }
.cert__meta { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--sub); letter-spacing: .04em; }
.cert__eyebrow { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--kmrb-emerald); }
.cert__title { font-size: 30px; line-height: 1.15; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin-top: 6px; }
.cert__nick { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--kmrb-blue); }
.cert__pfs { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; }
.cert__pf { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.cert__pf .pf { display: inline-block; line-height: 24px; text-align: center; vertical-align: middle; background: #EEEEF7; color: var(--kmrb-blue); }
.cert__pf .pf--logo { display: inline-flex; background: #fff; border: 1px solid var(--line); line-height: 1; }
.cert__sentence { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #F5F6F8; border-left: 3px solid var(--kmrb-emerald); font-size: 14px; line-height: 1.65; color: var(--text); }
.cert__sigs { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cert__sigs--many { grid-template-columns: 1fr 1fr; }
.cert__sigs--crowd { grid-template-columns: 1fr 1fr 1fr; }
.sig { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sig img { width: 100%; height: 64px; object-fit: contain; background: #FBFBFC; border-radius: 10px; border: 1px solid var(--line); }
.sig figcaption { font-size: 12px; font-weight: 700; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig--child { grid-column: 1 / -1; }
.sig--child img { height: 120px; border-color: #E4F5F4; background: #F6FBFA; }
.sig--child figcaption { font-size: 14px; color: var(--ink); }
.cert__sigs--kids2 .sig--child { grid-column: auto; }
.cert__sigs--kids2 .sig--child img { height: 96px; }
.cert__sigs--kids3 .sig--child { grid-column: auto; }
.cert__sigs--kids3 .sig--child img { height: 84px; }
.cert__foot { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cert__qr { width: 84px; height: 84px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: #fff; flex: none; }
.cert__foot-text { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--sub); line-height: 1.5; }
.cert__foot-text strong { color: var(--ink); font-size: 13px; }
.cert__foot-text b { color: var(--kmrb-blue); }
.cert__catch { color: var(--kmrb-emerald); font-weight: 700; }
.cert__host { display: flex; align-items: center; gap: 8px; margin: 0 7px 7px; padding: 10px 16px 12px; border-radius: 0 0 11px 11px; background: var(--kmrb-blue); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.cert__host .brand-logo { height: 20px; }
.cert__inner .stamp { top: 132px; right: 24px; }
@media (min-width: 1024px) {
  .cert__band { padding: 22px 28px 16px; }
  .cert__body { padding: 20px 28px 16px; }
  .cert__title { font-size: 38px; margin-top: 8px; }
  .cert__sentence { font-size: 15px; }
  .cert__inner .stamp { top: 150px; right: 30px; width: 110px; height: 110px; font-size: 17px; }
}
.cert-actions { display: grid; grid-template-columns: 1fr 1fr; }
.cert-actions .btn { width: 100%; padding: 0 12px; }
@media (min-width: 1024px) { .cert-actions { grid-template-columns: repeat(4, 1fr); } }
.png-choice { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.public-toggle { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--sky-tint); }
.public-toggle .toggle { align-items: flex-start; }
.public-toggle .toggle__text { font-size: 15px; }
.public-toggle .toggle__text small { display: block; font-weight: 500; color: var(--sub); margin-top: 2px; font-size: 13px; }

/* PNG 내보내기 캔버스(오프스크린 · 고정 규격) */
.cert-export-area { position: fixed; left: -12000px; top: 0; pointer-events: none; }
.cert-export { background: #fff; overflow: hidden; display: flex; }
.cert-export--story { width: 360px; height: 640px; padding: 14px; }
.cert-export--feed { width: 360px; height: 360px; padding: 10px; }
.cert-export .cert__inner { width: 100%; height: 100%; box-shadow: none; display: flex; flex-direction: column; border-radius: 18px; }
.cert-export .cert__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cert-export .cert__sigs { flex: 1; min-height: 0; overflow: hidden; align-content: start; }
.cert-export .cert__foot { flex: none; }
.cert-export .cert__host { flex: none; }
.cert-export .stamp { opacity: 1; transform: rotate(-12deg) scale(1); animation: none; }
/* html2canvas는 ellipsis+overflow hidden 글자를 잘라 그리므로 내보내기에서는 줄바꿈 허용 */
.cert-export .sig figcaption { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
/* 9:16 */
.cert-export--story .cert__band { padding: 14px 18px 10px; }
.cert-export--story .cert__band .brand-logo { height: 22px; }
.cert-export--story .cert__band .kv-lock--sm { --kv: 15px; }
.cert-export--story .cert__body { padding: 10px 18px 8px; }
.cert-export--story .cert__meta { font-size: 10px; }
.cert-export--story .cert__eyebrow { display: none; }
.cert-export--story .cert__title { font-size: 26px; margin-top: 8px; }
.cert-export--story .cert__nick { font-size: 13px; margin-top: 6px; }
.cert-export--story .cert__pfs { margin-top: 10px; }
.cert-export--story .cert__pf { font-size: 12px; }
.cert-export--story .cert__sentence { font-size: 11px; line-height: 1.45; margin-top: 8px; padding: 8px 10px; }
.cert-export--story .cert__sigs { margin-top: 8px; padding-top: 8px; gap: 6px 8px; grid-template-columns: 1fr 1fr; }
.cert-export--story .cert__sigs--crowd { grid-template-columns: 1fr 1fr 1fr; }
.cert-export--story .sig img { height: 32px; }
.cert-export--story .sig figcaption { font-size: 10px; }
.cert-export--story .sig { gap: 3px; }
.cert-export--story .sig--child { grid-column: 1 / -1; }
.cert-export--story .sig--child img { height: 58px; }
.cert-export--story .sig--child figcaption { font-size: 11.5px; }
.cert-export--story .cert__sigs--kids2 .sig--child, .cert-export--story .cert__sigs--kids3 .sig--child { grid-column: auto; }
.cert-export--story .cert__sigs--kids2 .sig--child img { height: 50px; }
.cert-export--story .cert__sigs--kids3 .sig--child img { height: 44px; }
.cert-export--story .cert__foot { margin-top: 6px; padding-top: 8px; gap: 10px; }
.cert-export--story .cert__qr { width: 56px; height: 56px; }
.cert-export--story .cert__foot-text { font-size: 10px; }
.cert-export--story .cert__foot-text strong { font-size: 11.5px; }
.cert-export--story .cert__host { font-size: 9px; padding: 7px 12px 8px; }
.cert-export--story .cert__host .brand-logo { height: 16px; }
.cert-export--story .cert__host-long, .cert-export--story .cert__catch { display: none; }
.cert-export--story .cert__sigs { overflow: hidden; grid-auto-rows: min-content; }
/* 서명 5명 이상(아이 3 + 보호자 2 등): 3열로 줄여 9:16 안에 모두 들어가게 */
.cert-export--story .cert__sigs--n5 { grid-template-columns: repeat(3, 1fr); gap: 5px 6px; }
.cert-export--story .cert__sigs--n5 .sig--child { grid-column: auto; }
.cert-export--story .cert__sigs--n5 .sig--child img { height: 44px; }
.cert-export--story .cert__sigs--n5 .sig img { height: 30px; }
.cert-export--story .cert__sigs--n5 .sig figcaption { font-size: 9px; }
.cert-export--story .cert__sigs--n5 .sig--child figcaption { font-size: 9.5px; }
.cert-export--story .cert__sigs--n7 .sig--child img, .cert-export--story .cert__sigs--n7 .sig img { height: 26px; }
.cert-export--story .stamp { top: 104px; right: 14px; width: 78px; height: 78px; font-size: 12px; }
/* 1:1 */
.cert-export--feed .cert__frame { display: none; }
.cert-export--feed .cert__inner { padding: 0; }
.cert-export--feed .cert__band { padding: 12px 16px 10px; margin: 0; border-radius: 18px 18px 0 0; }
.cert-export--feed .cert__band .brand-logo { height: 18px; }
.cert-export--feed .cert__band .kv-lock--sm { --kv: 13px; }
.cert-export--feed .cert__body { padding: 10px 16px 8px; }
.cert-export--feed .cert__meta { font-size: 9px; }
.cert-export--feed .cert__eyebrow { display: none; }
.cert-export--feed .cert__title { font-size: 20px; margin-top: 6px; }
.cert-export--feed .cert__title br { display: none; }
.cert-export--feed .cert__nick { margin-top: 2px; font-size: 12px; }
.cert-export--feed .cert__pfs { margin-top: 6px; gap: 4px 10px; }
.cert-export--feed .cert__pf { font-size: 11px; }
.cert-export--feed .cert__sentence { display: none; }
.cert-export--feed .cert__sigs { margin-top: 8px; padding-top: 8px; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); }
.cert-export--feed .sig img { height: 54px; }
.cert-export--feed .sig--child { grid-column: auto; }
.cert-export--feed .sig--child img { height: 54px; }
.cert-export--feed .sig figcaption { font-size: 10px; }
.cert-export--feed .sig--child figcaption { font-size: 10.5px; }
.cert-export--feed .cert__foot { margin-top: 6px; padding-top: 8px; gap: 10px; }
.cert-export--feed .cert__qr { width: 50px; height: 50px; padding: 3px; }
.cert-export--feed .cert__foot-text { font-size: 9.5px; gap: 2px; }
.cert-export--feed .cert__foot-text strong { font-size: 10.5px; }
.cert-export--feed .cert__catch { display: none; }
.cert-export--feed .cert__host { margin: 0; border-radius: 0 0 18px 18px; font-size: 8.5px; padding: 7px 12px 8px; }
.cert-export--feed .cert__host .brand-logo { height: 14px; }
.cert-export--feed .stamp { width: 58px; height: 58px; font-size: 10px; top: 82px; right: 12px; }
.cert-export--feed .stamp small { font-size: 7px; }

/* ============ 보호자 릴레이(relay) ============ */
.relay-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .relay-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } }
.relay-invite__qr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 0 24px; }
.relay-invite__qr img { width: 176px; height: 176px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; }
.relay-tree-card { display: flex; flex-direction: column; }
.relay-tree { padding: 24px 0 8px; }
.tree { display: flex; align-items: flex-start; }
.tree__slot { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 48px; flex: none; }
.tree__node { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--sub); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; transition: background .3s, border-color .3s, color .3s; }
.tree__slot.is-filled .tree__node { background: var(--teal); border-color: var(--teal); color: #fff; }
.tree__slot.is-next .tree__node { border-color: var(--teal); border-style: dashed; color: var(--teal); }
.tree__slot.has-reward .tree__node { box-shadow: 0 0 0 4px var(--gold-tint); border-color: var(--kmrb-gold); color: var(--kmrb-gold); }
.tree__slot.has-reward.is-filled .tree__node { background: var(--kmrb-gold); border-color: var(--kmrb-gold); color: #fff; }
.tree__label { font-size: 11px; font-weight: 700; color: var(--sub); text-align: center; line-height: 1.3; }
.tree__slot.has-reward .tree__label { color: #9A7420; }
.tree__link { flex: 1; height: 2px; background: var(--line); margin-top: 19px; min-width: 8px; }
@media (min-width: 1024px) { .tree__slot { width: 72px; } .tree__node { width: 48px; height: 48px; font-size: 16px; } .tree__link { margin-top: 23px; } .tree__label { font-size: 12px; } }
.relay-tree__stat { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 8px; }
.relay-tree__stat .stat__num { font-size: 44px; }
.relay-tree__next { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; }
.relay-tree__next strong { font-size: 18px; }
.ladder .ladder-row { grid-template-columns: 110px 1fr; border-color: var(--line); }
.ladder .ladder-row__cond { display: inline-flex; align-items: center; gap: 6px; color: var(--sub); }
.ladder .ladder-row.is-done .ladder-row__cond { color: var(--teal); }
.ladder .ladder-row.is-done .ladder-row__prize { color: var(--ink); }
.rule-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.rule-list li:first-child { border-top: 1px solid var(--line); }
.rule-list .icon { color: var(--teal); flex: none; margin-top: 3px; }
.relay-demo { display: flex; justify-content: center; padding: 8px 0 32px; opacity: .7; }

/* ============ OTT 참여지수(index-ott) ============ */
.ott-summary { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ott-summary .stat__num small { font-size: 16px; color: var(--sub); margin-left: 6px; letter-spacing: 0; font-weight: 700; }
@media (min-width: 640px) { .ott-summary { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
#indexList .gauge-row__name > span:last-child { line-height: 1.3; }

/* ============ AI 리포트(report) ============ */
.report-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 48px; }
@media (min-width: 1024px) {
  .report-grid { grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; }
  .report-form { position: sticky; top: calc(var(--header-h) + 24px); }
}
.report-form { display: flex; flex-direction: column; gap: 22px; }
.report-form__hours { display: flex; align-items: baseline; gap: 4px; }
.report-form__hours .num { font-size: 40px; font-weight: 800; color: var(--teal); line-height: 1; }
.report-form__hours small { color: var(--sub); font-weight: 700; font-size: 15px; }
.report-form__ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--sub); }
.report-out { display: flex; flex-direction: column; gap: 16px; }
.rp { display: flex; flex-direction: column; }
.rp__title { font-size: 20px; line-height: 1.4; font-weight: 800; color: var(--ink); margin-top: 8px; letter-spacing: -0.01em; }
.rp__big { font-size: 36px; color: var(--teal); letter-spacing: -0.03em; }
.rp__src { font-size: 12px; color: var(--sub); margin-top: 14px; }
@media (min-width: 1024px) { .rp__title { font-size: 24px; } .rp__big { font-size: 48px; } }
.rp__tiles { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin-top: 18px; position: relative; padding-bottom: 22px; }
.rp__tiles i { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--line); }
.rp__tiles i.is-on { background: var(--navy); animation: tileIn .3s ease both; }
@keyframes tileIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.rp__tiles-note { position: absolute; left: 0; bottom: 0; font-size: 11px; color: var(--sub); }
.rp__kids { display: flex; gap: 6px; margin-top: 16px; }
.kid { width: 100%; max-width: 40px; fill: var(--line); transition: fill .4s; }
.kid.is-on { fill: var(--teal); }
.rp__algo { margin-top: 14px; }
.algo { width: 100%; max-width: 480px; height: auto; display: block; color: var(--navy); }
.algo__labels text { font-size: 12px; font-weight: 700; fill: var(--navy); font-family: var(--font); }
.algo__labels text.is-search { fill: var(--sub); }
.algo__arrow { fill: none; stroke: var(--navy); stroke-width: 2.5; marker-end: url(#ah); stroke-dasharray: 320; stroke-dashoffset: 320; animation: dash 1.1s var(--ease) forwards; color: var(--navy); }
.algo__arrow.is-search { stroke: var(--kmrb-silver); color: var(--kmrb-silver); stroke-dasharray: 6 5; animation: none; stroke-dashoffset: 0; opacity: .8; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.scene { margin-top: 16px; }
.scene__stage { position: relative; height: 260px; border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.scene__stage--now { background: var(--coral-tint); }
.scene__stage--safe { background: var(--mint-tint); }
.scene__face { position: relative; z-index: 1; }
.scene__caption { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 800; color: var(--ink); background: rgba(255,255,255,.8); padding: 4px 10px; border-radius: 8px; }
.bubble { position: absolute; padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 15px; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.08); animation: bubbleIn .4s var(--ease) both; }
.scene__stage--now .bubble { color: var(--coral); }
.scene__stage--safe .bubble { color: var(--teal-deep); }
.bubble--1 { left: 10%; top: 16%; } .bubble--2 { right: 12%; top: 20%; } .bubble--3 { left: 14%; bottom: 24%; } .bubble--4 { right: 10%; bottom: 22%; }
@keyframes bubbleIn { from { transform: translateY(8px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 1024px) { .scene__stage { height: 300px; } .bubble { font-size: 17px; } .bubble--1 { left: 16%; } .bubble--2 { right: 18%; } .bubble--3 { left: 20%; } .bubble--4 { right: 16%; } }
.tip { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.tip__no { font-size: 22px; font-weight: 800; color: var(--teal); line-height: 1.2; }
.rp-cta { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .rp-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ============ 설정 가이드(guide) ============ */
.pdf-placeholder { text-align: center; padding: 40px 24px; }
.pdf-placeholder .card__icon { margin: 0 auto 14px; }
.book { border: 1px solid var(--line); border-radius: 16px; background: var(--soft); padding: 10px; }
.book__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.book__track::-webkit-scrollbar { display: none; }
.book__page { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: flex; justify-content: center; margin: 0; }
.book__page img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(38, 74, 148, .12); cursor: zoom-in; }
.book__nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.book__idx { font-weight: 700; min-width: 64px; text-align: center; }
.book__idx b { color: var(--ink); }
@media (min-width: 1024px) { .book { padding: 18px; } .book__page img { width: auto; max-width: 100%; max-height: 78vh; } }
.guide-step__shot--zoom { cursor: zoom-in; }
.guide-step__shot--zoom:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.pdf-frame { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--soft); }
.pdf-frame object, .pdf-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (min-width: 1024px) { .pdf-frame object, .pdf-frame iframe { height: 720px; } }
.guide-steps { display: grid; gap: 14px; }
.guide-step { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.guide-step__no { display: inline-block; font-size: 12px; font-weight: 800; color: var(--teal); letter-spacing: .06em; margin-bottom: 6px; }
.guide-step__shot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--soft); border: 1px dashed var(--line); color: var(--sub); font-size: 12px; font-weight: 600; overflow: hidden; }
.guide-step__shot img { width: 100%; height: 100%; object-fit: contain; }
.guide-step__shot:has(img) { border-style: solid; background: #fff; }
@media (min-width: 1024px) { .guide-step { grid-template-columns: 1fr 220px; gap: 24px; padding: 20px 24px; align-items: center; } .guide-step__shot { aspect-ratio: 3 / 2; } }
.guide-note { margin-top: 14px; }
.guide-feature { padding: 18px 0 22px; border-top: 1px dashed var(--line); }
.guide-feature:first-child { border-top: 0; padding-top: 4px; }
.guide-feature__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.guide-steps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.guide-step { grid-template-columns: 1fr; gap: 8px; padding: 10px; border-radius: 14px; }
.guide-step__shot { aspect-ratio: 4 / 5; }
.guide-step__desc { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.45; margin-top: 2px; }
@media (min-width: 640px) { .guide-steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .guide-steps { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .guide-step { grid-template-columns: 1fr; gap: 10px; padding: 12px; align-items: start; }
  .guide-step__shot { aspect-ratio: 4 / 5; }
  .guide-step__desc { font-size: 14px; }
}
/* (카드뉴스 슬라이더 스타일은 2026-10-30 섹션 삭제와 함께 제거) */

/* ============ 영화관 관람 안내(cinema) ============ */
.id-notice { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 1024px) { .id-notice { grid-template-columns: 56px 1fr; gap: 24px; padding: 40px; } }
.id-notice .card__icon { margin-bottom: 0; }
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .calc-grid { grid-template-columns: 380px 1fr; gap: 32px; align-items: start; } }
.calc-form { display: flex; flex-direction: column; gap: 16px; }
.calc-result__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 40px 20px; color: var(--kmrb-silver); min-height: 220px; justify-content: center; }
.calc-card__age { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.calc-card__age .num { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.calc-card__age small { color: var(--sub); font-weight: 600; }
.calc-card__rates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .calc-card__rates { grid-template-columns: repeat(4, 1fr); } }
.calc-rate { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 14px; border: 1px solid var(--line); text-align: center; background: #fff; }
.calc-rate--ok { border-color: var(--teal); background: var(--mint-tint); }
.calc-rate--guardian { background: var(--sky-tint); border-color: transparent; }
.calc-rate--no { background: var(--soft); border-color: transparent; }
.calc-rate--no .rate { opacity: .45; }
.calc-rate__name { font-size: 13px; font-weight: 700; color: var(--ink); }
.calc-rate__status { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--sub); }
.calc-rate--ok .calc-rate__status { color: var(--teal-deep); }
.calc-rate--guardian .calc-rate__status { color: var(--navy); }
.comp-list { border-top: 1.5px solid var(--navy); }
.comp-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.comp-row__text { font-weight: 600; color: var(--ink); font-size: 16px; }
@media (min-width: 1024px) { .comp-row { grid-template-columns: 72px 1fr; padding: 24px 0; } .comp-row .rate { width: 60px; height: 60px; font-size: 18px; } .comp-row__text { font-size: 18px; } }
.placeholder-card { border-style: dashed; }

/* ============ 등급체계 · 내용정보(rating · 시안 ②) ============ */
.rating-page { position: relative; }
.rating-page__deco { display: none; }
@media (min-width: 1024px) {
  .rating-page__deco { display: block; position: absolute; pointer-events: none; z-index: 0; }
  .rating-page__deco--l1 { left: -46px; top: 30px; } .rating-page__deco--l1 .kv-char { --char-w: 96px; }
  .rating-page__deco--l2 { left: -22px; top: 250px; } .rating-page__deco--l2 .kv-char { --char-w: 84px; }
  .rating-page__deco--r1 { right: -44px; top: 60px; } .rating-page__deco--r1 .kv-char { --char-w: 96px; }
  .rating-page__deco--r2 { right: -20px; top: 300px; } .rating-page__deco--r2 .kv-char { --char-w: 80px; }
}
.rating-card { position: relative; z-index: 1; }
.rating-card + .rating-card { margin-top: 44px; }
.rating-card__sub { margin-top: 8px; color: var(--text); font-size: 15px; line-height: 1.6; }
.rating-card__sub strong { color: var(--ink); }
.rate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.rate-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 12px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.rate-card .h3 { font-size: 16px; }
.rate-card .sub { font-size: 13px; }
@media (min-width: 640px) { .rate-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .rate-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 28px; }
  .rate-card { padding: 30px 16px 26px; gap: 14px; }
  .rate-card .h3 { font-size: 17px; }
}
.ci-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.ci-card { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.ci-card .h3 { font-size: 15px; }
.ci-card .sub { font-size: 12px; margin-top: 2px; }
.ci-icon { display: block; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #111; }
.ci-icon img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .ci-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
  .ci-card { grid-template-columns: 72px 1fr; gap: 16px; padding: 20px; }
  .ci-icon { width: 72px; height: 72px; border-radius: 14px; }
  .ci-card .h3 { font-size: 18px; }
  .ci-card .sub { font-size: 13px; margin-top: 4px; }
}

/* ============ 경품 · 이벤트(event) ============ */
.entry-card .card__icon { margin-bottom: 12px; }
.draw-card__items li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(199,153,53,.25); font-weight: 600; color: var(--ink); }
.draw-card__items li:last-child { border-bottom: 0; }
.draw-card__items .icon { color: var(--kmrb-gold); flex: none; margin-top: 2px; }
.rule-list--plain .icon { color: var(--navy); }
.how-steps { display: grid; gap: 12px; }
.how-step { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border-radius: 18px; background: var(--sky-tint); }
.how-step__no { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-cta); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.how-step strong { display: block; color: var(--ink); font-size: 16px; }
.how-step__desc { display: block; color: var(--sub); font-size: 13px; margin-top: 2px; }
@media (min-width: 1024px) { .how-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } .how-step { grid-template-columns: 1fr; gap: 12px; padding: 24px; } }

/* ============ 집계 데모(admin) ============ */
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1024px) { .admin-stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.admin-stats .stat__num { font-size: 32px; }
@media (min-width: 1024px) { .admin-stats .stat__num { font-size: 40px; } }
/* v6.1 관리자 — 출시 모드 바 · 검수 버튼 · 선택 체크 · 상세 사진 · 파기 카드 */
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.admin-bar--live { background: var(--teal-tint); border-color: transparent; }
.admin-bar__mode { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.admin-stats--wide { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .admin-stats--wide { grid-template-columns: repeat(5, 1fr); } }
.review-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--soft); }
.review-box .select, .review-box .input { height: 36px; font-size: 14px; }
.review-box .input { min-width: 220px; }
.table .chk { width: 32px; text-align: center; }
.table .chk input { width: 18px; height: 18px; accent-color: var(--teal); }
.detail-media { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-media a, .detail-media figure { display: flex; flex-direction: column; gap: 4px; align-items: center; margin: 0; }
.detail-media img { border-radius: 10px; border: 1px solid var(--line); background: #FBFBFC; object-fit: cover; }
.detail-media .photo { width: 140px; height: 105px; }
.detail-media .sig { width: 120px; height: 60px; object-fit: contain; }
.detail-media .cert-thumb { width: 140px; height: 140px; object-fit: contain; }
.danger-card { border: 1px solid var(--coral); background: var(--coral-tint); }
.danger-card .h3 { color: var(--coral); }
.phone-reveal { font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.admin-reset { display: flex; flex-direction: column; gap: 16px; margin: 16px 0 48px; }
@media (min-width: 640px) { .admin-reset { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ============ 가족 서명 초대 ============ */
.invite { display: grid; grid-template-columns: 1fr; gap: 16px; }
.invite__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; letter-spacing: -0.02em; }
.invite__title { margin-top: 8px; }
.invite .h1::before { display: none; }
.invite .h1 { padding-top: 0; }
@media (min-width: 1024px) { .invite { grid-template-columns: 88px 1fr; gap: 24px; align-items: start; } .invite__avatar { width: 88px; height: 88px; font-size: 26px; } }

/* ============ 내 지목 현황(my) ============ */
.dash-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 40px 20px; color: var(--kmrb-silver); }
.dash-empty--sm { padding: 24px 12px; }
.dash { margin-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.dash-empty { margin-bottom: 48px; }
.dash__head { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) { .dash__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.dash__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dash__entry { grid-column: 1 / -1; }
.dash__entry .stat__num small { font-size: 18px; color: var(--teal); font-weight: 800; }
.dash__stats .stat__num { font-size: 32px; }
@media (min-width: 1024px) { .dash__stats { grid-template-columns: repeat(5, 1fr); gap: 16px; } .dash__stats .stat__num { font-size: 36px; } .dash__entry { grid-column: auto; } }
.dash__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .dash__grid { grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; } }
.dash__share { display: flex; flex-direction: column; gap: 16px; }
.dash__share > div { flex: 1; min-width: 0; }
.dash__qr { width: 120px; height: 120px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
@media (min-width: 1024px) { .dash__share { flex-direction: row; align-items: center; gap: 32px; } }
.invitee-list { display: flex; flex-direction: column; }
.invitee { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.invitee:last-child { border-bottom: 0; }
.invitee__stages { display: inline-flex; gap: 4px; }
.invitee__stages i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); display: inline-block; }
.invitee__stages i.is-1 { background: var(--kmrb-silver); } .invitee__stages i.is-2 { background: var(--navy); } .invitee__stages i.is-3 { background: var(--teal); }
.invitee__text { display: flex; flex-direction: column; min-width: 0; }
.invitee__text strong { color: var(--ink); font-size: 15px; }
.stage-legend { display: flex; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--sub); }
.stage-legend span { display: inline-flex; align-items: center; gap: 6px; }
.stage-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.stage-legend .is-1 { background: var(--kmrb-silver); } .stage-legend .is-2 { background: var(--navy); } .stage-legend .is-3 { background: var(--teal); }
.relay-demo { gap: 8px; flex-wrap: wrap; }
.access-card--relay { margin-top: 0; }
.reward-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.slide__kv .kv-logo { width: 170px; }
.slide--kv .slide__body { padding: 0 20px; }

/* 섹션 장식 캐릭터(원본 SVG · 섹션당 1개) */
.deco-slot { line-height: 0; pointer-events: none; }
.deco-slot .kv-char { --char-w: 96px; }
.deco-slot--head { align-self: flex-end; margin-bottom: -8px; }
.deco-slot--relay { position: absolute; right: 36px; top: -50px; }
.deco-slot--event { position: absolute; right: 230px; top: -46px; }
.deco-slot--event .kv-char { --char-w: 84px; }
.relay-intro, .event-banner { position: relative; }

/* 등급 스탬프(그림 그리기) */
.stamps-wrap { display: flex; flex-direction: column; gap: 6px; }
.stamps { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stamps__label { font-size: 12px; font-weight: 700; color: var(--sub); margin: 0 2px 0 6px; }
.stamps__pen { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; color: var(--text); }
.stamps__item { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 4px; transition: border-color .15s, transform .1s; }
.stamps__item img { width: 100%; height: 100%; object-fit: contain; }
.stamps__item--char { width: 46px; height: 46px; }
.stamps__item:hover, .stamps__pen:hover { border-color: var(--teal); }
.stamps__item.is-on, .stamps__pen.is-on { border-color: var(--teal); background: var(--mint-tint); box-shadow: 0 0 0 2px rgba(0,162,154,.18); transform: translateY(-1px); }
.stamps__help { font-size: 12px; }

/* 릴레이 장려 한 줄(STEP 3) */
.relay-teaser { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--mint-tint); }
.relay-teaser__char { width: 56px; height: auto; flex: none; }
.relay-teaser__text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.5; color: var(--text); }
.relay-teaser__text strong { color: var(--ink); font-size: 14px; }
@media (min-width: 1024px) { .relay-teaser { padding: 14px 20px; gap: 18px; } .relay-teaser__char { width: 68px; } .relay-teaser__text strong { font-size: 15px; } }

/* 완료 — 다음 가족에게 보내기 */
.next-relay { display: flex; flex-direction: column; gap: 18px; }
.next-relay__head { display: grid; grid-template-columns: 1fr; gap: 12px; }
.next-relay__char { width: 72px; height: auto; }
.next-relay__ladder { display: grid; grid-template-columns: 1fr; gap: 10px; }
.next-relay__step { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(0,162,154,.25); }
.next-relay__step.is-done { border-color: var(--teal); background: #fff; }
.next-relay__step.is-done .next-relay__hits::after { content: ' · 달성'; color: var(--teal); }
.next-relay__hits { font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.next-relay__step strong { color: var(--ink); font-size: 15px; }
.next-relay__share { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px dashed rgba(0,162,154,.4); }
.next-relay__link { flex: 1; min-width: 0; }
.next-relay__qr { width: 104px; height: 104px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: #fff; }
@media (min-width: 1024px) {
  .next-relay__head { grid-template-columns: 96px 1fr; gap: 20px; align-items: center; }
  .next-relay__char { width: 96px; }
  .next-relay__ladder { grid-template-columns: repeat(3, 1fr); }
  .next-relay__share { flex-direction: row; align-items: center; gap: 24px; }
}

/* 가족 화면 미리보기(iframe 오버레이) */
.preview { position: fixed; inset: 0; z-index: 85; background: rgba(22,24,31,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.preview__frame { width: min(440px, 100%); height: min(820px, calc(100vh - 32px)); background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-float); }
.preview__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.preview__bar .sub { flex: 1; min-width: 0; font-size: 12px; }
.preview__frame iframe { flex: 1; width: 100%; border: 0; background: #fff; }
/* iframe 안(embed)에서는 헤더·푸터 숨김 */
body.is-embed .site-header, body.is-embed .site-footer, body.is-embed #mobileMenu { display: none !important; }
body.is-embed .page-head { padding-top: 20px; }

/* ============ 홈 서약 갤러리(PHASE 3) ============ */
.gallery { position: relative; overflow: hidden; margin: 0 -20px; padding: 6px 0 10px; }
.gallery__track { display: flex; gap: 14px; width: max-content; padding: 0 20px; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.gallery:hover .gallery__track, .gallery.is-paused .gallery__track { animation-play-state: paused; }
.gallery--static { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery--static .gallery__track { animation: none; }
.gallery--static .gcard { scroll-snap-align: start; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 1024px) { .gallery { margin: 0 -44px; } .gallery__track { padding: 0 44px; } }
.gcard { flex: none; width: 220px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 8px; border: 1px solid rgba(38,74,148,.06); }
.gcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gcard__nick { font-weight: 800; color: var(--ink); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard__date { font-size: 11px; color: var(--sub); font-weight: 600; white-space: nowrap; }
.gcard__pfs { display: flex; flex-wrap: wrap; gap: 4px; }
.gcard__pfs .pf { width: 26px; height: 26px; font-size: 11px; border-radius: 7px; }
.gcard__pfs .pf--logo { width: auto; min-width: 26px; padding: 0 5px; }
.gcard__pfs .pf--logo img { height: 12px; max-width: 54px; }
.gcard__fam { font-size: 12px; color: var(--sub); font-weight: 600; }
.gcard__sig { height: 56px; border-radius: 10px; background: #F6FBFA; border: 1px solid #E4F5F4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gcard__sig img { max-height: 100%; max-width: 100%; object-fit: contain; }
.gcard__sig--none { background: var(--sky-tint); border-color: transparent; font-size: 11px; color: var(--sub); font-weight: 600; }
.gallery__nav { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }

/* 서약서 샘플 보기 모달 */
.modal { position: fixed; inset: 0; z-index: 86; background: rgba(22,24,31,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__panel { width: min(1040px, 100%); max-height: calc(100vh - 32px); background: #fff; border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-float); }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal__title { font-size: 18px; font-weight: 800; color: var(--ink); }
.modal__body { overflow: auto; padding: 18px; display: grid; grid-template-columns: 1fr; gap: 20px; }
.modal__samples { display: flex; flex-direction: column; gap: 14px; }
.modal__sample { display: flex; flex-direction: column; gap: 8px; }
.modal__sample .sub { font-weight: 700; }
.modal__sample .cert-export { transform-origin: top left; }
.modal__sample-wrap { width: 100%; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #F3F6FA; display: flex; justify-content: center; padding: 10px; }
.modal__sample-wrap .cert-export { box-shadow: var(--shadow-card); border-radius: 16px; }
.modal__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.modal__grid .gcard { width: auto; }
@media (min-width: 1024px) {
  .modal__body { grid-template-columns: 440px 1fr; padding: 24px; gap: 28px; }
  .modal__grid { grid-template-columns: repeat(2, 1fr); }
}

/* 설정 가이드 — 블록형 OTT 선택(2026-10-30) */
.ott-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .ott-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
.ott-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ott-tile:hover, .ott-tile:focus-visible { border-color: var(--teal); box-shadow: 0 4px 14px rgba(0,162,154,.15); transform: translateY(-1px); outline: none; }
.ott-tile.is-on { border-color: var(--teal); background: var(--sky-tint); }
.ott-tile__name { line-height: 1.2; word-break: keep-all; }
.ott-tile__soon { font-size: 11px; font-weight: 600; color: var(--sub); }
/* 관람등급 카드 보조 문구(보호자 동반 · 예외) · 보호자 동반관람 제도 설명 */
.rate-card__note { font-size: 12px; font-weight: 600; color: var(--navy); line-height: 1.45; }
.comp-intro .lead { font-size: 15px; }
/* v6.4 관리자(2026-11-01) — 사용 안내 · 목록 줄바꿈 · KPI 대시보드 */
.admin-guide { padding: 0; overflow: hidden; }
.admin-guide > summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 800; color: var(--navy); }
.admin-guide > summary::-webkit-details-marker { display: none; }
.admin-guide > summary .icon { color: var(--navy); }
.admin-guide > summary .sub { margin-left: auto; font-weight: 500; }
.admin-guide[open] > summary { border-bottom: 1px solid var(--line); }
.admin-guide__body { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 18px 20px 22px; }
@media (min-width: 1024px) { .admin-guide__body { grid-template-columns: 1fr 1fr; gap: 32px; } }
.admin-guide__steps { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-sm); line-height: 1.6; color: var(--text); }
.admin-guide__steps strong { color: var(--ink); }
.admin-guide__dl { margin: 10px 0 0; display: grid; grid-template-columns: 1fr; gap: 0; font-size: var(--fs-sm); line-height: 1.55; }
.admin-guide__dl dt { font-weight: 800; color: var(--ink); margin-top: 10px; }
.admin-guide__dl dd { margin: 2px 0 0; color: var(--text); }
.admin-guide b { color: var(--ink); }
#plTable { min-width: 1180px; }
#plTable th, #plTable td { white-space: nowrap; }
#plTable td.wrap { white-space: normal; min-width: 220px; }
.table .nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; }
.kpi-hero { background: #fff; }
.kpi-hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.kpi-hero__num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--teal); margin-top: 6px; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .kpi-hero__num { font-size: 72px; } }
.kpi-hero__side { text-align: right; }
.kpi-bar { position: relative; height: 18px; border-radius: 999px; background: var(--soft); margin-top: 18px; overflow: visible; }
.kpi-bar__fill { height: 100%; border-radius: 999px; background: var(--grad-cta); transition: width .4s; }
.kpi-bar__mark { position: absolute; top: -6px; width: 2px; height: 30px; background: var(--navy); transform: translateX(-1px); }
.kpi-bar__mark::after { content: ''; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.kpi-bar__axis { display: flex; justify-content: space-between; margin-top: 8px; }
.kpi-pos { color: var(--teal-deep); font-weight: 700; }
.kpi-neg { color: var(--coral); font-weight: 700; }
.kpi-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: var(--fs-sm); color: var(--sub); font-weight: 600; }
.kpi-legend__item { display: inline-flex; align-items: center; gap: 6px; }
.kpi-sw { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--teal); }
.kpi-sw--pace { border-top-style: dashed; border-top-color: var(--navy); }
.kpi-sw--today { border-top: 0; width: 2px; height: 14px; background: var(--kmrb-silver); }
.kpi-chart { position: relative; margin-top: 12px; }
.kpi-chart svg { width: 100%; height: auto; display: block; font-family: inherit; }
.kpi-grid { stroke: var(--line); stroke-width: 1; }
.kpi-axis { stroke: #C9D2DD; stroke-width: 1; }
.kpi-tick { font-size: 11px; fill: var(--sub); }
.kpi-label { font-size: 12px; font-weight: 800; fill: var(--ink); }
.kpi-target { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 2 4; opacity: .5; }
.kpi-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.kpi-line--pace { stroke: var(--navy); stroke-dasharray: 6 5; }
.kpi-line--actual { stroke: var(--teal); stroke-width: 2.5; }
.kpi-today { stroke: var(--kmrb-silver); stroke-width: 1; stroke-dasharray: 3 3; }
.kpi-cross { stroke: var(--ink); stroke-width: 1; opacity: .35; }
.kpi-dot { fill: var(--teal); stroke: #fff; stroke-width: 2; }
.kpi-dot--pace { fill: var(--navy); }
.kpi-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.5; padding: 8px 10px; border-radius: 10px; max-width: 220px; box-shadow: var(--shadow-float); }
.kpi-tip b { color: #fff; }
.table--kpi tr.is-today td { background: var(--teal-tint); }
/* 2026-11-02 영화관 — '보호자 동반 관람제도란?' 박스 가독성 */
.comp-intro { padding: 0; overflow: hidden; }
.comp-intro__head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; background: var(--navy); color: #fff; font-weight: 800; font-size: 17px; }
.comp-intro__head .icon { color: #fff; }
.comp-intro__main { margin: 0; padding: 20px 22px 6px; font-size: 17px; line-height: 1.7; font-weight: 700; color: var(--ink); word-break: keep-all; }
.comp-intro__note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 22px 22px; padding: 14px 16px; border-radius: 12px; background: #fff; color: var(--text); font-size: 14px; line-height: 1.65; word-break: keep-all; }
.comp-intro__note .icon { flex: none; color: var(--navy); margin-top: 3px; }
@media (min-width: 1024px) { .comp-intro__head { padding: 18px 32px; font-size: 19px; } .comp-intro__main { padding: 26px 32px 8px; font-size: 19px; } .comp-intro__note { margin: 14px 32px 28px; font-size: 15px; } }
