#appActivity {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px;
  border: 0;
  background: rgb(22 17 15 / 38%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  pointer-events: none;
}

#appActivity:not([hidden]) { display: grid; place-items: center; }
#appActivity[hidden] { display: none; }
.activity-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-width: 148px;
  padding: 20px 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow, 0 6px 24px #0003);
  font-size: 14px;
}

.activity-mark { position: relative; display: grid; place-items: center; width: 58px; height: 58px; }
.activity-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: activity-spin .85s linear infinite;
}
.activity-mark img { width: 40px; height: 40px; object-fit: contain; }
#appActivity[data-mode="saving"] .activity-mark::before {
  border-top-color: var(--copper);
  border-bottom-color: var(--copper);
}
:root[data-theme="night"] .activity-mark img {
  content: url("/app-icon-light.png?v=20260828-miscostos-brand");
}
.activity-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes activity-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .activity-mark::before { animation: none; }
}
