/* ── nice 스킨 스타일 ── */
.nice-latest {
  --nl-bg:       #FFFFFF;
  --nl-bg2:      #F7F8FA;
  --nl-border:   #EAECF0;
  --nl-accent:   #3B6EEA;
  --nl-accent-l: #EBF0FD;
  --nl-text:     #1A1D23;
  --nl-sub:      #6B7280;
  --nl-muted:    #9CA3AF;
  --nl-new:      #EF4444;
  --nl-radius:   10px;
  --nl-font:     'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--nl-font);
}

/* 헤더 */
.nice-latest__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--nl-accent);
  margin-bottom: 4px;
}
.nice-latest__head-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--nl-text);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nice-latest__head-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--nl-accent);
  border-radius: 2px;
}
.nice-latest__head-more {
  font-size: 11px;
  color: var(--nl-sub);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s;
}
.nice-latest__head-more:hover { color: var(--nl-accent); }
.nice-latest__head-more::after {
  content: '›';
  font-size: 14px;
  line-height: 1;
}

/* 목록 */
.nice-latest__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 아이템 */
.nice-latest__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 6px;
  border-bottom: 1px solid var(--nl-border);
  transition: background 0.15s;
  border-radius: 6px;
}
.nice-latest__item:last-child { border-bottom: none; }
.nice-latest__item:hover { background: var(--nl-bg2); }

/* 제목 링크 */
.nice-latest__link {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: var(--nl-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.nice-latest__link:hover { color: var(--nl-accent); }

/* NEW 배지 */
.nice-latest__new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--nl-new);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  width: 18px;
  height: 14px;
  border-radius: 3px;
  line-height: 1;
}

/* 댓글수 */
.nice-latest__comment {
  flex-shrink: 0;
  font-size: 11.5px;
  color: var(--nl-accent);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nice-latest__comment::before { content: '['; opacity: 0.5; }
.nice-latest__comment::after  { content: ']'; opacity: 0.5; }

/* 파일 아이콘 */
.nice-latest__file {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--nl-muted);
  line-height: 1;
}

/* 날짜 */
.nice-latest__date {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--nl-muted);
  white-space: nowrap;
  min-width: 50px;
  text-align: right;
}

/* 빈 목록 */
.nice-latest__empty {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--nl-muted);
}

/* ── 반응형 ── */
@media (max-width: 480px) {
  .nice-latest__item { padding: 8px 4px; gap: 6px; }
  .nice-latest__link { font-size: 13px; }
  .nice-latest__date { min-width: 40px; font-size: 10px; }
  .nice-latest__comment { font-size: 11px; }
}