.activity .activity-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.activity-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.activity-picker {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  max-width: 100%; min-height: 44px; border-radius: 22px;
  padding: 0 15px; color: var(--blue); background: var(--surface); font-size: 1rem;
}
.activity-picker svg { flex: none; width: 15px; height: 15px; transform: rotate(90deg); stroke-width: 2.5; }
.activity-picker select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.activity-picker:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.activity-clear { color: var(--red); font-size: .94rem; }
.activity .activity-menu { color: var(--ink); }
.activity .activity-menu svg { transform: rotate(90deg); width: 16px; height: 16px; stroke-width: 2; }
.activity-detail { overflow-wrap: anywhere; margin: 0 0 12px; }
.activity .summary .activity-success { color: light-dark(#157638, #55d978); }
.activity .summary .activity-time { color: color-mix(in srgb, var(--muted) 82%, var(--surface)); font-variant-numeric: tabular-nums; }
.activity .summary { gap: 5px; }
.activity-symbol { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--subtle); border-radius: 13px; color: var(--blue); }
.activity .summary small { white-space: normal; overflow-wrap: anywhere; }
.activity-actions { display: grid; gap: 10px; }
.activity-help { display: block; color: var(--muted); margin-top: 12px; }
.activity-group { --heading-inset: 69px; }
.activity-group > .download > .artwork { width: var(--group-icon, 44px); height: var(--group-icon, 44px); }
.activity-children { margin-inline-start: var(--heading-inset); border-top: .5px solid var(--line); }
.activity .activity-children .download { padding-inline-start: 0; gap: 8px; }
.activity-children .download + .download::before { left: 38px; }
.activity-members { display: grid; gap: 10px; list-style: none; margin: 0; padding: 10px 12px 12px 0; }
.activity-member { display: flex; align-items: center; gap: 8px; min-width: 0; }
.activity .activity-children :is(.profile-avatar, .artwork) { width: 30px; height: 30px; font-size: .875rem; }
.activity-children .summary strong { font-size: .9375rem; }
.activity-children .summary small { font-size: .8125rem; }
.activity-children .summary { gap: 2px; }
.activity .activity-sync-symbol { background: none; color: var(--muted); }
.activity-group + *, .activity-list .list > * + .activity-group { border-top: .5px solid var(--line); }
.activity .section-title { margin-top: 12px; }
.activity-controls { display: flex; flex: none; align-items: center; margin-inline-end: -6px; }
.activity-control, .activity-completed {
  position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  padding: 0; color: var(--blue); border-radius: 50%;
}
.activity-control svg { width: 17px; height: 17px; stroke-width: 2.8; }
.activity-ring::before, .activity-retry::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  background: conic-gradient(currentColor var(--fraction, 1turn), var(--subtle) 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
}
.activity-resume svg { fill: currentColor; stroke-width: 1.5; margin-inline-start: 2px; }
.activity-disclosure svg { stroke-width: 2.1; }
.activity-disclosure[aria-expanded=true] {
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 16%, transparent) 13px, transparent 14px);
}
.activity-stop svg, .activity-completed::before {
  width: 20px; height: 20px; border-radius: 50%; color: var(--surface); background: var(--muted);
}
.activity-stop svg { box-sizing: border-box; padding: 3px; stroke-width: 3.2; }
.activity-completed::before { content: ""; width: 23px; height: 23px; }
.activity-completed::after {
  content: ""; position: absolute; width: 10px; height: 5px; margin-top: -2px;
  border: solid var(--surface); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
@media (max-width: 360px) {
  .activity .download { gap: 6px; padding-inline: 10px; }
  .activity .artwork, .activity .activity-symbol { width: 38px; height: 38px; }
  .activity-group { --heading-inset: 54px; --group-icon: 38px; }
}
