

.ci-stats {
  --accent: #5865f2;
  --accent-light: #7289da;
  --bg: #fafbfc;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #555;
  --border: #e1e4e8;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.ci-stats {
  font-family: Junicode, HoeflerText-Regular, Cochin, Georgia, serif;
  line-height: 1.7;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg);
  color: var(--text);
}

.ci-stats header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 1rem;
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.ci-stats h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.ci-stats .last-updated {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.ci-stats .intro {
  font-size: 1.3rem;
  font-style: italic;
  margin: 2rem auto 0 auto;
  max-width: max(80%, 800px);
}

.ci-stats section {
  margin-bottom: 3rem;
}

.ci-stats h2 {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.ci-stats h2 a {
  color: inherit;
  text-decoration: none;
}

.ci-stats h2 a:hover {
  text-decoration: underline;
}

.ci-stats .datasets p {
  margin: 0 0 1rem 0;
}

.ci-stats .datasets p:last-child {
  margin-bottom: 0;
}

.ci-stats figure {
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 2px;
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.ci-stats figure img {
  width: 100%;
  height: auto;
}

.ci-stats figcaption {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.ci-stats figcaption strong {
  color: var(--text);
}

.ci-stats .bold {
  font-weight: bold;
  color: var(--accent);
}

.ci-stats a {
  color: var(--accent);
}

.ci-stats header a {
  color: white;
}

.ci-stats header code {
  background: rgba(255, 255, 255, 0.2);
}

/* requires-python.html */

.ci-stats .stat-box {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
  margin: 1rem 0;
}

.ci-stats .stat-box small {
  font-size: 1rem;
  font-weight: normal;
  color: var(--text-muted);
  display: block;
}

.ci-stats .package-list {
  column-count: 3;
  column-gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.ci-stats .package-list li {
  padding: 0.15rem 0;
  break-inside: avoid;
  font-size: 0.9rem;
}

.ci-stats code {
  background: var(--border);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  font-size: 0.9em;
}


@media (max-width: 600px) {
  .ci-stats {
    padding: 1rem;
  }

  .ci-stats header {
    padding: 1.5rem 1rem;
  }

  .ci-stats h1 {
    font-size: 1.5rem;
  }

  .ci-stats .package-list {
    column-count: 2;
  }
}