/* PoolRooms — badges visuels en images */
.pr-member-badges{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  min-width:0;
}

.pr-member-badge{
  width:22px;
  height:22px;
  flex:0 0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  line-height:1;
  text-decoration:none;
  vertical-align:middle;
  overflow:visible;
  transition:transform .16s ease, opacity .16s ease;
}

.pr-member-badge:hover{
  transform:translateY(-1px) scale(1.05);
}

.pr-member-badge img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.pr-member-badge.is-micro{
  width:20px;
  height:20px;
  flex-basis:20px;
}

.pr-member-badge.is-tiny{
  width:22px;
  height:22px;
  flex-basis:22px;
}

.pr-member-badge.is-compact{
  width:36px;
  height:36px;
  flex-basis:36px;
}

.pr-member-badge.is-large{
  width:72px;
  height:72px;
  flex-basis:72px;
}

.pr-member-badge.is-muted{
  opacity:.48;
  filter:grayscale(1);
}

.pr-member-badges-empty{
  color:#64748b;
  font-size:.82rem;
  font-weight:600;
}

/* Galerie complète dans le profil */
.pr-profile-badges-page{
  display:grid;
  gap:18px;
}

.pr-profile-badges-intro{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:24px;
  border:1px solid #dfe6ef;
  border-radius:20px;
  background:#fff;
}

.pr-profile-badges-intro__copy{
  min-width:0;
}

.pr-profile-badges-intro__eyebrow{
  display:block;
  margin-bottom:6px;
  color:#f20d21;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.pr-profile-badges-intro h2{
  margin:0;
  color:#071426;
  font-size:28px;
  line-height:1.12;
  font-weight:800;
}

.pr-profile-badges-intro p{
  max-width:660px;
  margin:8px 0 0;
  color:#526175;
  font-size:15px;
  line-height:1.5;
}

.pr-profile-badges-intro__count{
  min-width:120px;
  min-height:82px;
  display:grid;
  place-items:center;
  align-content:center;
  border:1px solid #dfe6ef;
  border-radius:17px;
  background:#f8fafc;
  color:#071426;
}

.pr-profile-badges-intro__count strong{
  font-size:28px;
  line-height:1;
}

.pr-profile-badges-intro__count span{
  margin-top:5px;
  color:#64748b;
  font-size:12px;
  font-weight:600;
}

.pr-profile-badges-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.pr-profile-badge-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  border:1px solid #dfe6ef;
  border-radius:20px;
  background:#fff;
  overflow:hidden;
}

.pr-profile-badge-card__visual{
  min-height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:linear-gradient(180deg,#f9fbfd,#fff);
}

.pr-profile-badge-card__visual img{
  width:min(180px,78%);
  max-height:180px;
  object-fit:contain;
}

.pr-profile-badge-card__body{
  flex:1 1 auto;
  padding:18px 19px 20px;
  border-top:1px solid #edf2f7;
}

.pr-profile-badge-card__category{
  display:inline-flex;
  min-height:24px;
  align-items:center;
  padding:0 9px;
  border-radius:999px;
  background:#eef3f8;
  color:#526175;
  font-size:10px;
  font-weight:750;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.pr-profile-badge-card h3{
  margin:10px 0 0;
  color:#071426;
  font-size:18px;
  line-height:1.2;
  font-weight:750;
}

.pr-profile-badge-card__description{
  margin:8px 0 0;
  color:#526175;
  font-size:13px;
  line-height:1.48;
}

.pr-profile-badge-card__reason{
  margin:14px 0 0;
  padding-top:13px;
  border-top:1px solid #edf2f7;
  color:#334155;
  font-size:12px;
  line-height:1.45;
}

.pr-profile-badge-card__date{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:12px;
  color:#64748b;
  font-size:11px;
  font-weight:600;
}

.pr-profile-badges-empty-state{
  min-height:330px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:12px;
  padding:36px;
  border:1px solid #dfe6ef;
  border-radius:20px;
  background:#fff;
  text-align:center;
}

.pr-profile-badges-empty-state i{
  width:74px;
  height:74px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f2f5f9;
  color:#8b98a9;
  font-size:28px;
}

.pr-profile-badges-empty-state h3{
  margin:2px 0 0;
  color:#071426;
  font-size:22px;
}

.pr-profile-badges-empty-state p{
  max-width:420px;
  margin:0;
  color:#64748b;
  line-height:1.5;
}

@media (max-width:900px){
  .pr-profile-badges-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:620px){
  .pr-member-badges{gap:4px}
  .pr-profile-badges-intro{padding:19px;flex-direction:column}
  .pr-profile-badges-intro__count{width:100%;min-height:66px;display:flex;gap:8px}
  .pr-profile-badges-gallery{grid-template-columns:1fr}
  .pr-profile-badge-card__visual{min-height:190px}
  .pr-profile-badge-card__visual img{max-height:160px}
}
