/* What those you follow did lately (activity-feed.js): the same in the app (ui/) and on the website (public/), over each one's tokens.
   Who plays live in a strip on top, then a card each (its map's cover, who did it and when) under its day. */
.af { display: flex; flex-direction: column; gap: 22px; width: 100%; padding: 6px 2px 10px; }
.af h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.af-live .lv-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5194b; box-shadow: 0 0 0 4px color-mix(in srgb, #e5194b 25%, transparent); }
.af-lrow { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .af-lrow::-webkit-scrollbar { display: none; }
.af-lc { display: flex; align-items: center; gap: 10px; flex: none; min-width: 230px; max-width: 300px; padding: 8px 12px 8px 8px; border: 1px solid color-mix(in srgb, #e5194b 40%, var(--line)); border-radius: 16px;
  background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.af-lc:hover { border-color: #e5194b; background: var(--surface-2); } .af-lc:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.af-lav { position: relative; flex: none; width: 46px; height: 46px; } .af-lav img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #e5194b; }
.af-lav i { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); white-space: nowrap; padding: 0 5px; border-radius: 5px; background: #e5194b; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.af-ltxt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; } .af-ltxt b, .af-ltxt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .af-ltxt small { color: var(--muted); font-size: 12px; }
.af-lw { flex: none; color: #ff8aa5; font-size: 12px; font-weight: 700; }
.af-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.af-card { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.af-shot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0) 45%, rgba(10, 6, 8, .72)), var(--cover, linear-gradient(135deg, color-mix(in srgb, var(--pink) 30%, var(--surface-2)), var(--surface-2))) center / cover no-repeat;
  transition: transform .22s cubic-bezier(.2, 0, 0, 1), border-color .15s, box-shadow .22s; }
.af-shot:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--pink) 50%, transparent); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8); } .af-shot:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.af-kind { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 7px; background: rgba(14, 10, 12, .8); color: #fff; font-size: 11.5px; font-weight: 800; }
.af-play { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pink); color: var(--on-pink, #1a0d14); opacity: .92; transition: transform .2s, opacity .2s; }
.af-play svg { width: 18px; height: 18px; margin-left: 2px; } .af-shot:hover .af-play { transform: scale(1.08); opacity: 1; }
.af-runshot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold, #ffd15c) 26%, var(--surface-2)), var(--surface-2)); color: var(--text); }
.af-big { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; } .af-runshot small { color: var(--muted); font-size: 13px; font-weight: 700; }
.af-meta { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.af-av { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--surface-2); cursor: pointer; }
.af-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.af-t { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.3; }
.af-w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12.5px; } .af-w b { color: var(--text); font-weight: 700; cursor: pointer; }
.af-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 48px 20px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }
.af-empty b { color: var(--text); font-size: 16px; } .af-empty p { margin: 0; max-width: 46ch; }
.af-compact .af-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 560px) { .af-grid { grid-template-columns: minmax(0, 1fr); } .af-compact .af-grid { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .af-compact .af-card { scroll-snap-align: start; } }
@media (prefers-reduced-motion: reduce) { .af-shot, .af-play { transition: none; } .af-shot:hover { transform: none; } }
html.calm .af-shot, html.calm .af-play { transition: none; } html.calm .af-shot:hover { transform: none; }
