 .pacman-widget {
    width: 100%;
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
    border-radius: 100px;
    pointer-events: none;
  }

  /* Static Pac-Man on the left */
  .pacman-fixed {
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    margin-left: 12px;
    top: 1px;
  }

  /* Binary trail canvas behind pac-man */
  .binary-trail {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    z-index: 6;
    pointer-events: none;
  }

  /* Sliding track */
  .pacman-slider-track {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideLeft 18s linear infinite;
    padding-left: 20px;
    will-change: transform;
  }

  @keyframes slideLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 3px rgba(0,0,0,0.05);
  }

  .pill svg { flex-shrink: 0; width: 16px; height: 16px; }

  /* Solid white wall behind Pac-Man */
  .fade-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background: #fff;
    z-index: 4;
    pointer-events: none;
  }

  .fade-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to left, #fff 20%, transparent);
    z-index: 4;
    pointer-events: none;
  }