/* ========================================
   메인 (index)
   · 이 페이지는 공통 레이아웃(사이드바·탑바)을 쓰지 않는 단독 랜딩
   · 화면 예시(.mxi 안쪽)는 실제 기능 화면이 아니라 그림용 마크업
======================================== */

/* ----------------------------------------
   style.css 공통 규칙 덮어쓰기
   · 슬라이드 메뉴 때문에 style.css 를 같이 불러오는데,
     아래 공통 규칙이 이 페이지 레이아웃을 바꿔서 원래대로 돌려놓음
---------------------------------------- */

*,
*::before,
*::after {
  box-sizing: content-box;
}

/* select · button 은 브라우저 기본값(border-box)으로 */
select,
button {
  box-sizing: border-box;
}

img {
  max-width: none;
}

/* 슬라이드 메뉴 안은 style.css 기준 그대로 */
.sidebar,
.sidebar *,
#nav-placeholder,
#nav-placeholder *,
#nav-placeholder *::before,
#nav-placeholder *::after {
  box-sizing: border-box;
}

#nav-placeholder img {
  max-width: 100%;
}

/* 공통 탑바(.top-bar)도 style.css 기준 그대로
   · 메인 헤더 자리에 공통 탑바를 쓰면 width: 100% 에 좌우 여백이 더해져
     오른쪽 ☰(.top-menu-button)가 화면 밖으로 밀려 잘리던 문제 */
.top-bar,
.top-bar * {
  box-sizing: border-box;
}

section {
  padding: 0;
}

p {
  width: auto;
}

h2 {
  padding-top: 0;
}


html {
  scroll-behavior: smooth;
}

/* 사이드바 옆 본문 폭을 키워드 맵(.mx--wide)이 기준으로 쓰도록 */
.page {
  container-type: inline-size;
}

.sidebar {
  z-index: 100;
}

body {
  margin: 0;
  background: #F6F6F2;
  color: #17191A;
  font-family: 'Noto Sans KR', system-ui, sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

p,
h1,
h2 {
  margin: 0;
}

h1, h2, h3 { text-wrap: balance; }
p, span { text-wrap: pretty; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}


/* ----------------------------------------
   공통 : 색 배지 (빨강 · 노랑 · 초록)
---------------------------------------- */

.tone-red    { background: #FDE8E8; color: #B42318; }
.tone-yellow { background: #FFF3D6; color: #8A5A08; }
.tone-green  { background: #E3F2E6; color: #42BC74; }

.tag {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.ta-r { text-align: right; }
.ta-c { text-align: center; }


/* ----------------------------------------
   공통 : 섹션 머리 (작은 제목 + 큰 제목 + 설명)
---------------------------------------- */

.section-head {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #36A564;
}

.head-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.head-title--sm {
  font-size: clamp(30px, 3.6vw, 44px);
}

.head-desc {
  font-size: 18px;
  color: #4A4D4B;
}


/* ----------------------------------------
   공통 : 고민 블록 머리 (01 · 진단 / 인용 / 기능명 / 설명)
---------------------------------------- */

.pb-intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pb-intro--narrow {
  max-width: 760px;
}

.pb-num {
  font-size: 15px;
  font-weight: 700;
  color: #42BC74;
}

/* 사용자 고민 인용 (모바일에서는 줄바꿈 없이) */
.q {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pb-divider {
  height: 1px;
  background: #DEDFD9;
}

.pb-feature {
  font-size: 22px;
  font-weight: 700;
  color: #36A564;
}

.pb-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #4A4D4B;
}


/* ----------------------------------------
   공통 : 화면 예시 카드
   · .mx  : 가로 스크롤 틀 (PC에서 표가 넓으면 옆으로 밀림)
   · .mxi : 흰 카드
---------------------------------------- */

.mx {
  overflow-x: auto;
  border-radius: 22px;
}

/* 키워드 맵만 본문 폭보다 넓게 */
.mx--wide {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1380px, calc(100cqw - 48px));   /* cqw : 사이드바를 뺀 .page 폭 기준 */
}

.mxi {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 28px;
  border-radius: 22px;
  background: #FFFFFF;
  color: #17191A;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
}

/* 표 테두리 틀 (키챌 리스트 · 롱테일) */
.ui-table {
  border: 1px solid #ECEDE8;
  border-radius: 14px;
  overflow: hidden;
}


/* ========================================
   HERO
======================================== */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: max(900px, 100vh);
  background: #42BC74;
}

.hero-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;   /* 로고는 왼쪽 사이드바에만 */
  gap: 16px;
  padding: 20px 40px;
}

.hero-header-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* 햄버거 메뉴 버튼 (모바일에서 상단 링크가 숨겨져도 계속 보임) */
.hero-header .top-menu-button {
  color: #0B2A18;
  font-size: 22px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: #0B2A18;
  text-decoration: none;
}

.nav-links .nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: #17191A;
  color: #FFFFFF;
}

.hero-grid {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 24px 40px 120px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(44px, min(5.6vw, 10.5vh), 150px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-title-dark  { color: #111312; }
.hero-title-light { color: #FFFFFF; }


/* 후기 띠 (흐르는 한 줄) */
.rv-strip {
  position: relative;
  z-index: 1;
  align-self: stretch;
  margin: 28px -40px 4px;
  padding: 4px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rv-track {
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: rv-flow 80s linear infinite;
}

.rv-strip:hover .rv-track {
  animation-play-state: paused;
}

@keyframes rv-flow {
  to { transform: translateX(calc(-50% - 6px)); }
}

.rv-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

.rv-q {
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
}

.rv-who {
  font-size: 13px;
  font-weight: 500;
  color: #0B2A18;
  opacity: 0.7;
}


.hero-character {
  position: relative;
  z-index: 2;
  width: clamp(280px, min(26vw, 40vh), 700px);
  height: auto;
  margin: 1.5vh 0 -36px;
}


/* 검색창 */
.hero-search {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  width: min(92cqw, max(620px, 42cqw));   /* cqw : 사이드바를 뺀 .page 폭 기준 */
  overflow: hidden;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(11, 42, 24, 0.22);
}

.hero-search-type {
  min-width: 130px;
  padding: 0 18px 0 24px;
  border: 0;
  background: #F3F4F1;
  color: #17191A;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
}

.hero-search-input {
  flex-grow: 1;
  min-width: 0;
  padding: 20px 18px;
  border: 0;
  outline: none;
  color: #17191A;
  font-family: inherit;
  font-size: 15px;
}

.hero-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  padding: 1px 6px;   /* 브라우저 기본 버튼 여백 (style.css 의 button 초기화 덮어씀) */
  border: 0;
  background: #17191A;
  color: #FFFFFF;
  cursor: pointer;
}

.hero-desc {
  margin-top: 22px;
  font-size: clamp(17px, 1.1vw, 22px);
  font-weight: 500;
  color: #333333;
}


/* 아래로 스크롤 화살표 */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  color: #0B2A18;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(14px); opacity: 1; }
}

.bob {
  animation: bob 2.4s ease-in-out infinite;
}


/* ========================================
   블로그 고민 (01 진단 ~ 04 관리)
======================================== */

.why {
  padding: 140px 24px 60px;
}

.problems {
  padding: 40px 24px 120px;
}

.problems-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.pb-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}


/* ---------- 01 진단 : 레벨업 계산기 ---------- */

.pb-diag {
  gap: 64px;
  align-items: center;
}

.shot {
  display: flex;
  justify-content: center;
}

.lv-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 440px;
  padding: 26px;
  border: 1px solid #E4E5DF;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(23, 25, 26, 0.06);
}

.lv-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lv-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 1px solid #E1E8E2;
  border-radius: 16px;
  background: #EEF5EF;
}

.lv-avatar img {
  width: 50px;
  height: auto;
}

.lv-profile-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lv-name { font-size: 18px; font-weight: 700; }
.lv-blog { font-size: 14px; color: #4A4D4B; }

.lv-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
  background: #F6F6F3;
}

.lv-level {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #E4E5DF;
}

.lv-level-label { font-size: 16px; color: #33363A; }
.lv-level-value { font-size: 28px; font-weight: 700; }

.lv-goal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lv-goal-label { font-size: 14px; color: #33363A; }
.lv-goal-value { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.lv-goal-note  { font-size: 14px; line-height: 1.5; color: #6B6E6A; }

.lv-current {
  margin-top: 6px;
  font-size: 16px;
  color: #6B6E6A;
}

.lv-current b {
  color: #33363A;
}

.lv-gauge {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 최소 · 최대 표시 : left 값(%)은 데이터에 따라 바뀜 */
.lv-marks {
  position: relative;
  height: 36px;
}

.lv-mark {
  position: absolute;
  text-align: center;
}

.lv-mark--min { transform: translateX(-50%); }
.lv-mark--max { right: 0; text-align: right; }

.lv-mark-num   { font-size: 14px; font-weight: 500; color: #33363A; }
.lv-mark-label { font-size: 11px; color: #6B6E6A; }

.lv-bar {
  position: relative;
  height: 8px;
  border: 1px solid #E4E5DF;
  border-radius: 999px;
  background: #FFFFFF;
}

.lv-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 999px;
  background: #42BE78;
}

.lv-bar-tick {
  position: absolute;
  top: -6px;
  width: 2px;
  height: 18px;
  background: #33363A;
}

.lv-bar-tick--max { right: 0; }

.lv-bar-ends {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}


/* ---------- 02 찾기 : 키워드 맵 + 블토기 제목 픽 ---------- */

.km-card {
  min-width: 1180px;
  gap: 24px;
  border: 1px solid #E4E5DF;
}

.km-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.km-title { font-size: 17px; font-weight: 900; }
.km-sub   { font-size: 14px; color: #6B6E6A; }

.mk-grid {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* 1차 : 검색한 키워드 */
.mk-first {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 90px;
}

.mk-seed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: #42BC74;
  color: #FFFFFF;
}

.mk-seed-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #FFFFFF;
}

.mk-seed-name {
  font-size: 18px;
  font-weight: 700;
}

.mk-stats {
  padding: 6px 14px;
  border-radius: 14px;
  background: #F6F6F3;
}

.mk-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 14px;
}

.mk-stat-warn {
  color: #B4532A;
}

.mk-link {
  display: block;
  padding: 11px;
  border: 1px solid #33363A;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* 2차 · 3차 패널 */
.mk-panel,
.mk-expand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
}

.mk-panel {
  border: 2px solid transparent;
}

.mk-expand {
  border: 2px solid #42BC74;
  background: #FFFFFF;
}

.mk-label,
.mk-sub {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

.mk-label {
  color: #4A4D4B;
}

.mk-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2E6B3F;
}

.mk-sub-tag {
  padding: 1px 10px;
  border-radius: 999px;
  background: #42BC74;
  color: #FFFFFF;
  font-size: 12px;
}

.mk-head,
.mk-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 62px 56px 54px 46px 10px;
  gap: 8px;
}

.mk-head {
  align-items: end;
  padding: 0 12px 10px;
  border-bottom: 1px solid #E4E5DF;
  font-size: 12px;
  color: #6B6E6A;
}

.mk-head-2l {
  line-height: 1.3;
  word-break: keep-all;
}

/* 행 상태
   · 기본 : 회색
   · .is-checked : 선택한 키워드 (체크 + 초록 글씨)
   · .is-open    : 눌러서 3차를 펼친 행 (초록 테두리 + 연결선 + 커서 + 화살표) */
.mk-row {
  position: relative;
  align-items: center;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #F5F6F3;
  border-radius: 10px;
  background: #F5F6F3;
}

.mk-row.is-checked {
  border-color: #CFE6D3;
  background: #EEF7F0;
}

.mk-row.is-open {
  border-color: #42BC74;
}

/* 2차 → 3차 연결선 */
.mk-connector {
  position: absolute;
  top: 50%;
  right: -33px;
  width: 32px;
  height: 3px;
  margin-top: -1px;
  background: #42BC74;
  opacity: 0;
}

/* 마우스 커서 그림 */
.mk-cursor {
  position: absolute;
  top: 22px;
  left: 160px;
  opacity: 0;
}

.mk-check {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 1px solid #C9CCC6;
  border-radius: 5px;
  background: #FFFFFF;
}

.mk-check svg {
  opacity: 0;
}

.mk-kw {
  overflow: hidden;
  color: #17191A;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mk-num {
  font-size: 14px;
  text-align: right;
}

.mk-pub {
  color: #A0670A;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.mk-sat {
  color: #33363A;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

/* 콘텐츠 포화도 100% 넘으면 "100%↑" 붉은 글씨 */
.mk-sat.is-over {
  color: #B42318;
  font-weight: 700;
}

.mk-row .tag {
  justify-self: center;
  padding: 3px 8px;
}

.mk-arrow {
  color: #42BC74;
  font-size: 14px;
  opacity: 0;
}

.mk-row.is-checked .mk-check {
  border-color: #42BC74;
  background: #42BC74;
}

.mk-row.is-checked .mk-check svg {
  opacity: 1;
}

.mk-row.is-checked .mk-kw {
  color: #2E6B3F;
  font-weight: 700;
}

.mk-row.is-open .mk-connector,
.mk-row.is-open .mk-cursor,
.mk-row.is-open .mk-arrow {
  opacity: 1;
}


/* 선택한 키워드 */
.km-selected {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #E4E5DF;
}

.km-selected-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.km-selected-title {
  font-size: 16px;
  font-weight: 700;
}

.km-count {
  color: #42BC74;
}

.km-clear {
  font-size: 14px;
  color: #4A4D4B;
}

.km-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid #B9DDBF;
  border-radius: 8px;
  background: #EAF5EC;
  color: #218A4C;
  font-size: 14px;
  font-weight: 700;
}

.chip--sm {
  padding: 5px 12px;
}

.chip-add {
  padding: 6px 12px;
  border: 1px dashed #B9BBB4;
  border-radius: 8px;
  color: #6B6E6A;
  font-size: 14px;
}


/* 블토기 제목 픽 */
.tp {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid #E4E5DF;
}

.tp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-brand img {
  width: 44px;
  height: auto;
}

.tp-title { font-size: 17px; font-weight: 900; }
.tp-desc  { margin-top: 2px; font-size: 14px; color: #4A4D4B; }

.tp-repick {
  padding: 9px 16px;
  border-radius: 8px;
  background: #36A564;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
}

.tp-words {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tp-words-label {
  margin-right: 4px;
  font-size: 14px;
  color: #4A4D4B;
}

.tp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #E4E5DF;
  border-radius: 12px;
}

.tp-no {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #EAF5EC;
  color: #2E6B3F;
  font-size: 13px;
  font-weight: 700;
}

.tp-text {
  flex-grow: 1;
  font-size: 16px;
  font-weight: 700;
}

.tp-count {
  font-size: 13px;
  color: #6B6E6A;
}

.tp-copy {
  padding: 6px 12px;
  border: 1px solid #D4D6D0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}


/* ---------- 03 판단 : 블토기 브리핑 ---------- */

.brief-grid {
  align-items: stretch;
}

.brief-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid #E4E5DF;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(23, 25, 26, 0.05);
}

.brief-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brief-kw    { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.brief-meta  { font-size: 13px; color: #6B6E6A; }
.brief-label { font-size: 16px; font-weight: 700; }

.brief-verdict {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brief-verdict img {
  flex-shrink: 0;
  width: 72px;
  height: auto;
}

.brief-verdict-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brief-verdict-title {
  color: #42BC74;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brief-verdict-desc {
  color: #33363A;
  font-size: 15px;
  line-height: 1.6;
}

.brief-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #F5F6F3;
}

.brief-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.brief-item {
  display: flex;
  gap: 8px;
  color: #33363A;
  font-size: 14px;
  line-height: 1.6;
}

.brief-mark {
  color: #42BC74;
  font-weight: 700;
}

/* 두 번째 브리핑 카드는 원본에서 조금 더 굵게 들어가 있어 그대로 둠 (통일하려면 이 규칙만 지우면 됨) */
.brief-mark--heavy {
  font-weight: 900;
}


/* ---------- 04 관리 : 유효키워드 리스트 ---------- */

.vk-grid {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

/* 카드 위 색 띠 : --vk-color 로 카드별 색 지정 */
.vk-card {
  --vk-color: #3B82F6;

  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  min-height: 300px;
  padding: 30px 32px;
  border-top: 6px solid var(--vk-color);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(23, 25, 26, 0.07);
}

.vk-card--in      { --vk-color: #3B82F6; }
.vk-card--out     { --vk-color: #E5484D; }
.vk-card--best    { --vk-color: #D97706; }
.vk-card--similar { --vk-color: #6E56CF; }

.vk-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.vk-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--vk-color);
}

.vk-desc {
  font-size: 17px;
  color: #6B6E6A;
}

.vk-desc b {
  color: #5B44C2;
}

.vk-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
}

.vk-num-value {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.vk-card--in   .vk-num-value { color: #2563EB; }
.vk-card--best .vk-num-value { color: #C96A05; }

.vk-num-unit {
  color: #4A4D4B;
  font-size: 20px;
  font-weight: 700;
}

.vk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.vk-tags--plain {
  margin-top: 0;
}

.vk-tag {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
}

.vk-card--in   .vk-tag { background: #EAF1FE; color: #1D4ED8; }
.vk-card--best .vk-tag { background: #FEF4E2; color: #9A5B00; }

/* 빠진 키워드 */
.vk-kw {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vk-rank {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: #6B6E6A;
}

.vk-lost {
  padding: 3px 9px;
  border-radius: 8px;
  background: #FDE8E8;
  color: #C02B32;
  font-size: 15px;
  font-weight: 500;
}

.vk-blogger {
  padding: 9px 16px;
  border: 1px solid #DDD7F7;
  border-radius: 999px;
  background: #F6F4FE;
  font-size: 16px;
  font-weight: 500;
}

.vk-lv {
  margin-left: 4px;
  color: #42BC74;
}

/* 효자 포스팅 */
.vk-post-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.vk-post {
  color: #33363A;
  font-size: 18px;
  font-weight: 700;
}

/* 나와 비슷한 블로그 */
.vk-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.vk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-left: 5px solid #6E56CF;
  border-radius: 0 12px 12px 0;
  background: #F6F4FE;
}

.vk-item-kw   { font-size: 18px; font-weight: 500; }
.vk-item-blog { font-size: 15px; color: #6B6E6A; }


/* ========================================
   인플루언서라면? (어두운 배경)
======================================== */

.infl {
  padding: 140px 24px;
  background: #17191A;
  color: #FFFFFF;
}

.infl-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.infl-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.infl-title {
  color: #42BC74;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.infl-lead {
  max-width: 680px;
  color: #C9CBC5;
  font-size: 18px;
  line-height: 1.7;
}

.infl-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.infl-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.infl-voice {
  color: #FFD27A;
  font-size: 19px;
  font-weight: 500;
}

.infl-feature {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.infl-desc {
  max-width: 860px;
  color: #C9CBC5;
  font-size: 17px;
  line-height: 1.7;
}

.infl-note {
  color: #7FD6A5;
  font-size: 14px;
  font-weight: 500;
}

.infl-note--lg {
  font-size: 17px;
}

.infl-sub {
  margin-top: 8px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
}

.infl-sub--gap {
  margin-top: 20px;
}


/* ---------- 01 내 주변 인플 ---------- */

.nb-card {
  min-width: 900px;
  gap: 6px;
  padding: 28px 32px;
}

.nb-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.nb-example {
  font-size: 14px;
  color: #6B6E6A;
}

.nb-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 64px 100px 130px 90px 140px 24px;
  gap: 12px;
}

.nb-head {
  padding: 0 14px 10px;
  border-bottom: 1px solid #E4E5DF;
  color: #6B6E6A;
  font-size: 13px;
}

.nb-item {
  align-items: center;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #FFFFFF;
  border-radius: 12px;
  background: #FFFFFF;
}

/* 내 행 */
.nb-item.is-me {
  border-color: #9FD0A9;
  background: #E8F4EA;
}

.nb-trend {
  color: #42BC74;
  font-size: 15px;
}

.nb-trend.is-down {
  color: #C02B32;
}

.nb-name {
  color: #17191A;
  font-size: 16px;
  font-weight: 500;
}

.nb-item.is-me .nb-name {
  color: #2E6B3F;
}

.nb-grade {
  justify-self: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: #F1B438;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}

.nb-top3 {
  font-size: 15px;
  text-align: right;
}

.nb-diff {
  margin-left: 2px;
  color: #8A8D88;
  font-size: 13px;
}

/* 나와의 TOP 3 차이 : 많으면 초록, 적으면 빨강 */
.nb-diff.is-up   { color: #42BC74; }
.nb-diff.is-down { color: #C02B32; }

/* 참여한 키챌 · TOP 3 비율 */
.nb-num {
  font-size: 15px;
  text-align: right;
}

/* 인플루언서 홈 분석 바로가기 아이콘 */
.nb-link {
  display: flex;
  justify-content: flex-end;
  color: #A9ACA6;
}

.nb-rate {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 15px;
}

/* 승률 막대 : 안쪽 span 의 width(%)는 데이터 값 */
.nb-rate-bar {
  width: 56px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #F1E3E3;
}

.nb-rate-bar span {
  display: block;
  height: 100%;
  background: #42BE78;
}

/* 승률 없음(—) : 막대 자리만 남기고 숨김 */
.nb-rate-bar.is-empty {
  opacity: 0;
}

.nb-foot {
  margin-top: 10px;
  color: #8A8D88;
  font-size: 13px;
}


/* ---------- 02 예상 순위 · 누적 승률 : 키워드챌린지 리스트 ---------- */

.kc-card {
  min-width: 1180px;
  gap: 14px;
}

.kc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kc-search {
  display: flex;
  align-items: stretch;
  width: 420px;
  overflow: hidden;
  border: 1px solid #D9DBD5;
  border-radius: 10px;
  font-size: 14px;
}

.kc-search-type {
  padding: 12px 14px;
  border-right: 1px solid #D9DBD5;
  color: #4A4D4B;
}

.kc-search-ph {
  padding: 12px 14px;
  color: #8A8D88;
}

.kc-filters {
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.kc-filter {
  padding: 7px 12px;
  border: 1px solid #D4D6D0;
  border-radius: 8px;
}

.kc-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #4A4D4B;
  font-size: 13px;
}

.kc-legend {
  display: flex;
  gap: 16px;
}

.kc-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kc-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.kc-swatch--green  { background: #42BC74; }
.kc-swatch--yellow { background: #E39B2B; }
.kc-swatch--red    { background: #D0453F; }
.kc-swatch--me     { background: #3B6FD8; }

.kc-hint {
  color: #6B6E6A;
}

.kc-head,
.kc-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 56px 52px 76px 62px 46px 46px 164px 164px 164px 30px;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.kc-head {
  padding: 14px 12px;
  background: #F7F7F5;
  color: #33363A;
  font-size: 13px;
  font-weight: 700;
}

.kc-row {
  padding: 8px 12px;
  border-top: 1px solid #ECEDE8;
  font-size: 14px;
}

.kc-kw {
  font-weight: 500;
}

/* 예상 순위 배지 (금 · 은 · 동)
   · 안쪽 .kc-rk 는 모바일에서 바깥 배경이 빠질 때 대신 배지가 됨 */
.kc-rank {
  justify-self: center;
  padding: 3px 8px;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}

.kc-rk {
  font-weight: inherit;
  padding: 0;
}

.kc-rank--1,
.kc-rank--1 .kc-rk { background: #D99A1E; }

.kc-rank--2,
.kc-rank--2 .kc-rk { background: #8A8D88; }

.kc-rank--3,
.kc-rank--3 .kc-rk { background: #A86B2D; }

/* 1·2·3위 자리
   · --me 지금 내 자리 / --green 들어갈 확률 높음 / --yellow 아리송함 / --red 지금은 어려움
   · .is-dim : 흐리게 / .is-selected : 누른 닉네임 (진한 파랑 테두리) */
.kc-slot {
  position: relative;
  display: block;
  padding: 7px 4px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.kc-slot--me     { background: #E8EEFB; border-color: #E8EEFB; color: #2F5BB7; }
.kc-slot--green  { background: #E7F3E9; border-color: #E7F3E9; color: #42BC74; }
.kc-slot--yellow { background: #FFF3DC; border-color: #FFF3DC; color: #A0640A; }
.kc-slot--red    { background: #FCE9E9; border-color: #FCE9E9; color: #B42318; }

.kc-slot.is-dim {
  opacity: 0.4;
}

.kc-slot.is-selected {
  border-color: #3B5BA8;
}

.kc-slot-date {
  font-weight: 500;
  opacity: 0.7;
}

/* 승률 말풍선 (키챌 플래너 승률 토스트와 같은 두 줄 알약)
   1줄 : 내 승률 17% / 2줄 : 최근 90일 · 키챌 12개 기준 */
.kc-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 2;
  width: max-content;
  transform: translateX(-50%);
  white-space: nowrap;
}

.kc-pop-bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 22px;
  border: 3px solid #3476C2;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  line-height: 1.25;
  white-space: nowrap;
}

.kc-pop-bubble > * {
  white-space: nowrap;
}

/* 블토기 : 알약 왼쪽에 걸쳐서 */
.kc-pop-bubble img {
  position: absolute;
  top: 50%;
  left: -30px;
  width: 36px;
  height: auto;
  transform: translateY(-58%);
}

.kc-pop-title {
  color: #17191A;
  font-size: 14px;
  font-weight: 700;
}

.kc-pop-sub {
  color: #777777;
  font-size: 12px;
  font-weight: 500;
}

.kc-pop-dot {
  margin: 0 4px;
  color: #ACACAC;
}


/* ---------- 03 롱테일 키챌 ---------- */

.lt-card {
  min-width: 1100px;
  gap: 18px;
}

.lt-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lt-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lt-info {
  color: #6B6E6A;
  font-size: 13px;
  font-weight: 500;
}

/* 조건 3단계 흐름 */
.lt-flow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lt-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  padding: 18px;
  border: 1px solid #E4E5DF;
  border-radius: 14px;
}

.lt-step-title { font-size: 16px; font-weight: 700; }
.lt-step-desc  { font-size: 13px; color: #6B6E6A; }

.lt-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #6B6E6A;
  color: #FFFFFF;
  font-size: 14px;
}

.lt-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  width: 150px;
  text-align: center;
}

.lt-result-text { font-size: 13px; color: #6B6E6A; }
.lt-result-num  { font-size: 34px; font-weight: 700; color: #42BC74; }

.lt-head,
.lt-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 8px;
  font-size: 15px;
}

.lt-head {
  padding: 16px 22px;
  background: #F7F7F5;
  font-weight: 700;
}

.lt-row {
  padding: 14px 22px;
  border-top: 1px solid #ECEDE8;
}

.lt-head > :not(:first-child),
.lt-row > :not(:first-child) {
  text-align: right;
}

.lt-row > :first-child {
  font-weight: 500;
}

.lt-more {
  display: block;
  padding: 14px;
  border: 1px solid #D9DBD5;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}


/* ---------- 04 TOP 3 순위 변동 키워드 ---------- */

.tr-card {
  min-width: 900px;
  gap: 18px;
}

.tr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tr-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.tr-summary-label {
  color: #6B6E6A;
}

.tr-pill {
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 500;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tr-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 14px;
  background: #F5F6F3;
}

.tr-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.tr-col-title {
  font-size: 16px;
  font-weight: 700;
}

.tr-col-title--red    { color: #B42318; }
.tr-col-title--yellow { color: #A0670A; }
.tr-col-title--green  { color: #42BC74; }

.tr-col-sort {
  color: #6B6E6A;
  font-size: 12px;
}

.tr-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid #E4E5DF;
}

.tr-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.tr-item-kw {
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tr-badge {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.tr-action {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid #D4D6D0;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}

/* 버튼 없는 칸 : 자리만 남김 */
.tr-action.is-empty {
  opacity: 0;
}


/* ========================================
   블톡 차트 (요즘 주목받는 블로거)
======================================== */

.chart {
  padding: 140px 24px 120px;
}

.chart-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.chart .section-head {
  gap: 10px;
}

.chart .head-desc {
  font-size: 17px;
}

.five-col {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.chart-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 16px 22px;
  border: 1px solid #E4E5DF;
  border-radius: 18px;
  background: #FFFFFF;
  text-align: center;
}

.chart-rank {
  position: absolute;
  top: 14px;
  left: 16px;
  color: #42BC74;
  font-size: 20px;
  font-weight: 500;
}

.chart-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 700;
}

.chart-avatar--orange { background: #FCE7C8; color: #9A5B00; }
.chart-avatar--green  { background: #E3F2E6; color: #42BC74; }
.chart-avatar--blue   { background: #E4ECFB; color: #2F5BB7; }
.chart-avatar--pink   { background: #FDE8EE; color: #B4325A; }
.chart-avatar--purple { background: #EEEBFC; color: #5B44C2; }

.chart-name { font-size: 16px; font-weight: 700; }
.chart-meta { font-size: 13px; color: #4A4D4B; }

.chart-cta-wrap {
  display: flex;
  justify-content: center;
}

.chart-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #17191A;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
}


/* ========================================
   블톡의 모든 기능
======================================== */

.features {
  padding: 140px 24px 40px;
  background: #FFFFFF;
}

.features-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.features .section-head {
  gap: 16px;
}

.feat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 1px solid #E4E5DF;
  border-radius: 18px;
  background: #FFFFFF;
}

.feat-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.feat-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.feat-tag--channel    { background: #E3F3E8; color: #42BC74; }
.feat-tag--keyword    { background: #FFF1D6; color: #9A5B00; }
.feat-tag--influencer { background: #E8ECFF; color: #3346B8; }
.feat-tag--common     { background: #EEEEEA; color: #4A4D4B; }

.feat-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feat-desc {
  color: #4A4D4B;
  font-size: 14px;
  line-height: 1.6;
}


/* ========================================
   시작하기 (3단계 + 올프리 배너)
======================================== */

.start {
  padding: 120px 24px 140px;
  background: #FFFFFF;
}

.start-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.start .section-head {
  gap: 12px;
}

.start .head-title {
  line-height: normal;
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  padding: 28px;
  border-radius: 20px;
  background: #F6F6F2;
}

.step-no    { color: #42BC74; font-size: 15px; font-weight: 700; }
.step-title { font-size: 20px; font-weight: 700; }
.step-desc  { color: #4A4D4B; font-size: 15px; line-height: 1.7; }

.step-arrow {
  align-self: center;
  flex-shrink: 0;
  color: #9FCFAA;
  font-size: 22px;
  font-weight: 700;
}

.banner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 56px 56px 0;
  overflow: hidden;
  border-radius: 28px;
  background: #42BC74;
}

.banner-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 56px;
}

.banner-badge {
  align-self: flex-start;
  padding: 7px 14px;
  border: 1px solid #17191A;
  border-radius: 999px;
  color: #17191A;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.banner-title {
  color: #111312;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.banner-title span {
  color: #FFFFFF;
}

.banner-desc {
  color: #0A2E1A;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.banner-cta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 18px 32px;
  border-radius: 999px;
  background: #17191A;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.banner-img {
  display: block;
  width: 240px;
  height: auto;
}


/* ========================================
   푸터 (개발에서 공통 푸터로 교체)
======================================== */

.main-footer {
  padding: 40px 24px 56px;
  border-top: 1px solid #E4E5DF;
}

.main-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #4A4D4B;
  font-size: 13px;
}

.main-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #17191A;
  font-weight: 700;
}

.main-footer-links a {
  color: #4A4D4B;
  font-weight: 500;
  text-decoration: none;
}

.main-footer-info {
  line-height: 1.7;
}


/* ========================================
   움직임 줄이기
======================================== */

@media (prefers-reduced-motion: reduce) {
  .rv-track { animation: none; }
  .rv-strip { overflow-x: auto; }
  .bob { animation: none; }
}


/* ========================================
   반응형
======================================== */

@media (max-width: 1227px) {

  .mx { overflow: visible !important; left: auto !important; transform: none !important; width: 100% !important; }
  .mxi { min-width: 0 !important; padding: 18px 16px !important; }
  .wrap-m { flex-wrap: wrap !important; row-gap: 6px !important; }

  /* 키워드 맵 */
  .mk-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
  .mk-first { padding-top: 0 !important; }
  .mk-panel { padding: 10px 0 0 !important; }
  .mk-row, .mk-head { grid-template-columns: 18px repeat(4, minmax(0, 1fr)) !important; height: auto !important; padding: 10px 10px !important; row-gap: 6px !important; column-gap: 6px !important; }
  .mk-row > :nth-child(1), .mk-row > :nth-child(2), .mk-row > :nth-child(9), .mk-head > :nth-child(7) { display: none !important; }
  .mk-row > :nth-child(4), .mk-head > :nth-child(2) { grid-column: 2 / -1; }
  .mk-row > :nth-child(5), .mk-head > :nth-child(3) { grid-column: 2; }
  .mk-row > *, .mk-head > * { font-size: 13px !important; }
  .mk-sub { flex-wrap: wrap !important; }

  /* 제목 픽 */
  .tp-row { flex-wrap: wrap !important; gap: 8px 10px !important; }
  .tp-row > :nth-child(2) { flex: 1 1 calc(100% - 40px) !important; font-size: 15px !important; }
  .tp-row > :nth-child(3) { margin-left: 36px; }

  /* 내 주변 인플 */
  /* 11/17 : 모바일은 키챌 플래너처럼 닉네임 / TOP 3 비율 / 전체 승률만 (등급 · 참여한 키챌 · TOP 3 키챌 · 바로가기 숨김) */
  .nb-row { grid-template-columns: 18px minmax(0, 1fr) 52px 52px !important; height: auto !important; min-height: 44px; padding: 10px 12px !important; column-gap: 8px !important; }
  .nb-row > :nth-child(3), .nb-row > :nth-child(4), .nb-row > :nth-child(5), .nb-row > :nth-child(8) { display: none !important; }
  .nb-head > * { white-space: normal; line-height: 1.3; word-break: keep-all; }
  .nb-rate-bar { display: none !important; }

  /* 키챌 리스트 : 카드형 */
  .kc-head { display: none !important; }
  .kc-search { width: 100% !important; }
  .kc-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; padding: 14px 12px !important; gap: 10px 8px !important; text-align: left !important; }
  .kc-row > :nth-child(1), .kc-row > :nth-child(12) { display: none !important; }
  .kc-row > :nth-child(2) { grid-column: 1 / -1; font-size: 16px; }
  .kc-row > :nth-child(n+3):nth-child(-n+8) { justify-self: stretch !important; background: none !important; color: inherit !important; padding: 0 !important; font-size: 14px; display: flex !important; flex-direction: column; gap: 2px; }
  .kc-row > :nth-child(n+3):nth-child(-n+8)::before { font-size: 11px; color: #8A8D88; font-weight: 500; }
  .kc-row > :nth-child(3)::before { content: "예상 순위"; }
  .kc-row > :nth-child(4)::before { content: "참여자 수"; }
  .kc-row > :nth-child(5)::before { content: "검색량"; }
  .kc-row > :nth-child(6)::before { content: "발행일"; }
  .kc-row > :nth-child(7)::before { content: "등록 횟수"; }
  .kc-row > :nth-child(8)::before { content: "도전 여부"; }
  .kc-rk { display: inline-block; align-self: flex-start; color: #FFFFFF; font-weight: 700; padding: 2px 8px; border-radius: 6px; font-size: 13px; }
  .kc-rk.kc-rk { padding: 2px 8px !important; }
  .kc-row > :nth-child(n+9):nth-child(-n+11) { white-space: normal !important; text-align: center; line-height: 1.35; padding: 7px 2px !important; }
  .kc-row > :nth-child(n+9):nth-child(-n+11)::before { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; margin-bottom: 2px; }
  .kc-row > :nth-child(9)::before { content: "1위"; }
  .kc-row > :nth-child(10)::before { content: "2위"; }
  .kc-row > :nth-child(11)::before { content: "3위"; }
  .kc-pop { position: static !important; transform: none !important; margin-top: 8px; justify-content: center; white-space: normal !important; }
  .kc-pop-bubble img { display: none !important; }
  .kc-pop-bubble { padding: 4px 10px !important; border-width: 2px !important; }
  .kc-pop-title { font-size: 12px !important; }
  .kc-pop-sub { font-size: 10px !important; }

  /* 롱테일 키챌 : 카드형 */
  .lt-flow { flex-direction: column !important; align-items: stretch !important; }
  .lt-flow > span[aria-hidden] { transform: rotate(90deg); align-self: center; }
  .lt-flow > div:last-child { width: auto !important; }
  .lt-head { display: none !important; }
  .lt-row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; padding: 14px 14px !important; gap: 10px 8px !important; }
  .lt-row > * { text-align: left !important; display: flex; flex-direction: column; gap: 2px; }
  .lt-row > :nth-child(1) { grid-column: 1 / -1; }
  .lt-row > :nth-child(n+2)::before { font-size: 11px; color: #8A8D88; font-weight: 500; }
  .lt-row > :nth-child(2)::before { content: "순위"; }
  .lt-row > :nth-child(3)::before { content: "발행일"; }
  .lt-row > :nth-child(4)::before { content: "검색량"; }
  .lt-row > :nth-child(5)::before { content: "참여자수"; }

  .four-col.four-col { grid-template-columns: minmax(0, 1fr) !important; }

  .q br { display: none; }

  .banner.banner { padding: 36px 24px 0 !important; }

  /* 히어로 검색창 */
  #hero-mode { min-width: 0 !important; flex-shrink: 0; padding: 0 8px 0 14px !important; font-size: 14px !important; }
  #hero-q { padding: 16px 12px !important; font-size: 14px !important; }
}

@media (max-width: 1180px) {
  .five-col { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 900px) {
  .rv-chip { padding: 10px 16px; }
  .rv-q { font-size: 14px; }
  .rv-who { font-size: 12px; }
  .rv-strip { margin: 22px -40px 0; }

  .two-col { grid-template-columns: minmax(0, 1fr) !important; }
  .two-col > .shot { order: 2; }
  .four-col { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .five-col { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .steps { flex-direction: column !important; }
  .step-arrow { transform: rotate(90deg); }
  /* 좁은 화면 : 상단 링크는 앞의 두 개(사용가이드 · 로그인)만 남김. 나머지(회원가입 · 구독하기)는 ☰ 메뉴 안에서 */
  .nav-links a:nth-child(n+3) { display: none; }
  .banner { flex-direction: column !important; align-items: flex-start !important; }
}

/* responsive.css 의 예전 메인용 규칙 되돌리기
   · 예전 메인과 클래스명(.hero-title · .hero-character · .hero-search)이 같아서
     responsive.css 가 같이 연결되면 모바일에서 순서 · 크기가 바뀌던 문제
   · 값은 위 HERO 블록과 같음 (HERO 값을 바꾸면 여기도 같이 수정)
   · 반드시 아래 모바일 블록보다 위에 둘 것 (모바일 제목 크기가 이 값을 다시 덮어씀) */
.hero .hero-title {
  order: 0;

  font-size: clamp(44px, min(5.6vw, 10.5vh), 150px);
  letter-spacing: -0.04em;
}

.hero .hero-character {
  order: 0;

  position: relative;

  width: clamp(280px, min(26vw, 40vh), 700px);
  margin: 1.5vh 0 -36px;
}

.hero .hero-search {
  width: min(92cqw, max(620px, 42cqw));
}



/* 모바일 : 사이드바 기둥 없이 로고만 탑 왼쪽에 남김 (responsive.css 공통 레이아웃 규칙과 같음)
   · 메뉴는 오른쪽 ☰(.top-menu-button)로 엶
   · 사이드바의 ☰ · 단톡방 접힘 배너는 숨김 */
@media (max-width: 768px) {
  .layout {
    display: block;
    width: 100%;
    margin-left: 0;
  }

  body.nav-open .layout {
    margin-left: 0;
    width: 100%;
  }

  /* 메뉴가 열려 있는 동안 뒤 페이지 스크롤 잠금 (responsive.css 와 같음) */
  body.nav-open {
    overflow: hidden;
  }

  /* 메뉴 끝에서 스크롤이 뒤 페이지로 넘어가지 않게 */
  .slide-nav {
    overscroll-behavior: contain;
  }

  .sidebar {
    position: absolute; /* 고정 아님 : 히어로 헤더와 같이 스크롤되어 올라감 */
    top: 0;
    left: 0;

    display: flex;
    align-items: center;

    width: auto;
    height: 58px;
    min-height: 0;
    padding-left: 20px;

    background: none;
    border-right: 0;
  }

  .sidebar-logo {
    padding-top: 0;
  }

  .sidebar-menu-button,
  .sidebar .chatroom-mini {
    display: none;
  }

  .page {
    width: 100%;
    margin-left: 0;
  }

  /* 히어로 헤더 : 로고 줄(58px) · 좌우 여백(20px)과 맞춤
     · 접힌 사이드바처럼 흰 배경 + 연회색 선 */
  .hero-header {
    padding: 18px 20px;

    background: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
  }

  /* 히어로 : 요소를 가운데로 몰지 않고 위아래로 고르게 퍼뜨림
     · 남는 높이를 제목 위 / 제목 아래 / 후기 띠 아래 / 검색창 아래 / 설명 아래 다섯 곳에 똑같이 나눔
     · 캐릭터와 검색창은 붙여 둠 (캐릭터가 검색창을 가리키는 구성 유지) */
  .hero-inner {
    justify-content: flex-start;
  }

  .hero .hero-title {
    margin-top: auto;
    margin-bottom: auto;

    font-size: clamp(48px, 13vw, 60px); /* 기존 모바일 44px 에서 키움 · 화면 폭에 따라 48 ~ 60px */
  }

  .rv-strip {
    margin-bottom: auto;
  }

  .hero-search {
    margin-bottom: auto;
  }

  .hero-desc {
    margin-bottom: auto;
  }

  /* 상단 링크 : 서브페이지 탑바(.top-menu)와 같은 크기 */
  .hero-header-menu,
  .nav-links {
    gap: 20px;
  }

  .nav-links {
    font-size: 14px;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .hero-header-menu,
  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  /* 슬라이드 메뉴 : 오른쪽에 터치해서 닫을 여백(56px)을 남김 (responsive.css 에 있는 규칙과 같음) */
  .slide-nav { width: calc(100% - 56px); }
}

@media (max-width: 600px) {
  .five-col.feat { grid-template-columns: minmax(0, 1fr) !important; }
}



/* 슬라이드 nav는 공통(style.css) 기준인 border-box로 되돌림
   · 위의 * { box-sizing: content-box } 때문에 메인에서만 nav 폭이 넓어지고 스크롤이 안 되던 문제 */
.slide-nav,
.slide-nav *,
.slide-nav *::before,
.slide-nav *::after {
  box-sizing: border-box;
}


/* 블톡 차트 버튼 : BETA 알약 */
.chart-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

.chart-cta-beta {
  display: inline-flex;
  align-items: center;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #17191A;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}