/* ============================================
   ROLLIT — ACTIVITY FEED  (css/feed.d6ff9731.css)
   ============================================ */
#feed-app { max-width: 720px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }

.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 1.2rem; flex-wrap: wrap; }
.feed-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 1px; display: flex; align-items: center; gap: 9px; }

.feed-tabs { display: flex; gap: 6px; background: var(--surface2, rgba(255,255,255,.04)); padding: 4px; border-radius: 12px; }
.feed-tab {
  display: flex; align-items: center; gap: 6px; padding: 7px 14px; border: none; cursor: pointer;
  background: transparent; color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 600;
  border-radius: 9px; transition: all .15s;
}
.feed-tab:hover { color: var(--text); }
.feed-tab.active { background: var(--gold); color: #1a1000; }

.feed-list { display: flex; flex-direction: column; gap: 12px; }

.feed-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface, #14151f); border: 0.5px solid var(--border2, rgba(255,255,255,.1));
  border-radius: 18px; padding: 15px 17px;
  box-shadow: 0 1px 3px rgba(0,0,0,.22);
  transition: border-color .18s, box-shadow .2s;
}
.feed-item:hover { box-shadow: 0 8px 26px rgba(0,0,0,.34); }
.feed-avatar {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--gold), #c79a3a); color: #1a1000;
  box-shadow: 0 0 0 2px rgba(232,201,107,.16);
}
.feed-main { flex: 1; min-width: 0; }
.feed-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.feed-name { color: var(--text); font-weight: 600; text-decoration: none; }
.feed-name:hover { color: var(--gold); }
.feed-you { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--dim); border: 0.5px solid var(--border2); border-radius: 20px; padding: 1px 6px; }
.feed-verb { color: var(--dim); }
.feed-titlelink { color: var(--text); font-weight: 600; cursor: pointer; text-decoration: none; }
.feed-titlelink:hover { color: var(--gold); text-decoration: underline; }
.feed-star { color: var(--gold); font-weight: 600; }
.feed-time { color: var(--dim); font-size: 12px; margin-left: auto; }
.feed-take { margin: 7px 0 2px; font-size: 14px; line-height: 1.5; color: var(--text); }

/* ---- PREDICTION feed events (violet accent, distinct from gold ratings) ---- */
.feed-item-pred { border-left: 2.5px solid var(--predict); }
.feed-item-pred .feed-avatar { background: linear-gradient(135deg, var(--predict), #6b5bd6); color: #160d2e; }
.feed-pred-badge {
  display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12px;
  border-radius: 6px; padding: 1px 7px; letter-spacing: .4px;
}
.feed-pred-badge.pb-peak { background: rgba(62,212,154,.12); color: var(--toproll); }
.feed-pred-badge.pb-mid  { background: rgba(154,160,173,.12); color: #9aa0ad; }
.feed-pred-badge.pb-flop { background: rgba(232,77,99,.12); color: var(--flop); }
.feed-pred-tag {
  display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600;
  color: var(--predict); background: var(--predict-soft); border-radius: 20px; padding: 1px 8px;
}
.feed-pred-result { font-weight: 600; font-size: 12.5px; }
.feed-pred-result.pred-hit  { color: var(--toproll); }
.feed-pred-result.pred-miss { color: var(--flop); }
.feed-pred-pts { color: var(--toproll); font-weight: 700; }

.feed-poster { flex: 0 0 46px; width: 46px; height: 69px; border-radius: 8px; object-fit: cover; cursor: pointer; background: var(--bg3); }
.feed-poster-ph { display: flex; align-items: center; justify-content: center; color: var(--dim); }

/* reactions */
.feed-reactions { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.feed-react {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  background: var(--surface2, rgba(255,255,255,.05)); border: 0.5px solid var(--border2, rgba(255,255,255,.1));
  border-radius: 20px; padding: 5px 11px; font-size: 13px; color: var(--muted); transition: all .14s; font-family: inherit;
}
.feed-react:hover { border-color: var(--gold); color: var(--text); transform: translateY(-1px); }
.feed-react.on { background: rgba(232,201,107,.14); border-color: var(--gold); color: var(--gold); }
.feed-react-emoji { font-size: 14px; line-height: 1; }
.feed-react-n { font-size: 12px; font-variant-numeric: tabular-nums; }
.feed-reply-btn { color: var(--muted); }

/* replies */
.feed-replies { margin-top: 8px; }
.feed-cmt-list { display: flex; flex-direction: column; gap: 6px; }
.feed-cmt { display: flex; align-items: flex-start; gap: 8px; }
.feed-cmt-av {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; text-decoration: none;
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700;
  background: var(--surface2, rgba(255,255,255,.08)); color: var(--muted);
}
.feed-cmt-body { font-size: 13px; line-height: 1.45; color: var(--text); flex: 1; min-width: 0; }
.feed-cmt-name { color: var(--text); font-weight: 600; text-decoration: none; margin-right: 4px; }
.feed-cmt-name:hover { color: var(--gold); }
.feed-cmt-del { background: none; border: none; color: var(--dim); cursor: pointer; padding: 0 2px; font-size: 13px; flex: 0 0 auto; }
.feed-cmt-del:hover { color: var(--flop); }

.feed-reply-box { display: flex; gap: 8px; margin-top: 8px; }
.feed-reply-input {
  flex: 1; background: var(--bg3); color: var(--text); border: 0.5px solid var(--border2, rgba(255,255,255,.1));
  border-radius: 20px; padding: 7px 13px; font-family: inherit; font-size: 13px;
}
.feed-reply-input:focus { outline: none; border-color: var(--toproll); }
.feed-reply-send {
  background: var(--gold); color: #1a1000; border: none; border-radius: 20px; padding: 7px 16px;
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.feed-reply-send:hover { background: #f0d57a; }

@media (max-width: 600px) {
  .feed-poster { display: none; }
  .feed-title { font-size: 1.6rem; }
}
