/* ============================================================
   KKUMI 공통 스타일 — _LIVE_DEMO 전용
   (각 페이지의 .kkumi-* 네임스페이스 CSS와 중복되지 않게 설계)
   ============================================================ */

/* HTML/Body 리셋 — 페이지가 화면 가운데 정렬되도록 */
html, body {
  margin: 0;
  padding: 0;
  background: #f7f3f5;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Noto Sans KR", Arial, sans-serif;
  scroll-behavior: smooth;
}

/* 🔆 큰 글자 자간/굵기 글로벌 조정 (두석님 피드백: 너무 답답함)
   페이지별 CSS가 우선 — 이 규칙은 페이지별 정의가 없을 때만 적용 */
h2, h3, .kkumi-modal h2 {
  letter-spacing: -0.02em;
  font-weight: 800;
}
/* h1는 페이지마다 다양해서 글로벌 적용 X — 각 페이지 hero h1에서 직접 정의 */
.info-card h3, .reel-vid-title, .com-card h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* KKUMI 로고 이미지 */
.kkumi-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
@media (max-width: 760px) {
  .kkumi-logo-img { height: 22px; }
}

/* 모든 페이지에 공통 - .site 외부 여백 */
body { min-height: 100vh; }

/* ============================================================
   ✨ 글로벌 가독성 보강 — h1/h2/h3 자간 + 단어 간격 표준화
   영문/한글 공통: 너무 좁은 자간으로 인한 겹침 방지
   ============================================================ */
h1, h2, h3 {
  word-spacing: 0.01em;
  line-height: 1.08;
}
/* 큰 hero 텍스트는 약간 더 여유 */
.hero h1, .article-hero h1 {
  word-spacing: 0.015em;
  line-height: 1.05;
}

/* ============================================================
   🇰🇷 한국어 모드 자간 보정 — 영문 음수 letter-spacing이
   한국어 글자에 적용되면 겹쳐 보이는 문제 방지
   ============================================================ */
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] h4 {
  letter-spacing: -0.005em !important;
  word-spacing: 0.02em !important;
  line-height: 1.18 !important;
}
html[lang="ko"] .hero h1,
html[lang="ko"] .p-name-en,
html[lang="ko"] .featured-article h2,
html[lang="ko"] .article-hero h1,
html[lang="ko"] .next-booking h3,
html[lang="ko"] .com-card h4,
html[lang="ko"] .section-head h2 {
  letter-spacing: 0 !important;
  line-height: 1.22 !important;
}
html[lang="ko"] .reel-info h3,
html[lang="ko"] .reel-vid-title,
html[lang="ko"] .ttl,
html[lang="ko"] .badge,
html[lang="ko"] .kicker {
  letter-spacing: 0 !important;
}
/* 본문 paragraph도 한국어는 조금 더 여유 */
html[lang="ko"] p {
  word-break: keep-all;
}

/* ============================================================
   🎨 KKUMI Custom Icons (SVG hydration)
   .kk-ico = inline-flex slot, SVG는 currentColor를 따라감
   ============================================================ */
.kk-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
  line-height: 1;
}
.kk-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* 푸터 드롭다운 아이콘 (.kf-pop .ico)는 size 조금 더 크게 */
.kkumi-footer .kf-pop a .ico .kk-ico {
  width: 14px;
  height: 14px;
}
/* SNS 동그라미 아이콘 */
.kkumi-partner .sns-row a .ico {
  width: 28px;
  height: 28px;
}
.kkumi-partner .sns-row a .ico .kk-ico {
  width: 14px;
  height: 14px;
}

/* ============================================================
   🌐 Language Dropdown (헤더)
   ============================================================ */
.kkumi-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffd5de;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 850;
  color: #333;
  cursor: pointer;
  transition: 0.15s ease;
}
.kkumi-lang-btn:hover { border-color: #FF5E7B; color: #FF5E7B; }
.kkumi-lang-btn .kkumi-lang-caret { width: 12px; height: 12px; opacity: 0.6; }
.kkumi-lang-btn .kk-ico:first-child { width: 14px; height: 14px; color: #FF5E7B; }
.kkumi-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #fbd0d9;
  border-radius: 16px;
  padding: 6px;
  min-width: 160px;
  box-shadow: 0 18px 50px rgba(255, 94, 123, 0.22);
  display: none;
  z-index: 100;
}
.kkumi-lang-menu.open { display: block; }
.kkumi-lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #333;
  cursor: pointer;
  transition: 0.15s ease;
}
.kkumi-lang-menu button .lang-label { flex: 1; }
.kkumi-lang-menu button .lang-check {
  width: 16px;
  height: 16px;
  opacity: 0;
  color: #fff;
  transition: 0.15s ease;
}
.kkumi-lang-menu button:hover { background: #fff0f4; color: #FF5E7B; }
.kkumi-lang-menu button.active,
.actions .kkumi-lang-menu button.active {
  background: linear-gradient(135deg, #FF5E7B, #ff9bad) !important;
  background-color: #FF5E7B !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 16px rgba(255, 94, 123, 0.32) !important;
  border: 0 !important;
}
.kkumi-lang-menu button.active .lang-check { opacity: 1 !important; }
.kkumi-lang-menu button.active:hover { color: #fff !important; }

/* ============================================================
   🌸 공통 푸터 (kkumi-footer) — 디자이너 시안 밝은 핑크 톤
   common.js의 injectFooter()가 모든 페이지에 자동 주입
   ============================================================ */
.kkumi-footer { padding: 40px clamp(20px, 6vw, 84px) 100px; position: relative; }
.kkumi-footer .kf-card {
  background: linear-gradient(180deg, #fdeef2 0%, #fce4eb 100%);
  color: #1c1416;
  border-radius: 38px;
  padding: 36px 36px 56px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.kkumi-footer .kf-card .kf-watermark-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 28px;
  overflow: hidden;
  pointer-events: none;
}
.kkumi-footer .kf-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  position: relative;
  z-index: 3;
}
.kkumi-footer .kf-item { position: relative; }
.kkumi-footer .kf-nav a {
  color: #1c1416;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  transition: color 0.15s ease;
  text-decoration: none;
}
.kkumi-footer .kf-nav a:hover,
.kkumi-footer .kf-nav a.open { color: #FF5E7B; }
.kkumi-footer .kf-nav a .caret {
  font-size: 8px;
  opacity: 0.55;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.kkumi-footer .kf-nav a.open .caret {
  transform: rotate(180deg);
  opacity: 1;
}
/* 드롭다운 — KKUMI 워터마크 위로 떠야 함 */
.kkumi-footer .kf-pop {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  background: #fff;
  border: 1px solid #fbd0d9;
  border-radius: 18px;
  padding: 10px;
  min-width: 220px;
  box-shadow: 0 18px 50px rgba(255, 94, 123, 0.25);
  display: none;
  z-index: 50;
}
.kkumi-footer .kf-pop.open { display: block; }
.kkumi-footer .kf-pop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #1c1416;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: 0.15s ease;
}
.kkumi-footer .kf-pop a:hover {
  background: #fff0f4;
  color: #FF5E7B;
}
.kkumi-footer .kf-pop a .ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fbd0d9;
  color: #FF5E7B;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}
.kkumi-footer .kf-card .kf-mark {
  display: block;
  margin: 0 auto;
  font-size: clamp(80px, 22vw, 280px);
  font-weight: 950;
  letter-spacing: -0.07em;
  color: rgba(255, 94, 123, 0.14);
  line-height: 0.86;
  text-align: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  width: 100%;
  white-space: nowrap;
  text-overflow: clip;
}
.kkumi-footer .kf-card .kf-copy {
  position: relative;
  text-align: center;
  margin-top: 18px;
  color: rgba(28, 20, 22, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  z-index: 2;
  display: block;
}
.kkumi-footer .kf-card .kf-tag {
  display: none; /* 카피 라이트와 가운데 모드에서는 숨김 */
}

/* PARTNER APPLY를 다른 메뉴와 동일한 톤으로 통일 (눌렀을 때만 핑크) */
.kkumi-footer .kf-nav .partner-apply-link {
  color: #1c1416;
  font-weight: 900;
}
.kkumi-footer .kf-nav .partner-apply-link:hover { color: #FF5E7B; }

/* 모바일 반응형 */
@media (max-width: 760px) {
  .kkumi-footer { padding: 24px 22px 96px; }
  .kkumi-footer .kf-card { padding: 22px 22px 24px; border-radius: 24px; min-height: 240px; }
  .kkumi-footer .kf-nav { gap: 14px 20px; font-size: 10px; }
  .kkumi-footer .kf-card .kf-watermark-wrap { margin-top: 20px; }
  .kkumi-footer .kf-card .kf-mark { font-size: clamp(64px, 18vw, 140px); letter-spacing: -0.07em; }
  .kkumi-footer .kf-card .kf-copy { font-size: 9px; margin-top: 16px; letter-spacing: 0.08em; }
  .kkumi-footer .kf-pop { left: 0; min-width: 200px; }
}
@media (max-width: 420px) {
  .kkumi-footer .kf-card { padding: 20px 18px 22px; }
  .kkumi-footer .kf-nav { gap: 12px 16px; font-size: 9.5px }
  .kkumi-footer .kf-card .kf-mark { font-size: clamp(56px, 16vw, 110px); }
  .kkumi-footer .kf-card .kf-copy { font-size: 8.5px; }
}

/* ============================================================
   매칭 프리뷰 모달 — Home 등에서 호출 (디자이너 demo HTML 기반)
   ============================================================ */
.kkumi-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 14, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: kkumi-fade-in 0.25s ease;
}
.kkumi-modal-overlay.open { display: flex; }
.kkumi-modal {
  background: #fff;
  border-radius: 32px;
  padding: 36px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(255, 94, 123, 0.4);
  animation: kkumi-pop-in 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.kkumi-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ffd5de;
  background: #fff0f4;
  color: #ff5e7b;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kkumi-modal-close:hover { background: #ff5e7b; color: #fff; }
.kkumi-modal h2 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 950;
  color: #111;
}
.kkumi-modal p { margin: 0 0 18px; color: #666; line-height: 1.55; font-size: 14px; }
.kkumi-modal .modal-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.kkumi-modal .modal-stat div {
  background: #fff0f4;
  border-radius: 16px;
  padding: 14px;
}
.kkumi-modal .modal-stat small {
  display: block;
  color: #ff5e7b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kkumi-modal .modal-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.kkumi-modal .modal-cta {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.kkumi-modal .modal-cta button {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 14px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.kkumi-modal .modal-cta .primary {
  background: #ff5e7b;
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 94, 123, 0.3);
}
.kkumi-modal .modal-cta .ghost {
  background: #fff;
  color: #111;
  border: 1px solid #ffd5de;
}

/* ============================================================
   토스트 알림 (저장됨, 복사됨 등)
   ============================================================ */
.kkumi-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #211919;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  pointer-events: none;
}
.kkumi-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes kkumi-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes kkumi-pop-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   모바일 하단 탭 자리 확보 — 모바일에서 본문이 가리지 않게
   ============================================================ */
@media (max-width: 760px) {
  body { padding-bottom: 80px; }
}

/* ============================================================
   🌟 Floating "Start AI Diagnosis" CTA — 스크롤 시 따라다니는 버튼
   ============================================================ */
.kkumi-fab {
  position: fixed;
  z-index: 9000;
  right: 28px;
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff5e7b 0%, #ff8da2 100%);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 16px 24px 16px 18px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(255, 94, 123, 0.45),
              0 0 0 4px rgba(255, 255, 255, 0.95);
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.kkumi-fab.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.kkumi-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 50px rgba(255, 94, 123, 0.55),
              0 0 0 4px rgba(255, 255, 255, 0.95);
}
.kkumi-fab .fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
  animation: kkumi-fab-spark 2.2s ease infinite;
}
.kkumi-fab .fab-label { display: inline-block; line-height: 1; }
.kkumi-fab .fab-sub {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 800;
  opacity: 0.85;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes kkumi-fab-spark {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(20deg) scale(1.08); }
}

/* 모바일: 컴팩트 칩 형태 (우하단 + 하단탭 위) */
@media (max-width: 760px) {
  .kkumi-fab {
    right: 16px;
    left: auto;
    bottom: 88px;  /* 모바일 하단탭(80px) 위에 */
    padding: 12px 18px 12px 14px;
    border-radius: 999px;
    gap: 8px;
    font-size: 13px;
    box-shadow: 0 14px 32px rgba(255, 94, 123, 0.45);
  }
  .kkumi-fab .fab-icon { width: 26px; height: 26px; font-size: 13px; }
  .kkumi-fab .fab-sub { display: none; }
  .kkumi-fab .fab-label { line-height: 1.15; }
  body { padding-bottom: 156px; } /* 하단탭 + FAB 공간 확보 */
}
/* 매우 작은 모바일(380px 이하) — 아이콘만 보여주는 동그란 FAB */
@media (max-width: 380px) {
  .kkumi-fab {
    padding: 14px;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }
  .kkumi-fab .fab-label { display: none; }
  .kkumi-fab .fab-icon { width: 28px; height: 28px; font-size: 15px; }
}

/* 진단 진행 중 페이지에서는 안 보이게 (data-page로 제어) */
body[data-page="scan-landing"] .kkumi-fab,
body[data-page="scan-question"] .kkumi-fab,
body[data-page="scan-result"] .kkumi-fab {
  display: none !important;
}

/* ============================================================
   🚇 지하철역 자동완성 드롭다운
   ============================================================ */
.kkumi-ac-dropdown {
  position: absolute;
  z-index: 9500;
  background: #fff;
  border: 1px solid #ffd5de;
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(255, 94, 123, 0.22), 0 0 0 4px rgba(255, 255, 255, 0.9);
  padding: 8px;
  max-height: 360px;
  overflow-y: auto;
  font-family: Inter, Arial, sans-serif;
}
.kkumi-ac-empty {
  padding: 18px 14px;
  font-size: 13px;
  color: #888;
  text-align: center;
  font-weight: 700;
}
.kkumi-ac-header {
  padding: 8px 14px 6px;
  font-size: 10px;
  font-weight: 900;
  color: #ff5e7b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kkumi-ac-partner-tag {
  display: inline-block;
  margin-top: 4px;
  background: linear-gradient(135deg, #FF5E7B, #ff9bad);
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kkumi-ac-item.is-partner {
  background: linear-gradient(180deg, #fff8fa, #fff);
  border: 1px solid #ffd5de;
}
.kkumi-ac-item.is-partner:hover,
.kkumi-ac-item.is-partner.focused {
  background: #ffe8ee;
  border-color: #FF5E7B;
}
.kkumi-ac-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease, transform 0.12s ease;
  font-family: inherit;
}
.kkumi-ac-item:hover,
.kkumi-ac-item.focused {
  background: #fff0f4;
  transform: translateX(2px);
}
.kkumi-ac-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.kkumi-ac-main strong {
  font-size: 14px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.02em;
}
.kkumi-ac-ko {
  font-size: 11px;
  color: #999;
  font-weight: 700;
}
.kkumi-ac-lines {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.kkumi-ac-line {
  display: inline-flex;
  align-items: center;
  background: #fff0f4;
  color: #ff5e7b;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
/* 노선별 컬러 (서울 지하철 표준 컬러에 가깝게) */
.kkumi-ac-line.line-1 { background: #003C8F; color: #fff; }
.kkumi-ac-line.line-2 { background: #00A33A; color: #fff; }
.kkumi-ac-line.line-3 { background: #EE7C16; color: #fff; }
.kkumi-ac-line.line-4 { background: #2C9DDD; color: #fff; }
.kkumi-ac-line.line-5 { background: #804FB8; color: #fff; }
.kkumi-ac-line.line-6 { background: #B58A39; color: #fff; }
.kkumi-ac-line.line-7 { background: #5E742D; color: #fff; }
.kkumi-ac-line.line-8 { background: #DD0067; color: #fff; }
.kkumi-ac-line.line-9 { background: #B8941C; color: #fff; }
.kkumi-ac-line.line-extra {
  background: #f5e9ee;
  color: #ad4e63;
}
.kkumi-ac-city {
  font-size: 9px;
  font-weight: 800;
  color: #aaa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 4px;
}

/* ============================================================
   🔐 로그인/회원가입 모달
   ============================================================ */
.kkumi-auth-modal {
  max-width: 440px !important;
  padding: 36px 32px !important;
}
.kkumi-auth-field {
  border: 1px solid #ffd5de;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kkumi-auth-field:focus-within {
  border-color: #ff5e7b;
  box-shadow: 0 0 0 4px rgba(255, 94, 123, 0.12);
}
.kkumi-auth-field label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.kkumi-auth-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  margin-top: 4px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #111;
}
.kkumi-auth-cta {
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: #ff5e7b;
  color: #fff;
  padding: 14px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(255, 94, 123, 0.34);
  transition: 0.15s ease;
}
.kkumi-auth-cta:hover {
  background: #e93e62;
  transform: translateY(-1px);
}
.kkumi-auth-social {
  flex: 1;
  border: 1px solid #ffd5de;
  background: #fff;
  border-radius: 16px;
  padding: 11px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  color: #444;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.kkumi-auth-social:hover {
  border-color: #ff5e7b;
  background: #fff8fa;
}

/* 🔒 보호된 페이지 게이트 (My 등) */
.kkumi-protected-gate {
  max-width: 460px;
  margin: 60px auto;
  padding: 40px 28px;
  background: linear-gradient(135deg, #fff8fa, #fff 100%);
  border: 1px solid #ffd5de;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(255, 94, 123, 0.16);
}
.kkumi-protected-gate .lock-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5e7b, #ff9bad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 14px 32px rgba(255, 94, 123, 0.4);
  margin-bottom: 18px;
}
.kkumi-protected-gate h2 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.03em;
  font-weight: 950;
  color: #111;
  font-family: Inter, Arial, sans-serif;
}
.kkumi-protected-gate p {
  margin: 0 0 24px;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
  font-family: Inter, Arial, sans-serif;
}
.kkumi-protected-gate .actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.kkumi-protected-gate button {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
  transition: 0.15s ease;
}
.kkumi-protected-gate .primary {
  background: #ff5e7b;
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 94, 123, 0.34);
}
.kkumi-protected-gate .primary:hover {
  background: #e93e62;
  transform: translateY(-1px);
}
.kkumi-protected-gate .ghost {
  background: #fff;
  color: #111;
  border: 1px solid #ffd5de;
}

@media (max-width: 760px) {
  .kkumi-ac-dropdown { max-height: 280px; border-radius: 16px; }
  .kkumi-ac-item { padding: 10px 12px; }
  .kkumi-ac-main strong { font-size: 13px; }
  .kkumi-ac-ko { font-size: 10px; }
  .kkumi-ac-line { font-size: 9px; padding: 2px 6px; }
}

/* ============================================================
   🐰 KKUMI Rabbit Cursor — 토끼 캐릭터가 마우스 따라다님
   - 평상시: kkumi-cursor.png (윙크 안 함)
   - 클릭/호버 인터랙티브 요소: kkumi-cursor-wink.png (윙크)
   - 모바일/터치 디바이스에서는 자동 숨김
   ============================================================ */
/* 토끼 커서 — 마우스로부터 항상 동일한 거리 유지
   위치(left/top)는 JS에서 직접 픽셀 단위 적용 → 어디서나 거리 동일
   transform은 scale만 → 호버/클릭 시 위치 안 흔들림 */
.kkumi-rabbit-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  pointer-events: none;
  z-index: 99999;
  transform: scale(1);
  transform-origin: 0 0;
  transition: transform .12s cubic-bezier(.4, 1.6, .6, 1), opacity .2s ease;
  will-change: left, top, transform;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 4px 10px rgba(255, 94, 123, .22));
}
.kkumi-rabbit-cursor img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}
.kkumi-rabbit-cursor .rc-wink {
  display: none;
}
/* 클릭 시 윙크 표정 — scale만 변경 (위치 그대로) */
.kkumi-rabbit-cursor.is-clicking .rc-basic { display: none; }
.kkumi-rabbit-cursor.is-clicking .rc-wink { display: block; }
.kkumi-rabbit-cursor.is-clicking {
  transform: scale(.88);
}
/* 인터랙티브 요소 위 호버 — scale만 변경 (위치 그대로) */
.kkumi-rabbit-cursor.is-hovering {
  transform: scale(1.08);
}
/* 모바일/터치 디바이스 — 토끼 커서 숨김 */
@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .kkumi-rabbit-cursor { display: none !important; }
}
/* 🐰 기본 OS 마우스 커서는 그대로 유지 — 토끼와 둘 다 보임 */

/* ============================================================
   📧 Newsletter 박스 (푸터 우측) — 디자이너 시안 톤
   ============================================================ */
.kkumi-footer .kf-newsletter{
  grid-area: newsletter;
  align-self: start;
  max-width: 380px;
  margin-left: auto;
  padding: 24px 0;
}
.kkumi-footer .kf-nl-title{
  margin: 0 0 14px;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.02em;
}
.kkumi-footer .kf-nl-form{
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: 999px;
  padding: 5px 5px 5px 18px;
  box-shadow: 0 8px 22px rgba(255,94,123,.08);
  border: 1px solid #ffd5de;
  margin-bottom: 14px;
}
.kkumi-footer .kf-nl-form input{
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  font-family: inherit;
  min-width: 0;
}
.kkumi-footer .kf-nl-form input::placeholder{ color: #aaa; }
.kkumi-footer .kf-nl-submit{
  flex: 0 0 auto;
  border: 0;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.kkumi-footer .kf-nl-submit:hover{
  background: #ff5e7b;
  transform: translateY(-1px);
}
.kkumi-footer .kf-nl-desc{
  margin: 0 0 12px;
  color: #666;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 600;
}
.kkumi-footer .kf-nl-policy{
  margin: 0;
  color: #888;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.kkumi-footer .kf-nl-policy a{
  color: #ff5e7b;
  text-decoration: underline;
}

/* 푸터 카드 그리드 재배치 — Newsletter 우측 통합 */
.kkumi-footer .kf-card{
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-areas:
    "nav        newsletter"
    "watermark  watermark"
    "copyright  copyright";
  gap: 24px 32px;
  align-items: start;
}
.kkumi-footer .kf-nav{ grid-area: nav; }
.kkumi-footer .kf-watermark-wrap{ grid-area: watermark; }
.kkumi-footer .kf-copy{ grid-area: copyright; }

/* 모바일에서는 Newsletter 아래로 */
@media (max-width: 860px){
  .kkumi-footer .kf-card{
    grid-template-columns: 1fr;
    grid-template-areas:
      "nav"
      "newsletter"
      "watermark"
      "copyright";
    gap: 20px;
  }
  .kkumi-footer .kf-newsletter{
    max-width: 100%;
    margin-left: 0;
    padding: 16px 0 0;
    border-top: 1px solid #ffe5ec;
    margin-top: 4px;
  }
  .kkumi-footer .kf-nl-title{ font-size: 15px; }
  .kkumi-footer .kf-nl-form input{ font-size: 13px; }
  .kkumi-footer .kf-nl-submit{ font-size: 11px; padding: 10px 16px; }
}
