/* 콩사주 공통 색·글꼴 (11/23 — 대표님 "용용사주 느낌으로": 구조는 용용, 색·캐릭터는 콩사주 것)
 * 월하점 = 검정 + 형광 빨강 / 사주정감 = 어두운 바탕 + 금색·진홍 → 콩사주 = 깊은 남색 + 민트(청록)
 * 글꼴: 로고·큰 제목 = Hahmlet(굵은 명조 계열), 본문 = IBM Plex Sans KR (월하점·용용은 Pretendard)
 */
:root {
  --kg-bg: #0B1220;        /* 깊은 남색 */
  --kg-bg2: #0F1828;
  --kg-card: #131D30;
  --kg-line: #22304A;
  --kg-text: #EAF2FF;
  --kg-sub: #8FA3C4;
  --kg-mint: #2EE6C5;
  --kg-mint-d: #17B89C;
  --kg-title: 'Hahmlet', 'Noto Serif KR', serif;
  --kg-body: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', sans-serif;
}

/* ── 위 메뉴바 ── */
.kg-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; height: 56px; padding: 0 16px; background: rgba(11, 18, 32, .92); backdrop-filter: blur(8px); transition: transform .3s ease-out; }
.kg-nav.navbar-scroll-hide { transform: translateY(-100%); }
.kg-nav__in { width: 100%; max-width: 480px; display: flex; align-items: center; justify-content: space-between; }
.kg-logo { display: flex; align-items: baseline; gap: 5px; text-decoration: none; }
.kg-logo b { font-family: var(--kg-title); font-weight: 800; font-size: 25px; letter-spacing: -1px; color: var(--kg-mint); line-height: 1; }
.kg-logo small { font-family: var(--kg-body); font-size: 10.5px; font-weight: 600; letter-spacing: 1.5px; color: var(--kg-sub); }
.kg-menu { width: 40px; height: 40px; border-radius: 12px; background: var(--kg-card); display: flex; align-items: center; justify-content: center; color: var(--kg-text); cursor: pointer; border: 1px solid var(--kg-line); }
.kg-menu svg { width: 20px; height: 20px; }

/* ── 아래 탭 (tabbar.ejs 위에 덮어씀) ── */
.wh-tabbar { background: rgba(11, 18, 32, .97) !important; border-top: 1px solid var(--kg-line) !important; }
.wh-tabbar a { color: #5E6F8E !important; font-family: var(--kg-body) !important; }
.wh-tabbar a.on { color: var(--kg-text) !important; }
.wh-tabbar a.on svg { color: var(--kg-mint) !important; }

/* ── 첫 가입 쿠폰 창 (joinNudge) ── */
.jn-sh__pn { background: var(--kg-card) !important; font-family: var(--kg-body); }
.jn-sh h3 em { color: var(--kg-mint) !important; }
.jn-sh__tk { background: #BFF5EA !important; }
.jn-sh__tk b, .jn-sh__tk p { color: #0E5E50 !important; }
.jn-sh__tk p { border-top-color: #0E5E50 !important; }
.jn-bar { font-family: var(--kg-body) !important; }

/* ── 공통 버튼 ── */
.kg-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border-radius: 14px; border: 0; background: var(--kg-mint); color: #06231E; font-family: var(--kg-body); font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 8px 24px rgba(46, 230, 197, .25); -webkit-tap-highlight-color: transparent; }
.kg-btn:active { transform: scale(.98); }

@media (min-width: 500px) {
  .kg-nav { left: max(0px, calc(50% - 240px)); right: max(0px, calc(50% - 240px)); }
}
