body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding: 20px;
}

/* Main results container */
.results-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

/* Results list */
.results-container>ul {
  list-style: none;
}

.results-container>ul>li {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.results-container>ul>li:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Link styling */
a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* URL styling */
p {
  color: #1a73e8;
  font-size: 0.9rem;
  margin-bottom: 8px;
  word-break: break-all;
}

p:hover {
  text-decoration: underline;
}

/* Title styling */
h3 {
  color: #1a0dab;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

h3:hover {
  text-decoration: underline;
}

/* Content snippet */
li span:first-of-type {
  display: block;
  color: #4d5156;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Source indicator */
.source {
  display: inline-block;
  background: #f1f3f4;
  color: #5f6368;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 12px;
  margin-top: 8px;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #5f6368;
  font-size: 1.1rem;
}

/* Results count indicator */
.results-count {
  color: #5f6368;
  font-size: 0.9rem;
  margin-bottom: 20px;
  padding-left: 10px;
}

/* Responsive design */
@media (max-width: 860px) {
  .results-container {
    padding: 15px;
  }

  li {
    padding: 16px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .results-container {
    padding: 10px;
  }

  li {
    padding: 14px;
  }

  h3 {
    font-size: 1.1rem;
  }

  li span:first-of-type {
    font-size: 0.9rem;
  }
}

/* Loading animation (optional) */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

li {
  animation: fadeIn 0.3s ease-out;
}