/* Page Scène : platine murale + tableau des dates à palettes (assets/js/scene/).
   S'appuie sur photo.css (mur continu, en-tête, cadrage, fiche). */

.page-scene .panel .caption { display: none; }
.page-scene .diptych.is-wall { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
@media (min-width: 761px) and (min-height: 521px) {
  .page-scene .is-wall .pstage { --reserve-bottom: 64px; --reserve-top: 8px; }
  /* sous la platine : la consigne seulement (le bandeau Mixcloud est caché, 29/11/2026) ; la place du bandeau
     revient quand il doit s'afficher (wants-tap : lecteur lent), la platine se recadre (ResizeObserver) */
  .page-scene .is-wall .panel--player:has(.pl-source.wants-tap) .pstage { --reserve-bottom: 124px; }
}

/* ======================= La platine (provisoire en CSS, même repère que la future photo) ======================= */
#frame-player > * { position: absolute; }
.pl-photo { left: 0; top: 0; width: 100%; height: 100%; }

/* socle en alu noir brossé, accroché au mur */
.pl-plinth {
  border-radius: 46px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #3a3b3f, #1d1e21 38%, #141517 70%, #24252a);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.14), inset 0 -3px 6px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.04),
    26px 44px 70px -18px rgba(0,0,0,.42), 6px 10px 18px -6px rgba(0,0,0,.3);
}
.is-placeholder .pl-plinth::after {      /* plateau sous le disque */
  content: ""; position: absolute; left: 28px; top: 20px; width: 664px; height: 664px; border-radius: 50%;
  background: radial-gradient(circle, #0c0c0d 66%, #2b2c30 67%, #18191b 70%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.05);
}

.pl-record { border-radius: 50%; }
.pl-vinyl {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 34%, rgba(255,255,255,.04) 34.4%, transparent 35%),
    repeating-radial-gradient(circle, #0b0b0c 0 1.6px, #151517 1.6px 2.6px, #0d0d0e 2.6px 3.4px),
    #0d0d0e;
  box-shadow: 0 6px 14px rgba(0,0,0,.55), inset 0 0 0 3px #1a1a1c;
}
/* reflet fixe des sillons (il ne tourne pas : sur un vrai disque non plus) */
.pl-sheen {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    conic-gradient(from 200deg, transparent 0 8%, rgba(255,255,255,.16) 12%, transparent 17% 52%, rgba(255,255,255,.12) 57%, transparent 62%);
  -webkit-mask: radial-gradient(circle, transparent 35%, #000 36%, #000 97%, transparent 98%);
          mask: radial-gradient(circle, transparent 35%, #000 36%, #000 97%, transparent 98%);
  mix-blend-mode: screen;
}
.pl-label {
  position: absolute; left: 50%; top: 50%; width: var(--label); height: var(--label);
  margin: calc(var(--label) / -2) 0 0 calc(var(--label) / -2);
  border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 40% 35%, #f6f1e6, #e7dfcf);
  box-shadow: 0 0 0 2px rgba(0,0,0,.4), inset 0 0 18px rgba(0,0,0,.18);
  display: grid; place-items: center;
  will-change: transform;
}
.pl-label img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; filter: saturate(.92) contrast(1.02); }
.pl-label.has-img img { display: block; }
.pl-label::after {                      /* papier un peu mat, ombre de l'axe */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0,0,0,.25) 0 7%, transparent 9%), radial-gradient(circle at 35% 30%, rgba(255,255,255,.18), transparent 60%);
}
.pl-label-text {
  position: relative; display: grid; gap: 6px; justify-items: center; text-align: center;
  width: 78%; color: #1d1f22;
  font: 700 20px/1.05 "Roboto Condensed", "Josefin Sans", sans-serif; letter-spacing: .04em;
}
.pl-label-text b { font-size: 22px; }
.pl-label-text span { font-size: 15px; font-weight: 500; color: #5d6166; letter-spacing: .1em; }
.pl-label.has-img .pl-label-text { display: none; }
.pl-label:not(.has-img) .pl-label-text:empty::before { content: "LIVE IMPROVISATIONS"; font-size: 17px; letter-spacing: .2em; color: #8a8e93; }
.pl-hole { left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; position: absolute;
  background: radial-gradient(circle at 40% 40%, #d9d9dc, #7a7b80 60%, #3a3b3f); box-shadow: 0 1px 2px rgba(0,0,0,.6); }
.pstage:not(.has-record) .pl-record { opacity: .0; }
.pstage .pl-record { transition: opacity .5s ease; }
.is-changing .pl-label { opacity: 0; transition: opacity .25s; }
.pl-label { transition: opacity .35s; }

/* bras : pivot en haut à droite, repos à côté du disque, lecture sur les premiers sillons */
.pl-arm { width: 0; height: 0; }
.pl-arm::before {                          /* socle du pivot */
  content: ""; position: absolute; left: -38px; top: -38px; width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #f0f0f2, #9c9ea4 45%, #55575c 75%, #2c2d31);
  box-shadow: 4px 8px 14px rgba(0,0,0,.45);
}
.pl-arm-rod {
  position: absolute; left: -5px; top: 0; width: 10px; height: 360px; border-radius: 5px;
  transform-origin: 50% 0; rotate: 6deg;
  background: linear-gradient(90deg, #8d8f95, #f4f4f6 45%, #a4a6ac 60%, #5d5f64);
  box-shadow: 6px 10px 12px -4px rgba(0,0,0,.45);
  transition: rotate 1.1s cubic-bezier(.5,0,.3,1);
}
.pl-arm-head {
  position: absolute; left: -17px; top: 330px; width: 34px; height: 58px; border-radius: 6px;
  background: linear-gradient(90deg, #111, #2c2c2f 50%, #0d0d0e);
  transform-origin: 17px -330px; rotate: 6deg;
  box-shadow: 4px 8px 10px rgba(0,0,0,.5);
  transition: rotate 1.1s cubic-bezier(.5,0,.3,1);
}
.has-record .pl-arm-rod, .has-record .pl-arm-head { rotate: 31deg; }
.is-changing .pl-arm-rod, .is-changing .pl-arm-head { rotate: 6deg; transition-duration: .4s; }
.pstage:not(.is-placeholder) .pl-arm { display: none; }   /* sur la photo, le bras est déjà là */

/* voyant et touches rondes (pictogrammes ajoutés en SVG, comme sur le lecteur mural) */
.pl-led { border-radius: 50%; background: #5a1410; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.pl-led.is-on { background: #ff3b26; box-shadow: 0 0 10px 3px rgba(255,60,30,.55), inset 0 -1px 2px rgba(0,0,0,.3); }
.pl-led.is-blink { animation: pl-blink .8s steps(2, jump-none) infinite; }
@keyframes pl-blink { 50% { background: #5a1410; box-shadow: none; } }

/* lecteur officiel du son (Mixcloud / SoundCloud) : bandeau discret sous la platine */
.pl-source {
  position: absolute; left: 50%; bottom: 18px; z-index: 3; translate: -50% 0;
  width: min(92%, 460px);
  display: grid; gap: 6px;
}
.pl-source-frame { border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px -10px rgba(0,0,0,.3); background: #fff; }
.pl-source-frame iframe { display: block; width: 100%; height: 60px; border: 0; }
.pl-source[data-provider="soundcloud"] .pl-source-frame iframe { height: 120px; }

/* ======================= Le tableau des dates ======================= */
.panel--board {
  display: grid; align-content: center; justify-items: center; gap: 22px;
  padding: 16px 32px 28px;
  overflow: visible;
}
.departures {
  --flap-bg: #222326; --flap-ink: #f1ede0;
  width: min(100%, 700px);
  padding: 18px 20px 14px;
  border-radius: 12px;
  background:
    linear-gradient(#2b2c30, #1a1b1e 12%, #161719);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 4px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.04),
    24px 40px 70px -20px rgba(0,0,0,.42), 4px 8px 16px -6px rgba(0,0,0,.3);
  position: relative;
}
/* vis aux quatre coins */
.departures::before {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  background:
    radial-gradient(circle at 0 0, #8b8d93 0 2.4px, transparent 3px) 0 0 / 7px 7px no-repeat,
    radial-gradient(circle at 100% 0, #8b8d93 0 2.4px, transparent 3px) 100% 0 / 7px 7px no-repeat,
    radial-gradient(circle at 0 100%, #8b8d93 0 2.4px, transparent 3px) 0 100% / 7px 7px no-repeat,
    radial-gradient(circle at 100% 100%, #8b8d93 0 2.4px, transparent 3px) 100% 100% / 7px 7px no-repeat;
}
.dep-top { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 12px; }
.dep-key {
  width: 34px; height: 34px; border-radius: 8px; border: 0; cursor: pointer;
  background: linear-gradient(#3b3c41, #232428); color: #d9d6cc; font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 3px rgba(0,0,0,.5);
}
.dep-key:hover { color: #ffb21f; }
.dep-key:active { translate: 0 1px; }
.dep-title { justify-self: center; }
.dep-title .board-cols { display: none; }
.dep-title.board { --cw-max: 20px; }
/* titre en jaune, comme les en-têtes « DÉPARTS » ; plus fort que .board-row.is-empty .flap (board.css) :
   la ligne du titre n'a pas de données, board.js la marque « vide » (corrigé le 25/11/2026, il restait gris clair) */
.departures .dep-title .board-row .flap { --ink: #ffb21f; }
.dep-legend {
  margin: 10px 2px 0; font: 500 11px/1.3 var(--font-titres); letter-spacing: .14em; text-transform: uppercase; color: #8d8f94;
}

/* ---- palettes : assets/css/board.css (commun avec l'accueil) ---- */

/* (la colonne ▶ des sets enregistrés a disparu le 26/11/2026 : les sets s'écoutent depuis l'onglet « Écouter ») */

/* ---- index sous le tableau : formes et années, comme des étiquettes imprimées ---- */
.dep-index { width: min(100%, 700px); display: grid; gap: 10px; }
.dep-filters, .dep-years { display: flex; flex-wrap: wrap; gap: 6px 8px; justify-content: center; }
.dep-index button {
  border: 0; background: none; cursor: pointer; padding: 5px 8px; border-radius: 6px;
  font: 400 12px/1 var(--font-titres); letter-spacing: .14em; text-transform: uppercase; color: #6e6e73;
}
.dep-index button:hover { color: #1c1c1e; background: rgba(0,0,0,.04); }
.dep-index button[aria-pressed="true"] { color: #1c1c1e; box-shadow: inset 0 -2px 0 #ff5b1f; border-radius: 0; }
.dep-years button { font-size: 11px; letter-spacing: .1em; padding: 4px 5px; }

/* ======================= Fiche : flyer + billet ======================= */
.info--gig .info-visual { position: sticky; top: 0; }
.gig-flyer { margin: 0; width: 100%; display: grid; place-items: center; }
.gig-flyer[hidden] { display: none; }
.gig-flyer img { max-width: 100%; max-height: 70dvh; width: auto; height: auto; border-radius: 3px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.45); rotate: -1.2deg; }
/* reel Instagram : le flyer est sa vignette (▶ imprimé dedans), le toucher lance le lecteur Instagram */
.gig-flyer.is-reel:not(.is-playing) { cursor: pointer; }
.gig-flyer.is-reel:not(.is-playing) img { transition: filter .2s; }
.gig-flyer.is-reel:not(.is-playing):hover img { filter: brightness(1.15); }
.gig-flyer.is-reel:focus-visible { outline: 2px solid #ff5b1f; outline-offset: 6px; border-radius: 4px; }
.gig-flyer.is-playing { width: min(100%, 400px); height: min(var(--ig-h, 640px), 76dvh); margin: 0 auto; overflow-y: auto; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.45); display: block; }
.gig-flyer.is-playing img { display: none; }
.gig-flyer.is-playing iframe { display: block; width: 100%; height: var(--ig-h, 640px); border: 0; }
.info--gig.no-flyer .info-body { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
.info--gig.no-flyer .info-visual { display: none; }
.ticket {
  position: relative; margin: 0 0 22px; padding: 18px 20px 16px 20px;
  background: #fbf6e8; border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 10px 22px -14px rgba(0,0,0,.35);
  border-right: 2px dashed rgba(0,0,0,.18);
  -webkit-mask: radial-gradient(circle at 100% 50%, transparent 11px, #000 11.5px);
          mask: radial-gradient(circle at 100% 50%, transparent 11px, #000 11.5px);
}
.ticket-kind { margin: 0; font: 600 11px/1.2 var(--font-titres); letter-spacing: .22em; text-transform: uppercase; color: #c4470e; }
.ticket .info-title { margin: 6px 0 12px; }
.ticket-grid { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0; font-size: 14px; }
.ticket-grid dt { color: #8a8e93; font: 500 11px/1.9 var(--font-titres); letter-spacing: .16em; text-transform: uppercase; }
.ticket-grid dd { margin: 0; }
.ticket-stub {
  position: absolute; right: 18px; top: 16px;
  font: 500 11px/1 "Roboto Condensed", sans-serif; letter-spacing: .12em; color: #a7a395;
}
.vi-block { margin: 0 0 22px; }
.vi-block h3 { margin: 0 0 8px; font: 600 12px/1.2 var(--font-titres); letter-spacing: .2em; text-transform: uppercase; color: #6a6e73; }
.vi-block[hidden] { display: none; }
.vi-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.vi-links[hidden] { display: none; }
.vi-link { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(0,0,0,.16); color: inherit; text-decoration: none; font-size: 13px; }
.vi-link:hover { background: rgba(0,0,0,.05); }
.vi-link.is-main { background: #1d1f22; color: #fff; border-color: #1d1f22; }
.gig-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gig-video { position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: #111; }
.gig-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.gig-video-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,91,31,.92); color: #fff; font-size: 16px; }
.gig-video-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font-size: 12px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gig-video.is-playing { grid-column: 1 / -1; cursor: default; }
.gig-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ======================= Petits écrans ======================= */
@media (max-width: 1100px) and (min-width: 761px) {
  .page-scene .diptych.is-wall { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .panel--board { padding: 12px 18px 24px; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .page-scene .diptych.is-wall { grid-template-columns: 1fr; height: auto; }
  .page-scene .is-wall .panel--player { height: calc((100vw - 60px) * 838 / 780 + 36px + 50px); }
  .page-scene .is-wall #stage-player { --reserve-x: 30px; --reserve-top: 16px; --reserve-bottom: 60px; }
  /* bandeau Mixcloud affiché (lecteur lent) : sa place revient sous la platine (sinon plus que la consigne) */
  .page-scene .is-wall .panel--player:has(.pl-source.wants-tap) { height: calc((100vw - 60px) * 838 / 780 + 36px + 112px); }
  .page-scene .is-wall .panel--player:has(.pl-source.wants-tap) #stage-player { --reserve-bottom: 122px; }
  .panel--board { padding: 8px 12px 28px; }
  .departures { padding: 14px 12px 12px; }
  .info--gig .info-visual { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-arm-rod, .pl-arm-head { transition-duration: .01s; }
}

/* ======================= Platine en photo (assets/generated/scene-platine.webp, 22/11/2026) =======================
   La photo montre déjà le socle, le disque, le bras, les touches et le voyant : on n'ajoute que l'étiquette
   (qui tourne), les pictogrammes des touches et la lumière du voyant. */
.is-photo .pl-plinth, .is-photo .pl-vinyl, .is-photo .pl-sheen { display: none; }
.is-photo .pl-record, .is-photo:not(.has-record) .pl-record { opacity: 1; }
.is-photo .pl-label {
  /* papier de l'étiquette de la photo, plus clair en haut à gauche (lumière de la fenêtre) */
  background: radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--paper) 70%, #fff), var(--paper) 55%, color-mix(in srgb, var(--paper) 88%, #000));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .4);
}
.is-photo .pl-label:not(.has-img) .pl-label-text:empty::before { color: #a49d94; font-size: 15px; }
.is-photo .pl-label.has-img::after {   /* le flyer est imprimé sur du papier : même lumière que la photo */
  background:
    radial-gradient(circle, rgba(0,0,0,.28) 0 7%, transparent 9%),
    radial-gradient(circle at 36% 30%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(0,0,0,.18), transparent 60%);
}
.is-photo .pl-hole { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.is-photo .pl-led { background: transparent; box-shadow: none; }
.is-photo .pl-led.is-on { background: radial-gradient(circle, #ff6a4a, #e8261a 55%, rgba(232, 38, 26, 0) 75%); box-shadow: 0 0 10px 3px rgba(255, 60, 30, .5); }
/* texte imprimé de l'étiquette : nom au-dessus de l'axe, date et ville en dessous */
.pl-label-text { gap: 30px; }
/* SoundCloud : lecteur d'une ligne (20 px), comme le mini lecteur Mixcloud, pour ne pas mordre sur la platine */
.pl-source[data-provider="soundcloud"] .pl-source-frame { border-radius: 6px; padding: 6px 8px; }
.pl-source[data-provider="soundcloud"] .pl-source-frame iframe { height: 20px; }
/* platine vide : « live » au-dessus de l'axe, « improvisations » en dessous (01/12/2026, Olaf : « sur le macaron avant qu'on choisisse un disque ») */
.pl-label:not(.has-img) .pl-label-text:empty::before { content: "LIVE\A\A\A IMPROVISATIONS"; white-space: pre; line-height: 1.25; letter-spacing: .14em; }

/* ======================= Démo : viseur de caméscope en haut de page (assets/js/scene/camcorder.js) ======================= */
.cam[hidden] { display: none; }
.cam {
  position: relative; overflow: hidden;
  height: min(68vh, 56vw); min-height: 300px;
  display: grid; place-items: center;
  background: #0b0b0d;
}
/* côtés : la même vidéo, floutée et assombrie */
.cam-bg {
  position: absolute; left: -60px; top: -60px; width: calc(100% + 120px); height: calc(100% + 120px);
  object-fit: cover; pointer-events: none;
  filter: blur(30px) brightness(.42) saturate(1.25);
}
.cam-screen {
  position: relative; height: 100%; aspect-ratio: 4 / 3; max-width: 100%;
  background: #000; container-type: size;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.6);
}
.cam-video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; filter: contrast(1.06) saturate(1.08); }
/* lignes de balayage, vignettage, coins du cadre */
.cam-screen::before, .cam-screen::after { content: ""; position: absolute; pointer-events: none; }
.cam-screen::before {
  inset: 0; z-index: 1;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.16) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 80% 75% at 50% 50%, transparent 60%, rgba(0,0,0,.45));
}
.cam-screen::after {                     /* équerres blanches aux quatre coins du viseur */
  inset: 7cqh 6cqw; z-index: 2; opacity: .75;
  --c: rgba(255,255,255,.9); --l: 5cqh; --w: 2px;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--l) var(--w), linear-gradient(var(--c) 0 0) top left / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) top right / var(--l) var(--w), linear-gradient(var(--c) 0 0) top right / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) bottom left / var(--l) var(--w), linear-gradient(var(--c) 0 0) bottom left / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--w), linear-gradient(var(--c) 0 0) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}
.cam-osd, .cam-stamp, .cam-btn {
  font-family: "VT323", ui-monospace, monospace; letter-spacing: .06em;
  color: #f2f2ea; text-shadow: 0 0 2px rgba(0,0,0,.9), .12em .12em 0 rgba(0,0,0,.55);
}
.cam-osd { position: absolute; inset: 0; z-index: 3; pointer-events: none; font-size: 6.4cqh; line-height: 1; }
.cam-osd > * { position: absolute; }
.cam-rec { left: 9cqw; top: 10cqh; display: flex; align-items: center; gap: .3em; }
.cam-rec i { width: .55em; height: .55em; border-radius: 50%; background: #ff2b1c; box-shadow: 0 0 6px rgba(255,43,28,.8); animation: cam-blink 1s steps(1) infinite; }
.is-paused .cam-rec i, .is-rew .cam-rec i { display: none; }
.is-rew .cam-rec b { color: #9fe0ff; }
.cam-mode { right: calc(9cqw + 2.4em); top: 10cqh; }
.cam-batt { right: 9cqw; top: 10.6cqh; width: 1.7em; height: .8em; border: 2px solid currentColor; border-radius: 2px; box-shadow: .1em .1em 0 rgba(0,0,0,.5); }
.cam-batt::after { content: ""; position: absolute; right: -.22em; top: 25%; width: .14em; height: 50%; background: currentColor; }
.cam-batt i { position: absolute; inset: 2px 30% 2px 2px; background: currentColor; }
.cam-tc { right: 9cqw; top: 19cqh; font-size: 5.4cqh; opacity: .9; }
@keyframes cam-blink { 50% { opacity: 0; } }

/* date + lieu incrustés (orange, comme l'horodatage des caméscopes) : touchez-les pour ouvrir la fiche */
.cam-stamp {
  position: absolute; left: 9cqw; bottom: 9cqh; z-index: 4;
  display: grid; justify-items: start; gap: .1em;
  margin: 0; padding: 0; border: 0; background: none; text-align: left;
  color: #ffb02e; font-size: 7.6cqh; line-height: .95; cursor: pointer;
}
.cam-stamp:disabled { cursor: default; }
.cam-place { font-size: .62em; letter-spacing: .1em; color: #ffd08a; text-wrap: balance; }
/* un lieu long (« ALIMENTATION GÉNÉRALE · PARIS ») passait sous les boutons Son / Booking, à droite sur la même
   ligne (ordinateur et téléphone en paysage, 29/11/2026) : il passe à la ligne avant (boutons à ~56 cqw avec
   « Sound » en anglais) */
.cam-stamp { max-width: 44cqw; }
.cam-stamp:not(:disabled):hover .cam-place, .cam-stamp:focus-visible .cam-place { text-decoration: underline; text-underline-offset: .15em; }
.cam-stamp.is-new { animation: cam-flicker .5s steps(2) 1; }
@keyframes cam-flicker { 0% { opacity: 0; } 30% { opacity: 1; } 55% { opacity: .2; } 100% { opacity: 1; } }

.cam-ctrl { position: absolute; right: 9cqw; bottom: 9cqh; z-index: 4; display: flex; gap: 2cqh; }
.cam-btn {
  display: inline-block; margin: 0; padding: .18em .5em .12em;
  border: 2px solid rgba(242,242,234,.85); border-radius: 3px; background: rgba(0,0,0,.35);
  font-size: 5cqh; line-height: 1; text-decoration: none; cursor: pointer;
}
.cam-btn:hover, .cam-btn:focus-visible { background: rgba(242,242,234,.92); color: #111; text-shadow: none; }
.cam-btn[aria-pressed="true"] { background: #ffb02e; border-color: #ffb02e; color: #111; text-shadow: none; }

.cam-down {
  position: absolute; right: 26px; bottom: 18px; z-index: 2;
  font-size: 14px; color: rgba(255,255,255,.72); text-decoration: none;
}
.cam-down:hover, .cam-down:focus-visible { color: #fff; }
.page-scene .cam + .diptych { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .cam-rec i, .cam-stamp.is-new { animation: none; }
}
/* téléphone en portrait : le viseur prend toute la largeur, pas de fond flouté */
@media (max-width: 760px) {
  .cam { height: auto; min-height: 0; display: block; padding-bottom: 38px; }
  .cam-bg { display: none; }
  .cam-screen { width: 100%; height: auto; box-shadow: none; }
  .cam-down { right: 16px; bottom: 11px; }
  /* les boutons passent sous l'image, dans la bande noire : l'incrustation garde toute la largeur */
  .cam-ctrl { left: 16px; right: auto; bottom: -31px; gap: 8px; }
  .cam-btn { font-size: 17px; border-width: 1.5px; }
  .cam-stamp { max-width: 82cqw; }   /* boutons sous l'image : le lieu a toute la largeur */
}
/* téléphone en paysage : le viseur tient dans la hauteur de l'écran */
@media (orientation: landscape) and (max-height: 520px) {
  .cam { height: calc(100dvh - var(--head)); padding-bottom: 0; display: grid; }
  .cam-bg { display: block; }
  .cam-screen { height: 100%; width: auto; }
  .cam-ctrl { left: auto; right: 9cqw; bottom: 9cqh; }
  .cam-btn { font-size: 5cqh; }
  .cam-stamp { max-width: 44cqw; }   /* boutons de nouveau à droite (petit téléphone en paysage, < 760 px) */
}

/* ======================= Bras qui bouge + grosses touches (22/11/2026, demande de Maxime) =======================
   Bras détouré de la photo (outils/build_scene_bras.py), piloté par view-scene.js (angle + --lift : 0 posé, 1 levé). */
.pl-tonearm, .pl-cap { position: absolute; left: 0; top: 0; pointer-events: none; }
.pl-tonearm { width: 0; height: 0; z-index: 1;
  filter: drop-shadow(calc(3px + var(--lift, 0) * 9px) calc(5px + var(--lift, 0) * 14px) calc(3px + var(--lift, 0) * 7px) rgba(0, 0, 0, calc(.55 - var(--lift, 0) * .15))); }
.pl-tonearm-img { position: absolute; will-change: transform; }
.pl-cap { z-index: 1; border-radius: 50%; }
.has-tonearm .pl-led, .has-tonearm #pl-buttons { z-index: 2; }

/* touches de la platine (remises le 26/11/2026) : vraies touches dessinées par-dessus celles de la photo,
   bien plus grosses ; le ▶ orange devient ❚❚ pendant la lecture */
.pl-btn {
  position: absolute; border: 0; padding: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: transform .08s;
  background: radial-gradient(circle at 42% 30%, #45464b, #232427 48%, #111214 78%, #0a0a0b);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .65), 0 1px 0 rgba(255, 255, 255, .06), inset 0 1px 1px rgba(255, 255, 255, .16), inset 0 -2px 3px rgba(0, 0, 0, .6);
}
.pl-btn::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; }   /* zone de toucher agrandie */
.pl-btn svg { width: 44%; height: 44%; fill: #d9d6cf; }
.pl-btn--play svg { fill: #ff6a2b; }
/* ▶ plus grosse et cerclée d'orange : on ne la confond plus avec ◀◀ ▶▶ (29/11/2026) */
.pl-btn--play { box-shadow: 0 4px 8px rgba(0, 0, 0, .65), 0 0 0 2px rgba(255, 106, 43, .55), inset 0 1px 1px rgba(255, 255, 255, .16), inset 0 -2px 3px rgba(0, 0, 0, .6); }
.pl-btn--prev svg, .pl-btn--next svg { width: 48%; height: 48%; }
.pl-btn:hover svg { fill: #fff; }
.pl-btn--play:hover svg { fill: #ff8a55; }
.pl-btn:active { transform: translateY(2px) scale(.96); box-shadow: 0 1px 3px rgba(0, 0, 0, .7), inset 0 1px 2px rgba(0, 0, 0, .6); }
.pl-btn:focus-visible { outline: 3px solid #ff5b1f; outline-offset: 5px; }
/* (i) : la date affichée a un flyer qu'on n'a pas encore regardé → la touche clignote (l'affiche est dans la fiche) */
.pl-btn--info.is-blink { animation: info-glow 1.2s ease-in-out infinite; }
.pl-btn--info.is-blink svg { animation: info-fill 1.2s ease-in-out infinite; }
@keyframes info-glow { 50% { box-shadow: 0 4px 8px rgba(0, 0, 0, .65), 0 0 0 3px rgba(255, 106, 43, .6), 0 0 18px 4px rgba(255, 106, 43, .55), inset 0 1px 1px rgba(255, 255, 255, .16), inset 0 -2px 3px rgba(0, 0, 0, .6); } }
@keyframes info-fill { 50% { fill: #ff8a55; } }
@media (prefers-reduced-motion: reduce) {
  .pl-btn--info.is-blink, .pl-btn--info.is-blink svg { animation: none; }
  .pl-btn--info.is-blink svg { fill: #ff6a2b; }
}
.pl-btn .i-pause { display: none; }
.pstage[data-status="playing"] .pl-btn .i-pause, .pstage[data-status="loading"] .pl-btn .i-pause { display: block; }
.pstage[data-status="playing"] .pl-btn .i-play, .pstage[data-status="loading"] .pl-btn .i-play { display: none; }
@media (max-width: 760px) and (orientation: portrait) {
  .pl-btn { scale: 1.2; transform-origin: 50% 20%; }   /* platine réduite à ~40 % : touches encore un peu plus grosses,
     agrandies surtout vers le bas pour ne pas venir toucher le disque (29/11/2026) */
}


/* ======================= Lecteur simplifié (26/11/2026, Maxime : « personne ne peut comprendre cet UI ») =======================
   Une seule commande du son : le lecteur Mixcloud / SoundCloud sous la platine, avec au-dessus « En écoute : lieu · date ».
   (Le panneau droit, d'abord à deux onglets « Écouter » / « Agenda », est devenu l'affiche + la bande des sets : voir plus bas.) */
.pl-source { gap: 7px; }
.pl-now {
  margin: 0; display: flex; gap: 10px; align-items: baseline; min-width: 0;
  font: 500 12px/1.3 var(--font-titres); letter-spacing: .12em; text-transform: uppercase; color: #4a4d52;
}
.pl-now-k { flex: none; font-weight: 600; color: #c4470e; }
.pl-source[data-state="idle"] .pl-now-k { color: #8a8e93; }
.pl-now-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1c1c1e; }
.pl-source[data-state="idle"] .pl-source-frame { background: none; box-shadow: none; }
.pl-pick {
  width: 100%; height: 60px; display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed rgba(0, 0, 0, .25); border-radius: 10px; background: rgba(255, 255, 255, .5);
  font: 500 15px/1 var(--font-titres); letter-spacing: .04em; color: #2a2c2f; cursor: pointer;
}
.pl-pick:hover { background: #fff; border-color: #ff5b1f; }
.pl-pick:focus-visible { outline: 2px solid #ff5b1f; outline-offset: 2px; }
.pl-pick-arrow::before { content: "→"; color: #ff5b1f; font-size: 18px; }
.pl-hint { margin: 0; font-size: 13px; line-height: 1.35; color: #c4470e; }
/* 26/11/2026 (Maxime : « la partie de gauche en orange ne sert pas à grand-chose ») : plus de cadre « Choisissez un
   set » ni de ligne « En écoute · lieu » sous la platine (la pile, son étiquette et l'affiche le disent déjà) ;
   reste le lecteur Mixcloud / SoundCloud, une fois un set choisi (commande du son si le navigateur refuse la
   lecture automatique ; le widget doit rester visible), et la consigne quand il faut toucher son ▶ */
.pl-now, .pl-source[data-state="idle"] { visibility: hidden; }
.pl-now { height: 0; margin: 0; overflow: hidden; }
.pl-hint:empty { display: none; }
/* 29/11/2026 (Maxime : « je n'aime pas qu'il y ait 2 boutons play ») : un seul ▶, celui de la platine. Le bandeau
   Mixcloud / SoundCloud reste chargé (c'est lui qui joue) mais invisible ; il ne réapparaît, entouré d'orange, que
   quand il faut toucher son ▶ (lecteur lent : classe wants-tap posée par hint()). Opacité et non display /
   visibility : le cadre doit rester rendu pour jouer. Caché, il passe sur le bas de la platine (la place qui lui
   était réservée a été rendue) : il ne doit pas capter les touches. */
.pl-source:not(.wants-tap), .pl-source:not(.wants-tap) .pl-source-frame { pointer-events: none; }
.pl-source:not(.wants-tap) .pl-source-frame { opacity: 0; }
/* lecture automatique refusée (toujours sur iPhone) : c'est le ▶ de la platine qui clignote, pas le bandeau qui
   réapparaît (le message du cadre suffit : vérifié dans Safari d'un iPhone simulé le 29/11/2026) */
.wants-play .pl-btn--play { animation: info-glow 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .wants-play .pl-btn--play { animation: none; box-shadow: 0 0 0 3px rgba(255, 106, 43, .6), 0 4px 8px rgba(0, 0, 0, .65); }
}
/* le navigateur a refusé de lancer le son tout seul : on montre le ▶ du lecteur à toucher */
.pl-source.wants-tap .pl-source-frame { box-shadow: 0 0 0 3px #ff5b1f, 0 8px 24px -10px rgba(0, 0, 0, .3); animation: tap-pulse 1.3s ease-in-out infinite; }
@keyframes tap-pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 91, 31, .35), 0 8px 24px -10px rgba(0, 0, 0, .3); } }

/* ======================= Affiche + bande des sets ; agenda à part (26/11/2026, Maxime : « l'agenda avec les dates
   en section séparée, qui laisse la place à l'affiche passée ou future ») =======================
   Panneau droit : l'affiche (prochaine date, sinon la dernière ; celle du set en écoute), ◀ ▶ pour feuilleter,
   et à côté la pile des pochettes des sets (26/11/2026). L'agenda (tableau à palettes) est une section sous le diptyque. */
.page-scene .diptych.is-wall { grid-template-rows: minmax(0, 1fr); }
/* Plus d'affiche dans le panneau (26/11/2026, Maxime : « retire l'affiche, elle est réservée au bouton i qui
   clignote ; la nav passe en dessous du bac ») : une seule colonne, le bac en haut, la date et ses boutons dessous */
.panel--board {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 28px 18px; min-height: 0;
}
.panel--board > .sets-strip { flex: 1 1 0; min-height: 0; }
.poster {
  flex: none; width: 100%; color: #1c1c1e;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.poster.is-in .poster-cap { animation: poster-in .4s ease-out; }
.poster > * { flex: none; }
.poster-k {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; align-items: baseline; white-space: nowrap;
  font: 600 12px/1.2 var(--font-titres); letter-spacing: .2em; text-transform: uppercase; color: #8a8e93;
}
.poster-k-t { color: #6e6e73; }
.poster[data-state="soon"] .poster-k-t, .poster[data-state="playing"] .poster-k-t, .poster[data-state="loading"] .poster-k-t { color: #c4470e; }
.poster[data-state="soon"] .poster-k-t::before, .poster[data-state="playing"] .poster-k-t::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%;
  background: #ff3b26; box-shadow: 0 0 6px rgba(255, 59, 38, .7); vertical-align: 1px;
  animation: pl-blink 1.4s steps(2, jump-none) infinite;
}
.poster-k-d { letter-spacing: .12em; text-transform: none; font-weight: 500; color: #1c1c1e; }
@keyframes poster-in { from { opacity: 0; translate: 0 8px; } }
.poster-bar { width: min(100%, 560px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.poster-cap { display: grid; gap: 2px; text-align: center; min-width: 0; }
.poster-cap b { font: 600 17px/1.2 var(--font-titres); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poster-cap span { font-size: 13px; color: #6e6e73; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poster-cap span:empty { display: none; }
.poster-nav {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .14); background: rgba(255, 255, 255, .6);
  color: #2a2c2f; font-size: 11px; cursor: pointer; display: grid; place-items: center;
}
.poster-nav:hover:not(:disabled) { background: #fff; border-color: #ff5b1f; color: #c4470e; }
.poster-nav:disabled { opacity: .3; cursor: default; }
.poster-nav:focus-visible { outline: 2px solid #ff5b1f; outline-offset: 2px; }
.poster-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.poster-act {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .16); background: none; color: inherit; cursor: pointer;
  font: 500 13px/1 var(--font-titres); letter-spacing: .04em; text-decoration: none;
}
.poster-act:hover { background: rgba(0, 0, 0, .05); }
.poster-act.is-main { background: #1d1f22; border-color: #1d1f22; color: #fff; }
.poster-act.is-main:hover { background: #c4470e; border-color: #c4470e; }
.poster-act i { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.poster[data-state="playing"] .poster-act[data-act="play"] i, .poster[data-state="paused"] .poster-act[data-act="play"] i { display: none; }
.poster-act:focus-visible { outline: 2px solid #ff5b1f; outline-offset: 2px; }

/* la pile des pochettes (bac de disquaire, 26/11/2026, Maxime : « une pile de pochettes vinyle » à la place
   de la bande des sets) : à côté de l'affiche ; la position de chaque pochette est calculée par layoutPile() */
.sets-strip { flex: none; width: 100%; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 8px; border-radius: 12px; }
.sets-strip.is-flash { animation: strip-flash 1.2s ease-out; }
@keyframes strip-flash { 0%, 40% { box-shadow: 0 0 0 3px #ff5b1f; } 100% { box-shadow: 0 0 0 3px transparent; } }
.sets-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 0 2px; white-space: nowrap; }
/* les deux bacs (30/11/2026) : deux étiquettes de disquaire en papier, celle du bac ouvert bien à plat, l'autre
   un peu passée ; on change de bac en touchant l'autre */
.bac-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.bac-tab {
  display: grid; justify-items: start; gap: 2px; padding: 6px 12px 6px; cursor: pointer;
  border: 0; border-radius: 3px; color: #b5241c; text-align: left;
  background: linear-gradient(176deg, #f3ecdc, #e6dcc6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 3px 6px -3px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .06);
  rotate: -1.2deg; opacity: .55; filter: grayscale(.6);
  transition: opacity .2s, filter .2s, rotate .2s, translate .2s;
}
.bac-tab + .bac-tab { rotate: 1deg; }
.bac-tab b { font: 400 13px/1 "Rubik Mono One", "Archivo Black", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.bac-tab small { font: 400 11px/1 "Special Elite", ui-monospace, monospace; letter-spacing: .08em; color: #6b5f52; }
.bac-tab[aria-pressed="true"] { opacity: 1; filter: none; translate: 0 -1px; cursor: default; }
.bac-tab:not([aria-pressed="true"]):hover { opacity: .85; filter: grayscale(.2); }
.bac-tab:focus-visible { outline: 2px solid #b5241c; outline-offset: 2px; }
@media (max-width: 760px) {   /* les deux étiquettes côte à côte sur un téléphone */
  .bac-tabs { gap: 6px; }
  .bac-tab { padding: 5px 8px; }
  .bac-tab b { font-size: 10px; }
  .bac-tab small { font-size: 10px; }
}
.sets-hint { font-size: 11.5px; color: #8a8e93; letter-spacing: .04em; white-space: nowrap; }
/* le bac à vinyles : la photo (1024 × 1536) en pixels d'origine, réduite d'un coup par layoutPile() (transform
   du <ol>) ; toutes les tailles ci-dessous sont en pixels de la photo (× 0,4 environ à l'écran) */
.vpile { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; touch-action: pan-y; }   /* glissement horizontal : feuilleter */
/* au doigt : calque de défilement horizontal natif, invisible, au-dessus des pochettes (view-scene.js, 29/11/2026) :
   Safari gère le geste (arrêt pile sur une pochette tous les 72 px, une seule par glissement même rapide :
   scroll-snap-stop) ; à la verticale, la page défile.
   Écrans à souris : pas de calque (on feuillette au survol). */
.vflip { display: none; }
@media (hover: none) {
  .vpile { touch-action: auto; }
  .vflip {
    display: block; position: absolute; inset: 0; z-index: 2;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-tap-highlight-color: transparent;
  }
  .vflip::-webkit-scrollbar { display: none; }
  .vflip-track { display: flex; width: max-content; height: 100%; padding-right: calc(100% - 72px); }
  .vflip-track i { flex: none; width: 72px; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
}
.vbin {
  position: absolute; left: 0; top: 0; width: 1024px; height: 1536px; margin: 0; padding: 0; list-style: none;
  transform-origin: 0 0;
}
.vbin::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../generated/scene-bac-vinyles.webp") 0 0 / 100% 100% no-repeat;
}
/* on ne garde de la photo que le bac, bords fondus dans le mur de la page : son mur nu, plus clair que celui de la
   page (assombri vers les bords), dessinait un rectangle pâle au-dessus du bac (capture de Maxime, 26/11/2026) */
.vbin::before, .vbin::after {
  -webkit-mask-image: linear-gradient(90deg, transparent 70px, #000 108px, #000 916px, transparent 954px), linear-gradient(180deg, transparent 690px, #000 742px, #000 1400px, transparent 1480px);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 70px, #000 108px, #000 916px, transparent 954px), linear-gradient(180deg, transparent 690px, #000 742px, #000 1400px, transparent 1480px);
          mask-composite: intersect;
}
/* la façade et sa lèvre arrondie, découpées dans la même photo, repassent devant les pochettes */
.vbin::after {
  content: ""; position: absolute; inset: 0; z-index: 200; pointer-events: none;
  background: url("../generated/scene-bac-vinyles.webp") 0 0 / 100% 100% no-repeat;
  clip-path: polygon(113px 1236px, 115px 1227px, 120px 1222px, 132px 1220px, 892px 1220px, 904px 1222px, 909px 1227px, 911px 1236px, 911px 1536px, 113px 1536px);
}
.sleeve {
  position: absolute; top: 0; left: 0; width: 700px; height: 700px;
  transform-origin: 0 0; will-change: transform;
  transition: transform .42s cubic-bezier(.2, .75, .25, 1), translate .25s ease;
}
.vbin:not(.is-ready) .sleeve { transition: none; }
/* écrans tactiles (iPhone) : « Un problème est survenu » (page rechargée par Safari, 29/11/2026, Maxime) = mémoire.
   will-change + transitions faisaient de chaque pochette un calque graphique à sa taille réelle (700 px × densité
   de l'écran ≈ 17 Mo chacune, 28 pochettes, recréées à chaque feuilletage) : sur téléphone, plus de calque par
   pochette ni d'animation de déplacement (la pochette change de place d'un coup ; l'ordinateur garde l'animation). */
@media (hover: none) {
  .sleeve { will-change: auto; transition: none; }
  .vbin .sleeve-art::after { transition: none; }   /* .vbin : passe devant la règle générale, plus loin dans le fichier */
  .sleeve-art img { filter: none; }   /* filtre CSS sur 28 images de 700 px : rendu coûteux sur iPhone, effet à peine visible */
}
.sleeve-btn {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.sleeve-btn:focus-visible { outline: none; }
.sleeve-btn:focus-visible .sleeve-art { outline: 6px solid #ff5b1f; outline-offset: 8px; }
/* la pochette : carton imprimé, arête du haut éclairée (lumière en haut à gauche), ombre portée sur la pochette
   de derrière, usure (marque du disque, bords frottés : assets/scene/pochette-usure.webp), plus sombre au fond du bac */
.sleeve-art {
  position: absolute; inset: 0; overflow: hidden; border-radius: 5px; background: #2b2c30;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .26), inset 0 0 0 2px rgba(0, 0, 0, .28),
    0 -12px 20px -8px rgba(0, 0, 0, .6);
}
.sleeve-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.86) contrast(.94) brightness(.96);   /* encre imprimée sur carton, sous la lumière douce du studio */
}
/* la tranche du haut (≈ 3 mm de carton) : le haut de la pochette, vu par-dessus, éclairé par la lumière d'en haut */
.sleeve-edge {
  position: absolute; left: 3px; right: 3px; top: -9px; height: 10px; border-radius: 5px 5px 0 0;
  background: #3a3b3f 0 0 / 100% 700px no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 2px rgba(0, 0, 0, .25);
}
.sleeve-edge::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .14); }
.sleeve-edge[data-kind="live"]:not([style]) { background-color: #e8541a; }
.sleeve-edge[data-kind="tdh"]:not([style]) { background-color: #12a4c7; }
.is-flat .sleeve-edge { visibility: hidden; }
.sleeve-wear {
  position: absolute; inset: 0; pointer-events: none;
  background: url("../scene/pochette-usure.webp") 0 0 / 100% 100% no-repeat;
}
.sleeve-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, .11) 27%, rgba(255, 255, 255, 0) 40%),   /* brillant de la pochette plastifiée */
    linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .14)),               /* lumière en haut à gauche */
    linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 24%);                                              /* le bas, dans le bac */
  background-color: rgba(0, 0, 0, calc(var(--d, 0) * .55));
  transition: background-color .35s ease;
}
.is-open .sleeve-art::after { background-color: rgba(0, 0, 0, 0); }
/* basculées vers l'avant : on voit leur dos, dans l'ombre du bac */
.is-flat .sleeve-art::after { background-color: rgba(8, 8, 10, .62); }
.is-flat .sleeve-art { box-shadow: inset 0 3px 0 rgba(255, 255, 255, .12), 0 -6px 14px -4px rgba(0, 0, 0, .7); }
.is-open .sleeve-art {
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .3), inset 0 0 0 2px rgba(0, 0, 0, .25),
    0 -16px 28px -8px rgba(0, 0, 0, .65);
}
/* pochette sans image (set ajouté dans l'admin depuis) : typographique, couleur de sa forme */
.sleeve-art[data-kind="live"] { background: #e8541a; }
.sleeve-art[data-kind="band"] { background: #b5321f; }
.sleeve-art[data-kind="dj"] { background: #f2c11b; color: #1b1a17; }
.sleeve-art[data-kind="tdh"] { background: #12a4c7; }
.sleeve-art[data-kind="hcp"] { background: #2c9a52; }
.sleeve-art[data-kind="lovelab"] { background: #e0347f; }
.sleeve-art[data-kind="cirque"] { background: #3a52d6; }
.sleeve-art:has(img) { background: #2b2c30; }
.sleeve-type { position: absolute; inset: 0; color: #f6f1e6; }
.sleeve-art[data-kind="dj"] .sleeve-type { color: #1b1a17; }
.sleeve-type-in { box-sizing: border-box; height: 100%; display: grid; align-content: space-between; padding: 9%; }
.sleeve-type-in small { font: 600 34px/1.2 var(--font-titres); letter-spacing: .24em; text-transform: uppercase; opacity: .85; }
.sleeve-type-in b { font: 400 104px/.92 "Bebas Neue", "Antonio", sans-serif; text-transform: uppercase; overflow-wrap: anywhere; }
.sleeve-type-in em { font: 500 36px/1.3 var(--font-titres); font-style: normal; letter-spacing: .08em; }
/* le disque dans la pochette : il dépasse quand on survole la pochette ouverte (pas quand il est sur la platine) */
.sleeve-disc {
  position: absolute; left: 4%; top: 2%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0) 0 49.6%, rgba(255, 255, 255, .18) 49.8%, rgba(255, 255, 255, 0) 50%),
    conic-gradient(from 200deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .14) 8%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .1) 58%, rgba(255, 255, 255, 0) 68%),
    repeating-radial-gradient(circle, #121213 0 2px, #1b1b1d 2px 4px),
    #141415;
  -webkit-mask-image: radial-gradient(circle, transparent 0 2.2%, #000 2.4%);
          mask-image: radial-gradient(circle, transparent 0 2.2%, #000 2.4%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
  translate: 0 0; transition: translate .35s cubic-bezier(.2, .75, .25, 1);
}
.sleeve-disc::after {   /* étiquette du disque */
  content: ""; position: absolute; inset: 34%; border-radius: 50%; background: #e4ddd5;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}
.is-open:not(.is-current) .sleeve-btn:hover .sleeve-disc,
.is-open:not(.is-current) .sleeve-btn:focus-visible .sleeve-disc { translate: 0 -19%; }
.sleeve:not(.is-open) .sleeve-disc { visibility: hidden; }
/* l'étiquette du disquaire, collée de travers en haut à droite de la pochette ouverte */
.sleeve-tag {
  position: absolute; right: 5%; top: 6%; max-width: 62%; box-sizing: border-box;
  display: grid; gap: 2px; padding: 14px 24px 16px; border-radius: 4px;
  background: linear-gradient(170deg, #fffdf8, #f3efe6); color: #1d2a55; rotate: 2.5deg;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .25), 0 14px 26px -12px rgba(0, 0, 0, .55);
  font: 700 30px/1.15 "Kalam", cursive;
  opacity: 0; translate: 0 8px; transition: opacity .2s ease, translate .2s ease;
}
.is-open .sleeve-tag { opacity: 1; translate: 0 0; transition-delay: .12s; }
.sleeve-date { font-size: 27px; color: #c4470e; letter-spacing: .04em; }
.sleeve-title { font-size: 36px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sleeve-sub { font-size: 27px; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sleeve-sub:empty { display: none; }
.sleeve-go { display: none; margin-top: 4px; font: 600 22px/1 var(--font-titres); letter-spacing: .14em; text-transform: uppercase; color: #c4470e; }
.is-open:not(.is-current) .sleeve-btn:hover .sleeve-go, .is-open:not(.is-current) .sleeve-btn:focus-visible .sleeve-go { display: block; }
.sleeve-state { display: none; align-items: flex-end; gap: 5px; height: 26px; margin-top: 6px; color: #c4470e; }
.sleeve-state i { width: 7px; height: 9px; background: currentColor; border-radius: 2px; }
.sleeve-state em { margin-left: 10px; font: 600 21px/1 var(--font-titres); font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.is-current .sleeve-state { display: flex; }
.is-current[data-status="playing"] .sleeve-state i { animation: crate-eq .8s ease-in-out infinite alternate; }
.is-current[data-status="playing"] .sleeve-state i:nth-child(2) { animation-delay: -.3s; }
.is-current[data-status="playing"] .sleeve-state i:nth-child(3) { animation-delay: -.55s; }
.is-current[data-status="loading"] .sleeve-state i { animation: crate-wait 1s steps(2, jump-none) infinite; }
@keyframes crate-eq { from { height: 7px; } to { height: 26px; } }
@keyframes crate-wait { 50% { opacity: .25; } }
/* on sort la pochette du bac pour la jouer */
.sleeve.is-open:hover { translate: 0 -10px; }
.sleeve.is-pulled { translate: 0 -60px; }

/* texte libre d'Olaf sous le diptyque (admin « Scène » → « Texte sous la page »), même lecture que la bio courte de l'accueil */
.scene-texte {
  display: grid; justify-items: center;
  padding: 50px 32px 46px; background: #f6f4f2;
  border-top: 1px solid rgba(0, 0, 0, .07);
  color: #1c1c1e;
}
.st-text { width: min(100%, 66ch); font-size: 17px; line-height: 1.6; }
.st-text > :first-child { margin-top: 0; }
.st-text > :last-child { margin-bottom: 0; }
.st-text p { margin: 0 0 1.1em; }
.st-text a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.st-text a:hover { color: #e3051b; }   /* le rouge du site (--red de home-bio.css) */
.st-text ul, .st-text ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.st-text li { margin: 0 0 .4em; }
.st-text li p { margin: 0; }   /* l'éditeur de l'admin met un <p> dans chaque puce */
/* éditeur riche (29/11/2026) : titres, citation, trait, images déposées par Olaf */
.st-text h2, .st-text h3 { font-family: var(--font-titres); color: #1c1c1e; text-wrap: balance; }
.st-text h2 { margin: 1.6em 0 .6em; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: .24em; text-transform: uppercase; }
.st-text h3 { margin: 1.4em 0 .4em; font-size: 19px; font-weight: 600; line-height: 1.3; }
.st-text blockquote { margin: 1.4em 0; padding: .1em 0 .1em 1.1em; border-left: 3px solid #e3051b; font-size: 1.08em; font-style: italic; color: #3a3a3c; }
.st-text blockquote p:last-child { margin-bottom: 0; }
.st-text hr { margin: 2em auto; width: 64px; border: 0; border-top: 1px solid rgba(28, 28, 30, .25); }
.st-text figure { margin: 1.6em 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.st-text img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 24px rgba(0, 0, 0, .10); }
.st-text figure img { display: block; }
.st-text p img { margin: .4em 0; }
@media (max-width: 760px) {
  .scene-texte { padding: 36px 18px 32px; }
  .st-text { font-size: 16px; }
}

/* l'agenda : section à part, sur le même mur */
.scene-agenda {
  display: grid; justify-items: center; gap: 20px;
  padding: 54px 32px 40px; background: #efedf0;
  border-top: 1px solid rgba(0, 0, 0, .07);
  scroll-margin-top: 0;
}
.agenda-h { margin: 0; font: 600 15px/1.2 var(--font-titres); letter-spacing: .24em; text-transform: uppercase; color: #1c1c1e; text-align: center; }
.agenda-h small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: none; color: #8a8e93; }
.scene-agenda .departures, .scene-agenda .dep-index { width: min(100%, 760px); }

/* le mur d'affiches (29/11/2026) : les flyers des dates passées collés sur un mur de béton, rangés par
   rangées (chaque affiche garde ses proportions), un peu de travers, la colle qui brille par endroits */
.scene-wall {
  --h: 210px;
  display: grid; justify-items: center; gap: 22px;
  padding: 54px 28px 48px;
  background:
    radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, .06), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 239px, rgba(0, 0, 0, .18) 239px 241px),
    repeating-radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px),
    #3a3a3c;
  color: #e9e6e0;
  border-top: 1px solid rgba(0, 0, 0, .25);
}
.scene-wall[hidden] { display: none; }
.wall-h { margin: 0; font: 600 15px/1.2 var(--font-titres); letter-spacing: .24em; text-transform: uppercase; text-align: center; }
.wall-h small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: none; color: #a9a7a2; }
.wall {
  list-style: none; margin: 0; padding: 0; width: min(100%, 1400px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 14px;
}
.wall-item {
  flex: 0 1 calc(var(--h) * var(--ar)); max-width: 100%;
  transform: translateY(var(--dy, 0)) rotate(var(--r, 0deg));
}
.wall-poster {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: #d8d3c8; cursor: pointer;
  aspect-ratio: var(--ar);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .35), 0 6px 14px -6px rgba(0, 0, 0, .55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wall-poster img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.88) contrast(.96) brightness(.97);
}
/* le papier collé : plis horizontaux de la colle, brillance, bords un peu plus sombres */
.wall-paste {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background:
    linear-gradient(176deg, transparent 18%, rgba(0, 0, 0, .07) 19%, transparent 21%, transparent 63%, rgba(0, 0, 0, .06) 64%, transparent 66%),
    linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 8% 92%, rgba(0, 0, 0, .12)),
    radial-gradient(140% 90% at 50% 40%, transparent 60%, rgba(60, 40, 10, .22));
}
.wall-paste::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 42%, transparent 52%);
}
.wall-poster:hover, .wall-poster:focus-visible {
  transform: scale(1.06) rotate(calc(var(--r, 0deg) * -1));
  box-shadow: 0 2px 2px rgba(0, 0, 0, .3), 0 18px 30px -10px rgba(0, 0, 0, .7);
}
.wall-poster:focus-visible { outline: 3px solid #ff7a1a; outline-offset: 3px; }
.wall-item:hover, .wall-item:focus-within { z-index: 2; }
.wall-item { position: relative; }
.wall-more {
  font: 600 12px/1 var(--font-titres); letter-spacing: .16em; text-transform: uppercase;
  color: #1c1c1e; background: #e9e6e0; border: 0; padding: 13px 20px; cursor: pointer;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6);
}
.wall-more:hover { background: #fff; }
.wall-more:focus-visible { outline: 3px solid #ff7a1a; outline-offset: 3px; }
@media (max-width: 760px) {
  .scene-wall { --h: 128px; padding: 38px 12px 34px; }
  .wall { gap: 12px 9px; }
}
@media (prefers-reduced-motion: reduce) { .wall-poster { transition: none; } }

@media (max-width: 1100px) and (min-width: 761px) {
  .panel--board { padding: 14px 18px 14px; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .pl-pick-arrow::before { content: "↓"; }
  .page-scene .diptych.is-wall { grid-template-rows: none; }
  .panel--board { padding: 18px 12px 10px; gap: 18px; }
  .scene-agenda { padding: 38px 12px 30px; }
  .panel--board { display: flex; flex-direction: column; }
  .panel--board > .sets-strip { flex: none; height: auto; }
  .poster-cap b { white-space: normal; text-wrap: balance; }   /* titre long : sur deux lignes plutôt que coupé */
  .vpile { flex: none; }   /* hauteur donnée par layoutPile() */
}
/* téléphone en paysage : le panneau défile */
@media (orientation: landscape) and (max-height: 520px) {
  .panel--board { overflow-y: auto; }
  .panel--board > .sets-strip { flex: none; height: 78vh; }
  /* place sous la platine : avec la réserve de 8 px de photo.css, le lecteur Mixcloud recouvrait les touches
     ◀◀ ▶ ▶▶ i (iPhone en paysage, 29/11/2026) ; depuis, 44 px pour la consigne, 92 px quand le bandeau s'affiche */
  .page-scene .is-wall #stage-player { --reserve-bottom: 44px; --reserve-top: 6px; }
  .page-scene .is-wall .panel--player:has(.pl-source.wants-tap) #stage-player { --reserve-bottom: 92px; }
  /* fiche sur une colonne : le flyer collé en haut passait sous le billet en défilant */
  .info--gig .info-visual { position: static; }
}
/* téléphone : la croix de la fiche reste en haut quand on fait défiler le flyer et le billet (elle partait avec
   le haut de la fiche, et il fallait remonter pour fermer, 29/11/2026) ; fond opaque, elle passe sur le flyer */
@media (max-width: 760px), (orientation: landscape) and (max-height: 520px) {
  .info--gig .info-close {
    position: sticky; top: 12px; margin: 12px 12px -52px auto;
    background: rgba(244, 243, 241, .94); box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pl-source.wants-tap .pl-source-frame, .is-current .sleeve-state i, .sleeve, .sleeve-disc, .sleeve-tag, .poster.is-in .poster-cap,
  .poster-k-t::before, .sets-strip.is-flash { animation: none !important; }
  .sleeve, .sleeve-disc, .sleeve-tag { transition: none !important; }
}

/* ---------- Écouter : la platine et les deux bacs en bas de la page (30/11/2026) ----------
   Le diptyque n'est plus sous l'en-tête : son vignettage ne remonte plus au-dessus de lui (photo.css le faisait
   déborder sous le logo et le menu). */
.page-scene .diptych.is-wall { clip-path: inset(0); }
.page-scene .diptych.is-wall::after { inset: 0; }
/* l'étiquette de disquaire collée sur la façade du bac (repères en pixels de la photo du bac, comme .vbin ; la
   façade visible va de x 113 à 911 et de y 1220 à 1360 environ) : papier crème, nom du rayon tamponné à l'encre rouge */
.vbin-stamp {
  position: absolute; left: 0; top: 0; width: 1024px; height: 1536px; transform-origin: 0 0;
  pointer-events: none; z-index: 1;
}
.vbin-stamp > span {
  position: absolute; left: 512px; top: 1232px; width: 330px; padding: 9px 14px 8px;
  translate: -50% 0; rotate: -2.2deg;
  display: grid; justify-items: center; gap: 1px;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .5), transparent 60%),
    linear-gradient(176deg, #f3ecdc, #e6dcc6);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 10px -4px rgba(0, 0, 0, .65), 0 1px 2px rgba(0, 0, 0, .5);
  /* coins un peu cornés */
  clip-path: polygon(0 4%, 3% 0, 97% 0, 100% 6%, 100% 96%, 96% 100%, 4% 100%, 0 95%);
}
.vbin-stamp b, .vbin-stamp small {
  color: #b5241c; mix-blend-mode: multiply;
  /* encre de tampon : inégale, un peu baveuse */
  -webkit-mask-image: repeating-radial-gradient(circle at 37% 41%, #000 0 2px, rgba(0, 0, 0, .78) 3px 4px);
          mask-image: repeating-radial-gradient(circle at 37% 41%, #000 0 2px, rgba(0, 0, 0, .78) 3px 4px);
  text-shadow: 0 0 1px rgba(181, 36, 28, .6);
}
.vbin-stamp b {
  font: 400 36px/0.95 "Rubik Mono One", "Archivo Black", sans-serif; letter-spacing: .04em; text-transform: uppercase;
}
.vbin-stamp b + b { padding-bottom: 4px; border-bottom: 3px solid #b5241c; }
.vbin-stamp small {
  margin-top: 3px; font: 400 14px/1 "Special Elite", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase;
}

/* « LIVE IMPROVISATION » imprimé en couronne sur l'étiquette du disque (30/11/2026, Olaf) : sur une bande sombre,
   pour se lire sur toutes les pochettes ; tourne avec l'étiquette */
.pl-ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.pl-label:not(.has-set) .pl-ring { display: none; }
.pl-ring-band { fill: none; stroke: rgba(18, 16, 14, .72); stroke-width: 21; }
.pl-ring text { fill: #f3ecdc; font: 400 13px "Rubik Mono One", "Archivo Black", sans-serif; letter-spacing: .06em; }
