@charset "UTF-8";
/* ══════════════════════════════════════════════════════════════
   FREEVIEW — 전공 멘토링 디자인 시스템
   구조: Revolut (풀 필 버튼 / 20px 카드 / 그림자 없음 / 넉넉한 여백)
   색감: 파스텔 솔리드 라이트 모드 (학생이 오래 봐도 눈이 편하게)
   기준: 모바일 우선 — 현장에서 대부분 휴대폰으로 접속
   ══════════════════════════════════════════════════════════════ */

/* ── 폰트 ──────────────────────────────────────────────────────
   나눔고딕 하나로 통일. 한글 11,172자를 400/700/800 세 굵기 모두
   완전히 담고 있어서 글자가 섞일 일이 없다.
   (나눔고딕은 500·600 중간 굵기가 없다. 그래서 이 파일에서는
    본문 400 → 강조 700 → 제목 800 세 단계만 쓴다.)
   ───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');

:root{
  /* 브랜드 — 로고에서 추출 */
  --fv-navy:      #1b2230;   /* 로고 원형 배경 = 잉크 = 주 버튼 */
  --fv-navy-deep: #121826;
  --fv-sky:       #7ad0e5;   /* 로고 글자색 */
  --fv-sky-deep:  #3ba8c4;   /* 링크·아이콘용 (흰 배경에서 대비 확보) */
  --fv-silver:    #c9d2da;

  /* 캔버스 — 라이트 고정 */
  --canvas:       #fbf9f7;   /* 페이지 바탕 (따뜻한 오프화이트) */
  --surface:      #ffffff;   /* 카드 */
  --surface-soft: #f3efea;   /* 인셋·소프트 버튼 */
  --surface-warm: #ede4db;   /* 강조 배너 */

  /* 텍스트 */
  --ink:   #1b2230;
  --body:  #2f3743;
  --mute:  #6b7480;
  --stone: #99a1ab;
  --faint: #c3c9d0;
  --on-dark: #ffffff;

  /* 선 */
  --hairline: #e9e4dd;
  --hairline-strong: #1b2230;

  /* 전공 계열 팔레트 — 솔리드 파스텔, 배경으로만 사용 */
  --c-lavender: #c9c9f0;
  --c-mint:     #bfded4;
  --c-yellow:   #f0dc8a;
  --c-blush:    #eBd6cd;
  --c-sage:     #b3c2a3;
  --c-coral:    #dfa79b;
  --c-sky:      #bed4ea;
  --c-lilac:    #d6c7e8;

  /* 상태 */
  --ok:    #3d8168;
  --warn:  #b8860b;
  --bad:   #c0564f;
  --info:  #3b6fb0;

  /* 반경 */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* 간격 */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;
  --s-12: 48px; --s-16: 64px;

  /* 폰트 — 전부 나눔고딕 */
  --font-kr: 'Nanum Gothic', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --font-en: var(--font-kr);

  /* 그림자 — 파스텔 배경에 어울리게 네이비를 옅게 깐다 */
  --sh-sm: 0 2px 8px rgba(27,34,48,.06);
  --sh-md: 0 8px 22px rgba(27,34,48,.10);
  --sh-lg: 0 16px 40px rgba(27,34,48,.14);
  --ease: cubic-bezier(.22,.9,.3,1);

  /* 모바일 하단 네비 높이 (본문 하단 여백 계산용) */
  --nav-h: 76px;
}

/* ── 리셋 ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body{
  margin:0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;      /* 한글 단어 단위 줄바꿈 */
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* 숫자·코드는 자간을 살짝 벌려 읽기 쉽게 */
.en { font-family: var(--font-en); letter-spacing: .01em; }

/* ── 타이포 ─────────────────────────────────────────────────── */
h1, h2, h3 { margin: 0 0 var(--s-3); color: var(--ink); line-height: 1.25; }

.fv-display{
  font-size: clamp(30px, 8.2vw, 52px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
}
.fv-display .soft { color: var(--mute); font-weight: 400; }

.fv-h1 { font-size: clamp(24px, 6vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.fv-h2 { font-size: clamp(19px, 4.6vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
.fv-h3 { font-size: 17px; font-weight: 700; }

.fv-eyebrow{
  font-size: 13px; font-weight: 400; letter-spacing: .04em;
  color: var(--mute); margin: 0 0 var(--s-2);
}
.fv-lead { font-size: 17px; line-height: 1.7; color: var(--body); }
.fv-sub  { font-size: 14px; color: var(--mute); }
.fv-tiny { font-size: 13px; color: var(--stone); }
.fv-dim  { color: var(--stone); }

/* ── 레이아웃 ───────────────────────────────────────────────── */
.fv-wrap{
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}
.fv-main{
  padding-top: var(--s-6);
  padding-bottom: calc(var(--nav-h) + var(--s-12));   /* 하단 네비에 안 가리게 */
  min-height: 60vh;
}
.fv-sec { margin-bottom: var(--s-10); }
.fv-sec-head{
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-3); margin-bottom: var(--s-4);
}
.fv-sec-head h2 { margin: 0; }

/* ── 헤더 ───────────────────────────────────────────────────── */
.fv-top{
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,249,247,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.fv-top-in{
  display: flex; align-items: center; gap: var(--s-3);
  height: 60px;
}
.fv-logo{ display: flex; align-items: center; gap: 9px; margin-right: auto; }
.fv-logo img, .fv-logo svg { width: 32px; height: 32px; border-radius: 50%; }
.fv-logo-text{
  font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ink);
}
.fv-top-act{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px;
  border-radius: var(--r-full);
  background: var(--ink); color: var(--on-dark);
  font-size: 14px; font-weight: 700;
}
.fv-top-link{ font-size: 14px; font-weight: 400; color: var(--mute); padding: 8px; }

/* ── 버튼 ───────────────────────────────────────────────────── */
.fv-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--r-full);
  background: var(--ink); color: var(--on-dark);
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; text-align: center;
  transition: transform .12s ease, background .15s ease;
}
.fv-btn:active { transform: scale(.975); }
.fv-btn:hover { background: var(--fv-navy-deep); }
.fv-btn.block { display: flex; width: 100%; }

.fv-btn.ghost{
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--hairline-strong);
}
.fv-btn.ghost:hover { background: var(--surface-soft); }

.fv-btn.soft{
  background: var(--surface-soft); color: var(--ink);
}
.fv-btn.soft:hover { background: #e9e3db; }

.fv-btn.off{
  background: var(--surface-soft); color: var(--stone);
  cursor: default; pointer-events: none;
}
.fv-btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* 칩 */
.fv-chips{ display: flex; flex-wrap: wrap; gap: 7px; }
.fv-chip{
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: var(--r-full);
  background: var(--surface-soft); color: var(--body);
  font-size: 13px; font-weight: 400; white-space: nowrap;
}

/* 필터 레일 — 모바일에서 가로 스크롤 */
.fv-rail{
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--s-5) * -1); padding: 0 var(--s-5) 4px;
  -webkit-overflow-scrolling: touch;
}
.fv-rail::-webkit-scrollbar { display: none; }
.fv-rail a{
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--hairline);
  background: var(--surface); color: var(--mute);
  font-size: 14px; font-weight: 400; white-space: nowrap;
}
.fv-rail a.on{
  background: var(--ink); border-color: var(--ink); color: var(--on-dark); font-weight: 700;
}

/* ── 카드 ───────────────────────────────────────────────────── */
.fv-card{
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.fv-panel{
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-6);
}

/* 히어로 배너 */
.fv-hero{
  background: var(--surface-warm);
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-6);
  margin-bottom: var(--s-8);
}
.fv-hero .fv-display { margin-bottom: var(--s-3); }
.fv-hero p { margin: 0 0 var(--s-5); color: var(--body); }

/* 멘토 카드 그리드 — 모바일 2단 */
.fv-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.fv-mentor{
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .14s ease, border-color .14s ease;
}
.fv-mentor:active { transform: scale(.985); }
.fv-mentor:hover { border-color: var(--fv-sky-deep); }
.fv-mentor.full { opacity: .5; }

.fv-mentor-top{
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.fv-mentor-top img { width: 100%; height: 100%; object-fit: cover; }
.fv-initial{
  font-size: 40px; font-weight: 700; color: rgba(27,34,48,.42);
}
.fv-mentor-body{ padding: 12px 14px 14px; }
.fv-mentor-body h3{
  margin: 0 0 2px; font-size: 15px; font-weight: 700; color: var(--ink);
}
.fv-mentor-major{
  font-size: 12px; color: var(--fv-sky-deep); font-weight: 400;
  margin: 0 0 6px;
}
.fv-mentor-tag{
  font-size: 12px; color: var(--mute); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.45;
}
.fv-mentor-meta{
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--stone);
}
.fv-mentor-meta .red { color: var(--bad); font-weight: 700; }

/* 계열 색상 — 카드 상단 블록 배경 */
.tone-lavender { background: var(--c-lavender); }
.tone-mint     { background: var(--c-mint); }
.tone-yellow   { background: var(--c-yellow); }
.tone-blush    { background: var(--c-blush); }
.tone-sage     { background: var(--c-sage); }
.tone-coral    { background: var(--c-coral); }
.tone-sky      { background: var(--c-sky); }
.tone-lilac    { background: var(--c-lilac); }

/* ── 멘토 상세 ─────────────────────────────────────────────── */
.fv-detail-hero{
  border-radius: var(--r-xl);
  padding: var(--s-6);
  margin-bottom: var(--s-6);
  text-align: center;
}
.fv-avatar{
  width: 108px; height: 108px; margin: 0 auto var(--s-4);
  border-radius: 50%; overflow: hidden;
  background: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
}
.fv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fv-avatar .fv-initial { font-size: 42px; }

.fv-facts{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: var(--s-6);
}
.fv-fact{ background: var(--surface); padding: 14px 10px; text-align: center; }
.fv-fact dt{ font-size: 12px; color: var(--stone); margin-bottom: 3px; }
.fv-fact dd{ margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }

.fv-block { margin-bottom: var(--s-6); }
.fv-block h2{
  font-size: 15px; font-weight: 700; color: var(--mute);
  margin-bottom: var(--s-2);
}
.fv-prose { color: var(--body); line-height: 1.8; margin: 0; }

.fv-locked{
  background: var(--surface-soft); border-radius: var(--r-md);
  padding: 14px 16px; font-size: 14px; color: var(--mute); text-align: center;
}

/* 하단 고정 CTA (상세·신청 화면) */
.fv-sticky-cta{
  position: fixed; left: 0; right: 0;
  bottom: calc(var(--nav-h) + 8px);
  z-index: 35;
  padding: 0 var(--s-5);
  pointer-events: none;
}
.fv-sticky-cta .fv-btn { pointer-events: auto; box-shadow: 0 8px 24px rgba(27,34,48,.18); }

/* ── 폼 ─────────────────────────────────────────────────────── */
.fv-form { max-width: 560px; }
.fv-field { margin-bottom: var(--s-5); }
.fv-field > label{
  display: block; font-size: 14px; font-weight: 700;
  color: var(--ink); margin-bottom: 7px;
}
.fv-field .req { color: var(--bad); margin-left: 3px; }
.fv-field .hint{
  display: block; font-size: 13px; font-weight: 400;
  color: var(--stone); margin-top: 5px;
}
.fv-input, .fv-textarea, .fv-select{
  width: 100%;
  min-height: 56px;
  padding: 15px 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 16px;              /* iOS 자동 확대 방지 최소값 */
  line-height: 1.5;
  transition: border-color .15s ease;
}
.fv-input:focus, .fv-textarea:focus, .fv-select:focus{
  outline: none; border-color: var(--fv-sky-deep);
  box-shadow: 0 0 0 3px rgba(122,208,229,.28);
}
.fv-textarea { min-height: 150px; resize: vertical; }
.fv-select { appearance: none; background-image: none; }

/* 운영진 폼은 <label>텍스트 <input></label> 구조라 클래스가 없다.
   .fv-form 안의 기본 입력 요소에도 같은 스타일을 먹인다. */
.fv-form label{
  display: block; margin-bottom: var(--s-5);
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.fv-form label small,
.fv-form label .hint{ font-weight: 400; color: var(--stone); margin-left: 6px; }
.fv-form input[type="text"], .fv-form input[type="email"], .fv-form input[type="tel"],
.fv-form input[type="number"], .fv-form input[type="search"], .fv-form input[type="password"],
.fv-form textarea, .fv-form select{
  display: block; width: 100%; margin-top: 7px;
  min-height: 56px; padding: 15px 16px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); color: var(--ink);
  font-size: 16px; line-height: 1.5; font-weight: 400;
}
.fv-form input:focus, .fv-form textarea:focus, .fv-form select:focus{
  outline: none; border-color: var(--fv-sky-deep);
  box-shadow: 0 0 0 3px rgba(122,208,229,.28);
}
.fv-form input[type="file"]{ margin-top: 7px; font-size: 14px; }
.fv-form input[type="checkbox"]{ width: auto; min-height: 0; display: inline; margin-right: 6px; }
.fv-form textarea{ min-height: 130px; resize: vertical; }
.fv-row{ display: grid; grid-template-columns: 1fr; gap: 0 var(--s-4); }
@media (min-width: 640px){ .fv-row{ grid-template-columns: 1fr 1fr; } }
.fv-inline{ display: inline !important; margin-left: 8px; font-weight: 400 !important; }

/* ── 개인정보 동의 ─────────────────────────────────────────── */
.fv-consent{
  background: var(--surface-soft);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin: var(--s-6) 0 0;
}
.fv-consent-table{ width: 100%; border-collapse: collapse; font-size: 13px; }
.fv-consent-table th{
  width: 92px; text-align: left; vertical-align: top;
  padding: 7px 10px 7px 0; font-weight: 700; color: var(--mute); white-space: nowrap;
}
.fv-consent-table td{ padding: 7px 0; color: var(--body); line-height: 1.6; }
.fv-consent-table tr + tr th, .fv-consent-table tr + tr td{
  border-top: 1px solid var(--hairline);
}
.fv-consent-table strong{ color: var(--ink); }

.fv-check{
  display: flex; align-items: flex-start; gap: 11px;
  margin: var(--s-4) 0 0; padding: 13px 14px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 400; color: var(--body);
  cursor: pointer; line-height: 1.5;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.fv-check:hover{ border-color: var(--fv-sky-deep); }
.fv-check input[type="checkbox"]{
  flex: 0 0 auto;
  width: 22px; height: 22px; margin: 0;
  accent-color: var(--fv-navy);
  cursor: pointer;
}
.fv-check span{ flex: 1; }
.fv-check strong{ color: var(--ink); font-weight: 700; }
.fv-check:has(input:checked){ border-color: var(--fv-navy); background: #f7fbfc; }

.fv-consent-note{
  margin: 10px 2px 0; font-size: 12px; line-height: 1.6; color: var(--stone);
}
.fv-consent-note a{ color: var(--fv-sky-deep); font-weight: 700; }

/* 폼 안의 체크박스 라벨은 위 규칙이 이기도록 (운영진 폼 규칙과 충돌 방지) */
.fv-form .fv-check{ display: flex; margin-bottom: 0; }

/* 허니팟 — 사람 눈에 안 보이게, 봇만 채우도록 */
.fv-hp{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.fv-actions{ display: flex; flex-direction: column; gap: 10px; margin-top: var(--s-6); }

/* ── 알림 배너 ─────────────────────────────────────────────── */
.fv-notice{
  border-radius: var(--r-lg);
  padding: 14px 16px; margin-bottom: var(--s-5);
  font-size: 14px; line-height: 1.6;
  background: var(--surface-soft); color: var(--body);
  border-left: 3px solid var(--fv-sky-deep);
}
.fv-notice.warn { background: #fbf3df; border-left-color: var(--warn); }
.fv-notice strong { color: var(--ink); }

/* ── 상태 배지 ─────────────────────────────────────────────── */
.fv-badge{
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.fv-badge.wait   { background: #fbf0d8; color: #8a6a12; }
.fv-badge.accept { background: #d9ece3; color: #2c6b53; }
.fv-badge.done   { background: #dde7f5; color: #2f5d95; }
.fv-badge.reject { background: #f5dedc; color: #9c4a44; }

/* ── 리스트 (신청 내역) ───────────────────────────────────── */
.fv-list { display: flex; flex-direction: column; gap: var(--s-3); }
.fv-item{
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--s-4) var(--s-5);
}
.fv-item-head{
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); margin-bottom: 6px;
}
.fv-item-head h3 { margin: 0; font-size: 16px; }
.fv-item p { margin: 0; font-size: 14px; color: var(--mute); }
.fv-item-foot{
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--stone);
}

.fv-empty{
  text-align: center; padding: var(--s-12) var(--s-5);
  color: var(--stone); font-size: 15px;
}
.fv-empty a { color: var(--fv-sky-deep); font-weight: 700; }

/* ── 하단 네비 (모바일 우선) ──────────────────────────────── */
.fv-nav{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 0 var(--s-4) calc(env(safe-area-inset-bottom, 0px) + 10px);
  pointer-events: none;
}
.fv-nav-in{
  pointer-events: auto;
  max-width: 480px; margin: 0 auto;
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  box-shadow: 0 6px 26px rgba(27,34,48,.10);
  overflow: hidden;
}
.fv-nav-in a{
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-height: 58px;
  font-size: 11px; font-weight: 400; color: var(--stone);
}
.fv-nav-in a svg { width: 21px; height: 21px; }
.fv-nav-in a.on { color: var(--ink); font-weight: 700; }
.fv-nav-in a.on svg { stroke-width: 2.2; }

/* ── 통계 (운영진) ─────────────────────────────────────────── */
.fv-kpi{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.fv-kpi > div{
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--s-4) var(--s-5);
}
.fv-kpi span{ display: block; font-size: 12px; color: var(--mute); margin-bottom: 4px; }
.fv-kpi strong{ font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.fv-kpi > div.warn strong { color: var(--warn); }

.fv-bars{
  display: flex; align-items: flex-end; gap: 2px; height: 128px;
  background: var(--surface-soft); border-radius: var(--r-lg);
  padding: 10px; margin-top: var(--s-3);
}
.fv-bar { flex: 1; display: flex; align-items: flex-end; min-width: 2px; height: 100%; }
.fv-bar i{
  display: block; width: 100%; min-height: 2px;
  background: var(--fv-navy); border-radius: 3px 3px 0 0;
}
.fv-bars-axis{
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--stone); margin-top: 6px;
}

.fv-rank{ display: flex; align-items: center; gap: var(--s-3); padding: 7px 0; font-size: 14px; }
.fv-rank-name{ width: 110px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fv-rank-bar{ flex: 1; height: 9px; background: var(--surface-soft); border-radius: var(--r-full); overflow: hidden; }
.fv-rank-bar i{ display: block; height: 100%; background: var(--fv-navy); border-radius: var(--r-full); }
.fv-rank-bar i.wait{ background: var(--warn); }
.fv-rank-bar i.accept{ background: var(--ok); }
.fv-rank-bar i.reject{ background: var(--bad); }
.fv-rank-num{ width: 40px; text-align: right; color: var(--mute); font-size: 13px; }

/* ── 표 (운영진 · 데스크톱) ──────────────────────────────── */
.fv-table-wrap{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fv-table{ width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.fv-table th{
  text-align: left; padding: 10px 12px; white-space: nowrap;
  border-bottom: 1px solid var(--hairline);
  font-size: 12px; font-weight: 700; color: var(--mute);
}
.fv-table td{ padding: 14px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.fv-table tr.row-wait { background: #fdfaf1; }
.fv-td-sub p{ margin: 4px 0 0; font-size: 13px; color: var(--mute); max-width: 340px; }
.fv-td-act{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fv-td-act form{ display: flex; gap: 6px; margin: 0; }
.fv-td-act select{ width: auto; min-height: 40px; padding: 8px 10px; margin: 0; font-size: 14px; }
.fv-mini{
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--hairline); border-radius: var(--r-full);
  background: var(--surface); color: var(--mute);
  font-size: 13px; font-weight: 400; cursor: pointer;
}
.fv-mini.danger{ color: var(--bad); border-color: #eccfcc; }
.fv-mini.danger:hover{ background: #fbf1f0; }

/* 운영진 탭 */
.fv-tabs{
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--s-5) * -1) var(--s-6);
  padding: 0 var(--s-5) 2px;
  border-bottom: 1px solid var(--hairline);
}
.fv-tabs::-webkit-scrollbar{ display: none; }
.fv-tabs a{
  flex: 0 0 auto; padding: 12px 14px;
  font-size: 14px; font-weight: 400; color: var(--mute);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.fv-tabs a.on{ color: var(--ink); font-weight: 700; border-bottom-color: var(--fv-navy); }

/* 페이지네이션 */
.fv-page{ display: flex; gap: 6px; justify-content: center; margin-top: var(--s-8); }
.fv-page a{
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: var(--r-full);
  font-size: 14px; color: var(--mute); background: var(--surface);
}
.fv-page a.on{ background: var(--ink); border-color: var(--ink); color: var(--on-dark); font-weight: 700; }

/* 소개 페이지 */
.fv-about-block{
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--s-5); margin-bottom: var(--s-3);
}
.fv-about-block h3{ margin: 0 0 var(--s-2); font-size: 16px; }
.fv-about-block ul{ margin: 0; padding-left: 18px; color: var(--body); }
.fv-about-block li{ margin-bottom: 5px; }
.fv-steps{ display: grid; gap: var(--s-3); }
.fv-step{ border-radius: var(--r-lg); padding: var(--s-5); }
.fv-step .num{
  font-family: var(--font-en);
  font-size: 13px; font-weight: 700; color: rgba(27,34,48,.5);
  letter-spacing: .06em; margin-bottom: 6px;
}
.fv-step h3{ margin: 0 0 6px; font-size: 17px; }
.fv-step p{ margin: 0; font-size: 14px; color: rgba(27,34,48,.72); }

.fv-award{
  display: flex; gap: 10px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.fv-award:last-child{ border-bottom: 0; }
.fv-award b{ font-family: var(--font-en); color: var(--fv-sky-deep); }

/* 조회 코드 강조 */
.fv-code{
  font-family: var(--font-en);
  font-size: 30px; font-weight: 700; letter-spacing: .14em;
  color: var(--ink); text-align: center;
  background: var(--surface-soft); border-radius: var(--r-lg);
  padding: var(--s-5); margin: var(--s-4) 0;
}

/* 푸터 */
.fv-foot{
  border-top: 1px solid var(--hairline);
  padding: var(--s-8) 0 calc(var(--nav-h) + var(--s-6));
  font-size: 13px; color: var(--stone);
}
.fv-foot a { color: var(--mute); }
.fv-foot p { margin: 0 0 6px; }

/* ── 태블릿 이상 ───────────────────────────────────────────── */
@media (min-width: 640px){
  .fv-grid{ grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
  .fv-kpi{ grid-template-columns: repeat(3, 1fr); }
  .fv-actions{ flex-direction: row; }
  .fv-actions .fv-btn.block{ width: auto; min-width: 180px; }
  .fv-steps{ grid-template-columns: repeat(3, 1fr); }
}

/* ── 데스크톱: 하단 네비 → 상단 네비 ──────────────────────── */
@media (min-width: 900px){
  :root{ --nav-h: 0px; }
  .fv-wrap{ padding-left: var(--s-8); padding-right: var(--s-8); }
  .fv-main{ padding-top: var(--s-10); padding-bottom: var(--s-16); }
  .fv-grid{ grid-template-columns: repeat(4, 1fr); }
  .fv-kpi{ grid-template-columns: repeat(6, 1fr); }

  /* 데스크톱에서는 헤더 안 네비(.fv-desktop-nav)만 쓴다.
     _foot.php 가 그리는 하단 탭바는 숨긴다 — 안 그러면 메뉴가 두 벌 보인다. */
  .fv-nav{ display: none; }

  .fv-nav-in{
    max-width: none; background: none; border: 0;
    box-shadow: none; border-radius: 0; backdrop-filter: none;
  }
  .fv-nav-in a{
    flex: 0 0 auto; flex-direction: row; gap: 7px;
    min-height: 40px; padding: 0 14px; font-size: 14px;
  }
  .fv-nav-in a svg{ width: 18px; height: 18px; }
  .fv-desktop-nav{ margin-right: var(--s-4); }
  .fv-sticky-cta{ position: static; padding: 0; margin-top: var(--s-6); }
  .fv-sticky-cta .fv-btn{ box-shadow: none; width: auto; min-width: 240px; }
  .fv-detail-grid{
    display: grid; grid-template-columns: 340px 1fr; gap: var(--s-10);
    align-items: start;
  }
  .fv-form{ max-width: 620px; }
  .fv-table{ min-width: 0; }
}
@media (max-width: 899px){
  .fv-desktop-nav{ display: none; }
}

/* ══════════════════════════════════════════════════════════════
   모션 & 질감
   화면이 너무 심심하지 않도록. 단, 학생이 오래 보는 화면이라
   과한 움직임은 피하고 "부드럽게 자리를 잡는" 정도로만 쓴다.
   ══════════════════════════════════════════════════════════════ */

@keyframes fvUp{
  from{ opacity: 0; transform: translateY(14px); }
  to  { opacity: 1; transform: none; }
}
@keyframes fvPop{
  from{ opacity: 0; transform: scale(.94); }
  to  { opacity: 1; transform: none; }
}
@keyframes fvFloat{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%    { transform: translate(14px,-18px) scale(1.06); }
}
@keyframes fvSheen{
  from{ transform: translateX(-120%) skewX(-18deg); }
  to  { transform: translateX(320%)  skewX(-18deg); }
}

/* ── 스크롤 등장 ───────────────────────────────────────────
   화면에 들어오는 순간 하나씩 나타난다. reveal.js 가 요소를 찾아
   .fv-reveal 을 붙이고, 보이면 .is-in 을 더한다.
   숨기는 규칙은 .has-js 안에만 있어서, 자바스크립트가 없거나
   실패하면 그냥 전부 보인다 (내용이 사라지는 일은 없다).
   ───────────────────────────────────────────────────────── */
.has-js .fv-reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.has-js .fv-reveal.pop{ transform: translateY(12px) scale(.95); }
.has-js .fv-reveal.side{ transform: translateX(26px); }

.has-js .fv-reveal.is-in{
  opacity: 1;
  transform: none;
}
/* 다 나타난 뒤에는 브라우저가 계속 신경 쓰지 않도록 놓아준다 */
.has-js .fv-reveal.is-done{ will-change: auto; transition-delay: 0s; }

/* ── 히어로: 은은한 색 번짐 ───────────────────────────────── */
.fv-hero{ position: relative; overflow: hidden; isolation: isolate; }
.fv-hero::before, .fv-hero::after{
  content: ""; position: absolute; z-index: -1;
  width: 260px; height: 260px; border-radius: 50%;
  filter: blur(56px); opacity: .55; pointer-events: none;
}
.fv-hero::before{
  top: -90px; right: -70px;
  background: radial-gradient(circle, var(--c-sky) 0%, transparent 70%);
  animation: fvFloat 13s ease-in-out infinite;
}
.fv-hero::after{
  bottom: -110px; left: -80px;
  background: radial-gradient(circle, var(--c-lavender) 0%, transparent 70%);
  animation: fvFloat 17s ease-in-out infinite reverse;
}

/* ── 버튼: 지나가는 광택 ──────────────────────────────────── */
.fv-btn{ position: relative; overflow: hidden; box-shadow: var(--sh-sm); }
.fv-btn::after{
  content: ""; position: absolute; top: 0; bottom: 0; left: 0;
  width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.26), transparent);
  transform: translateX(-120%) skewX(-18deg);
}
.fv-btn:hover::after{ animation: fvSheen .85s var(--ease); }
.fv-btn:hover{ transform: translateY(-1px); box-shadow: var(--sh-md); }
.fv-btn.ghost, .fv-btn.off{ box-shadow: none; }
.fv-btn.ghost:hover{ box-shadow: var(--sh-sm); }

/* ── 카드: 들어올리기 + 사진 살짝 확대 ────────────────────── */
.fv-mentor{ box-shadow: var(--sh-sm); }
.fv-mentor:hover{ transform: translateY(-4px); box-shadow: var(--sh-md); }
.fv-mentor-top img{ transition: transform .5s var(--ease); }
.fv-mentor:hover .fv-mentor-top img{ transform: scale(1.06); }

/* 카드 상단 색 블록에 얇은 광택 한 줄 */
.fv-mentor-top{ position: relative; overflow: hidden; }
.fv-mentor-top::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.34) 0%, transparent 46%);
}

.fv-card, .fv-panel, .fv-item{ transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.fv-item:hover{ box-shadow: var(--sh-sm); }

/* ── 링크 카드 (더 알아보기) ──────────────────────────────── */
.fv-links{ display: flex; flex-direction: column; gap: var(--s-3); }
.fv-link{
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 68px; padding: 14px var(--s-5);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.fv-link:hover{ transform: translateY(-3px); box-shadow: var(--sh-md); border-color: transparent; }
.fv-link:active{ transform: scale(.985); }
.fv-link::after{
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translateX(-120%) skewX(-18deg); pointer-events: none;
}
.fv-link:hover::after{ animation: fvSheen .9s var(--ease); }

.fv-link-ico{
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.fv-link-ico svg{ width: 22px; height: 22px; }
.fv-link-txt{ flex: 1; min-width: 0; }
.fv-link-txt strong{
  display: block; font-size: 15px; font-weight: 700; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fv-link-txt span{ display: block; font-size: 13px; color: var(--mute); }
.fv-link-go{ flex: 0 0 auto; color: var(--faint); transition: transform .18s var(--ease); }
.fv-link:hover .fv-link-go{ transform: translateX(3px); color: var(--mute); }

/* ── 프로필 헤더 (링크트리형) ─────────────────────────────── */
.fv-profile{ text-align: center; padding: var(--s-6) 0 var(--s-8); position: relative; }
.fv-profile-logo{
  width: 104px; height: 104px; margin: 0 auto var(--s-4);
  border-radius: 50%; overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-md);
  animation: fvPop .55s var(--ease) both;
}
.fv-profile-logo img{ width: 100%; height: 100%; object-fit: cover; }
.fv-profile h1{ margin: 0 0 6px; }
.fv-profile .fv-sub{ margin: 0; }
.fv-socials{ display: flex; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }
.fv-social{
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--hairline);
  color: var(--ink); box-shadow: var(--sh-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.fv-social:hover{ transform: translateY(-3px) scale(1.05); box-shadow: var(--sh-md); }
.fv-social svg{ width: 21px; height: 21px; }

/* ── 활동 쇼케이스 (앱스토어 스크린샷 배치) ──────────────── */
.fv-shots{
  display: flex; gap: var(--s-3);
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory;
  margin: 0 calc(var(--s-5) * -1);
  padding: var(--s-2) var(--s-5) var(--s-4);
  -webkit-overflow-scrolling: touch;
}
.fv-shots::-webkit-scrollbar{ display: none; }
.fv-shot{
  position: relative; overflow: hidden;
  flex: 0 0 66%;
  aspect-ratio: 9 / 16;
  scroll-snap-align: center;
  border-radius: var(--r-xl);
  padding: var(--s-5);
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--sh-md);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.fv-shot:hover{ transform: translateY(-5px); box-shadow: var(--sh-lg); }
.fv-shot::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(165deg, rgba(255,255,255,.4) 0%, transparent 42%);
}
.fv-shot .step{
  position: relative;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: rgba(27,34,48,.5); margin-bottom: 8px;
}
.fv-shot h3{
  position: relative;
  margin: 0 0 6px; font-size: 20px; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); line-height: 1.3;
}
.fv-shot p{
  position: relative;
  margin: 0; font-size: 13px; line-height: 1.6; color: rgba(27,34,48,.72);
}
.fv-shot-num{
  position: absolute; top: -18px; right: -6px;
  font-size: 120px; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.42); pointer-events: none;
}

@media (min-width: 640px){
  .fv-shot{ flex: 0 0 30%; }
}

/* 데스크톱에서 링크 카드가 화면 폭만큼 늘어나면 읽기 나쁘다. 가운데로 모은다. */
@media (min-width: 900px){
  .fv-profile, .fv-links, .fv-profile + .fv-sec .fv-links{
    max-width: 600px; margin-left: auto; margin-right: auto;
  }
}

/* ── 모션 최소화 선호 ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    transition: none !important;
    animation: none !important;
  }
  .fv-reveal, .fv-profile-logo{ opacity: 1 !important; transform: none !important; }
}

/* ════════════════════════════════════════════════════════════
   상담 대화 (계정 · 방 목록 · 채팅)
   ════════════════════════════════════════════════════════════ */

/* 화면에는 안 보이지만 스크린리더는 읽는 텍스트 */
.fv-sr{
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 오류 알림 줄 */
.fv-alert{
  margin: 0 0 var(--s-4); padding: 12px 14px;
  border-radius: var(--r-md);
  background: #fdecea; border: 1px solid #f3c9c5;
  color: #8e3a34; font-size: 14px;
}

/* 안내 카드 — 로그인 화면 아래 설명 묶음 */
.fv-note-card{
  margin-top: var(--s-6); padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  font-size: 14px; color: var(--body); line-height: 1.65;
}
.fv-note-card p { margin: 0 0 var(--s-3); }
.fv-note-card p:last-child { margin-bottom: 0; }
.fv-note-title{
  margin: 0 0 var(--s-2);
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.fv-note-links{ display: flex; flex-wrap: wrap; gap: var(--s-4); }
.fv-note-links a{ color: var(--fv-sky-deep); font-weight: 700; }

/* 정보 표 — 학생 정보 / 로그인 방법 */
.fv-info-table{ width: 100%; border-collapse: collapse; font-size: 14px; }
.fv-info-table th,
.fv-info-table td{
  padding: 9px 0; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--hairline);
}
.fv-info-table tr:last-child th,
.fv-info-table tr:last-child td{ border-bottom: 0; }
.fv-info-table th{ width: 86px; color: var(--mute); font-weight: 400; }
.fv-info-table td{ color: var(--body); }
.fv-info-table a{ color: var(--fv-sky-deep); }

/* ── 방 목록 ────────────────────────────────────────────── */
.fv-rooms{ list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.fv-room{
  position: relative;
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.fv-room:hover{ border-color: var(--fv-sky-deep); transform: translateY(-1px); }
.fv-room.unread{ border-color: var(--fv-sky-deep); background: #f7fcfd; }

.fv-room-face{
  flex: 0 0 auto; width: 48px; height: 48px;
  border-radius: var(--r-full); overflow: hidden;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 800; color: var(--ink);
}
.fv-room-face img{ width: 100%; height: 100%; object-fit: cover; }

.fv-room-body{ flex: 1 1 auto; min-width: 0; display: block; }
.fv-room-top{
  display: flex; align-items: center; gap: var(--s-2);
  margin-bottom: 3px;
}
.fv-room-top strong{ font-size: 15px; color: var(--ink); }
.fv-room-preview{
  display: block; font-size: 13px; color: var(--mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fv-room-dot{
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: var(--r-full);
  background: var(--bad);
}

/* 상태 칩 색 */
.fv-chip.wait   { background: #fdf3d9; color: #8a6a12; }
.fv-chip.accept { background: #ddeee7; color: var(--ok); }
.fv-chip.done   { background: var(--surface-soft); color: var(--mute); }
.fv-chip.reject { background: #f7e2e0; color: var(--bad); }

/* ── 방 머리말 ──────────────────────────────────────────── */
.fv-room-head{
  display: flex; align-items: flex-start; gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.fv-room-head-main{ flex: 1 1 auto; min-width: 0; }
.fv-room-title{
  margin: 0 0 2px;
  font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink);
}

.fv-room-info{
  margin-bottom: var(--s-4); padding: var(--s-4);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.fv-room-info summary{
  cursor: pointer; font-size: 14px; font-weight: 700; color: var(--fv-sky-deep);
}
.fv-room-info[open] summary{ margin-bottom: var(--s-3); }

.fv-status-form{
  display: flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-4); padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
}
.fv-status-form label{ font-size: 13px; color: var(--mute); white-space: nowrap; }
.fv-status-form .fv-input{ flex: 1 1 auto; min-width: 0; }
.fv-btn.small{ min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ── 대화 ───────────────────────────────────────────────── */
/* 대화는 페이지와 함께 자연스럽게 흐른다.
   대화창 안에 또 스크롤을 두면(중첩 스크롤) 휴대폰에서 손가락이
   어느 쪽을 움직이는지 알 수 없어 입력칸까지 못 내려가는 일이 생긴다.
   대신 입력칸을 아래에 붙여둔다(sticky). */
.fv-chat{
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-4);
  background: var(--surface-soft);
  border-radius: var(--r-lg);
}

.fv-chat-day{
  margin: var(--s-2) 0; text-align: center;
}
.fv-chat-day span{
  display: inline-block; padding: 4px 12px;
  background: rgba(27,34,48,.06); border-radius: var(--r-full);
  font-size: 12px; color: var(--mute);
}
.fv-chat-sys{
  margin: 0; text-align: center;
  font-size: 12px; color: var(--stone);
}

.fv-msg{ display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
.fv-msg.mine{ align-items: flex-end; }

.fv-msg-who{
  margin: 0 0 3px 10px;
  font-size: 12px; color: var(--mute);
}

.fv-msg-row{
  display: flex; align-items: flex-end; gap: 6px;
  max-width: 84%;
}
.fv-msg.mine .fv-msg-row{ flex-direction: row-reverse; }

.fv-bubble{
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 18px 18px 18px 4px;
  font-size: 15px; line-height: 1.6; color: var(--body);
  box-shadow: var(--sh-sm);
  word-break: break-word; overflow-wrap: anywhere;
}
.fv-bubble p{ margin: 0; }
.fv-msg.mine .fv-bubble{
  background: var(--ink); color: var(--on-dark);
  border-radius: 18px 18px 4px 18px;
}
.fv-msg-time{
  flex: 0 0 auto;
  font-size: 11px; color: var(--stone); white-space: nowrap;
}

/* 말풍선 안 사진 */
.fv-shots-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  margin-top: 8px;
}
.fv-shots-grid.one{ grid-template-columns: 1fr; }
.fv-bubble p + .fv-shots-grid{ margin-top: 10px; }
.fv-shot-img{
  display: block; border-radius: 10px; overflow: hidden;
  background: var(--surface-soft);
}
.fv-shot-img img{
  display: block; width: 100%; height: auto;
  max-height: 220px; object-fit: cover;
}
.fv-shots-grid.one .fv-shot-img img{ max-height: 320px; object-fit: contain; }

/* ── 입력칸 ─────────────────────────────────────────────── */
/* 하단 탭바 바로 위에 붙어 따라다닌다. 대화가 길어져도 항상 손에 닿는다. */
.fv-compose{
  position: sticky; z-index: 20;
  bottom: calc(var(--nav-h) + 8px);
  margin-top: var(--s-4);
  padding: var(--s-2) 0;
  background: var(--canvas);
}

.fv-compose-files{
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s-2);
}
.fv-compose-chip{
  display: inline-block; max-width: 180px;
  padding: 4px 10px; border-radius: var(--r-full);
  background: var(--surface-soft); color: var(--body);
  font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.fv-compose-row{
  display: flex; align-items: flex-end; gap: var(--s-2);
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
}
.fv-compose-row:focus-within{ border-color: var(--fv-sky-deep); }

.fv-compose-clip,
.fv-compose-send{
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--r-full);
  cursor: pointer;
}
.fv-compose-clip{ background: var(--surface-soft); color: var(--mute); }
.fv-compose-clip:hover{ color: var(--fv-sky-deep); }
.fv-compose-send{ background: var(--ink); color: var(--on-dark); }
.fv-compose-clip svg,
.fv-compose-send svg{ width: 19px; height: 19px; }

.fv-compose-text{
  flex: 1 1 auto; min-width: 0;
  max-height: 120px; padding: 10px 4px;
  border: 0; background: transparent; resize: none;
  font-family: var(--font-kr); font-size: 15px; line-height: 1.5; color: var(--ink);
}
.fv-compose-text:focus{ outline: none; }

.fv-compose-hint{
  margin: var(--s-2) 0 0; padding: 0 var(--s-2);
  font-size: 12px; color: var(--stone);
}

/* ── 완료 화면 ──────────────────────────────────────────── */
.fv-done{ text-align: center; }
.fv-done-mark{
  width: 72px; height: 72px; margin: var(--s-6) auto var(--s-5);
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--c-mint); color: #26584a;
}
.fv-done-mark svg{ width: 34px; height: 34px; }
.fv-done-card{
  margin: var(--s-6) 0; padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  text-align: left;
}

@media (min-width: 900px){
  .fv-msg-row{ max-width: 70%; }
  /* 데스크톱에는 하단 탭바가 없으므로 --nav-h 가 0 이다 */
  .fv-compose{ bottom: 12px; }
}
