@layer components {
  .running-strip {
    position: fixed;
    inset: auto var(--space-3) calc(76px + env(safe-area-inset-bottom));
    z-index: 9;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 6px 6px 6px var(--space-4);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: 0 2px 6px var(--shadow), 0 8px 24px var(--shadow);
    color: var(--accent);
  }

  .running-strip__text {
    display: grid;
    flex: 1;
    min-width: 0;
    color: var(--ink);
    line-height: 1.3;
    text-decoration: none;

    & b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
    & span { font-size: var(--text-sm); color: var(--ink-muted); }
  }

  .running-strip__clock { font-size: var(--text-lg); font-weight: 600; color: var(--ink); }
  .shell:has(.running-strip) > .page { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }

  @media (width >= 1024px) {
    .running-strip { inset: auto var(--space-5) var(--space-5) auto; width: 380px; }
  }
}
