/*
 * changelog-mobile-banner.css
 * ════════════════════════════════════════════════════════════
 * Bannière "Mises à jour récentes" sur la home en MOBILE UNIQUEMENT.
 * Cachée sur desktop (>= 768px) pour ne pas modifier le layout PC.
 * ════════════════════════════════════════════════════════════ */

.sf-changelog-mobile-banner {
  display: none;
}

@media (max-width: 767px) {
  .sf-changelog-mobile-banner {
    display: block;
    margin: 8px 12px 10px 12px;
    padding: 10px 12px 12px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    border: 1px solid #e0e7ff;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.08);
  }
}

.sf-changelog-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sf-changelog-mobile-title {
  font-size: 12px;
  font-weight: 800;
  color: #4338ca;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.sf-changelog-mobile-link {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.sf-changelog-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-changelog-mobile-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #eef2ff;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.sf-changelog-mobile-item:active {
  transform: scale(0.98);
}

.sf-changelog-mobile-badge {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.sf-changelog-mobile-text {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
