/* The notification feed. Chips arrive one after another, hold, and cycle, so the section reads as
   something happening rather than a picture of something happening. Motion is the garnish: with
   reduced motion on, or with scripts off, every chip is simply present and legible. */
.feed-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:64px;
  align-items:center}
.feed-points{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:13px;max-width:54ch}
.feed-points li{position:relative;padding-left:19px;font-size:15.5px;line-height:1.5;
  color:var(--ink-2)}
.feed-points li:before{content:"";position:absolute;left:0;top:.52em;width:7px;height:7px;
  border-radius:999px;background:var(--primary)}
.feed-points b{color:var(--ink);font-weight:650}

.feed-stage{position:relative}
.feed-mock{position:relative;background:#fff;border:1px solid var(--border);border-radius:22px;
  box-shadow:0 28px 64px -44px rgba(23,21,27,.45);overflow:hidden}
.feed-mock-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 20px 13px;border-bottom:1px solid var(--border);font-size:13.5px;font-weight:650;
  letter-spacing:.01em}
.feed-mock-bar em{display:inline-flex;align-items:center;gap:8px;font-style:normal;font-size:12px;
  font-weight:600;color:var(--ink-3)}
.feed-dot{width:7px;height:7px;border-radius:999px;background:#2FA36B;
  box-shadow:0 0 0 3px rgba(47,163,107,.16)}
.feed-list{display:grid;gap:10px;padding:14px}

.fx{display:flex;align-items:center;gap:13px;padding:12px 13px;border:1px solid var(--border);
  border-radius:15px;background:#fff}
.fx-av-wrap{position:relative;flex:none}
.fx-av{display:grid;place-items:center;width:46px;height:46px;border-radius:999px;font-size:15px;
  font-weight:700;letter-spacing:.02em;color:#17151B}
.fx-av.is-photo{padding:0;overflow:hidden;background:#EFEAE5}
.fx-av.is-photo img{width:100%;height:100%;object-fit:cover;border-radius:999px}
.fx-av.tint-yellow{background:#F7E3A6}
.fx-av.tint-mint{background:#BFE3CC}
.fx-av.tint-cobalt{background:#D5DDFF}
.fx-av.tint-coral{background:#F8C6B9}
/* Metric rows: a rising bar tile where the other rows carry a face. Square corners against round
   avatars, so a reader can tell numbers from people at a glance without reading the words. */
.fx-spark{display:flex;align-items:flex-end;gap:3px;width:46px;height:46px;border-radius:13px;
  padding:9px 8px;background:#EDF0FB}
.fx-spark i{flex:1;min-height:3px;border-radius:2px;background:#AEBDF0}
.fx-spark i:last-child{background:#2148D8}
.fx-badge{position:absolute;right:-6px;bottom:-4px;display:grid;place-items:center;width:24px;
  height:24px;border-radius:999px;background:#fff;border:1px solid var(--border);
  box-shadow:0 1px 2px rgba(23,21,27,.08)}
.fx-badge .glyph{width:14px;height:14px}
.fx-txt{min-width:0;display:grid;gap:2px}
.fx-txt strong{font-size:14px;font-weight:650;letter-spacing:-.005em;line-height:1.25}
.fx-txt span{font-size:12.5px;line-height:1.35;color:var(--ink-3);overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.fx-rx{display:grid;place-items:center;width:32px;height:32px;border-radius:999px;flex:none}
.fx-rx svg{width:17px;height:17px}
.fx-rx.rx-heart{background:#FDE3E0;color:#D8382F}
.fx-rx.rx-comment{background:#E2E8FF;color:#2148D8}
.fx-rx.rx-dollar{background:#D9F0E1;color:#1E7A46}
.fx-rx.rx-thumb{background:#E2E8FF;color:#2148D8}
.fx-rx.rx-save{background:#FAEDC0;color:#8A6B00}
.fx-rx.rx-draft{background:#FAEDC0;color:#8A6B00}
.fx-rx.rx-views{background:#E2E8FF;color:#2148D8}
.fx-right{margin-left:auto;display:flex;align-items:center;gap:12px;flex:none}
.fx-when{font-size:11.5px;font-weight:600;color:var(--ink-3);min-width:30px;text-align:right}

/* Motion, only once the section is actually on screen. */
.feed-stage .fx{opacity:1;transform:none}
.feed-stage.is-on .fx{animation:fx-cycle 14s cubic-bezier(.22,.68,.24,1) infinite;
  animation-delay:var(--d,0s)}
@keyframes fx-cycle{
  0%{opacity:0;transform:translateY(14px) scale(.99)}
  5%{opacity:1;transform:none}
  91%{opacity:1;transform:none}
  100%{opacity:0;transform:translateY(-8px)}
}
.feed-stage.is-on .fx-badge{animation:fx-pop 14s ease-out infinite;animation-delay:var(--d,0s)}
@keyframes fx-pop{
  0%,4%{transform:scale(.6)}
  7%{transform:scale(1.12)}
  10%,100%{transform:scale(1)}
}

@media (max-width:940px){
  .feed-layout{grid-template-columns:1fr;gap:34px}
  .feed-points{margin-top:20px}
  .fx-txt span{white-space:normal}
}
@media (max-width:420px){
  .feed-list{padding:11px;gap:9px}
  .fx{padding:11px;gap:11px}
  .fx-av{width:40px;height:40px;font-size:14px}
  .fx-txt strong{font-size:13.5px}
  .fx-when{display:none}
}
@media (prefers-reduced-motion:reduce){
  .feed-stage .fx,.feed-stage .fx-badge{animation:none!important;opacity:1!important;
    transform:none!important}
}
