/* 핀지 투자 영상 — 목록(list.html)·영상(detail.html)·카드(_card.html). 색은 전부 base.css 토큰. */
.fv { max-width: 1180px; margin: 0 auto; }
.fv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.fv-h1 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.fv-lead { font-size: 0.9rem; max-width: 640px; }
.fv-fresh { white-space: nowrap; }
.fv-stale { font-size: 0.85rem; color: var(--amber-text); margin-bottom: 0.8rem; }

/* 주제·채널 칩 */
.fv-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.fv-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; padding-bottom: 0.2rem; margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; }
.fv-chips--scroll::-webkit-scrollbar { display: none; }
.fv-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.38rem 0.8rem; border: 1px solid var(--border-color); border-radius: 999px;
           background: var(--card-bg); color: var(--text-2); font-size: 0.84rem; font-weight: 600; white-space: nowrap; min-height: 36px; }
.fv-chip:hover { border-color: var(--text-muted); color: var(--text-primary); }
.fv-chip.is-active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.fv-chip-n { font-size: 0.74rem; font-weight: 600; color: var(--text-muted); }
.fv-chip.is-active .fv-chip-n { color: rgba(255,255,255,0.8); }
.fv-chip--chan { font-weight: 500; }
.fv-filter { font-size: 0.9rem; padding: 0.8rem 1rem; margin-bottom: 0.9rem; }
.fv-filter a { color: var(--accent-text); }
.fv-count { font-size: 0.84rem; margin-bottom: 0.7rem; }

/* 카드 격자 */
.fv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.9rem; }
.fv-card { display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; min-width: 0;
           transition: border-color .15s, transform .15s; }
.fv-card:hover { border-color: var(--primary-color); transform: translateY(-2px); }
.fv-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--card-bg-2); overflow: hidden; }
.fv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv-dur { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.1rem 0.4rem; border-radius: 6px; background: rgba(0,0,0,0.78); color: #fff; font-size: 0.72rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.fv-body { padding: 0.7rem 0.85rem 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.fv-title { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin: 0;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fv-card:hover .fv-title a { color: var(--accent-text); }
.fv-meta { display: flex; flex-wrap: wrap; gap: 0.2rem 0.55rem; font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.fv-meta .fv-chan { color: var(--text-2); font-weight: 600; }
.fv-meta--lg { font-size: 0.86rem; margin: 0.4rem 0 1rem; align-items: center; }
.fv-meta--lg .badge { margin-left: 0.2rem; }
.fv-stocks { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.1rem 0 0; }
.fv-stock { padding: 0.08rem 0.5rem; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 0.74rem; font-weight: 600; }
.fv-stock:hover { background: var(--surface-3); color: var(--text-primary); }

/* 쪽 이동 */
.fv-pager { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.1rem; align-items: center; }
.fv-page { padding: 0.35rem 0.7rem; border-radius: 8px; border: 1px solid var(--border-color); font-size: 0.85rem; min-height: 36px; display: inline-flex; align-items: center; }
.fv-page.is-current { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.fv-gap { color: var(--text-muted); padding: 0 0.2rem; }
.fv-empty { text-align: center; padding: 2.6rem 1.2rem; }
.fv-empty-ico { font-size: 2rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.fv-note { font-size: 0.78rem; margin-top: 1.4rem; line-height: 1.6; }

/* 영상 화면 */
.fv-crumbs { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.fv-crumbs a { color: var(--text-2); }
.fv-watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.6rem; align-items: start; }
.fv-main { min-width: 0; }
.fv-side { min-width: 0; }
.fv-player { position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; border-radius: 14px; overflow: hidden; background: #000; }
.fv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fv-player--link img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; display: block; }
.fv-player-cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0.6rem 1rem; border-radius: 999px; background: rgba(0,0,0,0.75); color: #fff; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.fv-watch-h1 { font-size: 1.35rem; font-weight: 800; line-height: 1.35; margin: 0.9rem 0 0; letter-spacing: -0.01em; }
.fv-sec { margin-top: 1.3rem; }
.fv-h2 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.fv-stock-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.6rem; }
.fv-stock-card { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 0.85rem; border: 1px solid var(--border-color); border-radius: 12px; background: var(--card-bg); min-width: 0; }
.fv-stock-card:hover { border-color: var(--primary-color); }
.fv-stock-card strong { font-size: 0.95rem; }
.fv-stock-card span { font-size: 0.76rem; }
.fv-desc { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; font-size: 0.9rem; color: var(--text-2); }
.fv-desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.fv-desc a { color: var(--accent-text); text-decoration: underline; }
.fv-more { margin-top: 0.5rem; min-height: 36px; padding: 0.35rem 0.9rem; border: 1px solid var(--border-color); border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.fv-more:hover { color: var(--text-primary); border-color: var(--text-muted); }
.fv-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.fv-cta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.fv-cta p { margin: 0.2rem 0 0; font-size: 0.86rem; }
.fv-cta-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

@media (max-width: 1023px) {
  .fv-watch-grid { grid-template-columns: 1fr; }
  .fv-grid--side { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
/* 모바일: 카드가 1열로 쌓이면 24장이 한 화면씩 먹는다 → 썸네일 왼쪽·글 오른쪽의 납작한 줄로 */
@media (max-width: 767px) {
  .fv-head { align-items: flex-start; }
  .fv-grid { grid-template-columns: 1fr; gap: 0.55rem; }
  .fv-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); border-radius: 12px; }
  .fv-card:hover { transform: none; }
  .fv-thumb { aspect-ratio: 16 / 9; align-self: start; }
  .fv-body { padding: 0.5rem 0.65rem 0.55rem; gap: 0.25rem; }
  .fv-title { font-size: 0.86rem; }
  .fv-meta { font-size: 0.72rem; }
  .fv-dur { right: 0.35rem; bottom: 0.35rem; font-size: 0.66rem; }
  .fv-watch-h1 { font-size: 1.15rem; }
  .fv-player { border-radius: 10px; margin-left: -1rem; margin-right: -1rem; width: auto; }
  .fv-cta { padding: 1rem; }
}
