/* =====================================================================
   AVON HOME — style.css
   모바일 퍼스트 · 미니멀 · 웜 아이보리
   ===================================================================== */

:root {
  --bg: #FAF8F4;          /* 웜 아이보리 */
  --bg-tint: #F3EFE8;     /* 섹션 구분용 한 톤 짙은 아이보리 */
  --surface: #FFFFFF;
  --ph: #E9E3D9;          /* 이미지 자리표시 */
  --ink: #1E1D1B;         /* 짙은 차콜 */
  --ink-2: #55524D;
  --ink-3: #8C877F;
  --line: #E2DCD2;
  /* 브랜드 포인트 컬러 — 전체 화면의 10% 이하, 작은 포인트로만 사용 */
  --green: #26422A;    /* Main Green: 선택·포커스·텍스트 링크 */
  --vanilla: #FFEEBC;  /* Soft Vanilla: 아주 옅은 안내 배경 (투명도 낮춰 사용) */
  --orange: #EA672D;   /* Event Orange: 공구 OPEN · D-DAY · 마감 임박 등 이벤트 상태 전용 */
  --radius: 4px;
  --gutter: 20px;
  --maxw: 1120px;
  --header-h: 60px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.br-m { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  transition: opacity .15s;
}
.btn:hover { opacity: .85; }
.btn--lg { height: 56px; min-width: 240px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); height: 46px; padding: 0 20px; font-weight: 500; font-size: 14px; }
.btn--line:hover { border-color: var(--ink); opacity: 1; }
/* 카카오톡 채널 추가 전용 — 카카오 노란색, 크기·모서리·글꼴은 기존 버튼과 동일 */
.btn--kakao { background: #FEE500; border-color: #FEE500; color: #191919; }
.btn--kakao:hover { opacity: 1; background: #F2DA00; border-color: #F2DA00; }
.btn--kakao .kakao-icon { width: 20px; height: 20px; flex: none; }

.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  max-width: var(--maxw); margin: 0 auto; height: var(--header-h);
  padding: 0 calc(var(--gutter) - 8px) 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 16px; font-weight: 700; letter-spacing: .22em; }
.nav { display: none; }
.header__mobile { display: flex; }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  padding: 0 var(--gutter) 32px;
  display: flex; flex-direction: column;
}
.mmenu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; margin-right: -8px; }
.mmenu__nav { display: flex; flex-direction: column; padding: 32px 0; flex: 1; }
.mmenu__nav a { font-size: 30px; font-weight: 600; letter-spacing: .06em; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 24px var(--gutter) 48px;
  display: flex; flex-direction: column; align-items: center;
}
.hero__avatar {
  width: 148px; height: 148px; border-radius: 50%; overflow: hidden;
  background: var(--ph); margin-bottom: 24px;
}
.hero__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 20%; transform: scale(1.75); transform-origin: 46% 22%; }
.hero__title { font-size: 26px; line-height: 1.35; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.hero__desc { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-bottom: 10px; }
.hero__tags { font-size: 14px; color: var(--ink-3); letter-spacing: .04em; margin-bottom: 28px; }
.hero__sub { font-size: 13px; color: var(--ink-3); margin-top: 10px; }

.social { display: flex; gap: 8px; margin-top: 20px; }
.social__link { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2); }
.social__link:hover { color: var(--ink); border-color: var(--ink); }
.social__link svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { margin-bottom: 28px; }
.section__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .24em; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.section__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.section__title { font-size: 28px; font-weight: 700; letter-spacing: .04em; line-height: 1.25; }
.section__lead { font-size: 16px; color: var(--ink-2); margin-top: 8px; }

/* ---------- Placeholder image ---------- */
.ph {
  background: var(--ph); color: var(--ink-3);
  display: grid; place-items: center; text-align: center;
  font-size: 11px; letter-spacing: .2em; font-weight: 600;
}
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ph); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .ph { position: absolute; inset: 0; }

/* ---------- NOW / Group buy ---------- */
.gb-layout { display: grid; gap: 28px; }

/* 월간 캘린더 */
.cal { background: var(--surface); padding: 10px 10px 8px; border-radius: var(--radius); }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cal__label { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.cal__arrow { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-2); border-radius: 50%; }
.cal__arrow:hover { color: var(--ink); background: var(--bg); }
.cal__arrow svg { width: 20px; height: 20px; }
.cal__week, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal__week span { font-size: 12px; color: var(--ink-3); padding: 2px 0 6px; }
.cal__day { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.cal__num { position: relative; }
/* 공구 기간: 날짜 뒤에 이어지는 연한 베이지 바 */
.cal__day.has-event::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 30px; transform: translateY(-50%); background: #EFE7DA; }
.cal__day.range-start::before { left: 3px; border-top-left-radius: 15px; border-bottom-left-radius: 15px; }
.cal__day.range-end::before { right: 3px; border-top-right-radius: 15px; border-bottom-right-radius: 15px; }
.cal__days { overflow: hidden; } /* 기간 강조가 다음 주로 넘어가도 달력 카드 밖으로 나가지 않게 */
.cal__day.is-ended::before { background: #F4F1EC; }
.cal__day.has-event .cal__num { font-weight: 600; }
.cal__day.is-past .cal__num { color: var(--ink-3); }
.cal__day.is-today .cal__num { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* 월별 일정 목록 */
.gb-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gb-row { display: flex; align-items: baseline; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.gb-row__date { flex: none; min-width: 96px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gb-row__name { flex: 1; min-width: 0; font-weight: 500; }
.gb-row__go { flex: none; color: var(--ink-2); transition: transform .15s; }
a.gb-row:hover .gb-row__go { transform: translateX(3px); }
.gb-row.is-ended { color: var(--ink-3); }
.gb-row.is-ended .gb-row__date { color: var(--ink-3); }
.gb-badge { flex: none; align-self: center; font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1; padding: 4px 6px 3px; border: 1px solid var(--ink); border-radius: 2px; }
.gb-badge--muted { border-color: var(--line); color: var(--ink-3); }
.gb-empty { padding: 18px 2px; font-size: 14px; color: var(--ink-3); border-bottom: 1px solid var(--line); }

/* 일정 조율 중 */
.gb-pending { margin-top: 24px; }
.gb-pending__title { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.gb-pending ul { list-style: none; margin: 0; padding: 0; }
.gb-pending li { font-size: 15px; padding: 4px 0; }
.gb-pending li span { color: var(--ink-3); }

.gb-side .gb__note { margin-top: 28px; }
.gb__note { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.gb__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.gb__actions .btn { width: 100%; }

/* 공구 카드 (STEP 10) — 진행 중 → 예정 → 종료 순서, 모바일 한 줄에 한 장 */
.gb-cards { display: grid; gap: 14px; }
.gb-card { background: var(--surface); border-radius: var(--radius); padding: 22px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; }
.gb-card__badge { font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1; padding: 6px 8px 5px; border: 1px solid var(--ink); border-radius: 2px; margin-bottom: 12px; }
.gb-card.is-open .gb-card__badge { background: var(--orange); border-color: var(--orange); color: #fff; }
.gb-card.is-ended .gb-card__badge { border-color: var(--line); color: var(--ink-3); }
.gb-card__name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; margin-bottom: 6px; }
.gb-card__when { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gb-card__deadline { font-size: 14px; font-weight: 600; color: var(--orange); margin-top: 4px; }
/* 진행 중인데 주문 링크가 아직 없을 때의 안내 */
.gb-card__notice { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }
.gb-card__msg { font-size: 16px; font-weight: 600; margin-top: 2px; }
.gb-card__sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.gb-card__next { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.gb-card.is-ended .gb-card__name { color: var(--ink-2); }
.gb-card > .btn, .gb-card__actions { margin-top: 18px; width: 100%; }
.gb-card__actions { display: flex; flex-direction: column; gap: 10px; }
.gb-none { font-size: 15px; color: var(--ink-2); padding: 4px 0 8px; }
.section__eyebrow .dot--open { background: var(--orange); }

/* 지난 공구 (접힘) */
.gb-past { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.gb-past summary { cursor: pointer; padding: 6px 0; font-weight: 600; }
.gb-past ul { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.gb-past li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.gb-past__date { color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 공구 소식 카톡으로 받기 */
.gb-kakao { margin-top: 28px; padding: 26px 20px 22px; background: var(--surface); border-radius: var(--radius); text-align: center; }
.gb-kakao__title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.gb-kakao__desc { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; }
.gb-kakao__note { font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.gb-cal { margin-top: 28px; }

/* 공동구매 캘린더 (STEP 10 복원) — 날짜 선택 · 월별 목록 · 상세 */
.gb-schedule { margin-top: 36px; }
.gb-schedule__title { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 12px; }
button.cal__day { width: 100%; cursor: pointer; }
button.cal__day:focus-visible { outline-offset: -2px; }
.cal__day.is-open::before { background: #EFE7DA; } /* v6: 예정 · 진행 중 기간 강조색 통일 */
.cal__day.is-selected .cal__num { color: #fff; }
.cal__day.is-selected .cal__num::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); z-index: -1; }
.cal__num { z-index: 0; }
.cal__hint { font-size: 12px; color: var(--ink-3); text-align: center; padding: 8px 0 2px; }
button.gb-row { width: 100%; text-align: left; cursor: pointer; }
.gb-row.is-selected { background: var(--surface); }
.gb-badge--open { background: var(--orange); border-color: var(--orange); color: #fff; }
.gb-detail { margin-top: 14px; background: var(--surface); border-radius: var(--radius); padding: 18px 18px 16px; }
.gb-detail__date { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.gb-detail__item + .gb-detail__item { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.gb-detail__status { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }
.gb-detail__item.is-open .gb-detail__status { color: var(--orange); }
.gb-detail__item.is-ended .gb-detail__status { color: var(--ink-3); }
.gb-detail__name { font-size: 17px; font-weight: 700; margin-top: 4px; }
.gb-detail__range { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: 2px; }
.gb-detail__line { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.gb-detail__notice { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 10px; }
.gb-detail .btn { margin-top: 14px; }
/* v6: 일정 목록 행 바로 아래에 펼치는 상세 카드 + 카드 안 카카오톡 채널 안내 */
/* v6: 공구 목록(기간 · 상품명) + 선택한 공구의 상세 카드 (목록과 분리된 흰 카드 한 장, 안쪽 박스 없음) */
.gb-row.is-selected { background: var(--surface); box-shadow: inset 3px 0 0 var(--ink); padding-left: 12px; }
.gb-row.is-selected .gb-row__name { font-weight: 700; }
.gb-row.is-selected .gb-row__go { color: var(--ink); }
.gb-side .gb-detail { margin: 14px 0 0; padding: 18px 18px 20px; background: var(--surface); border-radius: var(--radius); }
.gb-detail__top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.gb-detail__period { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gb-detail__top .gb-detail__status { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.gb-detail__name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.gb-detail__item.is-ended .gb-detail__name { color: var(--ink-2); }
.gb-detail__when { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.gb-detail__when svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; }
.gb-detail__item.is-ended .gb-detail__when { color: var(--ink-3); font-weight: 400; }
.gb-detail__action { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.gb-detail__action .gb-detail__notice { margin: 0 0 14px; }
.gb-detail__kakao-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.45; }
.gb-detail__kakao-desc { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 4px; }
.gb-detail__kakao-note { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.gb-detail .gb-detail__action .btn { margin-top: 14px; height: 48px; font-size: 15px; } /* 버튼 높이 56 → 48 (터치 영역 유지) */
.gb-detail .gb-detail__action > .btn:first-child { margin-top: 0; }

/* =====================================================================
   v6 공동구매 재디자인 (2026-10-13)
   ① NEXT GROUP BUY 카드 → ② GROUP BUY CALENDAR (달력 + 목록, 목록 안에서 상세) → 지난 공동구매(접힘)
   ===================================================================== */
.gb-btn { height: 46px; padding: 0 22px; font-size: 15px; width: 100%; }
.gb-btn .kakao-icon { width: 18px; height: 18px; }

/* ① NEXT GROUP BUY */
.gb-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "body media" "actions actions"; gap: 0 16px;
  background: var(--surface); border-radius: 8px; padding: 22px 20px 20px; }
.gb-hero__body { grid-area: body; min-width: 0; }
.gb-hero__media { grid-area: media; width: 96px; height: 96px; border-radius: 6px; overflow: hidden; background: var(--bg-tint); align-self: start; }
.gb-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.gb-hero__media.is-contain img { object-fit: contain; }
.gb-hero__actions { grid-area: actions; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.gb-hero__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.gb-hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.gb-hero__period { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 999px; background: var(--bg-tint); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gb-hero__name { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-top: 10px; overflow-wrap: anywhere; }
.gb-hero__name--sm { font-size: 20px; }
.gb-hero__status { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.gb-hero__status.is-open { color: var(--orange); font-weight: 600; }
.gb-hero__desc { font-size: 13px; color: var(--ink-3); margin-top: 8px; line-height: 1.55; }
.gb-hero__notice { font-size: 13px; color: var(--ink-2); }

/* ② GROUP BUY CALENDAR */
.gb-side__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--ink-2); margin-bottom: 10px; }
.gb-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gb-rows__empty { font-size: 14px; color: var(--ink-3); padding: 14px 0; }
.gb-row { display: block; padding: 0; box-shadow: none; background: var(--surface); border: 1px solid transparent; border-radius: 8px; transition: border-color .15s; }
.gb-row.is-selected { border-color: var(--ink); box-shadow: none; padding: 0; background: var(--surface); }
.gb-row__head { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto 18px; align-items: center; gap: 12px;
  padding: 15px 16px; text-align: left; cursor: pointer; font: inherit; color: inherit; background: none; border: 0; }
.gb-row__date { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 92px; }
.gb-row__name { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.gb-row__state { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.gb-row.is-open .gb-row__state { color: var(--orange); font-weight: 700; }
.gb-row__chev svg { width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s; }
.gb-row.is-selected .gb-row__chev svg { transform: rotate(90deg); color: var(--ink); }
.gb-row.is-ended .gb-row__name, .gb-row.is-ended .gb-row__date { color: var(--ink-3); }
.gb-row__body { padding: 2px 16px 18px; }
.gb-row__when { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.gb-row__when svg { width: 16px; height: 16px; flex: none; stroke: var(--ink-2); }
.gb-row.is-ended .gb-row__when { color: var(--ink-2); font-weight: 400; }
.gb-row__desc { font-size: 13px; color: var(--ink-3); margin-top: 6px; line-height: 1.55; }
.gb-row__note { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.gb-row__actions { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.gb-row__note + .gb-row__actions { margin-top: 10px; }
.gb-row__when + .gb-row__actions, .gb-row__desc + .gb-row__actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.gb-past { margin-top: 18px; }
.gb-past summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 6px 0; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.gb-past summary::-webkit-details-marker { display: none; }
.gb-past summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; transition: transform .2s; }
.gb-past[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.gb-past summary span { color: var(--ink-3); font-weight: 500; }
.gb-past .gb-rows { margin-top: 8px; border-top: 0; }
.gb-past li.gb-row { display: block; padding: 0; border: 0; } /* 예전 지난 공구 목록 스타일 무효화 → UPCOMING 과 같은 패널 */
.cal__day.is-picked::before { background: #E2D5BF; } /* 목록에서 고른 공구 기간 */

/* UPCOMING — 흰 패널 한 장, 행마다 [기간 · 상태 ›] / [상품명] (2026-10-13 수정) */
.gb-rows--panel { gap: 0; background: var(--surface); border-radius: 8px; overflow: hidden; }
.gb-rows--panel > .gb-row { background: transparent; border: 0; border-radius: 0; }
.gb-rows--panel > .gb-row + .gb-row { border-top: 1px solid #EEE8DF; }
.gb-rows--panel > .gb-row.is-selected { background: #FAF6EF; border-color: #EEE8DF; }
.gb-rows--panel .gb-rows__empty { padding: 20px; }
.gb-row--stack .gb-row__head { display: block; min-height: 78px; padding: 16px 20px; }
.gb-row--stack .gb-row__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gb-row--stack .gb-row__date { min-width: 0; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.gb-row--stack .gb-row__meta { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.gb-row--stack .gb-row__chev { display: inline-flex; }
.gb-row--stack .gb-row__chev svg { width: 16px; height: 16px; }
.gb-row--stack .gb-row__name { display: block; margin-top: 6px; font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--ink);
  word-break: keep-all; overflow-wrap: normal; }
.gb-row--stack.is-selected .gb-row__name { font-weight: 700; }
.gb-row--stack .gb-row__body { padding: 0 20px 20px; }
/* 지난 공동구매: UPCOMING 과 같은 두 줄 패널, 글자색만 연하게 */
.gb-row--stack.is-ended .gb-row__date, .gb-row--stack.is-ended .gb-row__state { color: var(--ink-3); }
.gb-row--stack.is-ended .gb-row__name { color: var(--ink-2); }
.gb-row--stack.is-ended .gb-row__chev svg { color: var(--ink-3); }

.more { display: inline-flex; gap: 6px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.more span { transition: transform .15s; }
.more:hover span { transform: translateX(3px); }

/* ---------- Search / Chips ---------- */
.search {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 16px;
}
.search:focus-within { border-color: var(--ink); }
.search svg { color: var(--ink-3); flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.search input::placeholder { color: var(--ink-3); }

.chips {
  display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); background: transparent;
}
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 24px 12px; grid-template-columns: repeat(2, 1fr); }
.card { display: block; }
.card .media { aspect-ratio: 1; margin-bottom: 10px; }
.card img { transition: transform .4s; }
.card:hover img { transform: scale(1.03); }
.card__title { font-size: 15px; font-weight: 500; line-height: 1.45; }
.card__meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; letter-spacing: .02em; display: flex; align-items: center; gap: 6px; }
.card__meta svg { width: 14px; height: 14px; }
/* CONTENTS — 컴팩트 썸네일 · 제목 2줄 · 더보기 */
.grid--contents { gap: 18px 12px; }
.grid--contents .media { aspect-ratio: 1 / 1; margin-bottom: 8px; }
.grid--contents .card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid--contents .card__meta { margin-top: 2px; }

.empty { text-align: center; color: var(--ink-3); padding: 40px 0; }
.notice { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--line); }

/* AVON'S ITEMS — 낮은 이미지 비율 · 제품명 2줄 · 더보기 */
.grid--items { gap: 20px 12px; }
.grid--items .media { aspect-ratio: 7 / 5; margin-bottom: 8px; }
.grid--items .card__title { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid--items .card__row { display: flex; align-items: flex-start; gap: 6px; }
.grid--items .card__row .card__title { min-width: 0; }
.item-badge { flex: none; margin-top: 2px; font-size: 10px; font-weight: 600; line-height: 1; padding: 3px 5px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-2); white-space: nowrap; }
.card--expand { cursor: pointer; }
/* 공구 제품 카드 상태 (진행 중 · 예정 · 종료) — 사진 바로 아래 한 줄 */
.card__state { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 4px; }
.card__state.is-open { color: var(--orange); }
.card__state.is-ended { color: var(--ink-3); font-weight: 600; }
.card--gb.is-ended .media { opacity: .6; }
.card--gb.is-ended .card__title { color: var(--ink-2); }
/* 사진 전체 표시형 카드: 원본은 카드 높이에 맞춰 가운데, 좌우는 같은 사진을 흐리게 */
.card .media--contain img.media__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px); transform: scale(1.25); }
.card .media--contain img.media__fg { position: absolute; top: 0; left: 50%; width: auto; height: 100%; max-width: none; transform: translateX(-50%); }

/* 시리즈 세부 제품 패널 — 대표 카드 줄 아래 전체 폭으로 펼침 */
.series-panel { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease, opacity .25s ease; }
.series-panel.is-open { grid-template-rows: 1fr; opacity: 1; }
.series-panel__inner { overflow: hidden; min-height: 0; }
.series-panel__body { padding: 16px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.series-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.series-panel__title { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.series-panel__close { font-size: 13px; color: var(--ink-2); padding: 6px 0; }
.series-panel__close:hover { color: var(--ink); }
.grid--items { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 좁은 화면에서도 2열 유지 */
.items__more-wrap { text-align: center; margin-top: 28px; }
.items__more-wrap .more { cursor: pointer; }
.contents__more-wrap { text-align: center; margin-top: 28px; }
.contents__more-wrap .more { cursor: pointer; }

/* CONTENTS — 유튜브 롱폼 3 (16:9) + 쇼츠 3 (9:16) */
.yt-row + .yt-row { margin-top: 32px; }
.yt-row__title { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 12px; }
.yt-grid { display: grid; gap: 12px; }
/* 모바일 롱폼: 옆으로 넘기는 카드 (한 장 82% 폭) */
.yt-grid--long {
  grid-auto-flow: column; grid-auto-columns: 82%;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.yt-grid--long::-webkit-scrollbar { display: none; }
.yt-grid--long .yt-card { scroll-snap-align: start; }
/* v6: 인스타그램 릴스 4 (9:16) — 모바일 2열 × 2줄, PC 4열 */
.yt-grid--reel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
.yt-card--reel .yt-card__media { aspect-ratio: 9 / 16; }
.yt-card--reel .yt-card__title { font-size: 13px; line-height: 1.4; }
.contents__more-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.yt-grid--short { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.yt-card { display: block; min-width: 0; }
.yt-card__media { position: relative; margin-bottom: 8px; }
.yt-card--long .yt-card__media { aspect-ratio: 16 / 9; }
.yt-card--short .yt-card__media { aspect-ratio: 9 / 16; }
.yt-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s; }
.yt-card:hover .yt-card__media img { transform: scale(1.03); }
.yt-card__badge {
  position: absolute; left: 6px; top: 6px; font-size: 9px; font-weight: 700; letter-spacing: .06em;
  padding: 3px 5px; border-radius: 2px; background: rgba(30, 29, 27, .72); color: #fff;
}
.yt-card__title { font-size: 14px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; }
.yt-card--short .yt-card__title { font-size: 12px; line-height: 1.4; }
.yt-card__meta { font-size: 11px; color: var(--ink-3); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.yt-card__meta svg { width: 13px; height: 13px; }
.yt-skeleton { height: 420px; border-radius: var(--radius); background: linear-gradient(90deg, var(--ph), var(--bg-tint), var(--ph)); opacity: .5; }

/* ---------- Guide ---------- */
.guide { display: grid; gap: 36px; }
.guide__cover {
  width: 72%; max-width: 320px; margin: 0 auto; aspect-ratio: 3 / 4;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  border-radius: 2px; overflow: hidden;
}
.guide__cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-default {
  height: 100%; background: #EFE9DF; padding: 28px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cover-default__brand { font-size: 10px; letter-spacing: .3em; font-weight: 700; }
.cover-default__title { font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.cover-default__foot { font-size: 10px; letter-spacing: .2em; color: var(--ink-2); border-top: 1px solid var(--ink); padding-top: 10px; }
.guide__title { font-size: 22px; font-weight: 600; margin-top: 16px; line-height: 1.4; }
.guide__desc { color: var(--ink-2); margin: 10px 0 28px; }
.guide__body .btn { width: 100%; }

/* ---------- About ---------- */
#about.section { padding: 56px 0; }
.about {
  display: grid; gap: 20px 18px;
  grid-template-columns: 96px 1fr;
  grid-template-areas: "photo head" "body body";
  align-items: end;
}
.about__photo { grid-area: photo; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--ph); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__head { grid-area: head; padding-bottom: 2px; }
.about__head .section__title { font-size: 26px; }
.about__role { font-size: 13px; color: var(--ink-3); margin-top: 6px; letter-spacing: .02em; }
.about__body { grid-area: body; }
.about__text { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 10px; }
.about__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.about__link {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.about__link:hover { border-color: var(--ink); }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 64px 0; }
.final__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.final__desc { color: var(--ink-2); margin: 8px 0 24px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 32px; font-size: 13px; color: var(--ink-2); }
.footer .logo { color: var(--ink); margin-bottom: 10px; }
.footer__links, .footer__legal { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer__links a, .footer__legal a { display: inline-flex; align-items: center; min-height: 32px; } /* 누르기 쉬운 높이 확보 */
.footer a:hover { color: var(--ink); }
.footer__copy { color: var(--ink-3); margin-top: 8px; font-size: 12px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(30, 29, 27, .45); }
.modal__panel {
  position: relative; width: 100%; max-height: 92vh; overflow-y: auto;
  background: var(--bg); padding: 36px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  border-radius: 12px 12px 0 0;
}
.modal__close { position: absolute; top: 10px; right: 10px; }
.modal__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .28em; color: var(--ink-3); margin-bottom: 10px; }
.modal__title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.modal__desc { font-size: 15px; color: var(--ink-2); margin: 8px 0 24px; }
body.no-scroll { overflow: hidden; }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field em { font-style: normal; color: var(--ink-3); }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--ink); outline: none;
}
.field input:focus { border-color: var(--ink); }

.interests { border: 0; padding: 0; margin: 6px 0 18px; }
.interests legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.interests > div { display: flex; flex-wrap: wrap; gap: 8px; }
.interest input { position: absolute; opacity: 0; pointer-events: none; }
.interest span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.interest input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.interest input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; color: var(--ink-3); margin-left: 4px; }
.form-error { min-height: 20px; font-size: 13px; color: #A1402F; margin: 8px 0 10px; }

/* =====================================================================
   Tablet / PC
   ===================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 72px; }
  .br-m { display: none; }
  /* CONTENTS 유튜브: PC는 롱폼 3열, 쇼츠는 세로 카드 3열(너무 커지지 않게 최대 폭 제한) */
  .yt-grid--long { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 20px; }
  .yt-grid--short { grid-template-columns: repeat(3, minmax(0, 220px)); gap: 20px; }
  .yt-card--short .yt-card__title { font-size: 13px; }
  .yt-row + .yt-row { margin-top: 44px; }
  .yt-grid--reel { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

  .hero { padding: 56px var(--gutter) 88px; }
  .hero__avatar { width: 200px; height: 200px; margin-bottom: 30px; }
  .hero__title { font-size: 44px; }
  .hero__desc { font-size: 18px; }

  .section { padding: 112px 0; }
  .section__head { margin-bottom: 36px; }
  .section__title { font-size: 40px; }
  .section__lead { font-size: 18px; }

  .grid { gap: 36px 20px; grid-template-columns: repeat(3, 1fr); }
  .gb-layout { grid-template-columns: minmax(0, 420px) 1fr; gap: 56px; align-items: start; }
  /* 공구 카드 배치: 1장 = 가운데 · 최대 560px / 2장 = 균형 있는 2열 / 3장 이상 = 폭에 맞춰 자동 배치 */
  .gb-cards--1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .gb-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gb-cards--n { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .gb-kakao { padding: 32px 28px 26px; }
  .gb-kakao .btn--kakao { width: auto; min-width: min(320px, 100%); }
  .gb-side .gb-detail { padding: 22px 24px 24px; }
  .gb-detail .gb-detail__action .btn { width: auto; min-width: 280px; }
  .gb-hero { grid-template-columns: minmax(0, 440px) 200px; grid-template-areas: "body media" "actions media"; gap: 0 56px; padding: 32px 36px; align-items: start; justify-content: center; } /* PC: 텍스트 칸 최대 440px + 간격 56px + 사진 200px 를 카드 가운데에 한 묶음으로 (10/13 여백 조정) */
  .gb-hero__media { width: 200px; height: 200px; grid-row: 1 / span 2; }
  .gb-hero:not(.has-media) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "body" "actions"; }
  .gb-hero__name { font-size: 32px; }
  .gb-hero__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
  .gb-hero__notice { flex-basis: 100%; } /* PC: 안내 문구는 버튼 위 한 줄 */
  .gb-hero__actions .gb-btn, .gb-row__actions .gb-btn { width: auto; min-width: 220px; }
  .gb-row__actions { flex-direction: row; flex-wrap: wrap; }
  .gb-schedule { margin-top: 56px; }
  .gb-cal { max-width: 420px; }
  .gb-schedule { margin-top: 48px; }
  .cal { padding: 20px 18px 16px; }
  .gb__actions { flex-direction: row; align-items: center; gap: 28px; }
  .gb__actions .btn { width: auto; }

  .search { max-width: 520px; }
  .chips { margin-left: 0; margin-right: 0; padding: 0; flex-wrap: wrap; }

  .guide { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .guide__cover { width: 100%; max-width: 380px; }
  .cover-default { padding: 40px 32px; }
  .cover-default__title { font-size: 28px; }
  .guide__title { font-size: 28px; }
  .guide__body .btn { width: auto; }

  #about.section { padding: 88px 0; }
  .about { max-width: 820px; grid-template-columns: 180px 1fr; grid-template-areas: "photo head" "photo body"; gap: 14px 48px; align-items: start; }
  .about__head { align-self: end; }
  .about__head .section__title { font-size: 32px; }
  .final { padding: 96px 0; }
  .final__title { font-size: 36px; }

  .modal { align-items: center; }
  .modal__panel { max-width: 440px; padding: 44px 36px 36px; border-radius: 8px; }
}

@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 600; letter-spacing: .14em; }
  .nav a { color: var(--ink-2); }
  .nav a:hover { color: var(--ink); }
  .nav .btn { margin-left: 4px; letter-spacing: 0; }
  .header__mobile { display: none; }
  .header__inner { padding-right: var(--gutter); }
  .logo { font-size: 17px; }

  .grid--items { grid-template-columns: repeat(6, 1fr); gap: 32px 16px; }
  .grid--contents { grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 경제적 이해관계 표시 (쿠팡 파트너스 시정 2026-10-19) — 페이지 맨 위, 닫기·접기 없음 */
.disclosure { margin: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; padding: 10px 16px; word-break: keep-all; overflow-wrap: break-word; }
.disclosure-box { margin: 0 0 24px; padding: 14px 16px; background: #FAF6EF; border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 8px; font-size: 14px; line-height: 1.6; color: var(--ink); word-break: keep-all; overflow-wrap: break-word; }
.disclosure-box strong { font-weight: 700; }
@media (min-width: 768px) { .disclosure { font-size: 15px; } .disclosure-box { font-size: 15px; } }

/* 공구 제품 카드 (여러 제품 공구, 2026-11-08) */
.gb-picks { display: grid; gap: 8px; width: 100%; }
.gb-pick { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: #fff; border: 1px solid #e3e0da; border-radius: 12px; color: #222; text-decoration: none; transition: border-color .15s; }
.gb-pick:hover { border-color: #222; }
.gb-pick__img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; background: #f4f2ee; }
.gb-pick__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; text-align: left; }
.gb-pick__text strong { font-size: 15px; font-weight: 700; }
.gb-pick__text small { font-size: 13px; color: #777; }
.gb-pick__go { flex: none; font-size: 13px; font-weight: 600; color: #555; white-space: nowrap; }
.gb-pick.is-order .gb-pick__go { color: #fff; background: #222; padding: 7px 12px; border-radius: 999px; }

/* 공구 안내 (혜택 · 이벤트) — STEP26 2026-11-10, 11/10 대표님 "너무 길게 내려온다" → 촘촘하게 */
.gb-info { width: 100%; flex-basis: 100%; margin-top: 2px; border: 1px solid #e3e0da; border-radius: 12px; background: #fff; text-align: left; }
.gb-info > summary { cursor: pointer; list-style: none; padding: 11px 14px; font-size: 14px; font-weight: 700; color: #222; display: flex; justify-content: space-between; align-items: center; }
.gb-info > summary::-webkit-details-marker { display: none; }
.gb-info > summary::after { content: "+"; font-size: 18px; font-weight: 400; color: #777; }
.gb-info[open] > summary::after { content: "−"; }
.gb-info__body { padding: 0 14px 12px; display: grid; gap: 10px; }
.gb-info__h { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #888; margin-bottom: 3px; }
.gb-info__list { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.55; color: #222; }
.gb-info__list li::before { content: "· "; color: #999; }
.gb-info__events { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; color: #222; }
.gb-info__ev { line-height: 1.45; }
.gb-info__ev strong { font-weight: 700; margin-right: 4px; }
.gb-info__cnt { display: inline-block; margin-left: 2px; padding: 0 7px; border-radius: 999px; background: #f4f2ee; font-size: 11px; font-weight: 600; line-height: 18px; }
.gb-info__how { margin-top: 1px; font-size: 12px; line-height: 1.45; color: #666; }
@media (min-width: 768px) { .gb-info__body:has(> .gb-info__sec + .gb-info__sec) { grid-template-columns: 1fr 1.4fr; gap: 16px; } }
.gb-spec { border-top: 1px solid #eee; }
.gb-spec > summary { cursor: pointer; padding: 8px 0; font-size: 13px; font-weight: 600; }
.gb-spec dl { display: grid; grid-template-columns: 88px 1fr; gap: 4px 10px; margin: 0 0 8px; font-size: 12px; line-height: 1.45; }
.gb-spec dt { color: #777; }
.gb-spec dd { margin: 0; color: #222; overflow-wrap: anywhere; }
.gb-info__src { margin-top: 6px; font-size: 11px; color: #999; }
.gb-info__body > .gb-info__sec:only-child > .gb-info__h { display: none; } /* 한 가지(이벤트만)일 땐 제목이 위 「이벤트 보기」와 겹치므로 숨김 */
.gb-info { word-break: keep-all; } /* 한글 단어 중간에서 줄이 끊기지 않게 (11/10 대표님 "줄바꿈 문장에 맞게") */
