@charset "UTF-8";
:root {
  --color-main: #c95e42;
  --color-snd: #F6D8C9;
  --color-third: #FDF5F1;
  color-scheme: light;
}

.color-main {
  color: var(--color-main);
}

.color-snd {
  color: var(--color-snd);
}

.color-third {
  color: var(--color-third);
}

.background-main {
  background: var(--color-main);
}

.background-snd {
  background: var(--color-snd);
}

.background-third {
  background: var(--color-third);
}

/**
 * Chemin vers les fichiers de polices.
 */
/**
 * Déclare la police décorative Block Script.
 */
@font-face {
  font-family: "Block Script";
  src: url("../../src/fonts/block-script.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
/** * Déclare la graisse normale de Caviar Dreams. */
@font-face {
  font-family: "Caviar Dreams";
  src: url("../../src/fonts/caviardreams-webfont.woff2") format("woff2"), url("../../src/fonts/caviardreams-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
/** * Déclare la graisse grasse de Caviar Dreams. */
@font-face {
  font-family: "Caviar Dreams";
  src: url("../../src/fonts/caviar_dreams_bold-webfont.woff2") format("woff2"), url("../../src/fonts/caviar_dreams_bold-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
/** * Déclare l’italique de Caviar Dreams. */
@font-face {
  font-family: "Caviar Dreams";
  src: url("../../src/fonts/caviardreams_italic-webfont.woff2") format("woff2"), url("../../src/fonts/caviardreams_italic-webfont.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
/** * Déclare l’italique gras de Caviar Dreams. */
@font-face {
  font-family: "Caviar Dreams";
  src: url("../../src/fonts/caviardreams_bolditalic-webfont.woff2") format("woff2"), url("../../src/fonts/caviardreams_bolditalic-webfont.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}
:root {
  /**
   * Tailles de texte courant.
   */
  --text-xs: clamp(0.6875rem, 0.67rem + 0.08vw, 0.75rem);
  --text-sm: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --text-md: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  /**
   * Tailles de titres décoratifs.
   *
   * Block Script possède déjà une forte présence visuelle. Les tailles
   * restent donc plus modérées afin d'éviter de surcharger l'interface.
   */
  --title-sm: clamp(2rem, 1.65rem + 1.4vw, 2.75rem);
  --title-md: clamp(2.75rem, 2rem + 3vw, 4.25rem);
  --title-lg: clamp(3.75rem, 2.5rem + 5vw, 6.5rem);
  --title-xl: clamp(5rem, 3rem + 8vw, 9rem);
  /**
   * Interlignages.
   */
  --leading-tight: 1.1;
  --leading-snug: 1.2;
  --leading-normal: 1.4;
  --leading-relaxed: 1.6;
  --leading-loose: 1.8;
}

.leading-tight {
  line-height: var(--line-height-tight);
}

.line-height-snug {
  line-height: var(--line-height-snug);
}

.line-height-normal {
  line-height: var(--line-height-normal);
}

.line-height-relaxed {
  line-height: var(--line-height-relaxed);
}

.line-height-loose {
  line-height: var(--line-height-loose);
}

/**
 * ==========================================================================
 * Base typographique
 * ==========================================================================
 */
/**
 * Définit la typographie générale de la webapp.
 */
body {
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-base);
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
}

.caviar-dream {
  font-family: "Caviar Dreams", sans-serif;
}

.block-script {
  font-family: "Block Script", serif;
}

/**
 * Réinitialise les marges natives des principaux éléments textuels.
 *
 * Les espacements doivent être gérés par les composants et les layouts.
 */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote {
  margin-block: 0;
}

/**
 * Définit la typographie des trois premiers niveaux de titre.
 *
 * Block Script est réservée aux titres principaux et décoratifs.
 */
h1,
h2,
h3 {
  font-family: "Block Script", cursive;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

/**
 * Définit la typographie des titres fonctionnels.
 *
 * Caviar Dreams est conservée pour les titres d'interface afin de maintenir
 * une bonne lisibilité.
 */
h4,
h5,
h6 {
  font-family: "Caviar Dreams", sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/**
 * Définit le titre principal d'une page.
 */
h1 {
  font-size: var(--title-lg);
  line-height: 0.8;
}

/**
 * Définit le titre secondaire principal.
 */
h2 {
  font-size: var(--title-md);
  line-height: 1;
}

/**
 * Définit le troisième niveau de titre décoratif.
 */
h3 {
  font-size: var(--title-sm);
  line-height: 1.05;
}

/**
 * Définit le quatrième niveau de titre.
 */
h4 {
  font-size: var(--text-xl);
  line-height: 1.2;
}

/**
 * Définit le cinquième niveau de titre.
 */
h5 {
  font-size: var(--text-lg);
  line-height: 1.25;
}

/**
 * Définit le sixième niveau de titre.
 */
h6 {
  font-size: var(--text-md);
  line-height: 1.3;
}

/**
 * Définit le style du texte courant.
 */
p {
  font-size: var(--text-base);
  line-height: 1.55;
}

/**
 * Définit les styles communs des listes.
 */
ul,
ol {
  padding-inline-start: 1.25em;
}

/**
 * Définit le style des éléments de liste.
 */
li {
  font-size: var(--text-base);
  line-height: 1.55;
}

/**
 * Ajoute un espacement vertical entre deux éléments successifs d'une liste.
 */
li + li {
  margin-block-start: 0.5rem;
}

/**
 * Définit le texte renforcé.
 */
strong,
b {
  font-weight: 700;
}

/**
 * Définit les textes en emphase.
 */
em,
i {
  font-style: italic;
}

/**
 * Définit le style des petits textes.
 */
small {
  font-size: var(--text-sm);
  line-height: 1.45;
}

/**
 * Définit le style des citations.
 */
blockquote {
  padding-inline-start: 1.25rem;
  border-inline-start: 0.2rem solid currentcolor;
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.7;
}

/**
 * Définit la typographie des libellés de formulaire.
 */
label {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.25;
}

/**
 * Harmonise les éléments de formulaire avec la typographie de la webapp.
 */
input,
textarea,
select,
button {
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-base);
}

/**
 * ==========================================================================
 * Utilitaires de taille typographique
 * ==========================================================================
 */
/**
 * Applique la plus petite taille de texte.
 */
.text-xs {
  font-size: var(--text-xs);
}

/**
 * Applique une petite taille de texte.
 */
.text-sm {
  font-size: var(--text-sm);
}

/**
 * Applique la taille de texte courante.
 */
.text-base {
  font-size: var(--text-base);
}

/**
 * Applique une taille de texte intermédiaire.
 */
.text-md {
  font-size: var(--text-md);
}

/**
 * Applique une grande taille de texte.
 */
.text-lg {
  font-size: var(--text-lg);
}

/**
 * Applique une très grande taille de texte courant.
 */
.text-xl {
  font-size: var(--text-xl);
}

/**
 * Applique la petite taille de titre.
 */
.title-sm {
  font-size: var(--title-sm);
}

/**
 * Applique la taille moyenne de titre.
 */
.title-md {
  font-size: var(--title-md);
}

/**
 * Applique la grande taille de titre.
 */
.title-lg {
  font-size: var(--title-lg);
}

/**
 * Applique la plus grande taille de titre.
 */
.title-xl {
  font-size: var(--title-xl);
}

/**
 * ==========================================================================
 * Utilitaires de famille typographique
 * ==========================================================================
 */
/**
 * Applique la police de lecture Caviar Dreams.
 */
.font-body {
  font-family: "Caviar Dreams", sans-serif;
}

/**
 * Applique la police décorative Block Script.
 */
.font-script {
  font-family: "Block Script", cursive;
  font-style: normal;
  font-weight: 400;
}

/**
 * ==========================================================================
 * Utilitaires de graisse
 * ==========================================================================
 */
/**
 * Applique la graisse normale.
 */
.font-regular {
  font-weight: 400;
}

/**
 * Applique la graisse grasse.
 */
.font-bold {
  font-weight: 700;
}

/**
 * ==========================================================================
 * Utilitaires d'interlignage
 * ==========================================================================
 */
/**
 * Applique un interlignage très compact.
 */
.line-height-none {
  line-height: 0.95;
}

/**
 * Applique un interlignage compact.
 */
.line-height-tight {
  line-height: 1.1;
}

/**
 * Applique un interlignage adapté aux titres.
 */
.line-height-heading {
  line-height: 1.25;
}

/**
 * Applique l'interlignage principal de lecture.
 */
.line-height-body {
  line-height: 1.55;
}

/**
 * Applique un interlignage aéré.
 */
.line-height-relaxed {
  line-height: 1.75;
}

/**
 * ==========================================================================
 * Utilitaires d'alignement
 * ==========================================================================
 */
/**
 * Aligne le texte à gauche.
 */
.text-left {
  text-align: left;
}

/**
 * Centre le texte.
 */
.text-center {
  text-align: center;
}

/**
 * Aligne le texte à droite.
 */
.text-right {
  text-align: right;
}

/**
 * ==========================================================================
 * Utilitaires typographiques spécifiques à la webapp
 * ==========================================================================
 */
/**
 * Définit un surtitre ou label visuel.
 */
.eyebrow {
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/**
 * Définit un texte d'introduction.
 */
.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
}

body.identification-page {
  min-height: 100vh;
  min-height: 100dvh;
}
body.identification-page header, body.identification-page footer {
  display: none;
}
body.identification-page .event-identification-page {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
}
body.identification-page .event-identification__card {
  width: min(100%, 420px);
  padding: 32px;
  box-sizing: border-box;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}
body.identification-page .event-identification__eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body.identification-page .event-identification h1 {
  margin: 0;
  line-height: 1;
  color: var(--color-main);
}
body.identification-page .event-identification__intro {
  margin: 18px 0 28px;
  line-height: 1.5;
  color: #666;
}
body.identification-page .event-identification__form {
  display: grid;
  gap: 18px;
}
body.identification-page .event-identification__field {
  display: grid;
  gap: 8px;
}
body.identification-page .event-identification__field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 16px;
}
body.identification-page .event-identification__field input:focus {
  outline: 3px solid rgba(0, 0, 0, 0.12);
  border-color: #181818;
}
body.identification-page .event-identification__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff0f0;
  color: #a40000;
  line-height: 1.4;
}
body.identification-page #event-visitor-submit {
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
body.identification-page #event-visitor-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

header {
  padding: 10px;
}
header a {
  display: flex;
  color: black;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 15px;
  text-decoration: none;
}
header a p {
  margin-right: 10px;
  font-size: var(--text-lg);
}
header a .img {
  background: var(--color-third);
  border-radius: 1000px;
  height: 40px;
  width: 40px;
  display: flex;
  overflow: hidden;
}
header a .img img {
  display: block;
  margin: auto;
}
header a .img img.pp {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

:root {
  --footer-height: 75px;
}

/**
 * Positionne la navigation principale en bas de l'écran.
 */
.event-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 800;
  background: var(--color-main);
  border-top: 1px solid rgba(248, 216, 201, 0.12);
}

/**
 * Étend la navigation sur toute la largeur disponible.
 */
.event-footer__nav {
  width: 100%;
}

/**
 * Organise les trois actions principales sur des colonnes égales.
 */
.event-footer__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  min-height: 4.75rem;
  margin: 0;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
  list-style: none;
}

/**
 * Centre chaque élément de navigation.
 */
.event-footer__item {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 100%;
}

/**
 * Prépare l'élément central pour le bouton principal.
 */
.event-footer__item--primary {
  position: relative;
}

/**
 * Présente les liens de navigation latéraux.
 */
.event-footer__link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 4.75rem;
  padding: 0.75rem;
  color: #f8d8c9;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/**
 * Uniformise la taille des icônes latérales.
 */
.event-footer__link svg {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

/**
 * Uniformise la couleur des tracés SVG.
 *
 * Les attributs fill présents directement dans les SVG peuvent continuer
 * d'être utilisés, mais cette règle permet d'avoir un état cohérent.
 */
.event-footer__link svg path,
.event-footer__link svg circle {
  fill: currentcolor;
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-footer__link:active {
  opacity: 0.65;
  transform: scale(0.94);
}

/**
 * Présente le bouton principal de prise ou d'ajout de photo.
 */
.event-footer__photo-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  padding: 0;
  background: #f8d8c9;
  border: 0;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  cursor: pointer;
  transform: translate(-50%, -72%);
  -webkit-tap-highlight-color: transparent;
}

/**
 * Dimensionne l'icône du bouton principal.
 */
.event-footer__photo-button svg {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
}

/**
 * Inverse la couleur de l'icône de l'appareil photo.
 *
 * Le SVG utilise actuellement un fill inline. Cette règle garantit
 * toutefois une couleur cohérente si le markup du SVG évolue.
 */
.event-footer__photo-button svg path,
.event-footer__photo-button svg circle {
  fill: var(--color-main);
}

/**
 * Ajoute une animation légère lors de l'interaction.
 */
.event-footer__photo-button {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/**
 * Réduit légèrement le bouton pendant le toucher.
 */
.event-footer__photo-button:active {
  transform: translate(-50%, -72%) scale(0.92);
}

/**
 * Présente clairement le focus clavier.
 */
.event-footer__link:focus-visible,
.event-footer__photo-button:focus-visible {
  outline: 0.2rem solid #fff;
  outline-offset: 0.2rem;
}

/**
 * Réduit les interactions pendant un traitement.
 */
.event-footer__photo-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

/**
 * ==========================================================================
 * Adaptation aux écrans plus larges
 * ==========================================================================
 */
/**
 * Limite visuellement la largeur de la navigation sur desktop.
 */
@media (min-width: 48rem) {
  .event-footer {
    right: 50%;
    left: auto;
    width: min(100%, 32rem);
    border: 1px solid rgba(248, 216, 201, 0.12);
    border-bottom: 0;
    border-radius: 1.5rem 1.5rem 0 0;
    transform: translateX(50%);
  }
}
/**
 * Respecte les préférences utilisateur concernant
 * la réduction des animations.
 */
@media (prefers-reduced-motion: reduce) {
  .event-footer__photo-button {
    transition: none;
  }
}
/**
 * ==========================================================================
 * Menu d'ajout de photos
 * ==========================================================================
 */
/**
 * Positionne la bottom sheet au-dessus de la webapp.
 */
.event-photo-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
}

/**
 * Masque complètement le menu lorsqu'il utilise l'attribut hidden.
 */
.event-photo-menu[hidden] {
  display: none;
}

/**
 * Affiche le fond sombre de la bottom sheet.
 */
.event-photo-menu__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/**
 * Positionne le panneau en bas de l'écran.
 */
.event-photo-menu__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 1.5rem 1.5rem 0 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

/**
 * Anime le fond lorsque le menu est ouvert.
 */
.event-photo-menu.is-open .event-photo-menu__backdrop {
  opacity: 1;
}

/**
 * Anime le panneau lorsque le menu est ouvert.
 */
.event-photo-menu.is-open .event-photo-menu__panel {
  transform: translateY(0);
}

/**
 * Organise les actions disponibles.
 */
.event-photo-menu__actions {
  display: grid;
  gap: 0.75rem;
}

/**
 * Bloque le défilement de la page pendant l'ouverture du menu.
 */
body.has-event-photo-menu {
  overflow: hidden;
}

/**
 * ==========================================================================
 * Popup de photo de profil
 * ==========================================================================
 */
/**
 * Bloque le défilement de la page lorsque la popup est ouverte.
 */
body.has-profile-photo-popup {
  overflow: hidden;
}

/**
 * Conteneur global de la popup.
 */
.profile-photo-popup {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  align-items: end;
}

/**
 * Fond semi-transparent de la popup.
 */
.profile-photo-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(0.25rem);
}

/**
 * Panneau principal de la popup.
 */
.profile-photo-popup__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  padding: 2rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  border-radius: 2rem 2rem 0 0;
  background: #fdf5f1;
  box-shadow: 0 -1rem 4rem rgba(0, 0, 0, 0.12);
}

/**
 * Contenu éditorial de la popup.
 */
.profile-photo-popup__content {
  display: grid;
  gap: 0.75rem;
  text-align: center;
}

/**
 * Groupe les actions principales.
 */
.profile-photo-popup__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

/**
 * Message d'erreur.
 */
.profile-photo-popup__error {
  margin: 0;
  color: #b42318;
  text-align: center;
}

/**
 * Réduit visuellement la popup pendant un traitement réseau.
 */
.profile-photo-popup.is-loading {
  cursor: wait;
}

/**
 * Adapte la popup aux écrans plus larges.
 */
@media (min-width: 48rem) {
  .profile-photo-popup {
    align-items: center;
    padding: 2rem;
  }
  .profile-photo-popup__panel {
    padding: 2.5rem;
    border-radius: 2rem;
  }
}
/**
 * ==========================================================================
 * Loader de la photo de profil
 * ==========================================================================
 */
/**
 * Centre l'état de chargement dans la popup.
 */
.profile-photo-popup__loader {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-block: 1rem;
  text-align: center;
}

/**
 * Affiche un indicateur circulaire de chargement.
 */
.profile-photo-popup__spinner {
  width: 2.75rem;
  height: 2.75rem;
  border: 0.2rem solid rgba(31, 31, 31, 0.15);
  border-top-color: currentcolor;
  border-radius: 50%;
  animation: profile-photo-spin 0.8s linear infinite;
}

/**
 * Anime l'indicateur de chargement.
 */
@keyframes profile-photo-spin {
  to {
    transform: rotate(360deg);
  }
}
/**
 * Réduit les interactions pendant le traitement.
 */
.profile-photo-popup.is-loading {
  cursor: wait;
}

/**
 * Masque systématiquement les éléments porteurs de l'attribut hidden.
 */
[hidden] {
  display: none !important;
}

.button {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 16px;
}

button {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 16px;
}

/**
 * ==========================================================================
 * Upload des photos de l'événement
 * ==========================================================================
 */
/**
 * Affiche le loader au-dessus de l'ensemble de la webapp.
 */
.event-photo-upload {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.55);
}

/**
 * Masque complètement les éléments utilisant l'attribut hidden.
 */
.event-photo-upload[hidden] {
  display: none;
}

/**
 * Contient l'état courant de l'upload.
 */
.event-photo-upload__panel {
  width: min(100%, 24rem);
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  text-align: center;
}

/**
 * Espace le message de la barre de progression.
 */
.event-photo-upload__message {
  margin-bottom: 1.5rem;
}

/**
 * Contient la progression de l'upload.
 */
.event-photo-upload__progress {
  overflow: hidden;
  width: 100%;
  height: 0.75rem;
  background: rgba(31, 31, 31, 0.12);
  border-radius: 999px;
}

/**
 * Représente visuellement la progression de l'upload.
 */
.event-photo-upload__progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: currentcolor;
  border-radius: inherit;
  transition: width 0.15s linear;
}

/**
 * Affiche le pourcentage courant.
 */
.event-photo-upload__percent {
  margin-top: 0.75rem;
  font-size: var(--text-sm);
  font-weight: 700;
}

/**
 * Bloque le scroll pendant l'envoi des photos.
 */
body.has-event-photo-upload {
  overflow: hidden;
}

/**
 * ==========================================================================
 * Page d'accueil
 * ==========================================================================
 */
/**
 * Définit les espacements généraux de la page d'accueil.
 */
.event-home {
  padding-block: 0 clamp(3rem, 10vw, 6rem);
}

/**
 * ==========================================================================
 * Introduction
 * ==========================================================================
 */
/**
 * Présente le message d'accueil principal.
 */
.event-home__intro {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/**
 * Limite la largeur du titre principal.
 */
.event-home__title {
  max-width: 42rem;
}

/**
 * Présente le texte d'introduction.
 */
.event-home__lead {
  max-width: 34rem;
  font-size: var(--text-lg);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

/**
 * ==========================================================================
 * Dernières photos
 * ==========================================================================
 */
/**
 * Organise les dernières photos dans une grille visuelle.
 */
.event-home__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 0.4rem;
  overflow: hidden;
  border-radius: 1.25rem;
}

/**
 * Présente une photo de la galerie d'accueil.
 */
.event-home__photo {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1;
  background: rgba(248, 216, 201, 0.35);
}

/**
 * Affiche la photo sur toute sa cellule.
 */
.event-home__photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/**
 * Ajoute une réaction légère au toucher.
 */
.event-home__photo:active .event-home__photo-image {
  transform: scale(0.96);
}

/**
 * Présente le lien vers la galerie globale.
 */
.event-home__photos-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: fit-content;
  margin: 1.25rem auto 0;
  color: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}

/**
 * Anime légèrement la flèche du lien.
 */
.event-home__photos-link span:last-child {
  transition: transform 0.2s ease;
}

/**
 * Déplace la flèche lors de l'interaction.
 */
.event-home__photos-link:active span:last-child {
  transform: translateX(0.25rem);
}

/**
 * ==========================================================================
 * Galerie vide
 * ==========================================================================
 */
/**
 * Présente l'état vide des dernières photos.
 */
.event-home__photos-empty {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  background: rgba(248, 216, 201, 0.25);
  border-radius: 1.5rem;
  text-align: center;
}

/**
 * Présente l'icône de l'état vide.
 */
.event-home__photos-empty-icon {
  font-size: 2.5rem;
  line-height: 1;
}

/**
 * Limite la largeur du texte de l'état vide.
 */
.event-home__photos-empty p {
  max-width: 28rem;
}

/**
 * ==========================================================================
 * Fonctionnalités de l'accueil
 * ==========================================================================
 */
/**
 * Espace le titre de la section et les vignettes.
 */
.event-home__features-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

/**
 * Organise les fonctionnalités dans une seule colonne.
 */
.event-home__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

/**
 * Présente une fonctionnalité sous forme
 * de vignette horizontale.
 */
.event-home-card {
  display: grid;
  grid-template-columns: clamp(4.5rem, 22vw, 6rem) minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
  min-height: 8.5rem;
  padding: 1.2rem;
  color: #1f1f1f;
  background: #fff;
  border: 1px solid rgba(197, 100, 67, 0.16);
  border-radius: 1.75rem;
  box-shadow: 0 0.65rem 2rem rgba(31, 31, 31, 0.05);
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.event-home__section {
  margin-bottom: 2rem;
}

/**
 * Ajoute un retour visuel immédiat au toucher.
 */
.event-home-card:active {
  background-color: rgba(248, 216, 201, 0.18);
  box-shadow: 0 0.3rem 1rem rgba(31, 31, 31, 0.04);
  transform: scale(0.985);
}

/**
 * Conserve un focus visible pour l'accessibilité.
 */
.event-home-card:focus-visible {
  outline: 3px solid rgba(197, 100, 67, 0.35);
  outline-offset: 3px;
}

/**
 * Affiche le picto carré dans une zone stable.
 *
 * Le PNG source de 800 × 800 px est réduit
 * automatiquement sans être déformé.
 */
.event-home-card__illustration {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/**
 * Organise le titre et le texte secondaire.
 */
.event-home-card__body {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  min-width: 0;
}

/**
 * Présente le titre de la fonctionnalité.
 */
.event-home-card__title {
  font-family: "Caviar Dreams", sans-serif;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/**
 * Présente l'information secondaire.
 */
.event-home-card__description {
  margin: 0;
  color: rgba(31, 31, 31, 0.58);
  font-size: var(--text-sm);
  line-height: 1.4;
}

/**
 * Les deux cartes utilisent le même format.
 */
.event-home-card--memory,
.event-home-card--discoveries {
  grid-column: auto;
}

/**
 * Adapte les cartes aux très petits écrans.
 */
@media (max-width: 22rem) {
  .event-home-card {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.85rem;
    min-height: 7.5rem;
    padding: 1rem;
    border-radius: 1.5rem;
  }
  .event-home-card__title {
    font-size: 1.25rem;
  }
}
/**
 * Agrandit légèrement les vignettes
 * sur tablette.
 */
@media (min-width: 48rem) {
  .event-home__cards {
    gap: 1rem;
    max-width: 44rem;
    margin-inline: auto;
  }
  .event-home-card {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    min-height: 10rem;
    padding: 1.5rem;
  }
  .event-home-card__title {
    font-size: 1.8rem;
  }
}
/**
 * Respecte les préférences de réduction
 * des animations.
 */
@media (prefers-reduced-motion: reduce) {
  .event-home-card {
    transition: none;
  }
}
/**
 * ==========================================================================
 * Exemples
 * ==========================================================================
 */
/**
 * ==========================================================================
 * Fin Exemples
 * ==========================================================================
 */
/**
 * ==========================================================================
 * Mes photos
 * ==========================================================================
 */
/**
 * Définit les espacements généraux de la page.
 */
.event-my-photos {
  padding-block: clamp(2.5rem, 8vw, 5rem) clamp(3rem, 10vw, 6rem);
}

/**
 * ==========================================================================
 * En-tête
 * ==========================================================================
 */
/**
 * Présente l'introduction de la page.
 */
.event-my-photos__header {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 8vw, 3.5rem);
}

/**
 * Limite la largeur du texte d'introduction.
 */
.event-my-photos__lead {
  max-width: 30rem;
  font-size: var(--text-md);
  line-height: 1.5;
}

/**
 * Présente le nombre de photos partagées.
 */
.event-my-photos__count {
  opacity: 0.6;
}

/**
 * ==========================================================================
 * Galerie
 * ==========================================================================
 */
/**
 * Organise les photos du visiteur dans une grille.
 */
.event-my-photos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

/**
 * Masque complètement la galerie lorsqu'elle
 * utilise l'attribut hidden.
 */
.event-my-photos__grid[hidden] {
  display: none;
}

/**
 * Présente une photo du visiteur.
 */
.event-my-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: rgba(248, 216, 201, 0.35);
  border-radius: 1rem;
}

/**
 * Présente le lien ouvrant la visionneuse.
 */
.event-my-photo__link {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

/**
 * Affiche l'image sur toute la cellule.
 */
.event-my-photo__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-my-photo__link:active .event-my-photo__image {
  transform: scale(0.97);
}

/**
 * Présente le bouton de suppression.
 */
.event-my-photo__delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-height: unset;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: #1f1f1f;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/**
 * Dimensionne la croix du bouton.
 */
.event-my-photo__delete span {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-0.05rem);
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-my-photo__delete:active {
  transform: scale(0.9);
}

/**
 * Présente l'état de suppression d'une photo.
 */
.event-my-photo.is-deleting {
  pointer-events: none;
}

/**
 * Réduit visuellement la photo pendant son masquage.
 */
.event-my-photo.is-deleting .event-my-photo__image {
  opacity: 0.4;
}

/**
 * Anime la disparition d'une photo.
 */
.event-my-photo.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/**
 * ==========================================================================
 * État vide
 * ==========================================================================
 */
/**
 * Présente l'état vide de la galerie.
 */
.event-my-photos__empty {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  background: rgba(248, 216, 201, 0.25);
  border-radius: 1.5rem;
  text-align: center;
}

/**
 * Masque l'état vide lorsqu'il utilise
 * l'attribut hidden.
 */
.event-my-photos__empty[hidden] {
  display: none;
}

/**
 * Présente l'icône de l'état vide.
 */
.event-my-photos__empty-icon {
  font-size: 2.5rem;
  line-height: 1;
}

/**
 * Limite la largeur du texte.
 */
.event-my-photos__empty p {
  max-width: 26rem;
}

/**
 * ==========================================================================
 * Responsive
 * ==========================================================================
 */
/**
 * Affiche trois colonnes sur les écrans plus larges.
 */
@media (min-width: 48rem) {
  .event-my-photos__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
/**
 * Affiche quatre colonnes sur desktop.
 */
@media (min-width: 62rem) {
  .event-my-photos__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/**
 * Respecte les préférences de réduction
 * des animations.
 */
@media (prefers-reduced-motion: reduce) {
  .event-my-photo,
  .event-my-photo__image {
    transition: none;
  }
}
/**
 * ==========================================================================
 * Galerie de l'événement
 * ==========================================================================
 */
/**
 * Définit les espacements généraux de la galerie.
 */
/**
 * ==========================================================================
 * En-tête
 * ==========================================================================
 */
/**
 * Présente l'introduction de la galerie.
 */
.event-photos__header {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 7vw, 3.5rem);
}

/**
 * Présente le nombre de photos de la collection.
 */
.event-photos__count {
  font-size: var(--text-md);
  opacity: 0.65;
}

/**
 * Organise les actions de filtrage.
 */
.event-photos__controls {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: min(100%, 30rem);
  margin-top: 1rem;
}

/**
 * Présente le bouton ouvrant le filtre des contributeurs.
 */
.event-photos__filter-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.25rem;
  color: #1f1f1f;
  background: white;
  border: 1px solid rgba(31, 31, 31, 0.05);
  border-radius: 1rem;
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/**
 * Présente la flèche du filtre.
 */
.event-photos__filter-arrow {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-main);
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-photos__filter-button:active {
  transform: scale(0.98);
}

/**
 * Présente l'action permettant de retirer
 * le filtre visiteur.
 */
.event-photos__clear-filter {
  color: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/**
 * ==========================================================================
 * Grille des photos
 * ==========================================================================
 */
/**
 * Organise les photos dans une photothèque compacte.
 */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}

/**
 * Masque la galerie vide.
 */
.event-gallery[hidden] {
  display: none;
}

/**
 * Présente une cellule de la galerie.
 */
.event-gallery__item {
  min-width: 0;
  overflow: hidden;
  background: rgba(248, 216, 201, 0.35);
  border-radius: 0.35rem;
}

/**
 * Présente le lien ouvrant Fancybox.
 */
.event-gallery__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

/**
 * Affiche la photo sur toute sa cellule.
 */
.event-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-gallery__photo:active .event-gallery__image {
  transform: scale(0.96);
}

/**
 * ==========================================================================
 * Pagination
 * ==========================================================================
 */
/**
 * Centre le bouton de chargement des photos suivantes.
 */
.event-photos__more {
  display: grid;
  place-items: center;
  margin-top: 2rem;
}

/**
 * Masque le bouton lorsque toutes les photos
 * ont été chargées.
 */
.event-photos__more [hidden] {
  display: none;
}

/**
 * ==========================================================================
 * État vide
 * ==========================================================================
 */
/**
 * Présente l'état vide de la galerie.
 */
.event-photos__empty {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  background: rgba(248, 216, 201, 0.25);
  border-radius: 1.5rem;
  text-align: center;
}

/**
 * Masque l'état vide lorsqu'il n'est pas nécessaire.
 */
.event-photos__empty[hidden] {
  display: none;
}

/**
 * Présente l'icône de l'état vide.
 */
.event-photos__empty-icon {
  font-size: 2.75rem;
  line-height: 1;
}

/**
 * Limite la largeur du texte de l'état vide.
 */
.event-photos__empty p {
  max-width: 28rem;
  line-height: 1.5;
}

/**
 * ==========================================================================
 * Filtre des contributeurs
 * ==========================================================================
 */
/**
 * Positionne la bottom sheet au-dessus
 * de l'interface principale.
 */
.event-photo-filter {
  position: fixed;
  inset: 0;
  z-index: 950;
}

/**
 * Masque complètement le filtre.
 */
.event-photo-filter[hidden] {
  display: none;
}

/**
 * Présente le fond sombre de la bottom sheet.
 */
.event-photo-filter__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/**
 * Présente le panneau du filtre.
 */
.event-photo-filter__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 1.25rem;
  max-height: 82dvh;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  background: #fdf5f1;
  border-radius: 1.5rem 1.5rem 0 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

/**
 * Affiche le fond lorsque le filtre est ouvert.
 */
.event-photo-filter.is-open .event-photo-filter__backdrop {
  opacity: 1;
}

/**
 * Affiche le panneau lorsque le filtre est ouvert.
 */
.event-photo-filter.is-open .event-photo-filter__panel {
  transform: translateY(0);
}

/**
 * Organise l'en-tête de la bottom sheet.
 */
.event-photo-filter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/**
 * Présente le bouton de fermeture.
 */
.event-photo-filter__close {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #1f1f1f;
  background: rgba(31, 31, 31, 0.07);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

/**
 * Dimensionne la croix de fermeture.
 */
.event-photo-filter__close span {
  font-size: 1.75rem;
  line-height: 1;
}

/**
 * Présente le champ de recherche.
 */
.event-photo-filter__search {
  display: block;
}

/**
 * Présente le champ de saisie.
 */
.event-photo-filter__search input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.75rem 1rem;
  color: #1f1f1f;
  background: #fff;
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: 1rem;
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-base);
  outline: none;
}

/**
 * Présente clairement le focus du champ.
 */
.event-photo-filter__search input:focus {
  border-color: rgba(31, 31, 31, 0.35);
}

/**
 * Organise la liste des contributeurs.
 */
.event-photo-filter__list {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 0.5rem;
}

/**
 * Présente une ligne de contributeur.
 */
.event-photo-filter__person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 4.5rem;
  padding: 0.65rem;
  color: #1f1f1f;
  border-radius: 1rem;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/**
 * Masque une personne ne correspondant pas
 * à la recherche.
 */
.event-photo-filter__person[hidden] {
  display: none;
}

/**
 * Présente le filtre actuellement sélectionné.
 */
.event-photo-filter__person.is-active {
  background: rgba(248, 216, 201, 0.6);
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-photo-filter__person:active {
  background: rgba(248, 216, 201, 0.4);
  transform: scale(0.98);
}

/**
 * Présente la photo de profil ou les initiales.
 */
.event-photo-filter__avatar {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  background: var(--color-snd);
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: 700;
}

.event-photo-filter__person:first-of-type .event-photo-filter__avatar {
  background: var(--color-third);
}

/**
 * Présente la photo de profil.
 */
.event-photo-filter__avatar img {
  display: block;
}

/**
 * Présente l'avatar de la galerie globale.
 */
.event-photo-filter__avatar--all {
  font-size: 1.5rem;
}

/**
 * Organise le nom et les informations du contributeur.
 */
.event-photo-filter__person-content {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

/**
 * Présente le nom du contributeur.
 */
.event-photo-filter__person-content strong {
  overflow: hidden;
  font-size: var(--text-base);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/**
 * Présente le nombre de photos.
 */
.event-photo-filter__person-content > span {
  font-size: var(--text-sm);
  opacity: 0.6;
}

/**
 * Présente le compteur à droite de la ligne.
 */
.event-photo-filter__person-count {
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  min-height: 2rem;
  padding-inline: 0.5rem;
  background: rgba(31, 31, 31, 0.06);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
}

/**
 * Présente le message lorsque la recherche
 * ne retourne aucune personne.
 */
.event-photo-filter__no-results {
  padding: 2rem 1rem;
  text-align: center;
  opacity: 0.6;
}

/**
 * Masque le message de recherche vide.
 */
.event-photo-filter__no-results[hidden] {
  display: none;
}

/**
 * Bloque le défilement de la page pendant
 * l'ouverture du filtre.
 */
body.has-event-photo-filter {
  overflow: hidden;
}

/**
 * ==========================================================================
 * Responsive
 * ==========================================================================
 */
/**
 * Agrandit la galerie sur tablette.
 */
@media (min-width: 48rem) {
  .event-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .event-photo-filter__panel {
    right: 50%;
    left: auto;
    width: min(100%, 34rem);
    transform: translate(50%, 100%);
  }
  .event-photo-filter.is-open .event-photo-filter__panel {
    transform: translate(50%, 0);
  }
}
/**
 * Affiche cinq colonnes sur les grands écrans.
 */
@media (min-width: 62rem) {
  .event-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
/**
 * Respecte les préférences de réduction
 * des animations.
 */
@media (prefers-reduced-motion: reduce) {
  .event-gallery__image,
  .event-photo-filter__backdrop,
  .event-photo-filter__panel {
    transition: none;
  }
}
/**
 * ==========================================================================
 * Souvenirs audio et vidéo
 * ==========================================================================
 */
/**
 * Définit les espacements généraux du composant.
 */
.event-memory {
  padding-bottom: var(--footer-height);
}

/**
 * Masque les vues et états inactifs.
 */
.event-memory [hidden] {
  display: none;
}

/**
 * Limite la largeur des vues de captation.
 */
.event-memory__view {
  width: min(100%, 38rem);
  margin-inline: auto;
}

/**
 * ==========================================================================
 * En-têtes
 * ==========================================================================
 */
/**
 * Présente les introductions des différents écrans.
 */
.event-memory__header {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 8vw, 4rem);
}

/**
 * Limite la largeur du texte d'introduction.
 */
.event-memory__lead {
  max-width: 32rem;
  font-size: var(--text-md);
  line-height: 1.55;
}

/**
 * Présente la limite d'enregistrement.
 */
.event-memory__limit {
  opacity: 0.55;
}

/**
 * Présente l'action de retour.
 */
.event-memory__back {
  position: fixed;
  top: 29px;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 2rem;
  padding: 0;
  color: #1f1f1f;
  background: transparent;
  border: 0;
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
}

/**
 * Présente la flèche de retour.
 */
.event-memory__back span:first-child {
  width: 1.5rem;
}
.event-memory__back span:first-child img {
  max-width: 100%;
}

.event-memory__back span:last-child {
  margin-top: 2px;
}

/**
 * ==========================================================================
 * Choix du type de souvenir
 * ==========================================================================
 */
/**
 * Organise les modes de captation.
 */
.event-memory__choices {
  display: grid;
  gap: 1rem;
}

/**
 * Présente une option de souvenir.
 */
.event-memory-choice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  min-height: 8.5rem;
  padding: 1.5rem;
  color: #1f1f1f;
  background: rgba(248, 216, 201, 0.45);
  border: 1px solid rgba(31, 31, 31, 0.05);
  border-radius: 1.5rem;
  font-family: "Caviar Dreams", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-memory-choice:active {
  background: rgba(248, 216, 201, 0.7);
  transform: scale(0.98);
}

/**
 * Présente l'icône du mode.
 */
.event-memory-choice__icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  background: white;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

/**
 * Organise le contenu du choix.
 */
.event-memory-choice__content {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

/**
 * Présente le titre du choix.
 */
.event-memory-choice__content strong {
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
}

/**
 * Présente la description du choix.
 */
.event-memory-choice__content > span {
  font-size: var(--text-sm);
  line-height: 1.4;
  opacity: 0.65;
}

/**
 * Présente la flèche.
 */
.event-memory-choice__arrow {
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.4;
}

/**
 * ==========================================================================
 * Navigateur non compatible
 * ==========================================================================
 */
/**
 * Présente le message de compatibilité.
 */
.event-memory__unsupported {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(180, 50, 50, 0.1);
  border-radius: 1rem;
  text-align: center;
}

/**
 * ==========================================================================
 * Recorder audio
 * ==========================================================================
 */
/**
 * Centre les différents états du recorder.
 */
.event-memory-audio__state {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}

/**
 * Prépare la zone principale du bouton audio.
 */
.event-memory-audio__record-zone {
  display: grid;
  place-items: center;
  min-height: 8rem;
}

/**
 * Présente le bouton principal d'enregistrement.
 */
.event-memory-record-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  padding: 0;
  color: #1f1f1f;
  background: white;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0.75rem 2rem rgba(31, 31, 31, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

/**
 * Présente l'icône du microphone.
 */
.event-memory-record-button--audio > span {
  font-size: 2.75rem;
  line-height: 1;
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-memory-record-button:active {
  transform: scale(0.93);
}

/**
 * Présente le texte d'instruction.
 */
.event-memory-audio__instruction {
  font-size: var(--text-md);
  font-weight: 700;
  text-align: center;
}

/**
 * Présente l'état d'écoute.
 */
.event-memory-audio__listening {
  font-size: var(--text-lg);
  font-weight: 700;
}

/**
 * Présente la zone pulsante du recorder.
 */
.event-memory-audio__pulse-zone {
  position: relative;
  display: grid;
  place-items: center;
  width: 12rem;
  height: 12rem;
}

/**
 * Présente les ondes animées.
 */
.event-memory-audio__pulse {
  position: absolute;
  border: 2px solid rgba(248, 216, 201, 0.8);
  border-radius: 50%;
  animation: event-memory-pulse 2.4s ease-out infinite;
}

/**
 * Première onde.
 */
.event-memory-audio__pulse--one {
  width: 7rem;
  height: 7rem;
}

/**
 * Deuxième onde.
 */
.event-memory-audio__pulse--two {
  width: 7rem;
  height: 7rem;
  animation-delay: 0.8s;
}

/**
 * Troisième onde.
 */
.event-memory-audio__pulse--three {
  width: 7rem;
  height: 7rem;
  animation-delay: 1.6s;
}

/**
 * Anime les ondes du microphone.
 */
@keyframes event-memory-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}
/**
 * Présente le bouton d'arrêt.
 */
.event-memory-record-button--stop {
  width: 6rem;
  height: 6rem;
  background: #f8d8c9;
}

/**
 * Dessine le carré d'arrêt.
 */
.event-memory-record-button--stop > span {
  width: 1.75rem;
  height: 1.75rem;
  background: #1f1f1f;
  border-radius: 0.25rem;
}

/**
 * ==========================================================================
 * Timer
 * ==========================================================================
 */
/**
 * Présente le temps d'enregistrement.
 */
.event-memory__timer {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: rgba(31, 31, 31, 0.06);
  border-radius: 999px;
  font-size: var(--text-md);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/**
 * Présente l'indicateur rouge d'enregistrement.
 */
.event-memory__record-dot {
  width: 0.65rem;
  height: 0.65rem;
  background: #d83a3a;
  border-radius: 50%;
  animation: event-memory-record-dot 1.2s ease infinite;
}

/**
 * Anime l'indicateur d'enregistrement.
 */
@keyframes event-memory-record-dot {
  50% {
    opacity: 0.3;
  }
}
/**
 * ==========================================================================
 * Relecture
 * ==========================================================================
 */
/**
 * Présente l'écran de relecture.
 */
.event-memory__review {
  display: grid;
  justify-items: stretch;
  gap: 1.5rem;
}

/**
 * Présente le texte de l'écran de relecture.
 */
.event-memory__review-intro {
  opacity: 0.65;
}

/**
 * Présente le lecteur audio natif.
 */
.event-memory__audio-player {
  width: 100%;
}

/**
 * Organise les actions de relecture.
 */
.event-memory__review-actions,
.event-memory__success-actions {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

/**
 * Présente une action secondaire.
 */
.event-memory__secondary-action {
  width: fit-content;
  margin-inline: auto;
  padding: 0.5rem;
  color: #1f1f1f;
  background: transparent;
  border: 0;
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

/**
 * ==========================================================================
 * Recorder vidéo
 * ==========================================================================
 */
/**
 * Présente l'écran d'introduction vidéo.
 */
.event-memory-video__intro {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

/**
 * Présente l'icône vidéo.
 */
.event-memory-video__intro-icon {
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  background: white;
  border-radius: 50%;
  font-size: 3rem;
  box-shadow: 0 0.75rem 2rem rgba(31, 31, 31, 0.15);
}

/**
 * Présente l'interface de captation vidéo.
 */
.event-memory-video__stage {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

/**
 * Présente le retour caméra.
 */
.event-memory-video__frame {
  position: relative;
  width: min(100%, 24rem);
  max-height: 52dvh;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #1f1f1f;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 3rem rgba(31, 31, 31, 0.2);
}

/**
 * Affiche le retour caméra sur toute la zone.
 */
.event-memory-video__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/**
 * Miroite uniquement l'aperçu de la caméra avant.
 */
.event-memory-video__stage.is-user-facing .event-memory-video__frame video {
  transform: scaleX(-1);
}

/**
 * Présente le timer par-dessus la vidéo.
 */
.event-memory-video__timer {
  position: absolute;
  top: 1rem;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}

/**
 * Présente le bouton permettant de retourner la caméra.
 */
.event-memory-video__flip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

/**
 * Présente l'icône de retournement.
 */
.event-memory-video__flip span {
  font-size: 1.75rem;
  line-height: 1;
}

/**
 * Présente l'état de la caméra.
 */
.event-memory-video__status {
  min-height: 1.5em;
  font-size: var(--text-md);
  font-weight: 700;
  text-align: center;
}

/**
 * Présente le bouton d'enregistrement vidéo.
 */
.event-memory-video__record {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  padding: 0;
  background: #fff;
  border: 0.25rem solid #f8d8c9;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/**
 * Présente le centre du bouton vidéo.
 */
.event-memory-video__record-inner {
  width: 3.5rem;
  height: 3.5rem;
  background: #d83a3a;
  border-radius: 50%;
  transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease;
}

/**
 * Transforme le bouton en contrôle d'arrêt.
 */
.event-memory-video__stage.is-recording .event-memory-video__record-inner {
  width: 2rem;
  height: 2rem;
  border-radius: 0.25rem;
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-memory-video__record:active {
  transform: scale(0.92);
}

/**
 * Présente le libellé du bouton vidéo.
 */
.event-memory-video__record-label {
  font-size: var(--text-sm);
  font-weight: 700;
}

/**
 * Présente le lecteur vidéo de relecture.
 */
.event-memory-video__player {
  display: block;
  width: min(100%, 24rem);
  max-height: 62dvh;
  margin-inline: auto;
  aspect-ratio: 9/16;
  object-fit: contain;
  background: #1f1f1f;
  border-radius: 1.5rem;
}

/**
 * ==========================================================================
 * Confirmation
 * ==========================================================================
 */
/**
 * Présente la confirmation d'envoi.
 */
.event-memory__success {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding-block: 2rem;
}

/**
 * Présente le cœur de confirmation.
 */
.event-memory__success-icon {
  font-size: 4rem;
  line-height: 1;
  animation: event-memory-heart 0.6s ease;
}

/**
 * Anime le cœur après l'envoi.
 */
@keyframes event-memory-heart {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/**
 * Limite la largeur du texte de confirmation.
 */
.event-memory__success > p {
  max-width: 28rem;
  line-height: 1.5;
}

/**
 * Étend les actions de confirmation.
 */
.event-memory__success-actions {
  width: min(100%, 24rem);
}

/**
 * ==========================================================================
 * Upload
 * ==========================================================================
 */
/**
 * Présente le loader d'envoi au-dessus de la webapp.
 */
.event-memory-upload {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
}

/**
 * Masque le loader.
 */
.event-memory-upload[hidden] {
  display: none;
}

/**
 * Présente le panneau d'upload.
 */
.event-memory-upload__panel {
  width: min(100%, 24rem);
  padding: 2rem;
  background: #fdf5f1;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
  text-align: center;
}

/**
 * Présente le message d'envoi.
 */
.event-memory-upload__message {
  margin-bottom: 1.5rem;
  font-size: var(--text-md);
  font-weight: 700;
}

/**
 * Présente le fond de la progression.
 */
.event-memory-upload__progress {
  overflow: hidden;
  width: 100%;
  height: 0.75rem;
  background: rgba(31, 31, 31, 0.1);
  border-radius: 999px;
}

/**
 * Présente la progression réelle.
 */
.event-memory-upload__progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: #f8d8c9;
  border-radius: inherit;
  transition: width 0.15s linear;
}

/**
 * Présente le pourcentage.
 */
.event-memory-upload__percent {
  margin-top: 0.75rem;
  font-size: var(--text-md);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/**
 * Présente le conseil pendant l'upload.
 */
.event-memory-upload__hint {
  margin-top: 1.25rem;
  opacity: 0.6;
}

/**
 * Bloque le défilement pendant l'envoi.
 */
body.has-event-memory-upload {
  overflow: hidden;
}

/**
 * ==========================================================================
 * Responsive
 * ==========================================================================
 */
/**
 * Présente les deux modes sur deux colonnes
 * lorsque l'écran le permet.
 */
@media (min-width: 48rem) {
  .event-memory__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .event-memory-choice {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 16rem;
    text-align: center;
  }
  .event-memory-choice__arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
}
/**
 * Respecte les préférences de réduction
 * des animations.
 */
@media (prefers-reduced-motion: reduce) {
  .event-memory-choice,
  .event-memory-record-button,
  .event-memory-audio__pulse,
  .event-memory__record-dot,
  .event-memory-video__record,
  .event-memory-video__record-inner,
  .event-memory-upload__progress-bar,
  .event-memory__success-icon {
    animation: none;
    transition: none;
  }
}
/**
 * ==========================================================================
 * Vidéos secrètes
 * ==========================================================================
 */
/**
 * Définit les espacements généraux de la collection.
 */
.event-discoveries {
  padding-block: clamp(2.5rem, 8vw, 5rem) clamp(3rem, 10vw, 6rem);
}

/**
 * Masque les composants inactifs.
 */
.event-discoveries [hidden],
.event-discovery-scanner[hidden] {
  display: none;
}

/**
 * ==========================================================================
 * En-tête de la collection
 * ==========================================================================
 */
/**
 * Présente l'introduction de la collection.
 */
.event-discoveries__header {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 8vw, 4rem);
}

/**
 * Limite la largeur de l'introduction.
 */
.event-discoveries__lead {
  max-width: 34rem;
  font-size: var(--text-md);
  line-height: 1.55;
}

/**
 * Présente la progression générale.
 */
.event-discoveries__progress {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 24rem);
  margin-block: 0.5rem;
}

/**
 * Présente le libellé de progression.
 */
.event-discoveries__progress-label {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
}

/**
 * Présente la valeur de progression.
 */
.event-discoveries__progress-label strong {
  font-size: var(--text-xl);
  font-variant-numeric: tabular-nums;
}

/**
 * Présente l'intitulé de progression.
 */
.event-discoveries__progress-label span {
  font-size: var(--text-sm);
  opacity: 0.65;
}

/**
 * Présente le fond de la barre de progression.
 */
.event-discoveries__progress-track {
  overflow: hidden;
  width: 100%;
  height: 0.65rem;
  background: rgba(31, 31, 31, 0.1);
  border-radius: 999px;
}

/**
 * Présente la progression.
 */
.event-discoveries__progress-bar {
  display: block;
  height: 100%;
  background: currentcolor;
  border-radius: inherit;
  transition: width 0.4s ease;
}

/**
 * ==========================================================================
 * Collection complète
 * ==========================================================================
 */
/**
 * Présente le message de collection complète.
 */
.event-discoveries__complete {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 2rem 1.5rem;
  background: rgba(248, 216, 201, 0.45);
  border-radius: 1.5rem;
}

/**
 * Présente l'icône de collection complète.
 */
.event-discoveries__complete-icon {
  font-size: 3rem;
  line-height: 1;
}

/**
 * Limite la largeur du texte.
 */
.event-discoveries__complete p {
  max-width: 30rem;
}

/**
 * ==========================================================================
 * Grille
 * ==========================================================================
 */
/**
 * Organise la collection sur deux colonnes mobiles.
 */
.event-discoveries__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

/**
 * Présente une vidéo de la collection.
 */
.event-discovery-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: #1f1f1f;
  background: white;
  border: 0;
  border-radius: 1.25rem;
  font-family: "Caviar Dreams", sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

/**
 * Ajoute un retour visuel au toucher.
 */
.event-discovery-card:active {
  transform: scale(0.97);
}

/**
 * Présente le média d'une carte.
 */
.event-discovery-card__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(248, 216, 201, 0.5);
}

/**
 * Présente la miniature d'une vidéo débloquée.
 */
.event-discovery-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/**
 * Présente le fallback d'une vidéo sans miniature.
 */
.event-discovery-card__fallback {
  font-size: 3rem;
  line-height: 1;
}

/**
 * Présente le bouton de lecture.
 */
.event-discovery-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding-left: 0.15rem;
  color: #1f1f1f;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
}

/**
 * Présente le contenu textuel.
 */
.event-discovery-card__content {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 1rem;
}

/**
 * Présente le numéro de la vidéo.
 */
.event-discovery-card__number {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

/**
 * Présente le titre.
 */
.event-discovery-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.25;
}

/**
 * Présente l'état de la vidéo.
 */
.event-discovery-card__status {
  font-size: var(--text-xs);
  opacity: 0.65;
}

/**
 * ==========================================================================
 * Vidéo verrouillée
 * ==========================================================================
 */
/**
 * Grise volontairement une vidéo encore secrète.
 */
.event-discovery-card--locked {
  opacity: 0.68;
}

/**
 * Présente une zone média sobre.
 */
.event-discovery-card--locked .event-discovery-card__media::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 100;
  background: black;
  opacity: 0.8;
}

/**
 * Présente le cadenas.
 */
.event-discovery-card__lock {
  font-size: 2.75rem;
  line-height: 1;
  z-index: 1000;
  position: absolute;
}

/**
 * ==========================================================================
 * Bottom sheet verrouillée
 * ==========================================================================
 */
/**
 * Positionne la bottom sheet.
 */
.event-discovery-lock {
  position: fixed;
  inset: 0;
  z-index: 960;
}

/**
 * Présente le fond sombre.
 */
.event-discovery-lock__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/**
 * Présente le panneau.
 */
.event-discovery-lock__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  background: #fdf5f1;
  border-radius: 1.5rem 1.5rem 0 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

/**
 * Présente le backdrop ouvert.
 */
.event-discovery-lock.is-open .event-discovery-lock__backdrop {
  opacity: 1;
}

/**
 * Présente le panneau ouvert.
 */
.event-discovery-lock.is-open .event-discovery-lock__panel {
  transform: translateY(0);
}

/**
 * Présente le cadenas.
 */
.event-discovery-lock__icon {
  font-size: 3rem;
  line-height: 1;
}

/**
 * Limite la largeur du texte.
 */
.event-discovery-lock__lead {
  max-width: 28rem;
  line-height: 1.5;
}

/**
 * Présente la zone d'indice.
 */
.event-discovery-lock__hint {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
}

/**
 * Présente le bouton révélant l'indice.
 */
.event-discovery-lock__hint-button {
  padding: 0.5rem;
  color: #1f1f1f;
  background: transparent;
  border: 0;
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

/**
 * Présente l'indice révélé.
 */
.event-discovery-lock__hint-content {
  width: 100%;
  max-width: 28rem;
  margin: 0;
  padding: 1rem;
  background: rgba(248, 216, 201, 0.45);
  border-radius: 1rem;
  font-size: var(--text-sm);
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

/**
 * Organise les actions.
 */
.event-discovery-lock__actions {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: min(100%, 24rem);
}

/**
 * Présente les actions secondaires des découvertes.
 */
.event-discovery__secondary-action {
  width: fit-content;
  padding: 0.5rem;
  color: #1f1f1f;
  background: transparent;
  border: 0;
  font-family: "Caviar Dreams", sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

/**
 * Bloque le document derrière la bottom sheet.
 */
body.has-event-discovery-lock {
  overflow: hidden;
}

/**
 * ==========================================================================
 * Scanner QR
 * ==========================================================================
 */
/**
 * Présente le scanner en plein écran.
 */
.event-discovery-scanner {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: #000;
}

/**
 * Étend la boîte de dialogue.
 */
.event-discovery-scanner__dialog {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/**
 * Affiche le retour caméra.
 */
.event-discovery-scanner__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/**
 * Assombrit légèrement la caméra.
 */
.event-discovery-scanner__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

/**
 * Présente la cible centrale.
 */
.event-discovery-scanner__target {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(68vw, 18rem);
  aspect-ratio: 1;
  transform: translate(-50%, -54%);
}

/**
 * Dessine les quatre coins du viseur.
 */
.event-discovery-scanner__target span {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border-color: #fff;
  border-style: solid;
  border-width: 0;
}

/**
 * Coin supérieur gauche.
 */
.event-discovery-scanner__target span:nth-child(1) {
  top: 0;
  left: 0;
  border-top-width: 0.25rem;
  border-left-width: 0.25rem;
  border-radius: 0.75rem 0 0;
}

/**
 * Coin supérieur droit.
 */
.event-discovery-scanner__target span:nth-child(2) {
  top: 0;
  right: 0;
  border-top-width: 0.25rem;
  border-right-width: 0.25rem;
  border-radius: 0 0.75rem 0 0;
}

/**
 * Coin inférieur droit.
 */
.event-discovery-scanner__target span:nth-child(3) {
  right: 0;
  bottom: 0;
  border-right-width: 0.25rem;
  border-bottom-width: 0.25rem;
  border-radius: 0 0 0.75rem;
}

/**
 * Coin inférieur gauche.
 */
.event-discovery-scanner__target span:nth-child(4) {
  bottom: 0;
  left: 0;
  border-bottom-width: 0.25rem;
  border-left-width: 0.25rem;
  border-radius: 0 0 0 0.75rem;
}

/**
 * Présente le bouton de fermeture.
 */
.event-discovery-scanner__close {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top));
  left: 1rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  border-radius: 50%;
}

/**
 * Dimensionne la croix.
 */
.event-discovery-scanner__close span {
  font-size: 2rem;
  line-height: 1;
}

/**
 * Présente les informations du scanner.
 */
.event-discovery-scanner__content {
  position: absolute;
  right: 1.5rem;
  bottom: calc(2rem + env(safe-area-inset-bottom));
  left: 1.5rem;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 0.15rem 0.75rem rgba(0, 0, 0, 0.6);
}

/**
 * Supprime les marges du statut.
 */
.event-discovery-scanner__content p {
  margin: 0;
}

/**
 * Bloque la webapp pendant le scan.
 */
body.has-event-discovery-scanner {
  overflow: hidden;
}

/**
 * ==========================================================================
 * Page d'une vidéo débloquée
 * ==========================================================================
 */
/**
 * Définit les espacements.
 */
.event-discovery-single {
  padding-block: clamp(2.5rem, 8vw, 5rem) clamp(3rem, 10vw, 6rem);
}

/**
 * Présente l'en-tête de la découverte.
 */
.event-discovery-single__header {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/**
 * Présente l'icône de découverte.
 */
.event-discovery-single__celebration {
  font-size: 3.5rem;
  line-height: 1;
}

/**
 * Présente le numéro secret.
 */
.event-discovery-single__number {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}

/**
 * Présente le lecteur vidéo principal.
 */
.event-discovery-single__player {
  width: min(100%, 50rem);
  margin-inline: auto;
}

/**
 * Dimensionne la vidéo.
 */
.event-discovery-single__player video {
  display: block;
  width: 100%;
  max-height: 72dvh;
  background: #000;
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(31, 31, 31, 0.18);
}

/**
 * Présente une vidéo manquante.
 */
.event-discovery-single__media-error {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 4rem 1.5rem;
  background: rgba(248, 216, 201, 0.35);
  border-radius: 1.25rem;
  text-align: center;
}

/**
 * Dimensionne son icône.
 */
.event-discovery-single__media-error span {
  font-size: 3rem;
}

/**
 * Présente la description.
 */
.event-discovery-single__description {
  max-width: 42rem;
  margin: 2rem auto 0;
  font-size: var(--text-md);
  line-height: 1.65;
}

/**
 * Présente la progression.
 */
.event-discovery-single__progress {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 24rem);
  margin: 2.5rem auto 0;
  text-align: center;
}

/**
 * Supprime la marge du libellé.
 */
.event-discovery-single__progress p {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
}

/**
 * Présente la collection complète.
 */
.event-discovery-single__complete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem auto 0;
  padding: 1rem;
  background: rgba(248, 216, 201, 0.45);
  border-radius: 1rem;
}

/**
 * Organise les actions finales.
 */
.event-discovery-single__actions {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: min(100%, 24rem);
  margin: 2.5rem auto 0;
}

/**
 * ==========================================================================
 * État vide
 * ==========================================================================
 */
/**
 * Présente l'état vide.
 */
.event-discoveries__empty {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  background: rgba(248, 216, 201, 0.25);
  border-radius: 1.5rem;
  text-align: center;
}

/**
 * Dimensionne l'icône.
 */
.event-discoveries__empty > span {
  font-size: 3rem;
}

/**
 * ==========================================================================
 * Responsive
 * ==========================================================================
 */
@media (min-width: 48rem) {
  .event-discoveries__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .event-discovery-lock__panel {
    right: 50%;
    left: auto;
    width: min(100%, 34rem);
    transform: translate(50%, 100%);
  }
  .event-discovery-lock.is-open .event-discovery-lock__panel {
    transform: translate(50%, 0);
  }
}
@media (min-width: 62rem) {
  .event-discoveries__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/**
 * Respecte les préférences d'animations réduites.
 */
@media (prefers-reduced-motion: reduce) {
  .event-discoveries__progress-bar,
  .event-discovery-card,
  .event-discovery-lock__backdrop,
  .event-discovery-lock__panel {
    transition: none;
  }
}
/**
 * Charge les styles de Fancybox.
 */
:root {
  --f-spinner-width: 36px;
  --f-spinner-height: 36px;
  --f-spinner-color-1: rgba(0, 0, 0, 0.1);
  --f-spinner-color-2: rgba(17, 24, 28, 0.8);
  --f-spinner-stroke: 2.75;
}

.f-spinner {
  margin: auto;
  padding: 0;
  width: var(--f-spinner-width);
  height: var(--f-spinner-height);
}

.f-spinner svg {
  width: 100%;
  height: 100%;
  vertical-align: top;
  animation: f-spinner-rotate 2s linear infinite;
}

.f-spinner svg * {
  stroke-width: var(--f-spinner-stroke);
  fill: none;
}

.f-spinner svg *:first-child {
  stroke: var(--f-spinner-color-1);
}

.f-spinner svg *:last-child {
  stroke: var(--f-spinner-color-2);
  animation: f-spinner-dash 2s ease-in-out infinite;
}

@keyframes f-spinner-rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes f-spinner-dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
.f-throwOutUp {
  animation: var(--f-throw-out-duration, 0.175s) ease-out both f-throwOutUp;
}

.f-throwOutDown {
  animation: var(--f-throw-out-duration, 0.175s) ease-out both f-throwOutDown;
}

@keyframes f-throwOutUp {
  to {
    transform: translate3d(0, calc(var(--f-throw-out-distance, 150px) * -1), 0);
    opacity: 0;
  }
}
@keyframes f-throwOutDown {
  to {
    transform: translate3d(0, var(--f-throw-out-distance, 150px), 0);
    opacity: 0;
  }
}
.f-zoomInUp {
  animation: var(--f-transition-duration, 0.2s) ease 0.1s both f-zoomInUp;
}

.f-zoomOutDown {
  animation: var(--f-transition-duration, 0.2s) ease both f-zoomOutDown;
}

@keyframes f-zoomInUp {
  from {
    transform: scale(0.975) translate3d(0, 16px, 0);
    opacity: 0;
  }
  to {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes f-zoomOutDown {
  to {
    transform: scale(0.975) translate3d(0, 16px, 0);
    opacity: 0;
  }
}
.f-fadeIn {
  animation: var(--f-transition-duration, 0.2s) var(--f-transition-easing, ease) var(--f-transition-delay, 0s) both f-fadeIn;
  z-index: 2;
}

.f-fadeOut {
  animation: var(--f-transition-duration, 0.2s) var(--f-transition-easing, ease) var(--f-transition-delay, 0s) both f-fadeOut;
  z-index: 1;
}

@keyframes f-fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes f-fadeOut {
  100% {
    opacity: 0;
  }
}
.f-fadeFastIn {
  animation: var(--f-transition-duration, 0.2s) ease-out both f-fadeFastIn;
  z-index: 2;
}

.f-fadeFastOut {
  animation: var(--f-transition-duration, 0.1s) ease-out both f-fadeFastOut;
  z-index: 2;
}

@keyframes f-fadeFastIn {
  0% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
  }
}
@keyframes f-fadeFastOut {
  100% {
    opacity: 0;
  }
}
.f-fadeSlowIn {
  animation: var(--f-transition-duration, 0.5s) ease both f-fadeSlowIn;
  z-index: 2;
}

.f-fadeSlowOut {
  animation: var(--f-transition-duration, 0.5s) ease both f-fadeSlowOut;
  z-index: 1;
}

@keyframes f-fadeSlowIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes f-fadeSlowOut {
  100% {
    opacity: 0;
  }
}
.f-crossfadeIn {
  animation: var(--f-transition-duration, 0.2s) ease-out both f-crossfadeIn;
  z-index: 2;
}

.f-crossfadeOut {
  animation: calc(var(--f-transition-duration, 0.2s) * 0.5) linear 0.1s both f-crossfadeOut;
  z-index: 1;
}

@keyframes f-crossfadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes f-crossfadeOut {
  100% {
    opacity: 0;
  }
}
.f-slideIn.from-next {
  animation: var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-slideInNext;
}

.f-slideIn.from-prev {
  animation: var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-slideInPrev;
}

.f-slideOut.to-next {
  animation: var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-slideOutNext;
}

.f-slideOut.to-prev {
  animation: var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-slideOutPrev;
}

@keyframes f-slideInPrev {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes f-slideInNext {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes f-slideOutNext {
  100% {
    transform: translateX(-100%);
  }
}
@keyframes f-slideOutPrev {
  100% {
    transform: translateX(100%);
  }
}
.f-classicIn.from-next {
  animation: var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-classicInNext;
  z-index: 2;
}

.f-classicIn.from-prev {
  animation: var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-classicInPrev;
  z-index: 2;
}

.f-classicOut.to-next {
  animation: var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-classicOutNext;
  z-index: 1;
}

.f-classicOut.to-prev {
  animation: var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-classicOutPrev;
  z-index: 1;
}

@keyframes f-classicInNext {
  0% {
    transform: translateX(-75px);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes f-classicInPrev {
  0% {
    transform: translateX(75px);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes f-classicOutNext {
  100% {
    transform: translateX(-75px);
    opacity: 0;
  }
}
@keyframes f-classicOutPrev {
  100% {
    transform: translateX(75px);
    opacity: 0;
  }
}
:root {
  --f-button-width: 40px;
  --f-button-height: 40px;
  --f-button-border: 0;
  --f-button-border-radius: 0;
  --f-button-color: #374151;
  --f-button-bg: #f8f8f8;
  --f-button-hover-bg: #e0e0e0;
  --f-button-active-bg: #d0d0d0;
  --f-button-shadow: none;
  --f-button-transition: all 0.15s ease;
  --f-button-transform: none;
  --f-button-svg-width: 20px;
  --f-button-svg-height: 20px;
  --f-button-svg-stroke-width: 1.5;
  --f-button-svg-fill: none;
  --f-button-svg-filter: none;
  --f-button-svg-disabled-opacity: 0.65;
}

.f-button {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: content-box;
  position: relative;
  margin: 0;
  padding: 0;
  width: var(--f-button-width);
  height: var(--f-button-height);
  border: var(--f-button-border);
  border-radius: var(--f-button-border-radius);
  color: var(--f-button-color);
  background: var(--f-button-bg);
  box-shadow: var(--f-button-shadow);
  pointer-events: all;
  cursor: pointer;
  transition: var(--f-button-transition);
}

@media (hover: hover) {
  .f-button:hover:not([disabled]) {
    color: var(--f-button-hover-color);
    background-color: var(--f-button-hover-bg);
  }
}
.f-button:active:not([disabled]) {
  background-color: var(--f-button-active-bg);
}

.f-button:focus:not(:focus-visible) {
  outline: none;
}

.f-button:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 var(--f-button-outline, 2px) var(--f-button-outline-color, var(--f-button-color));
}

.f-button svg {
  width: var(--f-button-svg-width);
  height: var(--f-button-svg-height);
  fill: var(--f-button-svg-fill);
  stroke: currentColor;
  stroke-width: var(--f-button-svg-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.15s ease;
  transform: var(--f-button-transform);
  filter: var(--f-button-svg-filter);
  pointer-events: none;
}

.f-button[disabled] {
  cursor: default;
}

.f-button[disabled] svg {
  opacity: var(--f-button-svg-disabled-opacity);
}

.f-carousel__nav .f-button.is-prev, .f-carousel__nav .f-button.is-next, .fancybox__nav .f-button.is-prev, .fancybox__nav .f-button.is-next {
  position: absolute;
  z-index: 1;
}

.is-horizontal .f-carousel__nav .f-button.is-prev, .is-horizontal .f-carousel__nav .f-button.is-next, .is-horizontal .fancybox__nav .f-button.is-prev, .is-horizontal .fancybox__nav .f-button.is-next {
  top: 50%;
  transform: translateY(-50%);
}

.is-horizontal .f-carousel__nav .f-button.is-prev, .is-horizontal .fancybox__nav .f-button.is-prev {
  left: var(--f-button-prev-pos);
}

.is-horizontal .f-carousel__nav .f-button.is-next, .is-horizontal .fancybox__nav .f-button.is-next {
  right: var(--f-button-next-pos);
}

.is-horizontal.is-rtl .f-carousel__nav .f-button.is-prev, .is-horizontal.is-rtl .fancybox__nav .f-button.is-prev {
  left: auto;
  right: var(--f-button-next-pos);
}

.is-horizontal.is-rtl .f-carousel__nav .f-button.is-next, .is-horizontal.is-rtl .fancybox__nav .f-button.is-next {
  right: auto;
  left: var(--f-button-prev-pos);
}

.is-vertical .f-carousel__nav .f-button.is-prev, .is-vertical .f-carousel__nav .f-button.is-next, .is-vertical .fancybox__nav .f-button.is-prev, .is-vertical .fancybox__nav .f-button.is-next {
  top: auto;
  left: 50%;
  transform: translateX(-50%);
}

.is-vertical .f-carousel__nav .f-button.is-prev, .is-vertical .fancybox__nav .f-button.is-prev {
  top: var(--f-button-next-pos);
}

.is-vertical .f-carousel__nav .f-button.is-next, .is-vertical .fancybox__nav .f-button.is-next {
  bottom: var(--f-button-next-pos);
}

.is-vertical .f-carousel__nav .f-button.is-prev svg, .is-vertical .f-carousel__nav .f-button.is-next svg, .is-vertical .fancybox__nav .f-button.is-prev svg, .is-vertical .fancybox__nav .f-button.is-next svg {
  transform: rotate(90deg);
}

.f-carousel__nav .f-button:disabled, .fancybox__nav .f-button:disabled {
  pointer-events: none;
}

html.with-fancybox {
  width: auto;
  overflow: visible;
  scroll-behavior: auto;
}

html.with-fancybox body {
  touch-action: none;
}

html.with-fancybox body.hide-scrollbar {
  width: auto;
  margin-right: calc(var(--fancybox-body-margin, 0px) + var(--fancybox-scrollbar-compensate, 0px));
  overflow: hidden !important;
  overscroll-behavior-y: none;
}

.fancybox__container {
  --fancybox-color: #dbdbdb;
  --fancybox-hover-color: #fff;
  --fancybox-bg: rgba(24, 24, 27, 0.98);
  --fancybox-slide-gap: 10px;
  --f-spinner-width: 50px;
  --f-spinner-height: 50px;
  --f-spinner-color-1: rgba(255, 255, 255, 0.1);
  --f-spinner-color-2: #bbb;
  --f-spinner-stroke: 3.65;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  direction: ltr;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #f8f8f8;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow: visible;
  z-index: var(--fancybox-zIndex, 1050);
  outline: none;
  transform-origin: top left;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overscroll-behavior-y: contain;
}

.fancybox__container *, .fancybox__container *::before, .fancybox__container *::after {
  box-sizing: inherit;
}

.fancybox__container::backdrop {
  background-color: rgba(0, 0, 0, 0);
}

.fancybox__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  background: var(--fancybox-bg);
  opacity: var(--fancybox-opacity, 1);
  will-change: opacity;
}

.fancybox__carousel {
  position: relative;
  box-sizing: border-box;
  flex: 1;
  min-height: 0;
  z-index: 10;
  overflow-y: visible;
  overflow-x: clip;
}

.fancybox__viewport {
  width: 100%;
  height: 100%;
}

.fancybox__viewport.is-draggable {
  cursor: move;
  cursor: grab;
}

.fancybox__viewport.is-dragging {
  cursor: move;
  cursor: grabbing;
}

.fancybox__track {
  display: flex;
  margin: 0 auto;
  height: 100%;
}

.fancybox__slide {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0 var(--fancybox-slide-gap) 0 0;
  padding: 4px;
  overflow: auto;
  overscroll-behavior: contain;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn {
  padding-top: 40px;
}

.fancybox__slide.has-iframe, .fancybox__slide.has-video, .fancybox__slide.has-html5video {
  overflow: hidden;
}

.fancybox__slide.has-image {
  overflow: hidden;
}

.fancybox__slide.has-image.is-animating, .fancybox__slide.has-image.is-selected {
  overflow: visible;
}

.fancybox__slide::before, .fancybox__slide::after {
  content: "";
  flex: 0 0 0;
  margin: auto;
}

.fancybox__backdrop:empty, .fancybox__viewport:empty, .fancybox__track:empty, .fancybox__slide:empty {
  display: block;
}

.fancybox__content {
  align-self: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  padding: 2rem;
  max-width: 100%;
  color: var(--fancybox-content-color, #374151);
  background: var(--fancybox-content-bg, #fff);
  cursor: default;
  border-radius: 0;
  z-index: 20;
}

.is-loading .fancybox__content {
  opacity: 0;
}

.is-draggable .fancybox__content {
  cursor: move;
  cursor: grab;
}

.can-zoom_in .fancybox__content {
  cursor: zoom-in;
}

.can-zoom_out .fancybox__content {
  cursor: zoom-out;
}

.is-dragging .fancybox__content {
  cursor: move;
  cursor: grabbing;
}

.fancybox__content [data-selectable], .fancybox__content [contenteditable] {
  cursor: auto;
}

.fancybox__slide.has-image > .fancybox__content {
  padding: 0;
  background: rgba(0, 0, 0, 0);
  min-height: 1px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  transition: none;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.fancybox__slide.has-image > .fancybox__content > picture > img {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.is-animating .fancybox__content, .is-dragging .fancybox__content {
  will-change: transform, width, height;
}

.fancybox-image {
  margin: auto;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  user-select: none;
  filter: blur(0px);
}

.fancybox__caption {
  align-self: center;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0;
  padding: 14px 0 4px 0;
  overflow-wrap: anywhere;
  line-height: 1.375;
  color: var(--fancybox-color, currentColor);
  opacity: var(--fancybox-opacity, 1);
  cursor: auto;
  visibility: visible;
}

.is-loading .fancybox__caption, .is-closing .fancybox__caption {
  opacity: 0;
  visibility: hidden;
}

.is-compact .fancybox__caption {
  padding-bottom: 0;
}

.f-button.is-close-btn {
  --f-button-svg-stroke-width: 2;
  position: absolute;
  top: 0;
  right: 8px;
  z-index: 40;
}

.fancybox__content > .f-button.is-close-btn {
  --f-button-width: 34px;
  --f-button-height: 34px;
  --f-button-border-radius: 4px;
  --f-button-color: var(--fancybox-color, #fff);
  --f-button-hover-color: var(--fancybox-color, #fff);
  --f-button-bg: transparent;
  --f-button-hover-bg: transparent;
  --f-button-active-bg: transparent;
  --f-button-svg-width: 22px;
  --f-button-svg-height: 22px;
  position: absolute;
  top: -38px;
  right: 0;
  opacity: 0.75;
}

.is-loading .fancybox__content > .f-button.is-close-btn {
  visibility: hidden;
}

.is-zooming-out .fancybox__content > .f-button.is-close-btn {
  visibility: hidden;
}

.fancybox__content > .f-button.is-close-btn:hover {
  opacity: 1;
}

.fancybox__footer {
  padding: 0;
  margin: 0;
  position: relative;
}

.fancybox__footer .fancybox__caption {
  width: 100%;
  padding: 24px;
  opacity: var(--fancybox-opacity, 1);
  transition: all 0.25s ease;
}

.is-compact .fancybox__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(24, 24, 27, 0.5);
}

.is-compact .fancybox__footer .fancybox__caption {
  padding: 12px;
}

.is-compact .fancybox__content > .f-button.is-close-btn {
  --f-button-border-radius: 50%;
  --f-button-color: #fff;
  --f-button-hover-color: #fff;
  --f-button-outline-color: #000;
  --f-button-bg: rgba(0, 0, 0, 0.6);
  --f-button-active-bg: rgba(0, 0, 0, 0.6);
  --f-button-hover-bg: rgba(0, 0, 0, 0.6);
  --f-button-svg-width: 18px;
  --f-button-svg-height: 18px;
  --f-button-svg-filter: none;
  top: 5px;
  right: 5px;
}

.fancybox__nav {
  --f-button-width: 50px;
  --f-button-height: 50px;
  --f-button-border: 0;
  --f-button-border-radius: 50%;
  --f-button-color: var(--fancybox-color);
  --f-button-hover-color: var(--fancybox-hover-color);
  --f-button-bg: transparent;
  --f-button-hover-bg: rgba(24, 24, 27, 0.3);
  --f-button-active-bg: rgba(24, 24, 27, 0.5);
  --f-button-shadow: none;
  --f-button-transition: all 0.15s ease;
  --f-button-transform: none;
  --f-button-svg-width: 26px;
  --f-button-svg-height: 26px;
  --f-button-svg-stroke-width: 2.5;
  --f-button-svg-fill: none;
  --f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, 0.5));
  --f-button-svg-disabled-opacity: 0.65;
  --f-button-next-pos: 1rem;
  --f-button-prev-pos: 1rem;
  opacity: var(--fancybox-opacity, 1);
}

.fancybox__nav .f-button:before {
  position: absolute;
  content: "";
  top: -30px;
  right: -20px;
  left: -20px;
  bottom: -30px;
  z-index: 1;
}

.is-idle .fancybox__nav {
  animation: 0.15s ease-out both f-fadeOut;
}

.is-idle.is-compact .fancybox__footer {
  pointer-events: none;
  animation: 0.15s ease-out both f-fadeOut;
}

.fancybox__slide > .f-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: var(--f-spinner-top, calc(var(--f-spinner-width) * -0.5)) 0 0 var(--f-spinner-left, calc(var(--f-spinner-height) * -0.5));
  z-index: 30;
  cursor: pointer;
}

.fancybox-protected {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  user-select: none;
}

.fancybox-ghost {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  z-index: 40;
  user-select: none;
  pointer-events: none;
}

.fancybox-focus-guard {
  outline: none;
  opacity: 0;
  position: fixed;
  pointer-events: none;
}

.fancybox__container:not([aria-hidden]) {
  opacity: 0;
}

.fancybox__container.is-animated[aria-hidden=false] > *:not(.fancybox__backdrop, .fancybox__carousel), .fancybox__container.is-animated[aria-hidden=false] .fancybox__carousel > *:not(.fancybox__viewport), .fancybox__container.is-animated[aria-hidden=false] .fancybox__slide > *:not(.fancybox__content) {
  animation: var(--f-interface-enter-duration, 0.25s) ease 0.1s backwards f-fadeIn;
}

.fancybox__container.is-animated[aria-hidden=false] .fancybox__backdrop {
  animation: var(--f-backdrop-enter-duration, 0.35s) ease backwards f-fadeIn;
}

.fancybox__container.is-animated[aria-hidden=true] > *:not(.fancybox__backdrop, .fancybox__carousel), .fancybox__container.is-animated[aria-hidden=true] .fancybox__carousel > *:not(.fancybox__viewport), .fancybox__container.is-animated[aria-hidden=true] .fancybox__slide > *:not(.fancybox__content) {
  animation: var(--f-interface-exit-duration, 0.15s) ease forwards f-fadeOut;
}

.fancybox__container.is-animated[aria-hidden=true] .fancybox__backdrop {
  animation: var(--f-backdrop-exit-duration, 0.35s) ease forwards f-fadeOut;
}

.has-iframe .fancybox__content, .has-map .fancybox__content, .has-pdf .fancybox__content, .has-youtube .fancybox__content, .has-vimeo .fancybox__content, .has-html5video .fancybox__content {
  max-width: 100%;
  flex-shrink: 1;
  min-height: 1px;
  overflow: visible;
}

.has-iframe .fancybox__content, .has-map .fancybox__content, .has-pdf .fancybox__content {
  width: calc(100% - 120px);
  height: 90%;
}

.fancybox__container.is-compact .has-iframe .fancybox__content, .fancybox__container.is-compact .has-map .fancybox__content, .fancybox__container.is-compact .has-pdf .fancybox__content {
  width: 100%;
  height: 100%;
}

.has-youtube .fancybox__content, .has-vimeo .fancybox__content, .has-html5video .fancybox__content {
  width: 960px;
  height: 540px;
  max-width: 100%;
  max-height: 100%;
}

.has-map .fancybox__content, .has-pdf .fancybox__content, .has-youtube .fancybox__content, .has-vimeo .fancybox__content, .has-html5video .fancybox__content {
  padding: 0;
  background: rgba(24, 24, 27, 0.9);
  color: #fff;
}

.has-map .fancybox__content {
  background: #e5e3df;
}

.fancybox__html5video, .fancybox__iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0);
}

.fancybox-placeholder {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.f-carousel__thumbs {
  --f-thumb-width: 96px;
  --f-thumb-height: 72px;
  --f-thumb-outline: 0;
  --f-thumb-outline-color: #5eb0ef;
  --f-thumb-opacity: 1;
  --f-thumb-hover-opacity: 1;
  --f-thumb-selected-opacity: 1;
  --f-thumb-border-radius: 2px;
  --f-thumb-offset: 0px;
  --f-button-next-pos: 0;
  --f-button-prev-pos: 0;
}

.f-carousel__thumbs.is-classic {
  --f-thumb-gap: 8px;
  --f-thumb-opacity: 0.5;
  --f-thumb-hover-opacity: 1;
  --f-thumb-selected-opacity: 1;
}

.f-carousel__thumbs.is-modern {
  --f-thumb-gap: 4px;
  --f-thumb-extra-gap: 16px;
  --f-thumb-clip-width: 46px;
}

.f-thumbs {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
  perspective: 1000px;
  transform: translateZ(0);
}

.f-thumbs .f-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background-image: linear-gradient(#ebeff2, #e2e8f0);
  z-index: -1;
}

.f-thumbs .f-spinner svg {
  display: none;
}

.f-thumbs.is-vertical {
  height: 100%;
}

.f-thumbs__viewport {
  width: 100%;
  height: auto;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.f-thumbs__track {
  display: flex;
}

.f-thumbs__slide {
  position: relative;
  flex: 0 0 auto;
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: var(--f-thumb-width);
  height: var(--f-thumb-height);
  overflow: visible;
  cursor: pointer;
}

.f-thumbs__slide.is-loading img {
  opacity: 0;
}

.is-classic .f-thumbs__viewport {
  height: 100%;
}

.is-modern .f-thumbs__track {
  width: max-content;
}

.is-modern .f-thumbs__track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((var(--f-thumb-clip-width, 0)) * -0.5);
  width: calc(var(--width, 0) * 1px + var(--f-thumb-clip-width, 0));
  cursor: pointer;
}

.is-modern .f-thumbs__slide {
  width: var(--f-thumb-clip-width);
  transform: translate3d(calc(var(--shift, 0) * -1px), 0, 0);
  transition: none;
  pointer-events: none;
}

.is-modern.is-resting .f-thumbs__slide {
  transition: transform 0.33s ease;
}

.is-modern.is-resting .f-thumbs__slide__button {
  transition: clip-path 0.33s ease;
}

.is-using-tab .is-modern .f-thumbs__slide:focus-within {
  filter: drop-shadow(-1px 0px 0px var(--f-thumb-outline-color)) drop-shadow(2px 0px 0px var(--f-thumb-outline-color)) drop-shadow(0px -1px 0px var(--f-thumb-outline-color)) drop-shadow(0px 2px 0px var(--f-thumb-outline-color));
}

.f-thumbs__slide__button {
  appearance: none;
  width: var(--f-thumb-width);
  height: 100%;
  margin: 0 -100% 0 -100%;
  padding: 0;
  border: 0;
  position: relative;
  border-radius: var(--f-thumb-border-radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0);
  outline: none;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  opacity: var(--f-thumb-opacity);
  transition: opacity 0.2s ease;
}

.f-thumbs__slide__button:hover {
  opacity: var(--f-thumb-hover-opacity);
}

.f-thumbs__slide__button:focus:not(:focus-visible) {
  outline: none;
}

.f-thumbs__slide__button:focus-visible {
  outline: none;
  opacity: var(--f-thumb-selected-opacity);
}

.is-modern .f-thumbs__slide__button {
  --clip-path: inset( 0 calc( ((var(--f-thumb-width, 0) - var(--f-thumb-clip-width, 0))) * (1 - var(--progress, 0)) * 0.5 ) round var(--f-thumb-border-radius, 0) );
  clip-path: var(--clip-path);
}

.is-classic .is-nav-selected .f-thumbs__slide__button {
  opacity: var(--f-thumb-selected-opacity);
}

.is-classic .is-nav-selected .f-thumbs__slide__button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  bottom: 0;
  border: var(--f-thumb-outline, 0) solid var(--f-thumb-outline-color, transparent);
  border-radius: var(--f-thumb-border-radius);
  animation: f-fadeIn 0.2s ease-out;
  z-index: 10;
}

.f-thumbs__slide__img {
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: var(--f-thumb-offset);
  box-sizing: border-box;
  pointer-events: none;
  object-fit: cover;
  border-radius: var(--f-thumb-border-radius);
}

.f-thumbs.is-horizontal .f-thumbs__track {
  padding: 8px 0 12px 0;
}

.f-thumbs.is-horizontal .f-thumbs__slide {
  margin: 0 var(--f-thumb-gap) 0 0;
}

.f-thumbs.is-vertical .f-thumbs__track {
  flex-wrap: wrap;
  padding: 0 8px;
}

.f-thumbs.is-vertical .f-thumbs__slide {
  margin: 0 0 var(--f-thumb-gap) 0;
}

.fancybox__thumbs {
  --f-thumb-width: 96px;
  --f-thumb-height: 72px;
  --f-thumb-border-radius: 2px;
  --f-thumb-outline: 2px;
  --f-thumb-outline-color: #ededed;
  position: relative;
  opacity: var(--fancybox-opacity, 1);
  transition: max-height 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.fancybox__thumbs.is-classic {
  --f-thumb-gap: 8px;
  --f-thumb-opacity: 0.5;
  --f-thumb-hover-opacity: 1;
}

.fancybox__thumbs.is-classic .f-spinner {
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.fancybox__thumbs.is-modern {
  --f-thumb-gap: 4px;
  --f-thumb-extra-gap: 16px;
  --f-thumb-clip-width: 46px;
  --f-thumb-opacity: 1;
  --f-thumb-hover-opacity: 1;
}

.fancybox__thumbs.is-modern .f-spinner {
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.fancybox__thumbs.is-horizontal {
  padding: 0 var(--f-thumb-gap);
}

.fancybox__thumbs.is-vertical {
  padding: var(--f-thumb-gap) 0;
}

.is-compact .fancybox__thumbs {
  --f-thumb-width: 64px;
  --f-thumb-clip-width: 32px;
  --f-thumb-height: 48px;
  --f-thumb-extra-gap: 10px;
}

.fancybox__thumbs.is-masked {
  max-height: 0px !important;
}

.is-closing .fancybox__thumbs {
  transition: none !important;
}

.fancybox__toolbar {
  --f-progress-color: var(--fancybox-color, rgba(255, 255, 255, 0.94));
  --f-button-width: 46px;
  --f-button-height: 46px;
  --f-button-color: var(--fancybox-color);
  --f-button-hover-color: var(--fancybox-hover-color);
  --f-button-bg: rgba(24, 24, 27, 0.65);
  --f-button-hover-bg: rgba(70, 70, 73, 0.65);
  --f-button-active-bg: rgba(90, 90, 93, 0.65);
  --f-button-border-radius: 0;
  --f-button-svg-width: 24px;
  --f-button-svg-height: 24px;
  --f-button-svg-stroke-width: 1.5;
  --f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, 0.15));
  --f-button-svg-fill: none;
  --f-button-svg-disabled-opacity: 0.65;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif;
  color: var(--fancybox-color, currentColor);
  opacity: var(--fancybox-opacity, 1);
  text-shadow: var(--fancybox-toolbar-text-shadow, 1px 1px 1px rgba(0, 0, 0, 0.5));
  pointer-events: none;
  z-index: 20;
}

.fancybox__toolbar :focus-visible {
  z-index: 1;
}

.fancybox__toolbar.is-absolute, .is-compact .fancybox__toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.is-idle .fancybox__toolbar {
  pointer-events: none;
  animation: 0.15s ease-out both f-fadeOut;
}

.fancybox__toolbar__column {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
}

.fancybox__toolbar__column.is-left, .fancybox__toolbar__column.is-right {
  flex-grow: 1;
  flex-basis: 0;
}

.fancybox__toolbar__column.is-right {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.fancybox__infobar {
  padding: 0 5px;
  line-height: var(--f-button-height);
  text-align: center;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: subpixel-antialiased;
  cursor: default;
  user-select: none;
}

.fancybox__infobar span {
  padding: 0 5px;
}

.fancybox__infobar:not(:first-child):not(:last-child) {
  background: var(--f-button-bg);
}

[data-fancybox-toggle-slideshow] {
  position: relative;
}

[data-fancybox-toggle-slideshow] .f-progress {
  height: 100%;
  opacity: 0.3;
}

[data-fancybox-toggle-slideshow] svg g:first-child {
  display: flex;
}

[data-fancybox-toggle-slideshow] svg g:last-child {
  display: none;
}

.has-slideshow [data-fancybox-toggle-slideshow] svg g:first-child {
  display: none;
}

.has-slideshow [data-fancybox-toggle-slideshow] svg g:last-child {
  display: flex;
}

[data-fancybox-toggle-fullscreen] svg g:first-child {
  display: flex;
}

[data-fancybox-toggle-fullscreen] svg g:last-child {
  display: none;
}

:fullscreen [data-fancybox-toggle-fullscreen] svg g:first-child {
  display: none;
}

:fullscreen [data-fancybox-toggle-fullscreen] svg g:last-child {
  display: flex;
}

.f-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0;
  transition-property: transform;
  transition-timing-function: linear;
  background: var(--f-progress-color, var(--f-carousel-theme-color, #0091ff));
  z-index: 30;
  user-select: none;
  pointer-events: none;
}

body {
  color-scheme: light;
  background-color: var(--color-snd);
  max-height: calc(100dvh - var(--footer-height));
  max-height: calc(98vh - var(--footer-height));
}
body.home {
  background-color: var(--color-third);
}

main {
  padding-bottom: var(--footer-height);
}

input,
textarea,
select,
button {
  color-scheme: light;
}