/* ARES SOCIAL V11.3 — FIL INSTAGRAM */

.app.mode-rp [data-vue-panneau="fil"] {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 100px;
}

/* Aucun bouton de publication manuelle */
.app.mode-rp [data-vue-panneau="fil"] .actions-fil,
.app.mode-rp #barre-stories .story-bulle.ajout {
  display: none !important;
}

/* Stories */
.app.mode-rp #barre-stories {
  display: flex;
  gap: 17px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 17px 12px 20px;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.app.mode-rp #barre-stories::-webkit-scrollbar {
  display: none;
}

.app.mode-rp #barre-stories .story-bulle {
  flex: 0 0 82px;
  width: 82px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
}

.app.mode-rp #barre-stories .avatar-social {
  display: flex;
  width: 76px;
  height: 76px;
  margin: 0 auto 7px;
  padding: 3px;
  border-radius: 50%;
}

.app.mode-rp #barre-stories .avatar-social.story {
  background: linear-gradient(
    35deg,
    #ffca37,
    #ff6b22,
    #ed1491,
    #9637e8
  );
}

.app.mode-rp #barre-stories .avatar-social > * {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #17131d;
}

.app.mode-rp #barre-stories .story-bulle small {
  display: block;
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Filtres */
.app.mode-rp .ares113-filtres {
  display: flex;
  gap: 24px;
  padding: 13px 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.app.mode-rp .ares113-filtre {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 2px 12px;
  background: transparent;
  color: #aaa3b5;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.app.mode-rp .ares113-filtre[aria-pressed="true"] {
  color: #fff;
  border-bottom-color: #d18aff;
}

/* Publications */
.app.mode-rp #fil-publications {
  width: 100%;
  max-width: none;
}

.app.mode-rp #fil-publications .publication {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app.mode-rp #fil-publications .publication > header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 65px;
  padding: 10px 13px;
}

.app.mode-rp #fil-publications .publication > header
.avatar-social {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.app.mode-rp #fil-publications .publication > header
.lien-profil {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.app.mode-rp #fil-publications .publication-image {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: #141019;
}

.app.mode-rp #fil-publications .publication-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 850px;
  object-fit: contain;
  margin: 0 auto;
}

.app.mode-rp #fil-publications .pub-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px 5px;
}

.app.mode-rp #fil-publications .pub-actions-gauche {
  display: flex;
  align-items: center;
  gap: 17px;
}

.app.mode-rp #fil-publications .pub-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.app.mode-rp #fil-publications .pub-action.actif {
  color: #ff426b;
}

.app.mode-rp #fil-publications .pub-legende {
  padding: 4px 14px;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.app.mode-rp #fil-publications .voir-commentaires {
  margin: 5px 14px;
}

.app.mode-rp #fil-publications .pub-date {
  padding: 4px 14px 15px;
  margin: 0;
  color: #aaa2b1;
  font-size: 12px;
}

/* Mobile : fil bord à bord */
@media (max-width: 700px) {
  .app.mode-rp [data-vue-panneau="fil"] {
    max-width: 100%;
    padding-bottom: 85px;
  }

  .app.mode-rp #barre-stories {
    gap: 10px;
    padding: 13px 8px 17px;
  }

  .app.mode-rp #barre-stories .story-bulle {
    flex-basis: 75px;
    width: 75px;
  }

  .app.mode-rp #barre-stories .avatar-social {
    width: 69px;
    height: 69px;
  }

  .app.mode-rp #fil-publications .publication {
    margin-bottom: 7px;
  }

  .app.mode-rp #fil-publications .publication > header {
    min-height: 57px;
    padding: 8px 11px;
  }
}
