/* Page d'entrée /creations/<id> : console « B2 » (fiche + notes à gauche, transmission au centre, archive de l'opérateur à droite).
   Mêmes codes que la fiche /u/ (fiche-employe.css) et les consoles de /singularity. Médias sans filtre de couleur. */
.sheet { width: min(100%, 2200px); --dc-r: #e10600; --dc-r2: #ff4d55; --dc-ink: #f7f1f1; --dc-mute: #8a8082; --dc-soft: #c9b8b8; --dc-line: rgba(225, 6, 0, 0.45); --dc-line2: rgba(225, 6, 0, 0.2); }
.sheet .back { margin-top: 0.4rem; margin-bottom: 0.7rem; padding: 0.4rem 0.8rem; font-size: 0.66rem; }
#piece { min-width: 0; }
.dc-strip { display: flex; border: 1px solid var(--dc-line); margin-bottom: 12px; background: rgba(7, 3, 4, 0.6); }
.dc-cell { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; padding: 0.42rem 0.8rem; border-right: 1px solid var(--dc-line2); }
.dc-cell:last-child { border-right: 0; }
.dc-cell.is-wide { flex: 1.6 1 0; }
.dc-l { color: var(--dc-mute); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-l i { display: inline-block; width: 6px; height: 6px; margin-right: 0.35rem; background: var(--dc-r); }
.dc-v { font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-cell.is-red .dc-v { color: var(--rouge-texte, #f40700); }
.dc-board { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) minmax(250px, 310px); gap: 12px; height: calc(100dvh - 230px); min-height: 560px; }
.dc-panel { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; border: 1px solid var(--dc-line); background: rgba(7, 3, 4, 0.72); }
.dc-panel::before, .dc-panel::after { content: ""; position: absolute; z-index: 2; width: 10px; height: 10px; border-color: var(--dc-r); border-style: solid; pointer-events: none; }
.dc-panel::before { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.dc-panel::after { left: -1px; top: -1px; border-width: 2px 0 0 2px; }
.dc-ph { display: flex; align-items: center; gap: 0.6rem; min-width: 0; padding: 0.42rem 0.6rem; border-bottom: 1px solid var(--dc-line2); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.dc-ph h2, .dc-ph .dc-pt { margin: 0; min-width: 0; font: inherit; color: var(--dc-ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dc-p { flex: 0 0 auto; padding: 0.06rem 0.35rem; background: #ff2a33; color: #000; font-size: 0.64rem; letter-spacing: 0.1em; }
.dc-s { flex: 0 0 auto; margin-left: auto; color: var(--dc-mute); font-size: 0.64rem; letter-spacing: 0.14em; }
.dc-s.is-on { color: var(--dc-r2); }
.dc-pb { flex: 1; min-height: 0; padding: 0.75rem 0.8rem; overflow: auto; scrollbar-color: var(--dc-r) transparent; scrollbar-width: thin; }
.dc-left { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-height: 0; min-width: 0; }
.dc-notes .dc-pb { max-height: 42vh; }
/* Fiche */
.dc-fiche .kicker { margin: 0 0 0.3rem; font-size: 0.66rem; letter-spacing: 0.24em; }
.dc-fiche .title { margin: 0 0 0.4rem; font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 0.92; }
/* QA mobile 380 : coupure après les « _ » (<wbr> posés par detail.js) ; break-word ne coupe un segment qu'en dernier recours
   (segment plus large que la colonne), au lieu d'« anywhere » qui coupait au milieu des mots */
#piece .dc-fiche h1.title { overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.dc-sub { margin: 0 0 0.6rem; color: var(--dc-mute); font-size: 0.66rem; letter-spacing: 0.16em; }
.dc-fiche .iteration { margin: 0 0 0.7rem; }
.dc-fiche .creator-link { margin: 0.2rem 0 0.8rem; }
.dc-fiche .creator-link img, .dc-fiche .creator-link .mark { width: 44px; height: 44px; border-color: var(--dc-r); }
.dc-fiche .creator-link .dc-op { display: flex; flex-direction: column; gap: 0.2rem; font-family: inherit; font-size: inherit; letter-spacing: 0; text-transform: none; }
.dc-fiche .creator-link .dc-opn { font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.35rem; line-height: 1; letter-spacing: 0.05em; text-transform: uppercase; }
.dc-fiche .creator-link .dc-mat { color: var(--rouge-texte, #f40700); font-family: "Share Tech Mono", "Share Tech Mono Repli", ui-monospace, monospace; font-size: 0.64rem; letter-spacing: 0.2em; }
.dc-counts { display: flex; margin: 0 0 0.9rem; border: 1px solid var(--dc-line2); }
.dc-counts > div { display: flex; flex-direction: column; gap: 0.2rem; flex: 1 1 0; min-width: 0; padding: 0.35rem 0.6rem; border-right: 1px solid var(--dc-line2); }
.dc-counts > div:last-child { border-right: 0; }
.dc-counts b, .dc-counts .react-btn .count { font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.5rem; line-height: 1.05; letter-spacing: 0.04em; color: var(--dc-ink); }
.dc-counts .react-btn { align-self: flex-start; gap: 0.45rem; cursor: pointer; }
.dc-counts .react-btn:hover .count, .dc-counts .react-btn:focus-visible .count, .dc-counts .react-btn[aria-pressed="true"] .count { color: var(--rouge-texte, #f40700); }
.dc-counts .react-btn:focus-visible { outline: 1px solid var(--dc-r2); outline-offset: 2px; }
.dc-fiche .meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.45rem 0.9rem; margin: 0 0 1rem; }
.dc-fiche .meta div { display: contents; }
.dc-fiche .meta dt { padding-top: 0.14rem; color: var(--dc-mute); font-size: 0.62rem; letter-spacing: 0.16em; }
.dc-fiche .meta dd { margin: 0; text-align: right; font-size: 0.8rem; }
.dc-fiche .meta dd.tools { justify-content: flex-end; margin: 0; gap: 0.3rem; }
/* Licence du dépôt (art. 8 bis.8, t777s3849) : intitulé complet de Legal, lien vers le texte officiel. */
.dc-fiche .meta .dc-licence dd { overflow-wrap: anywhere; }
.dc-fiche .meta .dc-licence-a { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.dc-fiche .meta .dc-licence-a:focus-visible { outline: 2px solid var(--dc-r, #e10600); outline-offset: 2px; }
.dc-fiche .tool-mark { padding: 0.05rem 0.4rem; font-size: 0.68rem; }
.dc-fiche a.site-link { color: var(--dc-r2); }
.dc-fiche .prompt-block h2 { margin: 0 0 0.4rem; font-size: 0.62rem; letter-spacing: 0.22em; }
.dc-fiche .prompt-block p { padding: 0.6rem 0.7rem; font-size: 0.78rem; line-height: 1.6; }
.dc-fiche .prompt-block + .prompt-block { margin-top: 0.8rem; }
.dc-fiche .actions, .dc-fiche .permit { margin-top: 0.9rem; }
.dc-fiche .download { padding: 0.55rem 0.9rem; font-size: 0.66rem; }
/* Notes : le titre du panneau suffit à l'œil, le h2 reste pour les lecteurs d'écran */
.dc-notes .notes { margin: 0; }
.dc-notes .notes > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dc-notes .note-list li { padding: 0.6rem 0.7rem; }
.dc-notes .note-list p { font-size: 0.8rem; }
.dc-notes .note-form { margin-top: 0.6rem; }
.dc-notes .note-form textarea { min-height: 4.2rem; padding: 0.55rem 0.7rem; font-size: 0.8rem; }
.dc-notes .note-send { padding: 0.5rem 0.9rem; font-size: 0.66rem; }
.dc-notes .report { margin-top: 0.9rem; }
/* Transmission (centre) */
.dc-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 0; overflow: hidden; background: #000; container-type: size; }
.dc-stage .player { --ar: 1.7778; margin: 0; border: 0; box-shadow: none; width: min(100cqw, calc(100cqh * var(--ar))); max-width: 100%; }
.dc-stage .player[data-aspect="16:9"] { --ar: 1.7778; }
.dc-stage .player[data-aspect="9:16"] { --ar: 0.5625; }
.dc-stage .player[data-aspect="1:1"] { --ar: 1; }
.dc-stage .player[data-aspect="4:5"] { --ar: 0.8; }
.dc-stage .player[data-aspect="4:3"] { --ar: 1.3333; }
.dc-stage .player[data-aspect="3:2"] { --ar: 1.5; }
.dc-stage .player[data-aspect="3:4"] { --ar: 0.75; }
.dc-stage .player[data-aspect="5:4"] { --ar: 1.25; }
.dc-stage .player[data-aspect="2:1"] { --ar: 2; }
.dc-stage .player[data-aspect="21:9"] { --ar: 2.3333; }
.dc-stage .player[data-aspect="1.85:1"] { --ar: 1.85; }
.dc-stage .player[data-aspect="2.39:1"] { --ar: 2.39; }
.dc-stage .player:not([data-aspect]), .dc-stage .player[data-aspect="autre"] { width: 100%; max-height: 100cqh; overflow: hidden; }
.dc-stage .player audio { display: block; width: min(calc(100% - 2rem), 36rem); margin: 2.2rem auto; }
.dc-stage .player.is-still > .model-file:only-child { position: static; padding: 2.4rem 1.6rem; background: none; color: #f7f1f1; font-size: 1rem; letter-spacing: 0.08em; text-align: center; overflow-wrap: anywhere; }
.dc-stage .player.is-still { width: auto; max-width: 100cqw; max-height: 100cqh; }
.dc-stage .player.is-still img { max-width: 100cqw; max-height: 100cqh; }
/* Image au format déclaré (.has-ar, --ar posé par detail.js) : le cadre a sa taille avant l'arrivée de l'image (pas de CLS) */
.dc-stage .player.is-still.has-ar { width: min(100cqw, calc(100cqh * var(--ar))); max-width: 100%; }
.dc-stage .player.is-still.has-ar img { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; aspect-ratio: var(--ar); object-fit: contain; }
/* Suivi #102 : voile 18+ d'une image (cadre « is-still » sans image, donc sans largeur propre) → le cadre prend la
   taille de l'écran (16:9), le bouton le remplit : texte lisible et clic reçu par le bouton, pas par .dc-stage. */
.dc-stage .player.is-still:has(> .adult-cover) { position: relative; width: min(100cqw, calc(100cqh * 16 / 9)); max-width: 100%; aspect-ratio: 16 / 9; min-height: 12rem; }
.dc-stage .player.is-still > .adult-cover > .adult-veil { white-space: normal; text-align: center; font-size: 14px; line-height: 1.4; }
.dc-stage .player:not([data-aspect]) video, .dc-stage .player[data-aspect="autre"] video { max-height: 100cqh; }
.dc-stage .player pre { max-height: 100cqh; overflow: auto; }
.dc-stage .code-slot { width: 100%; max-height: 100cqh; overflow: auto; }
/* Fiche d'un texte : lecture confortable (colonne de 76 caractères, interligne aéré, filet rouge), chargement et erreur lisibles.
   Le contenu arrive par textContent (detail.js, paintText) : un texte public n'est jamais un panneau noir. */
.dc-stage:has(> .player > pre) { place-items: start center; background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(110, 6, 12, 0.3), transparent 72%), #000; }
.dc-stage .player > pre { box-sizing: border-box; width: min(100%, 76ch); margin: 0 auto; padding: 1.7rem 1.5rem 2rem; border-left: 2px solid rgba(225, 6, 0, 0.6); color: #f7f1f1; font-size: 1.02rem; line-height: 1.8; letter-spacing: 0.02em; text-align: left; text-wrap: pretty; }
.dc-stage .player > pre[data-txt-state="loading"], .dc-stage .player > pre.txt-failed { display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 11rem; border-left: 0; color: #c9b8b8; font-size: 0.82rem; letter-spacing: 0.2em; text-align: center; text-transform: uppercase; white-space: normal; }
.dc-stage .player > pre[data-txt-state="loading"]::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; background: #e10600; animation: dc-txt-blink 1.4s steps(2, start) infinite; }
.dc-stage .player > pre.txt-failed { border: 1px solid rgba(225, 6, 0, 0.55); color: #f7f1f1; }
.dc-stage .player > .txt-note { width: min(100%, 76ch); margin: 0 auto; padding: 0 1.5rem 1.2rem; box-sizing: border-box; color: #8a8082; font-size: 0.74rem; letter-spacing: 0.12em; }
@keyframes dc-txt-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .dc-stage .player > pre[data-txt-state="loading"]::before { animation: none; } }
.player pre.code-plain, .player .code-plain code { font-family: "Share Tech Mono", "Share Tech Mono Repli", ui-monospace, monospace; white-space: pre; overflow-wrap: normal; tab-size: 2; }
.player pre.code-plain { margin: 0; padding: 1.1rem 1.2rem; overflow: auto; font-size: 0.84rem; line-height: 1.55; color: #f7f1f1; text-align: left; }
.dc-transport { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.8rem; width: auto; margin: 0; padding: 0.5rem 0.6rem; border-top: 1px solid var(--dc-line2); pointer-events: auto; cursor: auto; }
.dc-transport .entry-step { padding: 0.45rem 0.9rem; border: 1px solid var(--dc-r); background: rgba(5, 2, 3, 0.6); color: var(--dc-r2); font-size: 0.68rem; letter-spacing: 0.22em; }
.dc-transport .entry-step:hover:not(:disabled), .dc-transport .entry-step:focus-visible { background: var(--dc-r); color: #fff; }
.dc-transport .entry-step:disabled { border-color: rgba(138, 128, 130, 0.45); opacity: 0.6; }
.dc-pos { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; min-width: 0; text-align: center; }
.dc-pos b { color: var(--dc-r); font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-size: 1.5rem; line-height: 1; letter-spacing: 0.08em; }
.dc-pos > span { color: var(--dc-mute); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; }
.dc-pos kbd { display: inline-block; min-width: 1.4em; padding: 0 0.25rem; border: 1px solid var(--dc-line); color: var(--dc-soft); font: inherit; text-align: center; }
/* Archive de l'opérateur (droite) */
.dc-chips { display: flex; flex-wrap: wrap; gap: 3px; padding: 0.5rem 0.5rem 0.4rem; border-bottom: 1px solid var(--dc-line2); }
.dc-chip { padding: 0.25rem 0.5rem; border: 1px solid transparent; background: none; color: var(--dc-mute); font: inherit; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.dc-chip span { margin-left: 0.3rem; color: var(--dc-r2); }
.dc-chip:hover { color: var(--dc-ink); }
.dc-chip:focus-visible { outline: 1px solid var(--dc-r2); outline-offset: 1px; color: var(--dc-ink); }
.dc-chip[aria-pressed="true"] { border-color: var(--dc-r); color: var(--dc-ink); }
.dc-list { flex: 1; min-height: 0; display: grid; align-content: start; gap: 4px; margin: 0; padding: 0.4rem; overflow: auto; list-style: none; scrollbar-color: var(--dc-r) transparent; scrollbar-width: thin; }
.dc-wait { padding: 0.6rem 0.4rem; color: var(--dc-mute); font-size: 0.7rem; letter-spacing: 0.12em; }
.dc-more-row { display: flex; justify-content: center; padding: 0.3rem 0 0.2rem; }
.dc-more { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.7rem; border: 1px solid var(--dc-line2); background: none; color: var(--dc-ink); font: inherit; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.dc-more span { color: var(--dc-r2); letter-spacing: 0.06em; }
.dc-more:hover, .dc-more:focus-visible { border-color: var(--dc-r); outline: none; }
.dc-more:disabled { color: var(--dc-mute); cursor: progress; }
.dc-row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 0.6rem; align-items: center; padding: 4px; border: 1px solid transparent; border-left: 2px solid transparent; color: var(--dc-ink); text-decoration: none; }
.dc-row:hover, .dc-row:focus-visible { border-color: var(--dc-line); background: rgba(225, 6, 0, 0.06); outline: none; }
.dc-row.is-cur { border-color: var(--dc-line); border-left-color: var(--dc-r); background: rgba(225, 6, 0, 0.12); }
.dc-th { position: relative; display: grid; place-items: center; width: 74px; aspect-ratio: 16 / 10; overflow: hidden; background: #050203; }
.dc-th img, .dc-th video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dc-tile { display: grid; place-items: center; align-content: center; gap: 0.1rem; width: 100%; height: 100%; padding: 0.25rem; text-align: center; background: repeating-linear-gradient(135deg, rgba(225, 6, 0, 0.06) 0 2px, transparent 2px 12px); }
.dc-tile b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-size: 0.72rem; line-height: 1.05; letter-spacing: 0.06em; text-transform: uppercase; overflow-wrap: anywhere; }
.dc-tile small { color: var(--dc-mute); font-size: 0.5rem; letter-spacing: 0.14em; text-transform: uppercase; }
.dc-ri { display: flex; flex-direction: column; min-width: 0; }
.dc-rt { overflow: hidden; font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.dc-rd { overflow: hidden; color: var(--dc-mute); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.dc-rd em { font-style: normal; color: var(--dc-r2); }
/* Bandeau SIÈGE MOROS : dans le flux, sous la console (il recouvrait le média) */
.plate { position: static; margin: 1.4rem 0 0; }
@media (max-width: 900px) {
  .dc-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .dc-cell { padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--dc-line2); }
  .dc-cell:nth-child(2n) { border-right: 0; }
  .dc-cell.is-desk { display: none; }
  .dc-v { font-size: 1.15rem; }
  .dc-board { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .dc-center { order: 1; }
  .dc-left { order: 2; display: flex; flex-direction: column; }
  .dc-rail { order: 3; }
  .dc-pb, .dc-notes .dc-pb { overflow: visible; max-height: none; }
  .dc-stage { container-type: normal; }
  .dc-stage .player { width: min(100%, calc(70svh * var(--ar))); }
  .dc-stage .player:not([data-aspect]), .dc-stage .player[data-aspect="autre"] { width: 100%; max-height: none; }
  .dc-stage .player.is-still { max-width: 100%; }
  .dc-stage .player.is-still:has(> .adult-cover) { width: 100%; }
  .dc-stage .player.is-still img { max-width: 100%; max-height: 70svh; }
  .dc-stage .player.is-still.has-ar { width: min(100%, calc(70svh * var(--ar))); }
  .dc-stage .player.is-still.has-ar img { max-height: none; }
  .dc-stage .player pre, .dc-stage .code-slot { max-height: 70svh; }
  .dc-transport { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--dc-r); background: #070304; }
  .dc-keys { display: none; }
  .dc-list { max-height: 60vh; }
  body { padding-bottom: 76px; }
  /* QA mobile 380 : la barre fixe PRÉC. / SUIV. (63 px + zone sûre) ne cache plus le badge ni le lien créateur en fin de défilement */
  main.sheet { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
/* Cibles tactiles (WCAG 2.5.8, 44 px visés) : puces de l'archive et bouton « Marquer » sur téléphone */
@media (max-width: 600px) {
  .dc-chip { display: inline-flex; align-items: center; min-height: 44px; }
  .dc-counts .react-btn { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-row, .dc-chip { transition: none; }
}

/* Annonce lecteur d'écran du changement d'entrée (navigation sans rechargement) : invisible à l'écran. */
.dc-say {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#piece[aria-busy="true"] .dc-stage { opacity: 0.55; transition: opacity 0.12s linear 0.15s; }
#piece h1.title:focus { outline: none; }
/* Terminal (site ou application) : le dossier du hub (terminal-console.js, mountEntry) prend toute la largeur du panneau
   Transmission, au-dessus de la fiche, des notes et de l'archive. Pas de container-type ici : il ferait du panneau le bloc
   conteneur du plein écran (position: fixed) du dossier. */
.dc-board.is-terminal { grid-template-rows: auto minmax(560px, calc(100dvh - 230px)); height: auto; }
.dc-board.is-terminal > .dc-center { grid-column: 1 / -1; grid-row: 1; }
.dc-board.is-terminal > .dc-left { grid-column: 1 / 3; grid-row: 2; }
.dc-board.is-terminal > .dc-rail, .dc-board.is-terminal > .dc-rail-slot { grid-column: 3; grid-row: 2; }
.dc-board.is-terminal .dc-stage { display: block; flex: none; container-type: normal; overflow: visible; padding: 0.7rem 0.9rem 1rem; background: transparent; }
.dc-board.is-terminal .dc-stage .player.is-terminal { display: block; width: 100%; max-width: none; max-height: none; margin: 0; border: 0; background: none; box-shadow: none; aspect-ratio: auto; }
.player.is-terminal::after { content: none; }
.player.is-terminal .tcd-fallback { display: grid; place-items: center; min-height: 12rem; }
.player.is-terminal .tcd-fallback img { max-width: 100%; height: auto; }
@media (max-width: 900px) {
  .dc-board.is-terminal .dc-stage { padding: 0.5rem 0.55rem 0.8rem; }
}

/* Fiche d'un son (son-fiche.js) : visuel, lecteur partagé (son-lecteur.js), pastilles de genres, bloc album, édition auteur. */
/* Fiche d'un son (detail.js renderSon) : visuel à gauche, infos à droite ; empilés sous 720 px. Bannière de carte : image en fond de la carte. */
.sfp { width: min(100%, 62rem); margin: 0.4rem auto 0; }
.sfp-card { position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; padding: clamp(1rem, 3.2vw, 2.2rem); border: 1px solid rgba(247, 241, 241, 0.14); background: radial-gradient(ellipse 80% 70% at 15% 0%, rgba(110, 6, 12, 0.3), transparent 70%), rgba(7, 3, 4, 0.78); }
.sfp-card.is-banner { display: flex; align-items: flex-end; min-height: clamp(18rem, 36vw, 26rem); padding-top: clamp(7rem, 16vw, 12rem); background: #070304; }
.sfp-bg { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; }
.sfp-card.is-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 2, 3, 0.2) 0%, rgba(5, 2, 3, 0.86) 45%, rgba(5, 2, 3, 0.95) 100%); }
.sfp-grid { display: grid; grid-template-columns: minmax(11rem, 20rem) minmax(0, 1fr); gap: clamp(1.2rem, 3.4vw, 2.6rem); align-items: center; width: 100%; min-width: 0; }
.sfp-card.is-banner .sfp-grid { grid-template-columns: minmax(0, 1fr); }
.sfp-info { display: grid; gap: 0.95rem; min-width: 0; align-content: center; }
.sfp-info > * { min-width: 0; margin-top: 0; margin-bottom: 0; }
.sfp-title { margin: 0; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 0.98; overflow-wrap: anywhere; }
.sfp-op { display: flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; }
.sfp-op a { color: var(--dc-soft); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(247, 241, 241, 0.3); }
.sfp-op a:hover, .sfp-op a:focus-visible { color: #fff; text-decoration-color: var(--dc-r); }
.sfp-desc { color: var(--dc-soft); line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; font-size: 0.92rem; }
.sfp-live { color: var(--dc-mute); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; }
.sfp-prompt { color: var(--dc-mute); font-size: 0.8rem; }
.sfp-prompt summary { cursor: pointer; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; }
.sfp-prompt p { margin: 0.5rem 0 0; color: var(--dc-soft); white-space: pre-line; overflow-wrap: anywhere; }
.sfp-legal { margin: 0.8rem 0 0; color: var(--dc-mute); font-size: 0.7rem; letter-spacing: 0.05em; line-height: 1.6; }
.sfp-legal .tool-mark { font-size: inherit; padding: 0 0.3rem; }
.sfp-report { margin: 0.2rem 0 0; }
.sfp-report .report { margin: 0.4rem 0 0; }
.sfp-opts { margin: 0.9rem 0 0; color: var(--dc-mute); font-size: 0.8rem; }
.sfp-opts summary { cursor: pointer; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; }
.sf-visuel { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid rgba(247, 241, 241, 0.16); background: #140d0e; box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.5); }
.sf-visuel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-visuel.is-empty { display: grid; place-items: center; color: rgba(247, 241, 241, 0.34); }
.sf-visuel.is-locked { display: grid; place-items: center; }
.sf-note svg { width: 38%; min-width: 3rem; max-width: 5.5rem; display: block; margin: auto; }
.sf-visuel.is-empty .sf-note { display: grid; place-items: center; width: 100%; height: 100%; }
@media (max-width: 720px) { .sfp-grid { grid-template-columns: minmax(0, 1fr); } .sf-visuel { max-width: 18rem; margin: 0 auto; width: 100%; } .sfp-info { gap: 0.8rem; } }
@media (prefers-reduced-motion: reduce) { .sfp * { transition: none !important; animation: none !important; } }
.sf-album { margin: 1rem 0 0; padding: 0.8rem 0 0; border-top: 1px solid rgba(247, 241, 241, 0.14); }
.sf-album h3 { margin: 0 0 0.4rem; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #c9b8b8; font-weight: 400; }
.sf-album p { margin: 0 0 0.4rem; }
.sf-badge { display: inline-block; padding: 0 0.45rem; border: 1px solid #e10600; color: #fff; font-size: 0.7rem; letter-spacing: 0.12em; }
.sf-pistes { margin: 0.4rem 0 0; padding-left: 1.4rem; color: #c9b8b8; }
.sf-pistes [aria-current] { color: #fff; }
.sf-pistes a { color: inherit; }
@media (max-width: 720px) { .sf { grid-template-columns: minmax(0, 1fr); } .sf-visuel:not(.is-banner) { max-width: 18rem; margin: 0 auto; width: 100%; } }
.dc-mini { padding: 0 0.6rem 0.5rem; }
