:root {
  color-scheme: dark;

  --fond-showreel: #101315;
  --texte-showreel: #f3f1ed;
  --secondaire-showreel: #adb3b5;
  --bord-showreel: rgba(255, 255, 255, 0.2);

  --marge-showreel: clamp(20px, 3vw, 60px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fond-showreel);
  color: var(--texte-showreel);
  font-family: Arial, sans-serif;
  isolation: isolate;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid #e4cba6;
  outline-offset: 5px;
}

/* LUMIÈRE DES IMAGES EN ARRIÈRE-PLAN */

.ambiance-showreel {
  position: fixed;
  inset: 0;
  z-index: -1;

  overflow: hidden;
  pointer-events: none;
}

.ambiance-showreel img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: blur(70px) saturate(0.8);
  transform: scale(1.18);
  opacity: 0.16;
}

.ambiance-showreel::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(16, 19, 21, 0.2),
    rgba(16, 19, 21, 0.8)
  );
}

/* EN-TÊTE */

.entete-showreel {
  position: fixed;

  top: 20px;
  right: var(--marge-showreel);
  left: var(--marge-showreel);

  z-index: 20;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;

  pointer-events: none;
}

.entete-showreel > * {
  pointer-events: auto;
}

.bouton-showreel,
.identite-showreel,
.logo-showreel,
.bouton-rond-showreel {
  border: 1px solid var(--bord-showreel);

  background: rgba(23, 27, 29, 0.73);

  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);

  color: var(--texte-showreel);
}

.bouton-showreel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  width: fit-content;
  padding: 17px 24px;

  border-radius: 40px;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.bouton-showreel:hover,
.bouton-rond-showreel:hover {
  background: rgba(69, 72, 71, 0.8);
}

.retour-showreel {
  min-width: 145px;
}

.retour-showreel > span {
  font-size: 24px;
  font-weight: 400;
  line-height: 0.8;
}

.identite-showreel {
  padding: 12px 22px;

  border-radius: 23px;
  text-align: center;
}

.identite-showreel span {
  display: block;

  margin-bottom: 5px;

  color: #c7bca8;

  font-size: 8px;
  letter-spacing: 4px;
}

.identite-showreel strong {
  font-size: 19px;
  letter-spacing: -0.5px;
}

.logo-showreel {
  justify-self: end;

  display: grid;
  place-items: center;

  width: 70px;
  height: 70px;

  border-radius: 23px;
}

.logo-showreel img {
  width: 45px;
  height: 54px;

  object-fit: contain;
}

/* GRANDE IMAGE D’OUVERTURE */

.conteneur-showreel {
  width: min(
    1880px,
    calc(100% - 2 * var(--marge-showreel))
  );

  margin: 0 auto;
  padding-top: 122px;
}

.couverture-showreel {
  margin: 0;
}

.visuel-showreel {
  position: relative;
  display: block;

  width: 100%;
  padding: 0;

  overflow: hidden;

  border: 1px solid var(--bord-showreel);
  border-radius: 25px;

  background: #171d20;
  color: white;

  cursor: pointer;
}

.visuel-showreel > img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.45s ease;
}

.visuel-showreel:hover > img {
  transform: scale(1.025);
}

.visuel-principal-showreel {
  height: clamp(420px, 68svh, 900px);
  border-radius: 30px;
}

.visuel-showreel.image-absente-showreel {
  cursor: default;
}

.agrandir-showreel {
  position: absolute;

  right: 22px;
  bottom: 22px;

  display: grid;
  place-items: center;

  width: 47px;
  height: 47px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  background: rgba(15, 20, 23, 0.5);
  backdrop-filter: blur(14px);

  font-size: 26px;
}

.legende-couverture-showreel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 25px 4px 0;
}

.surtitre-showreel {
  margin: 0 0 13px;

  color: #c9bca7;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.8px;
}

.legende-couverture-showreel h1 {
  margin: 0;

  font-size: clamp(30px, 4vw, 64px);
  font-weight: 900;

  letter-spacing: -1.6px;
  line-height: 1.1;

  overflow-wrap: anywhere;
}

.legende-couverture-showreel > .bouton-showreel {
  flex-shrink: 0;
}

/* GALERIE */

.creations-showreel {
  padding-top: clamp(80px, 10vw, 150px);
  scroll-margin-top: 120px;
}

.entete-creations-showreel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;

  margin-bottom: 35px;
}

.entete-creations-showreel h2 {
  margin: 0;

  font-size: clamp(34px, 4.5vw, 70px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.compteur-showreel {
  margin: 0 0 5px;

  color: var(--secondaire-showreel);

  font-size: 12px;
  white-space: nowrap;
}

.galerie-showreel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 40px 30px;
}

.projet-showreel {
  min-width: 0;
  margin: 0;
}

.projet-showreel .visuel-showreel {
  aspect-ratio: 16 / 10;
}

.projet-showreel:nth-child(5n + 3) {
  grid-column: 1 / -1;
}

.projet-showreel:nth-child(5n + 3) .visuel-showreel {
  aspect-ratio: 21 / 9;
}

.projet-showreel figcaption {
  display: flex;
  align-items: baseline;
  gap: 18px;

  padding: 19px 4px 0;
}

.numero-projet-showreel {
  color: #aeb3b4;

  font-size: 10px;
  letter-spacing: 1.5px;
}

.projet-showreel h3 {
  margin: 0;

  font-size: clamp(21px, 2.1vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.7px;

  overflow-wrap: anywhere;
}

.vide-showreel {
  padding: 50px 0;

  color: var(--secondaire-showreel);
}

.etat-showreel {
  min-height: 20px;
  margin: 25px 0 0;

  color: var(--secondaire-showreel);
  font-size: 12px;
}

.pied-showreel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin: 80px var(--marge-showreel) 0;
  padding: 28px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  color: var(--secondaire-showreel);

  font-size: 10px;
  letter-spacing: 1.4px;
}

.pied-showreel a {
  text-decoration: none;
}

/* VISIONNEUSE */

.visionneuse-showreel {
  width: min(1780px, calc(100% - 64px));
  height: calc(100svh - 48px);

  max-width: none;
  max-height: none;

  margin: auto;
  padding: 18px;

  overflow: hidden;

  border: 1px solid var(--bord-showreel);
  border-radius: 28px;

  background: rgba(14, 17, 19, 0.97);
  color: var(--texte-showreel);
}

.visionneuse-showreel[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 15px;
}

.visionneuse-showreel::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(18px);
}

.entete-visionneuse-showreel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 0 3px;
}

.entete-visionneuse-showreel > span {
  font-size: 11px;
  letter-spacing: 2px;
}

.entete-visionneuse-showreel strong {
  margin-left: 7px;
  color: #cdbd9e;
}

.bouton-rond-showreel {
  display: grid;
  place-items: center;

  flex-shrink: 0;

  width: 46px;
  height: 46px;
  padding: 0;

  border-radius: 50%;

  font-size: 26px;
  cursor: pointer;
}

.bouton-rond-showreel:disabled {
  opacity: 0.3;
  cursor: default;
}

.cadre-visionneuse-showreel {
  position: relative;

  display: grid;
  place-items: center;

  min-height: 0;

  overflow: hidden;
  border-radius: 15px;

  background: #080b0d;
}

.cadre-visionneuse-showreel > img {
  display: block;

  width: 100%;
  height: 100%;

  min-height: 0;
  object-fit: contain;
}

.precedent-showreel,
.suivant-showreel {
  position: absolute;
  top: 50%;

  transform: translateY(-50%);
}

.precedent-showreel {
  left: 16px;
}

.suivant-showreel {
  right: 16px;
}

.legende-visionneuse-showreel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  padding: 0 4px;
}

.legende-visionneuse-showreel h2 {
  margin: 0;

  font-size: clamp(19px, 2vw, 29px);
  overflow-wrap: anywhere;
}

#position-showreel {
  color: #c4c5c1;

  font-size: 12px;
  white-space: nowrap;
}

.erreur-image-showreel {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  margin: 0;

  color: #c5c9c9;

  font-size: 13px;
  text-align: center;
}

/* MOBILE */

@media (max-width: 720px) {
  :root {
    --marge-showreel: 16px;
  }

  .entete-showreel {
    top: 12px;
    gap: 10px;
  }

  .retour-showreel {
    min-width: 0;
    padding: 15px 14px;
    gap: 8px;
    font-size: 12px;
  }

  .identite-showreel {
    padding: 12px 15px;
    border-radius: 19px;
  }

  .identite-showreel strong {
    font-size: 15px;
  }

  .identite-showreel span {
    font-size: 7px;
    letter-spacing: 3px;
  }

  .logo-showreel {
    width: 53px;
    height: 57px;

    border-radius: 18px;
  }

  .logo-showreel img {
    width: 35px;
    height: 43px;
  }

  .conteneur-showreel {
    padding-top: 94px;
  }

  .visuel-principal-showreel {
    height: 58svh;
    min-height: 330px;

    border-radius: 23px;
  }

  .legende-couverture-showreel {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .galerie-showreel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .projet-showreel:nth-child(5n + 3) {
    grid-column: auto;
  }

  .projet-showreel:nth-child(5n + 3) .visuel-showreel {
    aspect-ratio: 16 / 10;
  }

  .entete-creations-showreel {
    align-items: flex-start;
  }

  .compteur-showreel {
    padding-top: 27px;
    font-size: 10px;
  }

  .visionneuse-showreel {
    width: calc(100% - 20px);
    height: calc(100svh - 24px);

    padding: 12px;
    border-radius: 21px;
  }

  .entete-visionneuse-showreel > span {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .bouton-rond-showreel {
    width: 40px;
    height: 40px;
  }

  .precedent-showreel {
    left: 8px;
  }

  .suivant-showreel {
    right: 8px;
  }

  .pied-showreel {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .visuel-showreel > img {
    transition: none;
  }

  .visuel-showreel:hover > img {
    transform: none;
  }
}




/* SHOWREEL — OUVERTURE PLEIN ÉCRAN */

:root {
  --marge-showreel: clamp(22px, 5vw, 100px);
}

/* NAVIGATION PRINCIPALE */

.entete-showreel {
  top: 18px;
  right: clamp(16px, 2vw, 40px);
  left: clamp(16px, 2vw, 40px);
  z-index: 50;

  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 10px 16px;

  border: 1px solid var(--bord-showreel);
  border-radius: 26px;

  background: rgba(18, 22, 23, 0.65);

  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
}

.entete-showreel .logo-showreel {
  justify-self: start;

  width: 60px;
  height: 60px;

  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.navigation-showreel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.5vw, 12px);
  min-width: 0;
}

.navigation-showreel a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 12px;

  border: 1px solid transparent;
  border-radius: 30px;

  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.navigation-showreel a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.navigation-showreel a[aria-current="page"] {
  border-color: rgba(226, 203, 168, 0.22);
  background: rgba(226, 203, 168, 0.11);
  color: #e4cba6;
}

.actions-navigation-showreel {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

#navigation-rapide-showreel {
  width: 215px;
  min-height: 46px;
  padding: 12px 16px;

  border: 1px solid var(--bord-showreel);
  border-radius: 30px;

  background: rgba(255, 255, 255, 0.04);
  color: var(--texte-showreel);

  font: 700 11px Arial, sans-serif;
  cursor: pointer;
}

#navigation-rapide-showreel option {
  background: #171b1d;
}

.menu-navigation-showreel {
  display: none;
  cursor: pointer;
}

/* GRANDE IMAGE D’OUVERTURE */

.conteneur-showreel {
  width: 100%;
  max-width: none;
  padding-top: 0;
}

.couverture-showreel {
  position: relative;
}

.visuel-principal-showreel {
  height: 100vh;
  height: 100svh;
  min-height: 0;

  border: 0;
  border-radius: 0;
}

.visuel-principal-showreel::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28),
    transparent 35%,
    rgba(0, 0, 0, 0.05) 60%,
    rgba(0, 0, 0, 0.72)
  );

  pointer-events: none;
}

.texte-hero-showreel {
  position: absolute;
  z-index: 1;

  right: calc(var(--marge-showreel) + 90px);
  bottom: clamp(40px, 6vh, 80px);
  left: var(--marge-showreel);

  text-align: left;
  pointer-events: none;
}

.texte-hero-showreel .surtitre-showreel {
  display: block;
  margin-bottom: 18px;

  color: #e4d4b9;
  font-size: 11px;
}

.titre-hero-showreel {
  display: block;

  font-size: clamp(54px, 8vw, 154px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.visuel-principal-showreel > .agrandir-showreel {
  z-index: 1;

  top: 50%;
  right: var(--marge-showreel);
  bottom: auto;

  transform: translateY(-50%);
}

/* TITRE DU FILM SOUS L’IMAGE */

.legende-couverture-showreel {
  display: block;
  padding: 32px var(--marge-showreel) 0;
}

.legende-couverture-showreel h1 {
  font-size: clamp(30px, 3.2vw, 60px);
  line-height: 1.05;
}

/* FLÈCHE VERS LA COLLECTION */

.defiler-showreel {
  position: absolute;
  z-index: 2;

  top: calc(100vh - 112px);
  top: calc(100svh - 112px);
  right: var(--marge-showreel);

  display: grid;
  place-items: center;

  width: 62px;
  height: 62px;
  padding: 0;

  border-color: rgba(228, 203, 166, 0.65);
  border-radius: 50%;

  background: rgba(18, 22, 23, 0.45);
  color: #e4cba6;
  font-size: 28px;
}

.visuellement-cache-showreel {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* COMPOSITION DE LA GALERIE */

.creations-showreel {
  padding: clamp(80px, 9vw, 160px) var(--marge-showreel) 0;
  scroll-margin-top: 125px;
}

.entete-creations-showreel {
  margin-bottom: clamp(35px, 4vw, 75px);
}

.entete-creations-showreel h2 {
  color: #e4cba6;

  font-size: clamp(38px, 5.2vw, 94px);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.galerie-showreel {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 50px 18px;
}

.projet-showreel {
  grid-column: span 5;
}

.projet-showreel:nth-child(5n + 1),
.projet-showreel:nth-child(5n + 4) {
  grid-column: span 7;
}

.projet-showreel:nth-child(5n + 3) {
  grid-column: span 5;
}

.projet-showreel:nth-child(5n),
.projet-showreel:last-child:nth-child(5n + 1),
.projet-showreel:last-child:nth-child(5n + 3) {
  grid-column: 1 / -1;
}

.projet-showreel .visuel-showreel,
.projet-showreel:nth-child(5n + 3) .visuel-showreel {
  height: clamp(270px, 30vw, 600px);
  aspect-ratio: auto;

  border: 0;
  border-radius: 10px;
}

.projet-showreel:nth-child(5n) .visuel-showreel,
.projet-showreel:last-child:nth-child(5n + 1) .visuel-showreel,
.projet-showreel:last-child:nth-child(5n + 3) .visuel-showreel {
  height: clamp(340px, 48vw, 860px);
}

.projet-showreel figcaption {
  padding-top: 20px;
}

.etat-showreel {
  margin-right: var(--marge-showreel);
  margin-left: var(--marge-showreel);
}

.etat-showreel:empty {
  display: none;
}

/* IMAGE AGRANDIE SUR TOUTE LA FENÊTRE */

.visionneuse-showreel {
  width: 100%;
  height: 100vh;
  height: 100dvh;

  margin: 0;
  padding: clamp(12px, 2vw, 32px);

  border: 0;
  border-radius: 0;
}

.cadre-visionneuse-showreel {
  border-radius: 0;
}

/* MENU COMPACT */

@media (max-width: 1150px) {
  .entete-showreel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .menu-navigation-showreel {
    display: inline-flex;

    min-height: 46px;
    padding: 12px 18px;
    gap: 10px;
  }

  .navigation-showreel {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;
    left: 0;

    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 6px;
    padding: 16px;

    max-height: calc(100dvh - 130px);
    overflow-y: auto;

    border: 1px solid var(--bord-showreel);
    border-radius: 24px;

    background: rgba(18, 22, 23, 0.96);

    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  }

  .menu-ouvert-showreel .navigation-showreel {
    display: grid;
  }
}

/* MOBILE */

@media (max-width: 720px) {
  :root {
    --marge-showreel: 22px;
  }

  .entete-showreel {
    top: 12px;
    right: 12px;
    left: 12px;

    padding: 8px 10px;
    border-radius: 23px;
  }

  .entete-showreel .logo-showreel {
    width: 48px;
    height: 50px;
  }

  #navigation-rapide-showreel {
    display: none;
  }

  .texte-hero-showreel {
    right: var(--marge-showreel);
    bottom: 115px;
  }

  .texte-hero-showreel .surtitre-showreel {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .titre-hero-showreel {
    font-size: clamp(46px, 12vw, 82px);
  }

  .defiler-showreel {
    top: calc(100svh - 82px);

    width: 50px;
    height: 50px;
  }

  .legende-couverture-showreel {
    padding-top: 25px;
  }

  .entete-creations-showreel {
    flex-direction: column;
    gap: 20px;
  }

  .compteur-showreel {
    padding-top: 0;
  }

  .galerie-showreel {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .galerie-showreel > .projet-showreel {
    grid-column: 1 / -1;
  }

  .galerie-showreel > .projet-showreel:nth-child(n) .visuel-showreel {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .visionneuse-showreel {
    width: 100%;
    height: 100dvh;
    padding: 12px;

    border-radius: 0;
  }
}



/* COLLECTION — IMAGES ET VIDÉOS EN UNE COLONNE */

.couverture-decor-showreel {
  cursor: default;
}

.couverture-decor-showreel:hover > img {
  transform: none;
}

.outils-collection-showreel {
  position: sticky;
  top: 118px;
  z-index: 15;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;

  margin-bottom: 24px;
  padding: 14px;

  border: 1px solid var(--bord-showreel);
  border-radius: 28px;

  background: rgba(18, 22, 23, 0.82);

  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.filtres-showreel,
.actions-collection-showreel,
.actions-editeur-showreel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filtres-showreel .bouton-showreel,
.actions-collection-showreel .bouton-showreel {
  padding: 13px 18px;
  font-size: 12px;
  cursor: pointer;
}

.filtres-showreel button[aria-pressed="true"],
.bouton-principal-showreel {
  background: #e7d7bd;
  color: #191b1c;
}

#mode-showreel {
  margin: 0 8px;
  color: var(--secondaire-showreel);
  font-size: 11px;
}

.creations-showreel > .etat-showreel {
  margin: 0 0 28px;
}

/* GRANDS MÉDIAS LES UNS SOUS LES AUTRES */

.collection-file-showreel {
  display: flex;
  flex-direction: column;
  gap: clamp(35px, 6vw, 110px);
}

.media-collection-showreel {
  position: relative;
  width: 100%;
  min-width: 0;
}

.media-collection-showreel .visuel-showreel {
  border: 0;
  border-radius: 12px;
}

.media-collection-showreel .visuel-showreel > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.support-video-showreel {
  position: relative;
}

.support-video-showreel > video {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 12px;
  background: #090c0e;
}

.agrandir-video-showreel {
  position: absolute;
  top: 18px;
  left: 18px;
}

.media-collection-showreel .miniature-youtube-showreel {
  aspect-ratio: 16 / 9;
  background: #090c0e;
}

.media-collection-showreel .miniature-youtube-showreel > img {
  height: 100%;
  object-fit: cover;
}

.jouer-youtube-showreel {
  position: absolute;
  top: 50%;
  left: 50%;

  display: grid;
  place-items: center;

  width: 86px;
  height: 86px;
  padding-left: 5px;

  transform: translate(-50%, -50%);

  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;

  background: rgba(18, 22, 23, 0.6);
  backdrop-filter: blur(16px);

  color: #f3f1ed;
  font-size: 28px;
}

/* COMMANDES VISIBLES EN MODE ÉDITION */

.commandes-media-showreel {
  position: absolute;
  top: 18px;
  right: 18px;

  display: none;
}

.edition-showreel .commandes-media-showreel {
  display: flex;
}

.commandes-media-showreel button {
  cursor: pointer;
}

.media-indisponible-showreel {
  min-height: 300px;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

/* VISIONNEUSE */

.cadre-visionneuse-showreel > video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.cadre-visionneuse-showreel > iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.navigation-visionneuse-showreel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

#lien-youtube-showreel {
  margin-left: 16px;
  color: #e4cba6;
  font-size: 12px;
  text-underline-offset: 4px;
}

/* FORMULAIRE D’ÉDITION */

.editeur-media-showreel {
  width: min(640px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);

  padding: 26px;
  overflow: auto;

  border: 1px solid var(--bord-showreel);
  border-radius: 28px;

  background: rgba(19, 23, 25, 0.98);
  color: var(--texte-showreel);
}

.editeur-media-showreel::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(18px);
}

.editeur-media-showreel h2 {
  margin: 0;
  font-size: 25px;
}

.editeur-media-showreel fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.editeur-media-showreel label {
  display: block;
  margin: 20px 0 9px;
  font-size: 13px;
}

.editeur-media-showreel input,
.editeur-media-showreel select,
.editeur-media-showreel textarea {
  width: 100%;
  padding: 14px;

  border: 1px solid var(--bord-showreel);
  border-radius: 14px;

  background: #24292c;
  color: var(--texte-showreel);

  font: inherit;
  font-size: 14px;
}

.editeur-media-showreel textarea {
  resize: vertical;
}

.aide-media-showreel {
  color: var(--secondaire-showreel);
  font-size: 12px;
  line-height: 1.5;
}

.erreur-editeur-showreel {
  min-height: 18px;
  color: #f2b7a9;
  font-size: 13px;
  line-height: 1.5;
}

.actions-editeur-showreel {
  justify-content: flex-end;
  margin-top: 24px;
}

.actions-editeur-showreel button {
  padding: 13px 18px;
  cursor: pointer;
}

.actions-editeur-showreel .bouton-principal-showreel:hover {
  background: #f1e3cc;
  color: #191b1c;
}

.bouton-danger-showreel {
  margin-right: auto;
  color: #f2b7a9;
}

/* MOBILE */

@media (max-width: 720px) {
  .outils-collection-showreel {
    top: 94px;
    padding: 12px;
    border-radius: 22px;
  }

  .filtres-showreel {
    gap: 6px;
  }

  .filtres-showreel .bouton-showreel {
    padding: 11px 13px;
    font-size: 11px;
  }

  .actions-collection-showreel {
    width: 100%;
  }

  .commandes-media-showreel {
    top: 12px;
    right: 12px;
  }

  .commandes-media-showreel button {
    padding: 12px 16px;
    font-size: 12px;
  }

  .jouer-youtube-showreel {
    width: 62px;
    height: 62px;
    font-size: 23px;
  }

  .editeur-media-showreel {
    padding: 18px;
  }
}