/* ============================================================
   HomeScreen — 홈 화면 (HomeScreen.jsx)
   ============================================================
   섹션 순서
     1) Avatar / FriendStack
     2) PartyHeroCard / PartyRow
     3) CPTopBar (홈 전용 상단)
     4) HomeScreen 본문 — 히어로, 핫스팟 시트, 퀵 스탯, 라이브
        스트립, 핫 클럽, 후기, 루트 CTA, 친구 going, 주말 리스트
   ============================================================ */

/* ────────────────────────────────────────────────────
   1. Avatar · FriendStack
   ──────────────────────────────────────────────────── */
.cp-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1.5px solid rgba(7, 7, 10, 0.9);
  color: #fff;
  font-weight: 800;
}

.cp-friend-stack {
  display: inline-flex;
  align-items: center;
}
.cp-friend-stack__count {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

/* ────────────────────────────────────────────────────
   2. PartyHeroCard — 메인 추천 파티 큰 카드
   ──────────────────────────────────────────────────── */
.cp-party-hero {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0E0E14 0%, #07070A 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  position: relative;
}
.cp-party-hero[data-hot="true"] {
  box-shadow:
    0 0 32px rgba(255, 16, 119, 0.5),
    0 0 80px rgba(255, 16, 119, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.6);
}

.cp-party-hero__media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.cp-party-hero__sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(31, 210, 255, 0.30), transparent 55%);
}

.cp-party-hero__bottom-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0) 40%, rgba(12, 12, 18, 0.94) 100%);
}

.cp-party-hero__badges-tl {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}
.cp-party-hero__badges-tr {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
}

.cp-party-hero__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
}
.cp-party-hero__venue {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 122, 184, 0.9);
}
.cp-party-hero__title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 4px;
}
.cp-party-hero__subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 2px;
}

.cp-party-hero__foot {
  padding: 14px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cp-party-hero__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
}
.cp-party-hero__time {
  font-family: 'JetBrains Mono', monospace;
  font-feature-settings: 'tnum';
  color: #fff;
}
.cp-party-hero__sep {
  color: rgba(255, 255, 255, 0.3);
}
.cp-party-hero__price {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

/* ────────────────────────────────────────────────────
   3. PartyRow — 컴팩트 행
   ──────────────────────────────────────────────────── */
.cp-party-row {
  all: unset;
  cursor: pointer;
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: #15151E;
  border: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  box-sizing: border-box;
}
.cp-party-row__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: #0E0E14;
  flex-shrink: 0;
}
.cp-party-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cp-party-row__venue {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.cp-party-row__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.cp-party-row__sub {
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 600;
  align-items: center;
}
.cp-party-row__time {
  font-family: 'JetBrains Mono', monospace;
}
.cp-party-row__right {
  text-align: right;
}
.cp-party-row__price {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.cp-party-row__live {
  font-size: 9px;
  font-weight: 700;
  color: #FF1077;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

/* ────────────────────────────────────────────────────
   4. CPTopBar — 홈 전용 상단바 (LOGO · 위치 · 검색/벨)
   ──────────────────────────────────────────────────── */
.cp-cptopbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 8px 16px 8px;
  background: rgba(7, 7, 10, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.cp-cptopbar__logo {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  filter: drop-shadow(0 0 6px rgba(160, 122, 255, 0.4));
}
.cp-cptopbar__logo-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-family: 'Pretendard', system-ui, sans-serif;
}

.cp-cptopbar__loc {
  all: unset;
  cursor: pointer;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cp-cptopbar__globe {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}
.cp-cptopbar__loc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.cp-cptopbar__loc-eyebrow {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cp-cptopbar__loc-city {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-cptopbar__actions {
  display: flex;
  gap: 6px;
}

/* ────────────────────────────────────────────────────
   5. HomeScreen 본문
   ──────────────────────────────────────────────────── */
.cp-home {
  padding-bottom: 24px;
  position: relative;
}

/* ----- Hero ----- */
.cp-home-hero {
  position: relative;
  height: 170px;
  overflow: hidden;
  margin-bottom: 4px;
}
.cp-home-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.20) 0%, rgba(7, 7, 10, 0.55) 55%, rgba(7, 7, 10, 0.96) 100%);
}
.cp-home-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(255, 16, 119, 0.18), transparent 60%);
}
.cp-home-hero__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
}
.cp-home-hero__title {
  margin: 4px 0 4px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.cp-home-hero__sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}
.cp-home-hero__count-pink { color: #FFB8DA; font-weight: 700; }
.cp-home-hero__count-cyan { color: #9CF0FF; font-weight: 700; }
.cp-home-hero__sep        { color: rgba(255, 255, 255, 0.30); }

/* ----- Hot Spots CTA + Toggle Sheet ----- */
.cp-hotspots {
  padding: 4px 16px 0;
}
.cp-hotspots__cta {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  gap: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 16, 119, 0.92) 0%, rgba(123, 73, 255, 0.92) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(255, 16, 119, 0.28), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.cp-hotspots__cta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cp-hotspots__cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(7, 7, 10, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cp-hotspots__cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cp-hotspots__cta-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
}
.cp-hotspots__cta-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cp-hotspots__cta-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cp-hotspots__sheet {
  margin-top: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 16, 119, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 16, 119, 0.10), transparent 50%),
    linear-gradient(180deg, #171727 0%, #0E0E14 100%);
  overflow: hidden;
}
.cp-hotspots__sheet-head {
  padding: 14px 16px 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.cp-hotspots__sheet-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  color: #FFB8DA;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cp-hotspots__sheet-title {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.cp-hotspots__sheet-sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.cp-hotspots__sheet-list {
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cp-hotspots__item {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(36, 36, 46, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.cp-hotspots__item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: #0E0E14;
  flex-shrink: 0;
}
.cp-hotspots__item-body {
  flex: 1;
  min-width: 0;
}
.cp-hotspots__item-head {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cp-hotspots__item-livebadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 16, 119, 0.18);
  color: #FF7AB8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.10em;
}
.cp-hotspots__item-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cp-hotspots__item-meta {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.cp-hotspots__item-distance {
  font-family: 'JetBrains Mono', monospace;
}
.cp-hotspots__item-right {
  text-align: right;
  flex-shrink: 0;
}
.cp-hotspots__item-price {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}
.cp-hotspots__item-time {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
}

.cp-hotspots__sheet-foot {
  padding: 0 12px 12px;
  display: flex;
  gap: 8px;
}
.cp-hotspots__btn-secondary,
.cp-hotspots__btn-primary {
  all: unset;
  cursor: pointer;
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 12px;
  font-size: 12px;
  color: #fff;
}
.cp-hotspots__btn-secondary {
  background: rgba(36, 36, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}
.cp-hotspots__btn-primary {
  background: linear-gradient(135deg, #FF1077, #7B49FF);
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255, 16, 119, 0.32);
}

/* ----- Quick Stats (CalcKey row) ----- */
.cp-home-stats {
  display: flex;
  gap: 8px;
  padding: 14px 16px 0;
}
.cp-home-stats__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.cp-home-stats__num {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.cp-home-stats__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
}

/* ----- Generic 섹션 헤더 (홈 내 H2들) ----- */
.cp-home-section {
  padding: 24px 16px 0;
}
.cp-home-section--flush {
  padding: 24px 0 0;
}
.cp-home-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cp-home-section__head--inset {
  padding: 0 16px;
}
.cp-home-section__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.cp-home-section__more {
  all: unset;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.cp-home-section__suffix {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}
.cp-home-section__live-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ----- Live Strip ----- */
.cp-live-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 4px;
}
.cp-live-card {
  all: unset;
  cursor: pointer;
  min-width: 240px;
  flex: 0 0 240px;
  border-radius: 16px;
  overflow: hidden;
  background: #15151E;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}
.cp-live-card__media {
  position: relative;
  height: 110px;
  background: #0E0E14;
  overflow: hidden;
}
.cp-live-card__live-pos {
  position: absolute;
  top: 10px;
  left: 10px;
}
.cp-live-card__body { padding: 12px; }
.cp-live-card__venue {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}
.cp-live-card__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cp-live-card__time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.05em;
  line-height: 1.35;
}

/* ----- Hot 클럽 가로 스크롤 ----- */
.cp-club-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.cp-club-card {
  all: unset;
  cursor: pointer;
  min-width: 130px;
  flex: 0 0 130px;
  border-radius: 14px;
  overflow: hidden;
  background: #15151E;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cp-club-card__media {
  position: relative;
  height: 110px;
  background: #0E0E14;
}
.cp-club-card__rating {
  position: absolute;
  top: 8px;
  right: 8px;
}
.cp-club-card__rating-pill {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(12, 12, 18, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.cp-club-card__body {
  padding: 10px 12px 12px;
}
.cp-club-card__name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.cp-club-card__area {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.cp-club-card__genres {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ----- 후기 카드 ----- */
.cp-review {
  padding: 14px;
  border-radius: 14px;
  background: #15151E;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
}
.cp-review__body { flex: 1; min-width: 0; }
.cp-review__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cp-review__author { font-size: 13px; font-weight: 800; color: #fff; }
.cp-review__club   { font-size: 11px; color: rgba(255, 255, 255, 0.4); font-weight: 600; }
.cp-review__stars  { display: flex; gap: 1px; }
.cp-review__text   {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 6px;
  line-height: 1.5;
}
.cp-review__date {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}

/* ----- Route CTA ----- */
.cp-route-cta {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #15151E 0%, #1E1E2A 100%);
  border: 1px solid rgba(123, 73, 255, 0.3);
  box-shadow: 0 0 24px rgba(123, 73, 255, 0.18), 0 8px 24px rgba(0, 0, 0, 0.5);
}
.cp-route-cta__inner {
  position: relative;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cp-route-cta__body { flex: 1; min-width: 0; }
.cp-route-cta__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(160, 122, 255, 0.9);
  text-transform: uppercase;
}
.cp-route-cta__title {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  margin-top: 6px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cp-route-cta__meta {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* ----- 친구 going 카드 ----- */
.cp-friend-card {
  padding: 12px;
  border-radius: 14px;
  background: #15151E;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
  align-items: center;
}
.cp-friend-card__body { flex: 1; min-width: 0; }
.cp-friend-card__name { font-size: 13px; font-weight: 800; color: #fff; }
.cp-friend-card__sub  { font-size: 11px; color: rgba(255, 255, 255, 0.5); font-weight: 500; }
.cp-friend-card__sub-target { color: #1FD2FF; font-weight: 700; }
.cp-friend-card__btn {
  all: unset;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

/* ----- 공용: H2 단일 줄 ----- */
.cp-home-h2-line {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

/* ----- 공용 column 8/10 그룹 ----- */
.cp-stack-8  { display: flex; flex-direction: column; gap: 8px; }
.cp-stack-10 { display: flex; flex-direction: column; gap: 10px; }

/* ----- 메인 실시간 리뷰 카드 ----- */
.cp-home-rv {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  background: #15151e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
}
.cp-home-rv__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  /*display: inline-flex;*/
  display: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(7, 7, 10, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.cp-home-rv__body { flex: 1; min-width: 0; }
.cp-home-rv__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cp-home-rv__who { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-home-rv__who .cp-home-rv__club { white-space: nowrap; }
.cp-home-rv__author { font-size: 13px; font-weight: 800; color: #fff; }
.cp-home-rv__club { font-size: 11px; color: rgba(255, 255, 255, 0.4); font-weight: 600; }
.cp-home-rv__meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cp-home-rv__stars { display: flex; gap: 1px; }
.cp-home-rv__text { font-size: 14px; color: rgba(255, 255, 255, 0.7); font-weight: 500; margin-top: 6px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-home-rv__date { font-size: 10px; color: rgba(255, 255, 255, 0.35); font-family: 'JetBrains Mono', monospace; }


/* ----- 홈 피드 탭 (실시간 리뷰 / 자유게시판) ----- */
.cp-feedtab-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cp-feedtab {
  all: unset;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease;
}
.cp-feedtab.is-on {
  color: #FFB8DA;
  background: rgba(255, 16, 119, 0.14);
  border-color: rgba(255, 16, 119, 0.32);
}
.cp-feedtab-head .cp-feedtab-more { margin-left: auto; }

.cp-feed-empty {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* 실시간 리뷰 세로 스크롤(드래그·터치) + 3초 자동 슬라이드 */
.cp-roll-viewport {
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
}
.cp-roll-viewport::-webkit-scrollbar { display: none; }
.cp-roll-viewport:active { cursor: grabbing; }
.cp-roll-item {
  box-sizing: border-box;
  padding-bottom: 14px; /* 리뷰 카드 사이 간격(자유게시판과 비슷하게). STEP(JS)도 함께 맞춤 */
}
.cp-roll-item > .cp-home-rv { width: 100%; box-sizing: border-box; }

/* 자유게시판 글 카드 */
.cp-home-post {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: #15151e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
}
.cp-home-post__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cp-home-post__body {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cp-home-post__author { font-size: 11px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.cp-home-post__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
}
.cp-home-post__time {
  color: rgba(255, 255, 255, 0.34);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
}
.cp-home-post__stat { color: rgba(255, 255, 255, 0.4); }

/* ===== 입점/메인 MD 진입 버튼 (로그인 시) ===== */
.cp-home-md {
  display: flex;
  gap: 8px;
  padding: 12px 16px 4px;
}
.cp-home-md__btn {
  flex: 1;
  cursor: pointer;
  border: none;
  padding: 12px 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}
.cp-home-md__btn--apply {
  background: linear-gradient(135deg, #FF1077, #7B49FF);
}
.cp-home-md__btn--md {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}
