/* Striscia "Ragazze in linea" in home */
.nle-ril {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 28px;
}

.nle-ril[hidden] {
  display: none;
}

.nle-ril__box {
  padding: 14px 16px 6px;
  background: #0f0f10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.nle-ril .nle-ril__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.nle-ril__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  animation: nle-ril-pulse 1.8s ease-out infinite;
}

@keyframes nle-ril-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.nle-ril .nle-ril__track {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 6px 2px 10px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(253, 0, 129, 0.75) rgba(255, 255, 255, 0.08);
}

.nle-ril__track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.nle-ril .nle-ril__item {
  flex: 0 0 76px;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nle-ril .nle-ril__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  -webkit-user-drag: none;
}

.nle-ril__ring {
  display: block;
  width: 68px;
  height: 68px;
  padding: 3px;
  border: 3px solid #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
  transition: transform 0.18s ease;
}

.nle-ril .nle-ril__ring img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.nle-ril__item.is-busy .nle-ril__ring {
  border-color: #ef2323;
  box-shadow: 0 0 12px rgba(239, 35, 35, 0.4);
}

.nle-ril__link:hover .nle-ril__ring,
.nle-ril__link:focus-visible .nle-ril__ring {
  transform: scale(1.07);
}

.nle-ril__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 8px;
}

.nle-ril__name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nle-ril__track::-webkit-scrollbar {
  height: 6px;
}

.nle-ril__track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.nle-ril__track::-webkit-scrollbar-thumb {
  background: rgba(253, 0, 129, 0.75);
  border-radius: 6px;
}

.nle-ril + #categorie {
  padding-top: 34px;
}

@media (max-width: 620px) {
  .nle-ril__box {
    padding: 12px 10px 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nle-ril__dot { animation: none; }
  .nle-ril__ring { transition: none; }
}
