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

.disclosure {
  margin: 0;
  padding: 10px var(--gutter);
  background: var(--ink);
  color: #f2f2f1;
  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));
}

/* ── 프로필 ───────────────────────────────────────── */
.profile {
  padding: 36px 0 28px;
  text-align: center;
}
.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
}
.name {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.handle {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 14px;
}
.handle a { text-decoration: none; }
.handle a:hover { text-decoration: underline; }
.tagline {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 500;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease, background-color 120ms ease;
}
.btn:active { transform: scale(0.98); }

.btn-solid {
  margin-top: 10px;
  background: var(--ink);
  color: #fff;
}
.btn-solid:hover { background: #333; }

/* ── 핫딜 ─────────────────────────────────────────── */
.deals { margin-top: 4px; }
.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; }
.deal-grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
}
.deal {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r);
  background: var(--surface);
  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 0 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 0 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 0 0;
  font-size: 15px;
  font-weight: 700;
}
.deal-price small {
  margin-left: 4px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 500;
}
/* 카드 아래 검은 버튼 (2026-10-15 사용자 요청). 카드 전체가 링크라 버튼은 모양만 낸다. */
.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(--ink);
  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: #333; }
.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: 56px; }
}

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