#github-merged-activity {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 1rem;
}

#github-merged-activity .github-grid {
  display: grid;
  grid-template-rows: repeat(7, 10px);
  grid-auto-flow: column;
  gap: 3px;
  min-width: 700px;
}

#github-merged-activity .github-day {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--border-color);
  transition: transform 0.15s ease, filter 0.15s ease;
}

#github-merged-activity .github-day:hover {
  transform: scale(1.25);
  filter: brightness(1.08);
  z-index: 1;
}

#github-merged-activity .github-day.level-0 {
  background-color: var(--border-color);
  opacity: 0.35;
}

#github-merged-activity .github-day.account-both {
  background: linear-gradient(135deg, var(--account-a, #10b981) 0 50%, var(--account-b, #f97316) 50% 100%);
}

#github-merged-activity .github-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

#github-merged-activity .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

#github-merged-activity .legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

 #github-merged-activity .legend-none {
  background-color: var(--border-color);
}

.dark #github-merged-activity .legend-swatch {
  border-color: rgba(255, 255, 255, 0.08);
}
