/* 리뷰뷰 랜딩 페이지. 인스타 인앱 브라우저(휴대폰)가 주 무대라 모바일 한 열이 기본이고, 넓은 화면은 가운데 정렬만 한다. */

.disclosure {
  margin: 0;
  padding: 10px var(--gutter);
  background: var(--navy-deep);
  color: #e9e4d6;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) max(32px, env(safe-area-inset-bottom));
}

/* ── 머리띠 (리뷰뷰 배경 이미지의 윗부분) ─────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  background: var(--navy);
  border-bottom: 4px solid var(--yellow);
}
.logo { margin: 0; line-height: 0; }
.logo img { width: 149px; height: auto; }

/* ── 프로필 ───────────────────────────────────────── */
.profile {
  padding: 28px 0 28px;
  text-align: center;
}
.avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--yellow), 0 6px 18px rgba(31, 42, 68, 0.12);
}
.tagline {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.handle {
  margin: 6px 2px 0;
  color: var(--ink-2);
  font-size: 14px;
}
.handle a { text-decoration: none; }
.handle a:hover { text-decoration: underline; }

/* ── 핫딜 ─────────────────────────────────────────── */
.deals { margin-top: 8px; }
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.sec-head h2, .sec-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.month { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.deals-note {
  margin: 6px 0 16px;
  color: var(--ink-2);
  font-size: 14px;
}

.deal-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
}
.deal {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px 8px 10px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(31, 42, 68, 0.06);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease;
}
.deal:active { transform: scale(0.98); }
.thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r);
  background: var(--surface-2);
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb .ph {
  position: absolute;
  inset: 28%;
  width: 44%;
  height: 44%;
  object-fit: contain;
}
.deal-title {
  margin: 10px 2px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-comment {
  margin: 3px 2px 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-price {
  margin: 6px 2px 0;
  font-size: 15px;
  font-weight: 700;
}
.deal-price small {
  margin-left: 4px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 500;
}
/* 카드 아래 남색 버튼. 카드 전체가 링크라 버튼은 모양만 낸다. */
.deal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
/* 버튼은 카드 바닥에 붙여 줄을 맞추고(margin-top: auto), 바로 위 글과는 최소 10px 띄운다 */
.deal > :nth-last-child(2) { margin-bottom: 10px; }
.deal:hover .deal-btn { background: #2c3a5c; }
.deal:hover .deal-title { text-decoration: underline; }
.price-note { margin: 16px 0 0; color: var(--ink-3); font-size: 12px; }

/* ── 채널 ─────────────────────────────────────────── */
.channels { margin-top: 40px; }
.channel-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.channel-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.channel-list svg { flex: none; width: 24px; height: 24px; }
.ch-name { font-weight: 600; }
.ch-sub { margin-left: auto; color: var(--ink-3); font-size: 13px; }
.ch-arrow { flex: none; width: 16px !important; height: 16px !important; color: var(--ink-3); }

/* ── 바닥 ─────────────────────────────────────────── */
.foot {
  margin-top: 40px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.6;
}
.foot p { margin: 0 0 4px; }
.foot a { color: var(--ink-2); }

@media (min-width: 640px) {
  .profile { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .deal { transition: none; }
  .deal:active { transform: none; }
}

/* 404 의 첫 화면 버튼 */
.btn-solid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: var(--r);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
