/* ==========================================================================
   event-flowercalendar.css (2027 꽃 캘린더 이벤트 페이지)
   - 기획 전달본(1027_꽃캘린더_이벤트페이지_1차최종.html)의 구성·문구를 그대로 두고
     디자인만 99플라워 리뉴얼 기준으로 다시 잡은 풀폭 랜딩 페이지.
   - 폰트 : 읽는 글은 전부 Pretendard(사이트 공통). Noto Serif KR 은 "제목과 큰 숫자"에만 쓴다.
     · 세리프 : 히어로 h1 / 감성 섹션 h2(.fc-title) / 참여 방법 h2(.fc-how .fc-head__tit) /
               큰 장식 숫자(달력 · 참여 단계 · 월 카드의 01~12)
     · 그 외(본문 · 힌트 · 안내 · 버튼 · 팝업 · 금액 · 날짜) 는 모두 Pretendard. 새 요소도 이 기준을 따른다.
   - 컬러 : 이벤트 무드(파스텔 핑크)가 사이트 토큰에 없어 이 페이지 전용 변수(--fc-*)를 .fc 안에 둔다.
   - 반응형: PC 퍼스트
     PC     : 1100px 이상 (기본값)
     Tablet : @media (max-width: 1099px)
     Mobile : @media (max-width: 767px)
   ========================================================================== */


/* ===== 페이지 변수 ===== */
.fc {
  --fc-serif: 'Noto Serif KR', 'AppleMyungjo', serif;

  /* 비공개 달 실루엣 색 : 배경의 연한 핑크(마지막 초대 · 미니 달력 배경과 같은 색) */
  --fc-sil: var(--fc-invite-bg);

  /* 감성(세리프) 제목 크기 — 사이트 제목 토큰(--fz-heading-l)보다 5px 크게 두어 본문 옆에서 약해 보이지 않게 함
     (PC 34px · 모바일은 아래 미디어쿼리에서 따로 +2px). 세리프 제목(.fc-title · 참여 방법)만 쓰고,
     산세리프인 FAQ 제목(.fc-head__tit)은 크게 보이지 않게 사이트 토큰(--fz-heading-l) 그대로 둠 */
  --fc-fz-title: calc(var(--fz-heading-l) + 5px);

  /* 달력 숫자처럼 크기가 고정인 장식용 숫자 (토큰에 없는 크기라 페이지 변수로 둠) */
  --fc-fz-num-l: 64px;

  /* 섹션 상하 여백 */
  --fc-sec-y: calc(var(--space-96) + var(--space-16));

  /* 핑크 라벨(.fc-eyebrow)과 바로 아래 제목 사이 간격 — 모든 섹션이 이 값 하나를 따르고,
     각 묶음의 gap · 제목 여백이 다른 만큼은 아래 규칙에서 빼서 맞춤 */
  --fc-eyebrow-gap: calc(var(--space-16) * 2);

  /* 글 + 이미지 두 칸으로 가운데에 모아 보여주는 섹션(꽃편지 · 마지막 초대)의 PC 폭.
     컨테이너(1280px)까지 펴면 두 칸 사이가 너무 벌어져서 조금 좁게 둠. 두 섹션은 같은 값으로 시작선을 맞춤 */
  --fc-narrow-w: 1120px;

  /* 색 : 99플라워 브랜드 서피스 · 블러시 핑크 · CTA 는 브랜드 레드 */
  --fc-hero-bg:
    radial-gradient(55% 75% at 82% 45%, rgba(255, 255, 255, 0.75), transparent 70%),
    linear-gradient(120deg, #FBE3E6 0%, #FDF1EE 48%, #F4EFFA 100%);
  --fc-invite-bg: #FAEBEC;
  --fc-bubble: #C04D59;
  --fc-surface: var(--base-white);
  --fc-tint: #FAF7F5;
  --fc-band: #FBEAEC;
  --fc-paper: var(--base-white);
  --fc-paper-under: #FCF9F9;
  --fc-paper-under-2: #F6F0F0;
  --fc-paper-line: #F2E8E9;
  --fc-ring: #DEC5C5;
  --fc-line: #F0DFE0;
  --fc-accent: var(--brand-primary);
  --fc-accent-dark: var(--brand-primary-dark);
  --fc-accent-soft: var(--brand-primary-light);
  --fc-accent-text: #D06A74;
  --fc-ink: var(--text-primary);
  --fc-ink-sub: var(--text-secondary);
  --fc-ink-mute: var(--text-muted);
  --fc-shadow: rgba(150, 80, 90, 0.22);

  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 배경 리듬 : 히어로(그라데이션) → 화이트 섹션들 → 열두 장(--fc-tint, 연한 뉴트럴) → 화이트 →
   마지막 초대(--fc-invite-bg, 히어로보다 한 톤 짙은 단색) → FAQ 화이트 → 유의사항 뉴트럴.
   핑크는 히어로와 마지막 초대 두 곳에만 넓게 쓰고 나머지는 포인트 컬러로만 쓴다.
   달력 종이는 화이트 (--fc-paper) */

/* ===== 공통 텍스트 · 버튼 ===== */
.fc-eyebrow {
  font-size: var(--fz-label-s);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: var(--lh-tight);
  color: var(--fc-accent-text);
}

/* 감성 섹션 제목 (세리프) */
.fc-title {
  font-family: var(--fc-serif);
  font-size: var(--fc-fz-title);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--fc-ink);
  margin: var(--space-16) 0;
}

.fc-title b {
  font-weight: 500;
  color: var(--fc-accent);
}

/* 라벨 ↔ 제목 간격 맞춤 : 묶음마다 gap 이 달라 그만큼 제목 위쪽 여백에서 뺌 */
.fc-key__inner .fc-title {
  margin-top: calc(var(--fc-eyebrow-gap) - var(--space-24));
}

.fc-head .fc-title,
.fc-head .fc-head__tit {
  margin-top: calc(var(--fc-eyebrow-gap) - var(--space-14));
}

.fc-invite__copy .fc-title {
  margin-top: calc(var(--fc-eyebrow-gap) - var(--space-16));
}

/* 정보성 섹션 머리 (참여 방법 · FAQ — Pretendard) */
.fc-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-14);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.fc-head__tit {
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: var(--lh-heading);
  color: var(--fc-ink);
}

/* 참여 방법 제목만 세리프 : 이야기 흐름 안에 있는 단계 설명이라 앞뒤 감성 섹션과 이어지게 함 (FAQ 제목은 정보라 산세리프 유지) */
.fc-how .fc-head__tit {
  font-family: var(--fc-serif);
  font-size: var(--fc-fz-title);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fc-head__desc {
  font-size: var(--fz-body-m);
  line-height: 1.8;
  color: var(--fc-ink-sub);
}

.fc-fine {
  font-size: var(--fz-caption);
  line-height: 1.75;
  color: var(--fc-ink-mute);
}

/* 공통 .btn 은 그대로 두고 이 페이지에서만 이벤트 컬러로 덮어씀 (브랜드 레드와 같은 값) */
.fc .fc-btn {
  background: var(--fc-accent);
  color: var(--base-white);
  transition: background 0.2s;
}

.fc .fc-btn:hover {
  background: var(--fc-accent-dark);
}

.fc .fc-btn--dark {
  background: var(--fc-ink);
}

.fc .fc-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 비회원 안내 : main[data-login="guest"] 일 때만 노출 */
.fc-guest-note {
  display: none;
  font-size: var(--fz-body-xs);
  color: var(--fc-ink-mute);
}

.fc[data-login="guest"] .fc-guest-note {
  display: block;
}

.fc-guest-note a {
  font-weight: 600;
  color: var(--fc-accent);
}

/* PC · 모바일에서만 줄바꿈 (태블릿에서는 아래 Tablet 블록에서 숨김) */
.fc-br-notab {
  display: inline;
}


/* ===== 히어로 ===== */
.fc-hero {
  overflow: hidden;
  background: var(--fc-hero-bg);
}

.fc-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: var(--space-64);
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-96) var(--space-side) var(--space-64);
}

.fc-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin-top: -32px;
}

/* 마감 안내 : 주문 버튼 바로 위 말풍선 (아래쪽 꼬리가 버튼을 가리킴) */
.fc-hero__chip {
  position: relative;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--fc-ink);
  font-size: var(--fz-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--base-white);
  /* 제목 문구가 다 뜬 뒤 한 번 톡 내려앉고 끝. 그 뒤로는 가만히 있어서 글자가 번지지 않음 */
  animation: fc-pop 0.9s ease-out 0.9s both;
}

/* 삼각형을 박스 안쪽으로 1px 겹쳐 둠 : 배율이 125% · 150% 인 화면에서 박스와 삼각형 경계가 소수 픽셀로 갈려 틈이 보이는 것 방지 */
.fc-hero__chip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 14px;
  border-top: 5px solid var(--fc-ink);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.fc-hero__tit {
  font-family: var(--fc-serif);
  font-size: var(--fz-heading-xxl);
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--fc-ink);
}

.fc-hero__name {
  display: block;
  margin-bottom: var(--space-14);
  font-family: var(--font-base-family);
  font-size: var(--fz-label-l);
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.4;
}

/* 문장이 한 줄씩 떠오르는 등장 효과 */
.fc-hero__line {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  animation: fc-rise 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.fc-hero__line + .fc-hero__line {
  animation-delay: 0.45s;
}

/* 제목 안 강조 두 곳("12월" · "열두 달의 설렘")은 같은 두께(600)로 도드라지게. 12월만 포인트 컬러 */
.fc-hero__line em,
.fc-hero__line b {
  font-weight: 500;
}

.fc-hero__line em {
  font-style: normal;
  color: var(--fc-accent);
}

/* 내려앉으며 아주 살짝 한 번 튕김 (띠용) */
@keyframes fc-pop {
  0% { opacity: 0; transform: translate3d(0, -12px, 0); animation-timing-function: ease-out; }
  45% { opacity: 1; transform: translate3d(0, 3px, 0); animation-timing-function: ease-in-out; }
  72% { transform: translate3d(0, -1.5px, 0); animation-timing-function: ease-in-out; }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fc-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.fc-hero__lead {
  margin-top: var(--space-32);
  font-size: var(--fz-body-xl);
  line-height: 1.7;
  color: var(--fc-ink-sub);
}

.fc-hero__lead b {
  font-weight: 600;
  color: var(--fc-ink);
}

/* 안내 둘째 줄은 첫 줄(강조)보다 한 단계 작게 : XL 토큰보다 1px 작음 (PC 19px · 태블릿 18px). 모바일은 아래에서 첫 줄과 같게 */
.fc-hero__sub {
  font-size: calc(var(--fz-body-xl) - 1px);
}

.fc-hero__benefit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-8) var(--space-8);
  margin-top: var(--space-14);
  font-size: var(--fz-body-m);
  font-weight: 600;
  color: var(--fc-ink);
}

.fc-hero__benefit-max {
  color: var(--fc-accent);
}

.fc-hero__benefit-max b {
  font-size: var(--fz-price-l);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.fc-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  margin-top: var(--space-16);
}

/* 비회원 안내 : 배너 바로 아래 흰 띠, 가운데 정렬 (비회원일 때만 보임) */
.fc-hero__guest {
  padding: var(--space-16) var(--space-side);
  border-bottom: 1px solid var(--fc-line);
  background: var(--fc-surface);
  text-align: center;
}


/* ===== 넘기는 달력 (히어로) =====
   흰 종이 여러 장이 살짝 비뚤게 겹친 묶음(.fc-calendar__under) 위에서
   맨 앞 장(.fc-calendar__pager 안의 .fc-leaf)이 옆으로 날아가며 다음 달이 드러난다.
   날아가는 방향 · 각도는 매번 조금씩 다르다 (JS). */
.fc-hero__calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-32);
}

.fc-calendar {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 32 / 44;
}

.fc-calendar__under {
  position: absolute;
  inset: 0;
  border: 1px solid var(--fc-paper-line);
  background: var(--fc-paper-under);
  transform: translate(6px, 7px) rotate(1.2deg);
  box-shadow: 0 24px 40px -28px var(--fc-shadow);
}

.fc-calendar__under--2 {
  background: var(--fc-paper-under-2);
  transform: translate(10px, 14px) rotate(-1.6deg);
}

.fc-calendar__pager {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.fc-calendar__pager.is-dragging {
  cursor: grabbing;
}

.fc-calendar__pager:focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: 6px;
}

.fc-calendar__dots {
  display: flex;
  gap: var(--space-8);
}

.fc-calendar__dots i {
  width: 18px;
  height: 1px;
  background: var(--fc-ring);
  transition: background 0.6s;
}

.fc-calendar__dots .is-active {
  background: var(--fc-ink);
}

.fc-calendar__hint {
  margin-top: calc(var(--space-14) * -1);
  font-size: var(--fz-body-xs);
  line-height: 1.8;
  text-align: center;
  color: var(--fc-ink-mute);
}

/* 마우스 / 터치 기기별 안내 문구 (화면 폭이 아니라 입력 방식 기준) */
.fc-calendar__hint-touch {
  display: none;
}

@media (hover: none) {
  .fc-calendar__hint-mouse {
    display: none;
  }

  .fc-calendar__hint-touch {
    display: inline;
  }
}


/* ===== 달력 한 장 (.fc-leaf) ===== */
.fc-leaf {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 22px 26px;
  border: 1px solid var(--fc-paper-line);
  background: var(--fc-paper);
  color: var(--fc-ink);
}

.fc-leaf--back,
.fc-calendar__pager > .fc-leaf {
  box-shadow: 0 24px 40px -28px var(--fc-shadow);
}

.fc-leaf__rings {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}

.fc-leaf__rings i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fc-ring);
}

.fc-leaf__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.fc-leaf__num {
  font-family: var(--fc-serif);
  font-size: 72px;
  font-weight: 300;
  line-height: 0.85;
}

.fc-leaf__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.fc-leaf__mo {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--fc-ink-mute);
}

.fc-leaf__fl {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fc-leaf__fl--soon {
  font-family: var(--font-base-family);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fc-accent);
}

.fc-leaf__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

/* 비공개 달의 실루엣(이미지 파일이 있는 달) : 월별 이미지(투명 배경)의 모양 그대로 한 가지 색(--fc-sil)만 입힘.
   이미지가 확인되기 전에는 숨겨 둠 */
.fc-sil {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.fc-sil.is-ready {
  opacity: 1;
  background: var(--fc-sil);
  filter: blur(1.5px);
  -webkit-mask: var(--fc-sil-img) center / contain no-repeat;
  mask: var(--fc-sil-img) center / contain no-repeat;
}

/* 아직 비밀인 달의 봉오리 : 모든 비공개 달이 같은 그림을 쓰고, 꽃 스티커보다 작게 놓아 "아직 안 핀" 느낌만 줌 */
.fc-leaf__art .fc-bud,
.fc-mini-leaf__art .fc-bud {
  width: 38%;
  height: 38%;
}

/* 월별 꽃 이미지 : 흰 배경이어도 흰 종이 위에서는 multiply 로 배경이 사라짐 (가장자리 흐림 · 블러 처리 없음) */
.fc-leaf__art img,
.fc-mini-leaf__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.fc-leaf__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--fc-paper-line);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fc-ink-mute);
}

.fc-leaf__foot b {
  font-weight: 500;
  color: var(--fc-accent-text);
}


/* ===== 이벤트 한눈에 보기 ===== */
.fc-glance {
  border-bottom: 1px solid var(--fc-line);
  background: var(--fc-surface);
}

.fc-glance__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-96) var(--space-side);
  text-align: center;
}

.fc-glance__tit {
  font-size: var(--fz-label-title);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--fc-ink-mute);
}

.fc-glance__desc {
  max-width: 40em;
  margin-top: var(--space-24);
  font-size: var(--fz-body-l);
  line-height: 1.9;
  color: var(--fc-ink-sub);
}

.fc-glance__desc b {
  font-weight: 600;
  color: var(--fc-accent);
}

.fc-glance__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: var(--space-48);
  border-top: 2px solid var(--fc-ink);
  border-bottom: 1px solid var(--fc-line);
}

.fc-glance__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 28px var(--space-24);
}

.fc-glance__item + .fc-glance__item {
  border-left: 1px solid var(--fc-line);
}

.fc-glance__item dt {
  font-size: var(--fz-label-s);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--fc-accent);
}

.fc-glance__item dd {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fc-glance__item b {
  font-size: var(--fz-body-xl);
  font-weight: 600;
  line-height: 1.45;
  color: var(--fc-ink);
}

.fc-glance__item small {
  font-size: var(--fz-caption);
  color: var(--fc-ink-mute);
}


/* ===== 캠페인 문장 ===== */
.fc-key {
  /* 미니 달력에서 옆으로 날아가는 종이가 가로 스크롤을 만들지 않도록 */
  overflow: hidden;
  /* 위쪽 일부(제목)만 흰색, 그 아래부터 내려가며 연한 핑크로 번져서 맨 아래 흰 미니 달력이 핑크 위에 놓임 */
  background: linear-gradient(to bottom, var(--fc-surface) 15%, var(--fc-invite-bg) 100%);
  text-align: center;
}

.fc-key__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--fc-sec-y) var(--space-side) var(--space-96);
}

.fc-key__story {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  font-size: var(--fz-body-m);
  line-height: 2;
  color: var(--fc-ink-sub);
}

.fc-key__msg {
  margin-top: var(--space-64);
  font-family: var(--fc-serif);
  font-size: var(--fz-heading-m);
  font-weight: 500;
  line-height: 1.7;
  color: var(--fc-ink);
}

.fc-key__msg b {
  font-weight: 500;
  color: var(--fc-accent);
}

.fc-key__bloom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.fc-key__line {
  width: 1px;
  height: 44px;
  background: var(--fc-line);
}


/* ===== 미니 달력 (캠페인 문장 아래, 누르면 한 장씩 옆으로 날아가며 표지까지) ===== */
.fc-mini {
  position: relative;
  width: 100%;
  /* 크기 · 비율은 메인 배너 달력(.fc-calendar)과 같게 맞춤 */
  max-width: 320px;
  aspect-ratio: 32 / 44;
  cursor: pointer;
}

.fc-mini:focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: 8px;
}

/* 열세 장(1월 ~ 12월 + 표지)이 겹쳐 쌓이는 곳. 열두 장이 한 장씩 옆으로 날아가며 사라지고 표지만 남음 */
.fc-mini__stack {
  position: absolute;
  inset: 0;
}

/* 달력 아래 "눌러 보세요" 안내 (위쪽 꼬리가 달력을 가리킴) */
.fc-mini__hint {
  position: relative;
  margin-top: var(--space-8);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--fc-bubble);
  font-size: var(--fz-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--base-white);
  cursor: pointer;
}

.fc-mini__hint::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  margin-left: -5px;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--fc-bubble);
  border-left: 5px solid transparent;
}

.fc-mini__hint.is-hidden {
  visibility: hidden;
}

.fc-mini__under {
  position: absolute;
  inset: 0;
  border: 1px solid var(--fc-paper-line);
  background: var(--fc-paper-under);
  transform: translate(5px, 6px) rotate(1.4deg);
  box-shadow: 0 22px 34px -22px var(--fc-shadow);
}

.fc-mini__under--2 {
  background: var(--fc-paper-under-2);
  transform: translate(9px, 12px) rotate(-1.8deg);
}

.fc-mini-leaf {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  overflow: hidden;
  padding: 22px 26px;
  border: 1px solid var(--fc-paper-line);
  background: var(--fc-paper);
  color: var(--fc-ink);
}


.fc-mini-leaf__rings {
  display: flex;
  gap: var(--space-16);
}

.fc-mini-leaf__rings i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fc-ring);
}

/* 월 숫자(왼쪽) · 월 이름(오른쪽) 한 줄 : 메인 배너 달력(.fc-leaf__top)과 같은 모양 */
.fc-mini-leaf__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
}

.fc-mini-leaf__num {
  font-family: var(--fc-serif);
  font-size: 72px;
  font-weight: 300;
  line-height: 0.9;
}

.fc-mini-leaf__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.fc-mini-leaf__mo {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--fc-ink-mute);
}

.fc-mini-leaf__fl {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 아직 공개 전인 달은 꽃 이름 대신 오픈일 */
.fc-mini-leaf__fl--soon {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fc-accent);
}

.fc-mini-leaf__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

/* 열두 장을 다 넘긴 뒤 보이는 표지 */
.fc-mini-leaf--cover {
  grid-template-rows: auto 1fr;
}

.fc-mini-leaf__cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fc-mini-leaf__cover b {
  font-family: var(--fc-serif);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
}

.fc-mini-leaf__cover span {
  padding-left: 0.28em;
  font-size: 13px;
  letter-spacing: 0.28em;
}

.fc-mini-leaf__cover i {
  width: 34px;
  height: 1px;
  margin: 6px 0;
  background: var(--fc-ring);
}

.fc-mini-leaf__cover em {
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--fc-accent-text);
}


/* ===== 참여 방법 ===== */
.fc-how {
  background: var(--fc-surface);
}

.fc-how__inner {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--fc-sec-y) var(--space-side);
}

.fc-how__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-64);
  border-top: 1px solid var(--fc-ink);
}

.fc-how__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 30px 28px 8px 0;
}

.fc-how__step + .fc-how__step {
  padding-left: 28px;
  border-left: 1px solid var(--fc-line);
}

.fc-how__num {
  font-family: var(--fc-serif);
  font-size: var(--fz-heading-l);
  font-weight: 500;
  line-height: 1;
  color: var(--fc-accent);
  margin-bottom: 2px;
}

.fc-how__step-tit {
  font-size: var(--fz-body-l);
  font-weight: 600;
  line-height: 1.5;
  color: var(--fc-ink);
}

.fc-how__step-desc {
  font-size: var(--fz-body-xs);
  line-height: var(--lh-body);
  color: var(--fc-ink-sub);
}


/* ===== 열두 장 (월별 힌트 카드) ===== */
.fc-year {
  background: var(--fc-tint);
}

.fc-year__inner {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--fc-sec-y) var(--space-side);
}

.fc-year__note {
  width: 100%;
  margin-top: var(--space-8);
  padding: var(--space-16) var(--space-8);
  border-top: 1px solid var(--fc-accent-text);
  border-bottom: 1px solid var(--fc-accent-text);
  font-size: var(--fz-body-m);
  font-weight: 500;
  line-height: 1.8;
  color: var(--fc-accent-text);
}

.fc-year__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: var(--space-64);
}

/* 더보기 버튼은 모바일에서만 씀 (PC · 태블릿은 열두 장을 다 보여줌) */
.fc-year__more {
  display: none;
  align-items: center;
  gap: 6px;
  padding: var(--space-8) var(--space-12);
  font-size: var(--fz-body-m);
  font-weight: 500;
  color: var(--fc-ink-sub);
  cursor: pointer;
}

/* 글자 옆 화살표 : 접힌 상태는 아래로, 펼친 상태는 위로 */
.fc-year__more::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.fc-year__more[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.fc-card {
  --fc-card-bg: var(--base-white);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  overflow: hidden;
  padding: 20px 20px 18px;
  border: 1px solid var(--fc-line);
  background: var(--fc-card-bg);
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.fc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -18px var(--fc-shadow);
}

.fc-card:focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: 3px;
}

/* 1월 : 이미 공개된 카드 */
.fc-card--reveal {
  border: 1.5px solid var(--fc-accent);
  padding: 19.5px 19.5px 17.5px;
  background: var(--fc-surface);
  box-shadow: 0 16px 28px -12px var(--fc-shadow);
}

/* 공개 중 표시 + 튤립 이미지 : 다른 달 카드보다 한눈에 띄게 */
.fc-card__open {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fc-accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--base-white);
}

.fc-card__img {
  position: absolute;
  top: 54px;
  right: 14px;
  width: 38%;
  height: auto;
  pointer-events: none;
  transform-origin: 50% 100%;
  transition: rotate 0.5s ease-out;
}

/* 마우스를 올리면 줄기 아래를 축으로 살짝 기울어짐 */
.fc-card:hover .fc-card__img {
  rotate: -4deg;
}

.fc-card__en {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--fc-ink-mute);
}

/* 절취선 : 좌우 끝에 반원 구멍 */
.fc-card__perf {
  position: relative;
  display: block;
  height: 0;
  margin: 10px -20px 12px;
  border-top: 1.5px dashed var(--fc-ring);
}

.fc-card__perf::before,
.fc-card__perf::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--fc-line);
  border-radius: 50%;
  background: var(--fc-tint);
}

.fc-card__perf::before {
  left: -7px;
}

.fc-card__perf::after {
  right: -7px;
}

.fc-card--reveal .fc-card__perf {
  border-top-color: var(--fc-accent-text);
}

.fc-card__num {
  font-family: var(--fc-serif);
  font-size: var(--fc-fz-num-l);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--fc-ring);
}

.fc-card--reveal .fc-card__num {
  color: var(--fc-ink);
}

.fc-card__flower {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  color: var(--fc-ink);
}

.fc-card__line {
  margin-top: 8px;
  font-size: var(--fz-body-xs);
  line-height: 1.75;
  color: var(--fc-ink-sub);
}

.fc-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: auto;
  padding-top: 12px;
}

.fc-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 7px;
  border-radius: 999px;
  background: var(--fc-accent-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fc-accent);
}

.fc-card__icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  transition: transform 0.4s;
}

.fc-hint-icon__core {
  fill: var(--base-white);
}

.fc-card:hover .fc-card__icon {
  transform: rotate(36deg);
}

.fc-card__date {
  font-size: 12px;
  color: var(--fc-ink-mute);
}

/* 힌트 봉투 : 카드를 누르면 사각형이 아래에서 올라옴 */
.fc-card__secret {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  opacity: 0;
  transform: translateY(100%);
  background: var(--fc-band);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s;
}

.fc-card.is-open .fc-card__secret {
  opacity: 1;
  transform: none;
}

.fc-card__secret-label,
.fc-card__secret-txt,
.fc-card__secret-date {
  position: relative;
}

.fc-card__secret-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fz-label-s);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--fc-accent);
}

.fc-card__secret-txt {
  font-size: var(--fz-body-xs);
  line-height: 1.85;
  color: var(--fc-ink);
}

.fc-card__secret-date {
  font-size: 12px;
  color: var(--fc-accent);
}

.fc-year__tip {
  margin-top: var(--space-64);
  font-size: var(--fz-body-l);
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  color: var(--fc-ink);
}

.fc-year__fine {
  margin-top: 10px;
  text-align: center;
}


/* ===== 꽃편지 연재 ===== */
.fc-letter {
  /* 이미지를 오른쪽으로 밀어도 화면 밖으로 삐져나가 가로 스크롤이 생기지 않도록 */
  overflow-x: clip;
  background: var(--fc-surface);
}

.fc-letter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  align-items: center;
  gap: var(--space-48);
  width: 100%;
  max-width: var(--fc-narrow-w);
  margin: 0 auto;
  padding: var(--fc-sec-y) var(--space-side);
}

.fc-letter__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.fc-letter__copy .fc-title {
  margin: var(--fc-eyebrow-gap) 0 0;
}

.fc-letter__prose {
  display: flex;
  flex-direction: column;
  gap: var(--space-14);
  margin-top: var(--space-24);
  font-size: var(--fz-body-m);
  line-height: 1.95;
  color: var(--fc-ink-sub);
}

/* 덩어리 사이는 선 없이 여백으로만 나눔 (소개 → 첫 편지 제목 → 도착 안내) */
/* 이번 호 묶음 : 월 카드의 HINT 칩과 같은 알약 라벨 + 산세리프 H3.
   제목(H2, 세리프)과 서체를 달리해 위계가 겹쳐 보이지 않게 함 */
.fc-letter__edition {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  margin-top: calc(var(--space-32) + var(--space-24));
}

.fc-letter__issue {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--fc-accent-soft);
  font-size: var(--fz-body-xs);
  font-weight: 600;
  line-height: 1.6;
  color: var(--fc-accent-text);
}

.fc-letter__coda {
  font-size: var(--fz-body-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: var(--fc-ink);
}

.fc-letter__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  margin-top: var(--space-48);
}

/* 소개 글(.fc-letter__prose)과 같은 크기 · 줄 간격. 색만 진하게, 날짜만 포인트 컬러 */
.fc-letter__arrive {
  margin-bottom: var(--space-12);
  font-size: var(--fz-body-m);
  line-height: 1.95;
  color: var(--fc-ink);
}

.fc-letter__arrive b {
  font-weight: 600;
  color: var(--fc-accent-text);
}

/* 수신 동의 여부에 따라 버튼 문구 교체 (main[data-consent]) */
.fc-letter__when-yes {
  display: none;
}

.fc[data-consent="yes"] .fc-letter__when-no {
  display: none;
}

.fc[data-consent="yes"] .fc-letter__when-yes {
  display: inline;
}

.fc[data-consent="yes"] .fc-btn--dark {
  border: 1px solid var(--fc-line);
  background: var(--fc-tint);
  color: var(--fc-ink);
}

.fc-letter__art {
  position: relative;
  /* 이미지 오른쪽에 투명 여백이 있어 봉투가 왼쪽에 치우쳐 보임 → 그만큼 밀어
     아래 추천 상품 카드와 같은 라인에 봉투가 오도록 맞춤 */
  translate: 6% 0;
}

/* 봉투 뒤로 번지는 연한 핑크 : 새하얀 섹션이 밋밋하지 않게.
   화면에 들어오면(.is-in) 60% 크기에서 이 크기까지 천천히 퍼져 나옴 (js initLetterGlow) */
.fc-letter__art::before {
  content: "";
  position: absolute;
  inset: 4% -4% -8%;
  background: radial-gradient(closest-side, #F9E1E5 24%, transparent);
  opacity: 0;
  scale: 0.6;
  transition: scale 2s cubic-bezier(0.3, 0.6, 0.4, 1), opacity 1.4s ease-out;
}

.fc-letter__art.is-in::before {
  opacity: 1;
  scale: 1;
}

/* 봉투 이미지(배경 투명 gif) : 이미지 안에 글자가 있어 크기만 맞추고 가공하지 않음 */
.fc-letter__img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  /* 원본 gif 를 건드리지 않고 화면에서만 밝게 */
  filter: brightness(1.04);
}

/* ===== [추가] 2026-11-27 / 꽃편지 그림엽서 ===== */
.fc-letter__art--postcard {
  translate: none;
}

/* 엽서는 네모라 봉투 크기의 번짐은 거의 가려짐 → 바깥으로 넓힘 */
.fc-letter__art--postcard::before {
  inset: -24% -16%;
}

.fc-postcard {
  position: relative;
  /* 종이 두 장(::before 뒷장 · ::after 앞장)을 그림 뒤에 깔기 위한 쌓임 맥락.
     figure 에 직접 배경을 주면 z-index 음수인 뒷장이 그 위에 그려져 흰 테두리가 어긋나 보임 */
  isolation: isolate;
  padding: 14px 14px 0;
  rotate: -2.5deg;
}

.fc-postcard::before,
.fc-postcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--base-white);
}

/* 겹쳐 놓인 뒷장 */
.fc-postcard::before {
  z-index: -2;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.1);
  rotate: 5deg;
}

/* 앞장 */
.fc-postcard::after {
  z-index: -1;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.12);
}

.fc-postcard__img {
  display: block;
  width: 100%;
  height: auto;
}

.fc-postcard__caption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  padding: 14px 0 18px;
  /* 토큰에 없는 크기 : 엽서에 작게 찍힌 글자 느낌으로 지정 */
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--fc-ink-sub);
}
/* ===== [추가 끝] ===== */


/* ===== 마지막 초대 ===== */
.fc-invite {
  /* 화살표 움직임 등이 화면 밖으로 삐져나가 가로 스크롤을 만들지 않도록 */
  overflow-x: clip;
  /* 초대 문구 · 추천 상품과 아래 카테고리 · 버튼은 한 묶음이라 끝까지 같은 분홍 (아래 FAQ 는 흰 배경으로 새로 시작) */
  background: var(--fc-invite-bg);
}

.fc-invite__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  align-items: center;
  gap: var(--space-48);
  width: 100%;
  max-width: var(--fc-narrow-w);
  margin: 0 auto;
  padding: var(--fc-sec-y) var(--space-side) var(--space-64);
}

.fc-invite__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
  min-width: 0;
}

.fc-invite__prose {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-top: var(--space-8);
  font-size: var(--fz-body-l);
  line-height: 1.9;
  color: var(--fc-ink-sub);
}

.fc-invite__strong {
  font-weight: 500;
  color: var(--fc-ink);
}

/* 마감 안내 : 메인 배너의 "12.31 마감" 말풍선(.fc-hero__chip)과 같은 모양. 아래쪽 꼬리가 바로 아래 혜택 박스를 가리킴 */
.fc-invite__confirm {
  position: relative;
  margin-top: var(--space-16);
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--fc-ink);
  font-size: var(--fz-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--base-white);
}

.fc-invite__confirm::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 14px;
  border-top: 5px solid var(--fc-ink);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

/* 추천 상품 슬라이드 : 공통 .product-card 는 그대로 두고, 한 장씩 흰 카드(.fc-picks__slide)에 담는다.
   현재 상품이 가운데에 오고 PC 는 앞뒤 상품이 양옆에 흐리게 비침 */
.fc-picks {
  /* 바깥 틀이 없어 화살표를 밀어낼 안쪽 여백도 없음 */
  --fc-picks-pad: 0px;
  /* 종이 바깥, 화살표가 들어갈 좌우 자리 폭 = 페이지 좌우 여백 */
  --fc-picks-out: var(--space-side);
  /* 화살표를 카드에서 더 멀리(바깥쪽으로) 밀어내는 양 */
  --fc-picks-shift: 8px;
  /* 화살표가 바깥으로 다독이는 거리 (좁은 화면은 바깥 자리가 좁아 줄임) */
  --fc-nudge: 6px;
  /* PC : 현재 상품은 틀 폭의 66% 로 가운데에 두고 앞뒤 상품이 양옆에 살짝 비침.
     Tablet / Mobile 은 100% 로 한 장씩 보임 */
  --fc-pk-w: 66%;
  --fc-pk-gap: 8px;

  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  min-width: 0;
}

/* 아래 네비게이터 점 : 달력 링 구멍(.fc-leaf__rings i)과 같은 색 · 크기. 현재 장만 길쭉하게 */
.fc-picks__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}

.fc-picks__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--fc-ring);
  cursor: pointer;
  transition: width 0.3s;
}

/* 눌리는 영역만 넓힘 (눈에 보이는 점은 그대로) */
.fc-picks__dot::after {
  content: "";
  position: absolute;
  inset: -10px -6px;
}

.fc-picks__dot.is-active {
  width: 22px;
}

.fc-picks__dot:focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: 3px;
}

/* 흰 카드 맨 위 작은 제목 (감성 문구라 세리프) */
.fc-picks__tit {
  margin-bottom: var(--space-12);
  font-family: var(--fc-serif);
  font-size: var(--fz-caption);
  letter-spacing: 0.16em;
  text-align: center;
  color: var(--fc-accent-text);
}

/* 카드 그림자가 잘리지 않게 위아래로 여유를 두되, 좌우는 옆 장이 틀 밖으로 새지 않게 막음 */
.fc-picks__viewport {
  overflow: hidden;
  margin: calc(var(--space-24) * -1) 0;
  padding: var(--space-24) 0 calc(var(--space-24) + 20px);
  margin-bottom: calc((var(--space-24) + 20px) * -1);
}

/* 현재 장(--fc-pk-i)이 틀 가운데에 오도록 밀어 줌. js 는 --fc-pk-i 만 바꾸고, 스와이프 중에만 transform 을 직접 씀 */
.fc-picks__track {
  display: flex;
  gap: var(--fc-pk-gap);
  transform: translateX(calc((100% - var(--fc-pk-w)) / 2 - var(--fc-pk-i, 0) * (var(--fc-pk-w) + var(--fc-pk-gap))));
  transition: transform 0.5s cubic-bezier(0.45, 0, 0.2, 1);
}

.fc-picks__slide {
  flex: 0 0 var(--fc-pk-w);
  min-width: 0;
  padding: var(--space-16);
  border: 1px solid var(--fc-paper-line);
  background: var(--base-white);
  box-shadow: 0 24px 40px -28px var(--fc-shadow);
  transition: opacity 0.5s, scale 0.5s cubic-bezier(0.45, 0, 0.2, 1);
}

/* 양옆에 비치는 장 : 작고 흐리게. 누르면 그 장이 가운데로 옴 (js) */
.fc-picks__slide:not(.is-current) {
  opacity: 0.45;
  scale: 0.9;
  cursor: pointer;
}

.fc-picks__stage {
  position: relative;
}

/* 화살표 : 원 없이 < > 만. 카드 영역 바깥(좌우 --space-side 여백 자리)에 두고, 스테이지(=카드) 세로 가운데에 맞춘다 */
.fc-picks__arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.fc-picks__arrows .fc-picks__btn--prev {
  margin-left: calc((var(--fc-picks-pad) + 1px + var(--fc-picks-out)) * -1);
}

.fc-picks__arrows .fc-picks__btn--next {
  margin-right: calc((var(--fc-picks-pad) + 1px + var(--fc-picks-out)) * -1);
}

.fc-picks__btn {
  position: relative;
  width: var(--fc-picks-out);
  height: 56px;
  pointer-events: auto;
  cursor: pointer;
}

/* 첫 장에서는 이전, 마지막 장에서는 다음 화살표를 숨김 (자리는 유지해 반대쪽 화살표가 제 위치에 있게 함) */
.fc-picks__btn.is-hidden {
  visibility: hidden;
}

.fc-picks__btn:focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: -2px;
}

/* 화살표 : 두 변만 그린 사각형을 회전 */
.fc-picks__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--fc-ink-sub);
  border-right: 1px solid var(--fc-ink-sub);
  transition: border-color 0.2s;
}

.fc-picks__btn:hover::before {
  border-color: var(--fc-accent);
}

.fc-picks__btn--prev::before {
  left: calc(50% - var(--fc-picks-shift));
  transform: translate(-30%, -50%) rotate(-135deg);
}

.fc-picks__btn--next::before {
  left: calc(50% + 7px + var(--fc-picks-shift));
  transform: translate(-70%, -50%) rotate(45deg);
}

/* PC : 화살표가 바깥쪽으로 살짝 밀렸다 돌아오는 움직임. 슬라이드를 한 번이라도 쓰면(.is-used) 멈춤.
   translate 속성을 따로 써서 위 ::before 의 transform(회전)과 겹치지 않게 함 */
.fc-picks__btn--prev::before {
  animation: fc-nudge-prev 1.8s ease-in-out infinite;
}

.fc-picks__btn--next::before {
  animation: fc-nudge-next 1.8s ease-in-out infinite;
}

.fc-picks.is-used .fc-picks__btn::before,
.fc-picks__btn:hover::before {
  animation: none;
}

@keyframes fc-nudge-prev {
  0%, 60%, 100% { translate: 0 0; }
  30% { translate: calc(var(--fc-nudge) * -1) 0; }
}

@keyframes fc-nudge-next {
  0%, 60%, 100% { translate: 0 0; }
  30% { translate: var(--fc-nudge) 0; }
}

/* 터치 기기 : 스와이프 안내 (이미지 아래쪽 가운데) */
.fc-picks__hint {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

.fc-picks__hint-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.62);
  font-size: var(--fz-body-xxs);
  font-weight: 500;
  color: var(--base-white);
}

.fc-picks.is-used .fc-picks__hint {
  display: none;
}

/* 터치 기기(hover 없음) : 화살표는 숨기고 스와이프 안내를 보여줌.
   화살표 버튼 자체는 키보드 · 화면 읽기 프로그램용으로 남겨 두고, 포커스를 받으면 다시 보이게 함 */
@media (hover: none) {
  .fc-picks__hint {
    display: flex;
  }

  .fc-picks.is-used .fc-picks__hint {
    display: none;
  }

  .fc-picks__btn {
    opacity: 0;
    pointer-events: none;
  }

  .fc-picks__btn:focus-visible {
    opacity: 1;
  }

  .fc-picks__viewport {
    touch-action: pan-y;
  }
}

.fc-invite__benefit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-16) 20px;
  border-left: 3px solid var(--fc-accent);
  background: var(--base-white);
}

.fc-invite__benefit span {
  font-size: var(--fz-label-s);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--fc-accent);
}

.fc-invite__benefit b {
  font-size: var(--fz-price-l);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fc-ink);
}

.fc-invite__benefit small {
  font-size: var(--fz-caption);
  color: var(--fc-ink-mute);
}

/* 위(왼쪽 글 + 오른쪽 슬라이더)와 정렬 방식이 달라, 라벨 양옆 점선으로 구역이 바뀜을 알림. 폭은 위 영역(--fc-narrow-w)과 맞춤 */
.fc-invite__shop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
  width: 100%;
  max-width: var(--fc-narrow-w);
  margin: 0 auto;
  padding: var(--space-48) var(--space-side) var(--space-96);
  text-align: center;
}

/* 제목이 아니라 섹션 라벨(.fc-eyebrow)과 같은 모양 : 위 분홍 띠의 세리프 제목과 서체가 부딪히지 않게 함 */
.fc-invite__shop-tit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  font-size: calc(var(--fz-label-s) + 2px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: var(--lh-tight);
  color: var(--fc-accent-text);
}

/* 라벨 양옆 점선 : border dotted 는 점 크기 · 간격을 못 정해서 직접 그림. 1px 짜리 점을 4px 간격으로 놓음
   (원형 그라데이션은 1px 보다 작으면 화소보다 작아 1배 화면에서 사라져서 모서리가 있는 1px 칸으로 그림) */
.fc-invite__shop-tit::before,
.fc-invite__shop-tit::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--fc-accent-text) 0 1px, transparent 1px 4px);
}

/* 공통 .category-menu 를 6개 가로 배치 */
.fc-invite__cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
  width: 100%;
  max-width: 820px;
}

.fc-invite__cats .category-menu {
  min-width: 0;
}

.fc-invite__cats .category-menu__img {
  max-width: 96px;
  border: 1px solid var(--fc-line);
  transition: border-color 0.2s, transform 0.2s;
}

.fc-invite__cats .category-menu:hover .category-menu__img {
  border-color: var(--fc-accent);
  transform: translateY(-2px);
}

.fc-invite__cta {
  width: 100%;
  max-width: 420px;
}


/* ===== 자주 묻는 질문 =====
   .faq-toggle 스타일은 delivery.css 와 같은 값 (페이지 스코프 유지 규칙에 따라 복사).
   동작은 common.js initFaqToggle 이 담당 */
.fc-faq {
  background: var(--fc-surface);
}

.fc-faq__inner {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: var(--fc-sec-y) var(--space-side);
}

.fc-faq__list {
  margin-top: var(--space-64);
  border-top: 1px solid var(--fc-ink);
}

.faq-toggle {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  width: 100%;
  padding: var(--space-24) 0;
  border-bottom: 1px solid var(--border-default);
}

.faq-toggle__tit {
  width: 100%;
  font-size: var(--fz-body-m);
  font-weight: 500;
  line-height: var(--lh-body);
  color: var(--text-primary);
}

.faq-toggle__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
  width: 100%;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-toggle__txt {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 30px;
}

/* + 아이콘 : PDP 안내 아코디언(.notice__icon)과 같은 이미지 · 크기 */
.faq-toggle__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: url('../../images/common/icon/icon-toggle-open.svg') center / 10px 10px no-repeat;
  transition: transform 0.2s ease;
}

.faq-toggle.is-open .faq-toggle__icon {
  transform: rotate(45deg);
}

.faq-toggle__desc {
  display: none;
  padding-right: var(--space-48);
  font-size: var(--fz-body-s);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.faq-toggle.is-open .faq-toggle__desc {
  display: block;
}


/* ===== 이벤트 유의사항 ===== */
.fc-notice {
  border-top: 1px solid var(--fc-line);
  background: var(--base-surface);
}

.fc-notice__inner {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: var(--space-64) var(--space-side) var(--space-96);
}

.fc-notice__tit {
  font-size: var(--fz-body-l);
  font-weight: 600;
  color: var(--fc-ink);
}

.fc-notice__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: 18px;
  padding-left: 1.1em;
  list-style: disc;
  font-size: var(--fz-body-xs);
  line-height: 1.75;
  color: var(--fc-ink-sub);
}

.fc-notice__list li::marker {
  color: var(--fc-ring);
}


/* ===== 움직임 줄이기 ===== */
@media (prefers-reduced-motion: reduce) {
  .fc-letter__art::before {
    transition: none;
  }

  .fc-hero__line {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .fc-card,
  .fc-card__secret,
  .fc-card__icon,
  .fc-picks__track,
  .fc-picks__slide,
  .fc-picks__dot {
    transition: none;
  }

  .fc-picks__btn::before,
  .fc-hero__chip {
    animation: none;
  }

  .fc-card:hover .fc-card__img {
    rotate: none;
  }
}


/* ==========================================================================
   Tablet (768px ~ 1099px)
   ========================================================================== */
@media (max-width: 1099px) {
  .fc-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-96);
  }

  /* 작은 화면에서는 가는 세리프(300)가 흐려 보여 400 으로 */
  .fc-hero__tit {
    font-weight: 400;
  }

  /* 1단으로 쌓이면 아래에 가운데 정렬된 달력이 오므로 문구도 가운데 정렬 */
  .fc-hero__copy {
    align-items: center;
    margin-top: 0;
    text-align: center;
  }

  .fc-hero__benefit {
    justify-content: center;
  }

  /* 가운데 정렬에서는 버튼 위 가운데 말풍선이 어색해 보여, 버튼 오른쪽 위 모서리에 걸쳐 둠 */
  .fc-hero__actions {
    position: relative;
    align-items: center;
    margin-top: var(--space-64);
  }

  .fc-hero__chip {
    position: absolute;
    top: -14px;
    right: -6px;
  }

  .fc-hero__chip::after {
    left: auto;
    right: 14px;
  }

  .fc-year__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fc-letter__inner,
  .fc-invite__inner {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }

  .fc-letter__art {
    translate: none;
    /* 문구 위로 올려 작은 일러스트처럼 먼저 보여줌 (마크업 순서는 그대로, 화면 순서만 바꿈) */
    order: -1;
    max-width: 120px;
    margin: 0 auto;
  }

  /* 그림은 봉투처럼 아주 작게 줄이면 알아보기 어려워 더 크게 */
  .fc-letter__art--postcard {
    width: 100%;
    max-width: 360px;
  }

  /* 1단으로 쌓이면 아래에 가운데 놓인 봉투 이미지와 맞게 문구도 가운데 정렬 */
  .fc-letter__copy,
  .fc-letter__edition,
  .fc-letter__cta {
    align-items: center;
    text-align: center;
  }

  /* 마지막 초대도 1단으로 쌓이면 아래에 가운데 놓인 상품 슬라이드와 맞게 문구를 가운데 정렬 */
  .fc-invite__copy {
    align-items: center;
    text-align: center;
  }

  .fc-invite__confirm::after {
    left: 50%;
    margin-left: -5px;
  }

  /* 혜택 박스는 가운데에 놓되 안의 글씨는 왼쪽 정렬 그대로 (왼쪽 선과 함께 원래 모양 유지) */
  .fc-invite__benefit {
    text-align: left;
  }

  .fc-picks {
    --fc-picks-shift: 4px;
    --fc-nudge: 2px;
    /* 좁은 화면은 양옆에 비칠 자리가 없어 한 장씩 */
    --fc-pk-w: 100%;
    --fc-pk-gap: 0px;

    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .fc-invite__cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 420px;
  }

  .fc-br-notab {
    display: none;
  }
}


/* ==========================================================================
   Mobile (~767px)
   ========================================================================== */
@media (max-width: 767px) {
  .fc {
    /* 모바일 제목 토큰(20px)은 이 페이지의 감성 문장에 작아 조금(+2px) 키움 */
    --fc-fz-title: calc(var(--fz-heading-l) + 2px);
    --fc-fz-num-l: 52px;
    --fc-sec-y: var(--space-96);
  }

  /* 메인 배너 제목은 모바일 토큰(30px)에 비해 커 보여 +6px(26px) 로 줄임 */
  .fc-hero__tit {
    font-size: calc(var(--fz-heading-l) + 6px);
  }

  /* 비회원 안내 띠는 모바일에서만 위아래 여백을 한 단계 넓힘 (--space-16 → --space-24) */
  .fc-hero__guest {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }

  /* 안내 문구는 PC · 태블릿은 XL, 모바일은 L */
  .fc-hero__lead,
  .fc-hero__sub {
    font-size: var(--fz-body-l);
  }

  .fc .btn {
    white-space: normal;
  }

  /* 문구 : 모바일에서는 문장을 줄이려고 PC 전용 단어를 뺌 (히어로 안내문) */
  .fc-txt-pc {
    display: none;
  }

  /* 모바일에서는 이 줄바꿈을 없애 앞 두 구절을 한 줄로 이음 (꽃편지 소개 글) */
  .fc-br-nomo {
    display: none;
  }

  /* 한 해 안내 문구(.fc-year__note)는 모바일에서도 PC 처럼 "이야기는" 뒤에서 줄을 바꿈 (태블릿 블록에서 숨긴 것을 되살림) */
  .fc-br-notab {
    display: inline;
  }

  /* 열두 장 힌트 카드 : 7~12월은 "더보기" 를 눌러야 보임 */
  .fc-year__grid:not(.is-open) .fc-card:nth-child(n + 7) {
    display: none;
  }

  .fc-year__more {
    display: flex;
    justify-content: center;
    margin: var(--space-16) auto 0;
  }

  .fc-calendar,
  .fc-mini {
    max-width: 240px;
  }

  .fc-leaf,
  .fc-mini-leaf {
    padding: 16px 18px;
  }

  .fc-leaf__num,
  .fc-mini-leaf__num {
    font-size: 52px;
  }

  .fc-leaf__fl,
  .fc-mini-leaf__fl {
    font-size: 14px;
  }

  .fc-mini-leaf__cover b {
    font-size: 48px;
  }

  /* 한눈에 보기 */
  .fc-glance__list {
    grid-template-columns: 1fr;
  }

  .fc-glance__item {
    padding: 18px 8px;
  }

  .fc-glance__item + .fc-glance__item {
    border-top: 1px solid var(--fc-line);
    border-left: 0;
  }

  /* 참여 방법 */
  .fc-how__steps {
    grid-template-columns: 1fr;
    margin-top: var(--space-48);
  }

  .fc-how__step,
  .fc-how__step + .fc-how__step {
    padding: var(--space-36) var(--space-24);
    border-left: 0;
    border-bottom: 1px solid var(--fc-line);
  }

  /* 열두 장 */
  .fc-year__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fc-card {
    min-height: 206px;
    padding: 16px;
  }

  .fc-card__perf {
    margin: 8px -16px 10px;
  }

  .fc-card__flower {
    font-size: 18px;
  }

  .fc-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .fc-card__chip {
    padding: 4px 8px 4px 6px;
    font-size: 10.5px;
  }

  .fc-card__secret {
    padding: 16px;
  }

  /* 꽃편지 · 초대 */
  .fc-letter__art {
    max-width: 90px;
  }

  .fc-letter__art--postcard {
    max-width: 260px;
  }

  .fc-postcard {
    padding: 10px 10px 0;
  }

  .fc-postcard__caption {
    padding: 10px 0 12px;
  }

  .fc-picks {
    /* 카드를 줄여 가운데에 두고, 화살표는 줄어든 카드 바깥(--fc-picks-out 만큼)에 놓임 */
    --fc-picks-out: calc(var(--space-side) + 14px);

    width: auto;
    max-width: 250px;
    margin-right: auto;
    margin-left: auto;
  }

  /* 마감 말풍선 위(소개 글과의 사이)를 띄움. 말풍선 꼬리는 아래 쿠폰 박스에 닿아야 해서 박스와는 붙여 둠 */
  .fc-invite__confirm {
    margin-top: var(--space-32);
  }

  /* 쿠폰 박스도 작게. 아래 상품 카드와 너무 붙어 보여 아래 여백을 줌 */
  .fc-invite__benefit {
    padding: var(--space-12) 16px;
    margin-bottom: var(--space-16);
  }

  .fc-invite__benefit b {
    font-size: var(--fz-price-m);
  }

  /* 공통 카드는 모바일에서 가로형(이미지 142px + 정보 162px 최소폭)으로 바뀌는데,
     슬라이드 틀 안쪽 폭이 그보다 좁아 오른쪽이 잘림. 한 장씩 보여주는 슬라이드라
     이 페이지에서만 PC 와 같은 세로형으로 유지 (common.css 는 그대로) */
  .fc-picks .product-card {
    display: flex;
    max-width: none;
  }

  .fc-picks .product-card__img,
  .fc-picks .product-card__info {
    min-width: 0;
  }

  .fc-invite__shop {
    gap: 22px;
  }

  .fc-invite__cats .category-menu__img {
    max-width: 72px;
  }

  .fc-invite__cta {
    max-width: none;
  }

  /* FAQ */
  .faq-toggle__desc {
    padding-right: 0;
  }

  /* 유의사항 */
  .fc-notice__inner {
    padding-bottom: var(--space-64);
  }

  .fc-notice__list {
    padding-left: 1em;
  }
}
