/* Hub Kommunautaire, refonte : plus compact, une présence en vignettes, un flux groupé par jour. */

/* Bandeau aux coins adoucis. */
#hubLiveView .hub-kommu-hero { margin: 12px 12px 10px; border-radius: 14px; }

/* Pouls de la Kommu : titre + chiffres en pastilles dans une seule carte. */
#hubLiveView .hub-kommu-overview { margin: 0 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 54, 200, .08), transparent 55%), #14121b; }
#hubLiveView .hub-kommu-momentum { padding: 12px 14px 8px; border-left: 0; }
#hubLiveView .hub-kommu-momentum strong { font-size: 1rem; }
#hubLiveView .hub-kommu-momentum p { margin: 2px 0 0; font-size: .7rem; }
#hubLiveView .hub-kommu-stats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 12px; border: 0; }
#hubLiveView .hub-kommu-stats > div { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 999px; background: rgba(255, 255, 255, .04); }
#hubLiveView .hub-kommu-stats strong { font-size: .86rem; }
#hubLiveView .hub-kommu-stats small { font-size: .6rem; letter-spacing: 0; text-transform: none; }

/* Accès rapides : trois boutons compacts. */
#hubLiveView .hub-kommu-actions { gap: 8px; margin: 10px 12px 0; }
#hubLiveView .hub-kommu-actions button { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 10px; border-radius: 12px; text-align: left; }
#hubLiveView .hub-kommu-actions button { gap: 7px; padding: 8px; }
#hubLiveView .hub-kommu-actions button > span { flex: 0 0 auto; width: 26px; height: 26px; font-size: .72rem; }
#hubLiveView .hub-kommu-actions button > strong { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
#hubLiveView .hub-kommu-actions button > small { display: none; }

/* Présence : vignettes rondes qu'on fait défiler, comme des stories. */
#hubLiveView .hub-live-members { margin-top: 18px; }
#hubLiveView .hub-live-members > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
#hubLiveView .hub-live-members > header > div { gap: 8px; }
#hubLiveView .hub-section-icon { display: none !important; }
#hubLiveView .hub-live-members h2 { white-space: nowrap; }
#hubLiveView .hub-live-members > header > small { display: none; }
#hubLiveView #hubLiveMembers { gap: 12px; padding: 2px 2px 6px; }
#hubLiveView #hubLiveMembers > button { display: grid; flex: 0 0 64px; justify-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: #fff; scroll-snap-align: start; }
#hubLiveView #hubLiveMembers .hub-live-avatar { width: 54px; height: 54px; border: 2px solid var(--kommu-green, #53e6a5); border-radius: 50%; box-shadow: 0 0 12px rgba(83, 230, 165, .25); }
#hubLiveView #hubLiveMembers .hub-live-avatar > img:first-child, #hubLiveView #hubLiveMembers .hub-live-avatar > i { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
#hubLiveView #hubLiveMembers strong { overflow: hidden; width: 100%; font-size: .66rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
#hubLiveView #hubLiveMembers small { display: none; }

/* Flux : séparateurs de jour, lignes légères, groupes avec le détail en dessous. */
#hubLiveView .hub-live-timeline > header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: start; }
#hubLiveView .hub-kommu-filters { justify-self: stretch; width: 100%; border-radius: 999px; }
#hubLiveView .hub-kommu-filters button { flex: 1; border-radius: 999px; font-size: .62rem; }
#hubLiveView .hub-kommu-filters button.is-active { background: rgba(255, 106, 61, .18); color: #ff8a5c; box-shadow: none; }
#hubLiveView .hub-live-day { margin: 14px 2px 6px; color: rgba(255, 255, 255, .5); font-size: .62rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
#hubLiveView .hub-live-day:first-child { margin-top: 2px; }
#hubLiveView .hub-live-entry { grid-template-columns: 42px minmax(0, 1fr) auto; min-height: 0; margin: 0; padding: 9px 4px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; background: transparent; box-shadow: none; }
#hubLiveView .hub-live-entry .hub-live-avatar { width: 40px; height: 40px; }
#hubLiveView .hub-live-entry > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
#hubLiveView .hub-live-entry strong { font-size: .8rem; }
#hubLiveView .hub-live-entry small { overflow: hidden; color: rgba(255, 255, 255, .72); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
#hubLiveView .hub-live-detail { overflow: hidden; color: rgba(255, 255, 255, .45); font-size: .64rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
#hubLiveView .hub-live-entry time { align-self: start; padding-top: 2px; color: rgba(255, 255, 255, .45); font-size: .6rem; }
#hubLiveView .hub-live-entry.is-grouped strong::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: rgba(255, 106, 61, .7); vertical-align: middle; }

/* Ça fait parler : lignes lisibles, emotes affichées. */
#hubLiveView .hub-kommu-popular-row strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }
#hubLiveView .hub-kommu-popular-row .app-inline-emote { width: 22px; height: 22px; vertical-align: middle; object-fit: contain; }

/* Écoutes groupées : tous les titres, un par ligne. */
#hubLiveView .hub-live-titles { display: grid; gap: 2px; margin-top: 3px; }
#hubLiveView .hub-live-titles i { overflow: hidden; color: rgba(255, 255, 255, .62); font-size: .66rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
