.up-next-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.up-next-header {
  padding-bottom: 8px;
  border-bottom: 2px solid #dc2626;
}

.up-next-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.up-next-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.up-next-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.up-next-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  margin-bottom: 8px;
}

.up-next-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.up-next-time {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.up-next-info {
  width: 100%;
}

.up-next-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.up-next-item:hover .up-next-item-title {
  color: #ef4444;
}

.up-next-item-views {
  font-size: 12px;
  color: #9ca3af;
}

.up-next-loading,
.up-next-empty {
  grid-column: span 2;
  text-align: center;
  padding: 40px;
  color: #6b7280;
  font-size: 14px;
}

.up-next-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #374151;
  border-top-color: #dc2626;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}