/* ============================================================
   QQ Market Board — News / Briefing 공통 리스트 스타일
   ============================================================ */
.meta-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: var(--sp-4); color: var(--text-3); font-size: var(--fs-xs); }
.meta-bar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.live-pill-s { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--up); letter-spacing: .3px; }
.live-dot-s { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: qq-live 1.6s infinite; }
@keyframes qq-live { 0% { box-shadow: 0 0 0 0 rgba(246,70,93,.55); } 70% { box-shadow: 0 0 0 6px rgba(246,70,93,0); } 100% { box-shadow: 0 0 0 0 rgba(246,70,93,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot-s { animation: none; } }

.news-group { margin-bottom: var(--sp-6); }

/* ── 상단 레이블(섹션 타이틀): 좌측 골드 액센트 + 아이콘 칩 + 라인 룰로 확실히 구분 ── */
.news-group__head {
  display: flex; align-items: center; gap: 10px; margin: 0 0 var(--sp-3);
  padding: 8px 12px 8px 14px; position: relative;
  background: linear-gradient(90deg, var(--surface), transparent 70%);
  border-radius: var(--r-md);
}
.news-group__head::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 4px; background: var(--qq-gold);
}
.news-group__icon {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  font-size: 17px; border-radius: 9px; background: var(--bg-elev); border: 1px solid var(--border);
}
.news-group__head h2 { font-size: var(--fs-lg); font-weight: 800; margin: 0; letter-spacing: -.2px; }
.news-group__head .badge-count { font-size: var(--fs-xs); color: var(--text-2); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 2px 10px; font-weight: 800; }
.news-group__head .news-group__rule { flex: 1; height: 1px; background: var(--border); }
.news-group--unv .news-group__head::before { background: var(--qq-gold-dim); }

.unverified-banner {
  display: flex; gap: 8px; align-items: flex-start;
  background: rgba(232,185,35,.10); border: 1px solid var(--qq-gold-dim);
  border-radius: var(--r-md); padding: 10px var(--sp-4); margin-bottom: var(--sp-3);
  font-size: var(--fs-xs); color: var(--text-2); line-height: 1.6;
}

/* ── 콘텐츠 영역: 양쪽(2열) 정렬 그리드로 좌·우 폭을 모두 활용 ── */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.news-item {
  display: grid; grid-template-columns: 60px 1fr; gap: 2px var(--sp-3);
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4); transition: border-color .15s, background .15s;
}
.news-item:hover { background: var(--row-hover); border-color: var(--text-3); }
/* 좌측 시간·날짜 표기 */
.news-item__when { display: flex; flex-direction: column; gap: 1px; font-family: var(--ff-num); white-space: nowrap; padding-top: 1px; }
.news-item__when .d { font-size: var(--fs-2xs); color: var(--text-3); font-weight: 700; }
.news-item__when .t { font-size: var(--fs-sm); color: var(--text-2); font-weight: 700; }
.news-item__body { min-width: 0; }
/* 메타 행: 양쪽 정렬 — 좌측 라벨(긴급/속보/이슈) / 우측 출처 */
.news-item__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.news-item__tags { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.news-item__title { font-size: var(--fs-md); font-weight: 700; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item__title:hover { color: var(--qq-gold); }
.news-item__title .ext { color: var(--text-3); font-size: var(--fs-xs); font-weight: 500; }
.news-item__sum { font-size: var(--fs-sm); color: var(--text-3); margin-top: 4px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.src-pill { font-size: var(--fs-2xs); font-weight: 700; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 2px 8px; white-space: nowrap; flex: none; }

/* ── 분기 라벨(긴급/속보/이슈/미확인) — 뉴스·브리핑 공용 ── */
.news-flag { display: inline-flex; align-items: center; gap: 3px; font-size: var(--fs-2xs); font-weight: 800; border-radius: 5px; padding: 2px 7px; line-height: 1.3; white-space: nowrap; border: 1px solid transparent; }
.news-flag.is-urgent   { color: var(--up); background: rgba(246,70,93,.12); border-color: rgba(246,70,93,.35); }
.news-flag.is-breaking { color: var(--qq-gold); background: rgba(232,185,35,.13); border-color: var(--qq-gold-dim); }
.news-flag.is-issue    { color: var(--text-2); background: var(--surface); border-color: var(--border); }
.news-flag.is-unv      { color: var(--qq-gold); background: rgba(232,185,35,.10); border-color: var(--qq-gold-dim); }

@media (max-width: 1024px) { .news-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 54px 1fr; }
  .news-item__title { -webkit-line-clamp: 3; }
}
