/* Fiche publique (/m/:slug) et liste des personnes bloquées (/bloques). Mobile d'abord.
   La fiche reprend la page d'un groupe (pages/bands.css) : une affiche en tête, puis l'essentiel en mots simples. */

/* « C'est ta fiche » */
.prof-owner-wrap {
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}
.prof-owner {
  display: grid;
  gap: var(--s-3);
  border-color: color-mix(in srgb, var(--vu) 45%, var(--line));
  background: linear-gradient(135deg, var(--vu-soft), transparent 55%), var(--surface);
}
/* Fiche discrète (§0.9) : la pastille, puis l'explication et le lien vers « Ma fiche ». */
.prof-owner__discreet .badge {
  margin-right: 0.35rem;
  vertical-align: 0.05em;
}

/* ─── L'affiche : ce qu'elle joue (en gros), qui, où, ce qu'elle cherche ─── */
/* Pas d'overflow: hidden ici (contrairement à l'affiche d'un groupe) : « Pas pour moi » et le menu ⋯ s'ouvrent
   sous les boutons et doivent pouvoir dépasser de l'affiche ; z-index pour passer au-dessus du contenu qui suit. */
.prof-hero {
  --h: 20;
  position: relative;
  z-index: 2;
  isolation: isolate;
  color: #fbf3e2;
  padding-block: clamp(2rem, 1.2rem + 5vw, 4.5rem) var(--s-6);
  background:
    radial-gradient(circle at 80% 15%, hsl(var(--h) 85% 58% / 0.5), transparent 55%),
    radial-gradient(circle at 5% 120%, hsl(calc(var(--h) + 50) 80% 50% / 0.38), transparent 50%),
    linear-gradient(135deg, hsl(var(--h) 40% 18%), hsl(calc(var(--h) + 30) 35% 8%));
}
.prof-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.25;
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}
.prof-hero__inner {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
}
.prof-hero__tags:empty,
.prof-hero__badges:empty {
  display: none;
}
/* Mobile : photo + prénom sur une ligne, puis l'instrument et le niveau sur toute la largeur.
   Écran large : la photo à gauche de tout le bloc. */
.prof-hero__id {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    'photo name'
    'instr instr'
    'level level';
  align-items: center;
  gap: var(--s-2) var(--s-3);
  width: 100%;
  min-width: 0;
}
.prof-hero__id > .avatar {
  grid-area: photo;
  box-shadow: 0 0 0 3px rgb(251 243 226 / 0.85);
}
.prof-hero__id > .prof-hero__name {
  grid-area: name;
}
.prof-hero__id > .prof-hero__instrument {
  grid-area: instr;
}
.prof-hero__id > .prof-hero__level {
  grid-area: level;
}
@media (max-width: 639px) {
  .prof-hero__id > .avatar {
    --size: 4rem;
  }
}
@media (min-width: 640px) {
  .prof-hero__id {
    grid-template-areas:
      'photo name'
      'photo instr'
      'photo level';
    gap: var(--s-2) var(--s-5);
  }
  .prof-hero__id > .avatar {
    align-self: center;
    box-shadow: 0 0 0 4px rgb(251 243 226 / 0.85);
  }
  .prof-hero__id > .prof-hero__name {
    align-self: end;
  }
  .prof-hero__id > .prof-hero__level {
    align-self: start;
  }
}
/* Sans instrument renseigné : la photo et le prénom seuls. */
.prof-hero__id--noinstr {
  grid-template-areas: 'photo name';
}
/* Qui : le prénom, lisible mais second (l'instrument est l'information qu'on cherche). */
.prof-hero__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-xl);
  line-height: 1;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.prof-hero__age {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 600;
  font-size: var(--fs-lg);
  letter-spacing: 0;
  color: rgb(251 243 226 / 0.85);
}
/* Ce qu'elle joue : le plus gros texte de la page, comme le nom d'un groupe sur son affiche. */
.prof-hero__instrument {
  display: flex;
  align-items: center;
  gap: 0.18em;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-3xl);
  line-height: 0.92;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-shadow: 0 3px 18px rgb(0 0 0 / 0.45);
}
.prof-hero__mark {
  flex: none;
  font-size: 0.8em;
  text-shadow: none;
}
.prof-hero__level {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  font-size: var(--fs-md);
  color: rgb(251 243 226 / 0.9);
}
.prof-hero__level strong {
  font-weight: 800;
  color: #fbf3e2;
}
.prof-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-weight: 650;
  color: rgb(251 243 226 / 0.9);
}
.prof-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.prof-hero__meta .icon {
  width: 1em;
  height: 1em;
}
.prof-hero__meta:empty {
  display: none;
}
.prof-hero__badges {
  --cluster: 0.45rem;
}
.prof-hero__actions,
.prof-hero .prof-actions {
  margin-top: var(--s-2);
}
.prof-hero .btn {
  max-width: 100%;
}
/* Sur l'affiche sombre, les boutons discrets (contour, fantôme) prennent l'encre claire. */
.prof-hero .btn--outline,
.prof-hero .btn--ghost {
  --btn-fg: #fbf3e2;
}
.prof-hero .prof-actions__state .small {
  color: rgb(251 243 226 / 0.9);
}

/* Actions (membre) : Ça m'intéresse, Pas pour moi, Partager, ⋯ */
.prof-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}
.prof-actions__jam {
  flex: 1 1 12rem;
}
/* Mobile : le bouton principal prend presque toute la largeur, gaffer à peine de travers (§0.5).
   Le menu ⋯ s'aligne sur le bord droit de la rangée : collé au bouton ⋯ (en fin de deuxième ligne,
   après « Pas pour moi » et Partager), il débordait de l'écran à 320-375 px. */
@media (max-width: 639px) {
  .prof-actions,
  .prof-hero__actions {
    --btn-tilt-k: 0.4;
  }
  .prof-actions > .prof-more {
    position: static;
  }
  .prof-actions > .prof-more .nav-menu__panel {
    left: auto;
    right: 0;
  }
}
@media (min-width: 640px) {
  .prof-actions__jam {
    flex: 0 0 auto;
    min-width: 12rem;
  }
}
.prof-actions__state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}
.prof-pass .pass__panel {
  max-width: 26rem;
  color: var(--text);
}
.prof-more > summary {
  list-style: none;
}
.prof-more > summary::-webkit-details-marker {
  display: none;
}
.prof-more__dots {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 900;
}
.prof-more .nav-menu__panel {
  left: 0;
  right: auto;
  width: min(14rem, calc(100vw - 2rem));
  z-index: 30;
  color: var(--text);
}
.prof-more form {
  display: contents;
}

/* ─── Le contenu : l'essentiel à gauche, le pratique à droite ─────────────── */
.prof-layout {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 960px) {
  .prof-layout {
    grid-template-columns: minmax(0, 1fr) 21rem;
    align-items: start;
  }
}
.prof-main {
  display: grid;
  gap: clamp(var(--s-6), 1rem + 4vw, var(--s-8));
  min-width: 0;
}
.prof-section {
  display: grid;
  gap: var(--s-4);
  align-content: start;
  min-width: 0;
}
.prof-h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-xl);
  line-height: 1;
  letter-spacing: 0.01em;
}
.prof-h3 {
  font-size: var(--fs-md);
  font-weight: 800;
}
.prof-bio {
  max-width: 60ch;
}

/* Membre : la jauge et les raisons, en tête du contenu. */
.prof-match {
  display: grid;
  gap: var(--s-4);
  align-items: center;
}
@media (min-width: 640px) {
  .prof-match {
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--s-5);
  }
}

/* « En bref » : une ligne par question, l'étiquette à gauche, la réponse en gras lisible (comme .band-facts). */
.prof-facts {
  display: grid;
  gap: var(--s-3);
  margin: 0;
}
.prof-facts > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: var(--s-3);
  align-items: baseline;
}
.prof-facts dt {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
}
.prof-facts dd {
  margin: 0;
  font-weight: 650;
  color: var(--text);
  overflow-wrap: anywhere;
}
.prof-facts__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-right: 1rem;
}
.prof-facts__more {
  font-weight: 400;
  color: var(--text-muted);
}
.prof-facts__line {
  display: block;
  font-weight: 400;
}
/* Très petit écran (320 px) : l'étiquette au-dessus de la valeur. */
@media (max-width: 359px) {
  .prof-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }
}

/* Le son : les styles en capitales d'affiche, l'extrait, les artistes. */
.prof-genres {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-md);
  letter-spacing: 0.02em;
  color: var(--text);
}
.prof-artists {
  display: grid;
  gap: var(--s-2);
}
.prof-artists__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
}
.prof-artists .artist-list li {
  font-size: var(--fs-sm);
}
/* « L'écouter ailleurs » : ses réseaux, une pastille par lien (le réseau, puis son nom). */
.prof-links {
  display: grid;
  gap: var(--s-2);
}
.prof-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.prof-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.45rem 0.8rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.prof-link:hover {
  border-color: var(--accent);
}
.prof-link__net {
  font-weight: 800;
}
.prof-link__name {
  color: var(--text-muted);
}

.prof-prompts {
  gap: var(--s-3);
}
.prof-prompt {
  margin: 0;
  display: grid;
  gap: var(--s-2);
  border-left: 3px solid var(--accent);
}
.prof-prompt__q {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prof-prompt__a {
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: 650;
  line-height: 1.35;
}

.prof-video > summary {
  list-style: none;
  width: fit-content;
}
.prof-video > summary::-webkit-details-marker {
  display: none;
}
.prof-video[open] > summary {
  display: none;
}
.prof-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.prof-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* La colonne pratique : ses dispos, l'appel visiteur, les liens vers sa ville. */
.prof-side {
  min-width: 0;
}
.prof-citylinks {
  display: grid;
  gap: var(--s-1);
}

/* Dialogue « Signaler » */
.report-form,
.report-done {
  display: grid;
  gap: var(--s-3);
}
.report-form__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--s-2);
  margin-top: var(--s-2);
}
.report-done__title {
  font-size: var(--fs-lg);
  font-weight: 820;
}

/* /bloques */
.blocked-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}
.blocked-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s-3);
  align-items: center;
}
.blocked-item__who {
  min-width: 0;
}
.blocked-item__name {
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
