  /* Billboard tooltip */
  @keyframes tooltip-up {
    from {
      opacity: 0;
      transform: translate(-50%, -100%) translateY(0px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -100%) translateY(-10px);
    }
  }
  .pill-tooltip {
    position: fixed;
    pointer-events: none;
    z-index: 20;
    display: none;
    transform: translate(-50%, -100%) translateY(-10px);
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.12));
  }
  .pill-tooltip.is-visible {
    display: block;
    animation: tooltip-up 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .pill-tooltip-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    padding: 10px 12px 9px;
    min-width: 260px;
    max-width: 300px;
    font-family: Geist, system-ui, -apple-system, sans-serif;
  }
  .pill-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
  }
  .pill-tooltip-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    letter-spacing: -0.01em;
  }
  .pill-tooltip-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #9a9aaa;
    margin-top: 1px;
  }
  /* Beat page resets like `.home p { margin/padding: 0 }` (body.home). */
  .pill-tooltip .pill-tooltip-bio {
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.5;
    color: #45454b;
    margin: 0 0 10px;
    padding: 0 0 10px;
    border-bottom: 1px solid #f0f0f4;
    white-space: normal;
    word-wrap: break-word;
  }
  /* Status rows */
  .pill-tooltip-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2px;
  }
  .pill-tt-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    border-bottom: 1px solid #f0f0f2;
  }
  .pill-tt-row:last-child { border-bottom: none; }
  .pill-tt-row-top { display: contents; }
  .pill-tt-icon {
    width: 18px; height: 18px;
    border-radius: 5px;
    background: #f4f4f6;
    display: grid; place-items: center;
    flex-shrink: 0;
    color: #7878a0;
  }
  .pill-tt-icon svg {
    width: 10px; height: 10px;
    fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  .pill-tt-name {
    font-size: 12px;
    font-weight: 500;
    color: #5a5a72;
    flex: 1;
  }
  .pill-tt-badge {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
  }
  .pill-tt-badge.status-good    { color: #1a9e5c; }
  .pill-tt-badge.status-warn    { color: #b07800; }
  .pill-tt-badge.status-bad     { color: #d44040; }
  .pill-tt-badge.status-neutral { color: #5a5a72; }
  .pill-tt-badge.status-seg     { color: #3d3d55; }
  .pill-tooltip-caret {
    display: block;
    margin: 0 auto;
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #e4e4e4;
    position: relative;
  }
  .pill-tooltip-caret::after {
    content: '';
    position: absolute;
    top: -11px; left: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #fff;
  }
  .pill-tooltip-actions {
    display: none !important;
    gap: 4px;
    flex-shrink: 0;
  }
  .pill-tooltip-move-btn {
    width: 24px; height: 24px;
    display: grid; place-items: center;
    flex-shrink: 0; padding: 0;
    border-radius: 6px;
    border: 1.5px solid #e4e4e4;
    background: transparent;
    color: #b0b0c0;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
    pointer-events: auto;
  }
  .pill-tooltip-move-btn svg { width: 14px; height: 14px; }
  .pill-tooltip-move-btn:hover { background: #f0f4ff; border-color: #a0b8f0; color: #3b6fd4; }
  .pill-tooltip-move-btn.is-disabled { opacity: 0.35; cursor: default; pointer-events: none; }
  .pill-tooltip-bad-btn {
    width: 24px; height: 24px;
    display: grid; place-items: center;
    flex-shrink: 0; padding: 0;
    border-radius: 6px;
    border: 1.5px solid #e4e4e4;
    background: transparent;
    color: #b0b0c0;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
    pointer-events: auto;
  }
  .pill-tooltip-bad-btn:hover { background: #fff0ef; border-color: #ffb3af; color: #e03025; }
  .pill-tooltip-bad-btn.is-bad { background: #d44040; border-color: #d44040; color: #fff; }
  .pill-tooltip-bad-btn.is-bad:hover { background: #bc3232; border-color: #bc3232; }
  .pill-tooltip-bad-btn svg {
    width: 14px; height: 14px;
    fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }

