
/* =====================================================
   ================ Root Variables ======================
   ===================================================== */
:root {
  /* Colors */
  --bg: #f5fffa;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --turq-a: #00d2ff;
  --turq-b: #3a7bd5;
  --accent: #19c6d1;
  --ring: rgba(58, 123, 213, 0.25);

  /* Shadows */
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* =====================================================
   ====================== Reset =========================
   ===================================================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* =====================================================
   ====================== Utils =========================
   ===================================================== */
.centered {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: -1px;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =====================================================
   ====================== Header ========================
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  font-size: 1.25rem;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hamburger {
  font-size: 1.4rem;
  padding: 8px 14px;
  margin-right: 0;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--turq-a), var(--turq-b));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* =====================================================
   ======================= Hero ========================
   ===================================================== */
.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  padding: 80px 16px 40px;
}

.hero-content {
  max-width: 880px;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  position: relative;
}

.hero-title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--turq-a), var(--turq-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--muted);
}

.hint {
  margin-top: 14px;
  font-size: 0.95rem;
  color: #64748b;
}

/* =====================================================
   =================== Encadré Humeur ===================
   ===================================================== */
.encadre-humeur {
  margin: 1.2rem auto 0;
  margin-top: 35px;
  max-width: 70%;
  background: linear-gradient(135deg, #84e8f5 0%, #39e3fa 100%);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(24, 240, 255, 0.18),
              0 2px 8px rgba(58, 123, 213, 0.12);
  padding: 1.3rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
  font-size: 1.18rem;
  color: #505050;
  animation: humeurPulse 2.5s infinite alternate;
  position: relative;
  overflow: hidden;
}

.emoji-humeur-badge {
  width: 2.7rem;
  height: 2.7rem;
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  border-radius: 50%;
  font-size: 1.7rem;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #595aff22;
  flex-shrink: 0;
  animation: emojiBounce 2.5s infinite alternate;
}

.texte-humeur {
  flex: 1;
  text-align: center;
  z-index: 1;
}

.is-hidden {
  display: none !important;
}



/* =====================================================
   =================== YouTube card ===================
   ===================================================== */

/* Titre */
#yt-caption {
  margin: 14px 0 0;
  text-align: center;

  font-weight: 300;
  font-size: clamp(0.90rem, 1.9vw, 1.15rem);
  color: #1c1f23;
  opacity: 0.7;
  letter-spacing: 0.05px;
}

.yt-card {
  margin: 1rem auto 0;
  max-width: min(1200px, 96vw);         /* plus généreux (desktop) */
  background: linear-gradient(135deg, #00eeffcc 0%, #91eaface 100%);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 12px;
}

/* Cadre 16:9 strict via padding-bottom (référence YouTube) */
.yt-aspect {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;     /* 16:9 */
  overflow: hidden !important;
  border-radius: 12px;
  background: #000;
}

/* Tout enfant remplit le cadre 16:9 exactement */
.yt-aspect > * {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Iframe player */
.yt-aspect iframe {
  border: 0 !important;
  max-width: none !important;
  max-height: none !important;
}

/* =====================================================
   =============== Fallback / mode « lite » ============
   ===================================================== */

/* 1) Supprime tout espace inline qui peut créer un "gap" (ligne fantôme) */
.yt-fallback {
  display: block !important;   /* pas de grid/flex ici -> pas d'alignements exotiques */
  line-height: 0 !important;   /* tue l'espace de ligne */
  background: #000;            /* bandes propres si ratio != 16:9 */
}

/* 2) Lien qui porte l’image : occupe 100% de la zone */
.yt-thumb-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important; /* pour le bouton */
  line-height: 0 !important;     /* tue l'espace de ligne */
  text-decoration: none;
  outline: none;
}

/* 3) Miniature : bloque l’alignement inline + centrage parfait */
.yt-fallback img {
  display: block !important;               /* évite l'alignement baseline */
  width: 100% !important;
  height: 100% !important;
  object-position: center center !important;
  object-fit: contain !important;          /* par défaut : tout voir, pas de rognage */
  background: #000;
  transform: none !important;              /* nettoie tout scale résiduel */
}

/* 4) Bouton YouTube centré parfaitement (overlay) — NOUVEAU STYLE */
.yt-play {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;

  /* Dimension responsive : mobile -> desktop */
  width: clamp(60px, 9vw, 96px);
  height: auto;

  display: inline-block !important;
  line-height: 0 !important;
  pointer-events: none; /* l’ancre reçoit le clic */
  z-index: 2;
}

.yt-play-svg {
  display: block;
  width: 100%;
  height: auto;
  /* Légère profondeur */
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
  transition: transform .18s ease, filter .18s ease;
}

/* Effet hover/focus sur l’ensemble du lien (scale léger) */
.yt-thumb-link:hover .yt-play-svg,
.yt-thumb-link:focus-visible .yt-play-svg {
  transform: scale(1.06);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

/* Accessibilité focus clavier sur le lien */
.yt-thumb-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(255,0,0,.5);
  border-radius: 12px;
}

/* 5) Mode "ciné" optionnel : rogne (cover) et léger zoom esthétique */
.yt-fit-cover .yt-fallback img {
  object-fit: cover !important;
  transform: scale(1.06) !important;
  transform-origin: center !important;
}

/* 6) Actions fallback (si l’iframe ne peut pas charger) */
.yt-fallback-actions {
  position: relative; z-index: 2;
  text-align: center;
  display: grid; gap: 10px; justify-items: center;
}
.yt-open {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--turq-a, #00d2ff), var(--turq-b, #3a7bd5));
  border: 1px solid rgba(255,255,255,.45);
  text-decoration: none;
}
.yt-note { color: #e2e8f0; font-size: .92rem; text-shadow: 0 1px 2px rgba(0,0,0,.6); }

/* 7) Largeur un peu plus contenue à ~960px en écrans moyens (optionnel) */
@media (max-width: 1100px) {
  .yt-card { max-width: min(960px, 94vw); }
}


/* ========== YT RESCUE (force sizing et plein cadre) ========== */
/* Marge au dessus de Youtube */
#youtube-embed { margin-top: 35px; }

/* Le conteneur carte doit rester large, pas "timbre-poste" */
#youtube-embed,
.yt-card {
  display: block !important;
  max-width: min(1200px, 96vw) !important;   /* plus généreux sur desktop */
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Cadre 16:9 strict via padding technique */
.yt-aspect {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;         /* 16:9 */
  overflow: hidden !important;
  border-radius: 12px;                        /* optionnel: ton style */
  background: #000 !important;
}

/* Tout ce qui est dedans doit remplir exactement la zone 16:9 */
.yt-aspect > * {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Iframe : pas de contrainte max-... héritée */
.yt-aspect iframe {
  border: 0 !important;
  max-width: none !important;
  max-height: none !important;
}

/* Fallback / miniature cliquable */
.yt-fallback,
.yt-thumb-link {
  display: block !important;
}

/* Miniature par défaut en contain (pas de rognage) */
.yt-fallback img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000;
  transform: none !important; /* nettoie un éventuel scale(0.80) résiduel */
}

/* MODE COVER (ciné) activable via .yt-fit-cover sur .yt-card */
.yt-fit-cover .yt-fallback img {
  object-fit: cover !important;
  transform: scale(1.06) !important;
  transform-origin: center !important;
}

/* Cadre encore plus large dès 1100px */
@media (min-width: 1100px) {
  #youtube-embed,
  .yt-card {
    max-width: min(600px, 92vw) !important;
  }
}

/* Forcer le masquage du cadre YouTube quand l'attribut hidden est présent */
#youtube-embed[hidden] { display: none !important; }

/* Confort mobile : bouton un peu plus grand sur écrans étroits */
@media (max-width: 520px) {
  .yt-play {
    width: clamp(64px, 18vw, 96px);
  }
}

/* Respect des préférences utilisateur (réduction d’animations) */
@media (prefers-reduced-motion: reduce) {
  .yt-play-svg {
    transition: none;
  }
}

/* (Option) Légère surcouche de contraste sur la vignette claire */
.yt-thumb-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.10));
  z-index: 1; /* sous le bouton, au-dessus de l’image */
  pointer-events: none;
}



/* =====================================================
   ====================== Parallax ======================
   ===================================================== */
.parallax-layer {
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 40%;
  background:
    radial-gradient(1200px 600px at 20% 50%, rgba(0,210,255,0.15), transparent 60%),
    radial-gradient(800px 400px at 80% 30%, rgba(58,123,213,0.12), transparent 70%);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.layer-a {
  filter: blur(12px);
}

.layer-b {
  top: 25%;
  filter: blur(18px);
  opacity: 0.7;
}

/* =====================================================
   ======================= Buttons ======================
   ===================================================== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  margin: 4px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.08s ease, box-shadow 0.2s ease;
  cursor: pointer;
  background: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, var(--turq-a), var(--turq-b));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
}

.btn:active {
  transform: translateY(1px);
}

.btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: rgba(25, 198, 209, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.35s ease;
}

.btn:active::before {
  transform: translate(-50%, -50%) scale(24);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 6px var(--ring);
}


/* =====================================================
   ==================== Panel Overlay ====================
   ===================================================== */
.panel-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr;
  align-items: end;
  pointer-events: none;
  opacity: 0;
  z-index: 200;
  transition: opacity 0.25s ease;
}

.panel-overlay.open {
  pointer-events: auto;
  opacity: 1;
}

.panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(2px);
}

.panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--turq-a), var(--turq-b)) 1;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow-md);
  max-width: 1100px;
  margin: 0 auto;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(.22, .61, .36, 1);
}

.panel-overlay.open .panel {
  transform: translateY(0);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}

.panel-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.panel-close {
  appearance: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
}

.panel-body {
  flex: 1;
  padding: 20px;
  overflow: auto;
}

/* =====================================================
   ======================= Content ======================
   ===================================================== */

.content-intro {
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.text-card {
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  padding: 14px;
  margin: 10px 0;
  box-shadow: var(--shadow-sm);
}

.text-card h3 {
  margin-top: 0;
}

.link-button {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--turq-b);
  font-weight: 700;
  cursor: pointer;
}

/* =====================================================
   ==================== Galerie grid ====================
   ===================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  overscroll-behavior: contain;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1.5px solid var(--accent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  padding-bottom: 18px;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 8px 10px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5em;
}

/* =====================================================
   =============== Folder grid (Carousels) ===============
   ===================================================== */

.folder-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 22vw);
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
  padding: 12px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.folder {
  scroll-snap-align: center;
  min-height: 140px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.folder:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.folder:active {
  background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
  box-shadow: 0 4px 16px #1976d244;
  color: #1976d2;
}

.folder:focus-visible {
  background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
  box-shadow: 0 2px 8px #1976d222;
  color: #1976d2;
  outline: none;
}

.folder-icon {
  font-size: 2rem;
  margin-bottom: 6px;
}

.folder-name {
  font-weight: 600;
  color: var(--text);
}

.folder.selected {
  background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
  color: #1976d2;
  font-weight: bold;
  z-index: 5;
  box-shadow:
    0 4px 16px #19c6d144,
    0 0 0 3px #4A90E2 inset,
    var(--shadow-sm);
}

.folder.selected .folder-name {
  color: #1976d2 !important;
}


/* =====================================================
   ======================== Lightbox =====================
   ===================================================== */

/* Masquage selon aria-hidden */
.lightbox[aria-hidden="true"] {
  display: none;
}

.lightbox[aria-hidden="false"],
.lightbox.open {
  display: flex;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 200;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 18px;
  padding: 38px;
  overflow: auto;
  backdrop-filter: blur(6px);
  box-sizing: border-box;
}

/* Contour lumineux */
.lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 4px solid transparent;
  pointer-events: none;
  z-index: 1;
  border-image: linear-gradient(90deg, var(--turq-a), var(--turq-b)) 1;
}

/* Contenu interne */
.lightbox > * {
  position: relative;
  z-index: 2;
}

/* Boutons navigation / fermeture */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}

/* Positionnement des boutons */
.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 1.3rem;
}

.lightbox-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

/* Hover */
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  background: #fff;
}

/* Frame globale */
.lightbox-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border-radius: 14px;
  padding: 0;
  box-shadow: none;
}

/* Image agrandie */
.lightbox-img {
  max-width: 92vw;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 14px;
  background: #fff;
}

/* Captions */
.lightbox-caption-box {
  margin: 28px auto 0;
  padding: 12px 20px;
  max-width: 80vw;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  color: #222;
  font-size: 1.08rem;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,0.18);
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* Like button à l’intérieur du caption */
.lightbox-caption .like-btn {
  margin: 18px auto 12px;
}

/* Petites animations */
@keyframes captionFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Version vidéo */
.lightbox-frame.lightbox-video {
  width: 700px !important;
  max-width: 700px !important;
  min-width: 700px !important;
}

.lightbox-frame.lightbox-video .lightbox-caption-box {
  width: 100% !important;
  max-width: 100% !important;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-line;
  max-height: 180px;
  overflow-y: auto;
}

/* === Lightbox: Pinch-to-zoom in-place === */

/* On gère les gestes nous-mêmes en JS */
.lightbox-img {
  touch-action: none;      /* bloque le pan/zoom natif, on fait du in-place */
  cursor: grab;
  will-change: transform;  /* perf */
  transform-origin: center center;
  transition: transform 0.06s linear; /* léger lissage */
}

/* Quand zoomée (scale > 1) */
.lightbox-img.is-zoomed {
  cursor: grabbing;
}



/* =====================================================
   ========================== Chat ======================
   ===================================================== */

.chat-container {
  display: flex;
  flex-direction: column;
  height: 70vh;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.message.user {
  align-self: flex-end;
  background: #4A90E2;
  color: #292929;
}

.message.bot {
  align-self: flex-start;
  background: #ffffff15;
  border: 1px solid #ffffff22;
  color: #292929;
}

.chat-input-area {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

#chat-input {
  flex: 1;
  padding: 12px;
  background: #ffffff10;
  border: 1px solid #ffffff22;
  border-radius: 10px;
  color: #292929;
  outline: none;
}

#chat-send {
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: #4A90E2;
  color: #292929;
  cursor: pointer;
}

/* =====================================================
   ========================== Footer ====================
   ===================================================== */

.site-footer {
  padding: 16px;
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* =====================================================
   ================== Responsive Mobile 1 ===============
   ===================================================== */

@media (max-width: 600px) {
  .lightbox-caption-box {
    font-size: 0.98em;
    padding: 0.7em 0.5em;
    max-width: 98vw;
  }

  .like-bubble {
    font-size: 0.95em;
    padding: 0.4em 0.8em;
  }
}


/* =====================================================
   ======================= PDF Overlay ===================
   ===================================================== */
.pdf-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
}

.pdf-overlay.open {
  display: block;
}

.pdf-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.40);
  backdrop-filter: blur(4px);
}

.pdf-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1000px, 92vw);
  height: min(720px, 88vh);
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.pdf-close {
  appearance: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--muted);
  cursor: pointer;
}

#pdf-frame {
  flex: 1;
  border: 0;
  background: #f8fafc;
}

.pdf-actions {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .pdf-panel {
    width: 94vw;
    height: 80vh;
  }
}

/* =====================================================
   ===================== Social Icons ====================
   ===================================================== */

.social-icons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px 0;
}

.social-icons a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-icons a svg {
  width: 28px !important;
  height: 28px !important;
}

.social-icons a:hover {
  transform: scale(1.12);
  opacity: 0.75;
}

/* Variante animée glow + pulse */
.social-icons.social-animated a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.social-icons.social-animated a:hover {
  transform: scale(1.28);
  opacity: .92;
  box-shadow: 0 0 10px currentColor, 0 0 22px currentColor;
  animation: pulseGlow .8s ease-out;
}

/* Glow animation */
@keyframes pulseGlow {
  0%   { transform: scale(1);    box-shadow: 0 0 0 currentColor; }
  50%  { transform: scale(1.18); box-shadow: 0 0 14px currentColor; }
  100% { transform: scale(1.28); box-shadow: 0 0 10px currentColor; }
}

/* Brand colors */
.social-icons .instagram { color: #C13584; }
.social-icons .mastodon  { color: #595AFF; }
.social-icons .facebook  { color: #1877F3; }
.social-icons .lastfm    { color: #D51007; }
.social-icons .booknode  { color: #4A90E2; }
.social-icons .wattpad   { color: #FF500A; }
.social-icons .youtube   { color: #FF0000; }
.social-icons .tiktok    { color: #000000; }
.social-icons .linkedin  { color: #0A66C2; }
.social-icons .plex      { color: #E5A00D; }
.social-icons .twitch    { color: #9147FF; }
.social-icons .steam     { color: #171A21; }
.social-icons .pixelfed  { color: #F1680D; }
.social-icons .geovelo   { color: #00B86B; }

/* Fix icon colors where needed */
.facebook svg circle { fill: #1877F3; }
.facebook svg path   { fill: #fff; }
.wattpad svg path    { fill: #FF500A; }
.plex svg path       { fill: #E5A00D; }
.twitch svg path     { fill: #9147FF; }
.steam svg path,
.steam svg circle    { fill: #171A21; }
.geovelo svg circle  { fill: #00B86B; }
.geovelo svg path,
.geovelo svg circle  { stroke: #fff; }

/* Petite légende */
.social-label {
  display: block;
  font-size: 0.68em;
  color: #64748b;
  text-align: center;
  margin-top: 2px;
  pointer-events: none;
}

/* =====================================================
   ======================= Vidéos =======================
   ===================================================== */

.video-card {
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 12px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-card video {
  width: 100%;
  display: block;
  border-radius: 14px;
  background: #f5fffa;
}

.video-card p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* =====================================================
   ==================== Fil d’actualité =================
   ===================================================== */

.actu-content {
  text-align: center;
}

#actus-feed {
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 10px 16px 10px 0;
}

.actu-card {
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.actu-date {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 4px;
}

/* =====================================================
   ===================== Bouton J'aime ==================
   ===================================================== */

.like-btn {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.25em 0.9em;
  margin-top: auto;
  margin-bottom: 2px;
  align-self: center;
  border-radius: 999px;
  font-size: 0.90rem;
  font-weight: 600;
  background: linear-gradient(90deg, #3b82f6 60%, #60a5fa 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px #0001;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
}

.like-btn:hover:not(:disabled),
.like-btn:focus-visible:not(:disabled) {
  background: linear-gradient(90deg, #2563eb 60%, #60a5fa 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px #3b82f655;
}

.like-btn.liked {
  background: linear-gradient(90deg, #10b981 60%, #6ee7b7 100%);
  color: #fff;
  cursor: default;
  box-shadow: 0 2px 8px #10b98133;
}

.like-btn:disabled {
  opacity: 0.85;
  cursor: default;
}

.like-btn:active:not(:disabled) {
  transform: scale(0.97);
}


/* =====================================================
   ==================== Section Sport ====================
   ===================================================== */

.sport-tabs {
  display: flex;
  position: relative;
  border-radius: 14px;
  background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 12px #19c6d133;
  overflow: hidden;
  margin-bottom: 18px;
}

.sport-tabs .tab-btn {
  flex: 1;
  padding: 16px 0;
  background: none;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.22s, color 0.22s;
  z-index: 1;
}

.sport-tabs .tab-btn.selected {
  color: #1976d2;
  font-weight: 700;
}

.sport-tabs .tab-indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #19c6d1, #1976d2);
  transition: left 0.35s cubic-bezier(.22,.61,.36,1),
              width 0.35s cubic-bezier(.22,.61,.36,1);
  z-index: 2;
}

.sport-group {
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  margin: 18px 0;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

/* Résumé des parcours */
.parcours-summary {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  justify-content: center;
  align-items: stretch;
  margin: 1px 0;
}

@media (max-width: 900px) {
  .parcours-summary {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .parcours-summary {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.parcours-tile {
  background: #ffffff7a;
  border-radius: 12px;
  box-shadow: 0 2px 8px #19c6d133;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tile-icon {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.tile-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}

.tile-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

/* Effets des boutons fantômes dans la zone sport */
.btn-ghost[data-trace-idx]:hover,
.btn-ghost[data-trace-idx]:focus-visible {
  color: #1976d2;
  background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
  box-shadow: 0 2px 8px #1976d222;
}

.btn-ghost[data-trace-idx]:active {
  color: #1976d2;
  background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
  box-shadow: 0 4px 16px #1976d244;
}

.btn-ghost[data-trace-idx].selected {
  font-weight: bold;
  color: #1976d2;
  background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
  box-shadow: 0 4px 16px #19c6d144;
}

/* =====================================================
   ================= Trace Carousel vertical =============
   ===================================================== */

.trace-carousel-vertical {
  max-height: 220px;
  overflow-y: auto;
  padding: 12px 16px 12px 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #19c6d1 #e0f7fa;
  background: none;
  border-top: 1px solid #e0f7fa;
  border-bottom: 1px solid #e0f7fa;
  border-radius: 10px;
}

.trace-carousel-vertical .btn {
  width: 100%;
  padding: 10px 14px;
  min-height: 44px;
  white-space: normal;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  text-align: left;
}

.trace-carousel-vertical .btn.selected {
  background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
  color: #1976d2;
  box-shadow: 0 4px 16px #19c6d144;
  font-weight: bold;
}

/* =====================================================
   ==================== Bilan Annuel ====================
   ===================================================== */

/* Conteneur carrousel */
.bilan-carousel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 56px; /* espace flèches */
  z-index: 2;
}

/* Rail de tuiles */
.bilan-tiles {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 0;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

/* Tuile */
.bilan-tile {
  flex: 0 0 auto;
  min-width: 220px;
  padding: 18px 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  scroll-snap-align: center;
  cursor: pointer;
  color: var(--text);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-sm);
}

.bilan-tile:hover,
.bilan-tile.selected,
.bilan-tile:focus-visible {
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  color: #1976d2;
  box-shadow: 0 4px 16px #19c6d144;
}

.bilan-tile h4 {
  text-align: center;
  margin: 0 0 10px;
  font-family: 'Great Vibes', cursive, serif;
  font-size: 2.4rem;
  color: #1976d2;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Scroll margin pour auto-scroll */
#bilan-graphs {
  scroll-margin-top: 80px;
}

@media (max-width: 640px) {
  #bilan-graphs {
    scroll-margin-top: 80px;
  }
}

/* Flèches modernisées */
.bilan-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1976d2;
  cursor: pointer;
  font-size: 22px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  z-index: 3;
}

.bilan-nav:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  transform: translateY(-50%) scale(1.08);
}

.bilan-nav.prev { left: 10px; }
.bilan-nav.next { right: 10px; }

@media (max-width: 640px) {
  .bilan-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }

  .bilan-carousel {
    padding: 0 44px;
  }
}

/* =====================================================
   ============= Scrollbar Premium Global ===============
   ===================================================== */

/* Firefox */
.bilan-tiles,
#bilan-graphs,
#bilan-hist-global {
  scrollbar-width: thin;
  scrollbar-color: #19c6d1 #e7faff;
}

/* WebKit (Chrome / Edge / Safari) */
.bilan-tiles::-webkit-scrollbar,
#bilan-graphs::-webkit-scrollbar,
#bilan-hist-global::-webkit-scrollbar {
  height: 12px;
  background: transparent;
}

.bilan-tiles::-webkit-scrollbar-track,
#bilan-graphs::-webkit-scrollbar-track,
#bilan-hist-global::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.12);
}

.bilan-tiles::-webkit-scrollbar-thumb,
#bilan-graphs::-webkit-scrollbar-thumb,
#bilan-hist-global::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #19c6d1, #3a7bd5);
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,0.45);
  box-shadow:
      0 2px 6px rgba(25,198,209,0.35),
      0 0 6px rgba(25,198,209,0.45);
  transition: .25s ease;
}

/* =====================================================
   ===================== Drawer (panneau) ================
   ===================================================== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.drawer.open { display: block; }

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
}

.drawer-panel {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
}

.drawer.open .drawer-panel { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  appearance: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
}

.drawer-body {
  padding: 10px 12px;
  overflow: auto;
}

/* =====================================================
   ======================== Tree ========================
   ===================================================== */
.tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tree-link {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.tree-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.tree-toggle {
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.tree-group[aria-expanded="true"] .chev { transform: rotate(90deg); }

.tree-children {
  list-style: none;
  margin: 0;
  padding: 0 10px 10px 26px;
  display: none;
}

.tree-group[aria-expanded="true"] .tree-children { display: block; }

.tree-leaf {
  display: block;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted);
  text-align: left;
}

.tree-leaf:hover { color: var(--text); }

/* =====================================================
   =================== Fichiers + icônes =================
   ===================================================== */
.file-list {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

.file-list li { margin: 6px 0; }

.file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  color: var(--turq-b);
}

.file-link:hover { opacity: .85; }

.file-icon {
  display: inline-block;
  width: 18px; height: 18px;
}

.file-icon svg {
  display: block;
  width: 18px; height: 18px;
}

/* =====================================================
   ============ Instant-photo (mini + wrapper) ==========
   ===================================================== */

/* 1) Style "miniature" par défaut (utilisé hors bulle) */
.instant-photo-mini,
.instant-video-mini {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--accent);
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  display: block;
  margin: 8px auto;
  transition: transform .25s ease, box-shadow .25s ease;
}

.instant-photo-mini:hover,
.instant-video-mini:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
}

/* Wrapper optionnel (si tu l’utilises ailleurs) */
.instant-photo-wrapper {
  width: fit-content;
  margin: 0 auto;
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

/* Badge +n (stack) */
.instant-stack {
  position: relative;
}

.instant-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--turq-a), var(--turq-b));
  border-radius: 999px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15),
    0 0 12px rgba(0, 210, 255, 0.35);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 6;
}


/* =====================================================
   ================ Thought-bubble (bulle) =============
   ===================================================== */

.thought-bubble {
  position: relative;
  display: block;
  margin: 22px auto;
  color: var(--accent);
  --pad-x: 26px;
  --pad-y: 24px;
  --bubble-bleed: 24px;
  padding-bottom: 1px;
  overflow: visible;
  z-index: 2;
}

/* Contenu bulle */
.thought-bubble .bubble-content {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x) var(--pad-y);
}

/* Sans titre */
.thought-bubble.no-title .bubble-content {
  grid-template-rows: auto;
  gap: 0;
}

/* SVG contour */
.thought-bubble .bubble-outline {
  position: absolute;
  inset: 0;
  left: calc(-3 * var(--bubble-bleed));
  right: calc(-1 * var(--bubble-bleed));
  top: calc(-1 * var(--bubble-bleed));
  bottom: calc(-1 * var(--bubble-bleed));
  width: calc(100% + 6 * var(--bubble-bleed));
  height: calc(100% + 4 * var(--bubble-bleed));
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

/* Wrapper média (dans ta bulle, il contient l’image/vidéo + le badge) */

.thought-bubble .instant-media-wrapper {
  display: grid;
  place-items: center;
  width: 100%;         
  max-width: min(520px, 88vw);
  margin: 0 auto;
}

.thought-bubble .instant-photo-mini,
.thought-bubble .instant-video-mini {
  /* on évite la taille réelle */
  width: 160px;
  height: auto;

  /* limites de hauteur pour ne pas dépasser la bulle/viewport */
  max-height: 55vh;

  /* pas de rognage */
  object-fit: contain;

  display: block;
  margin: 0 auto;

  /* garde ton style */
  border-radius: 16px;
}


/* Par sécurité : les IDs instant-photo/instant-video restent "contenus" */
#instant-photo,
#instant-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Titre vide */
.instant-title:empty {
  display: none !important;
}

/* Titre */
.thought-bubble .instant-title {
  margin: 6px 0 0;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--turq-a), var(--turq-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 6px 12px;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 420px) {
  .thought-bubble {
    --pad-x: 18px;
    --pad-y: 20px;
  }

  /* miniatures hors bulle */
  .instant-photo-mini,
  .instant-video-mini {
    width: 148px;
    height: 148px;
  }

  /* instant T dans la bulle : on garde l’adaptatif mais on limite un peu plus */
  .thought-bubble .instant-photo-mini,
  .thought-bubble .instant-video-mini {
    max-width: 92vw;
    max-height: 50vh;
  }
}


/* =====================================================
   =============== Réglages & calques globaux ===========
   ===================================================== */
#gpx-map { margin-top: 24px !important; }
#parcours-summary { margin-bottom: 12px; }

.hero,
.site-main,
.hero-content,
.thought-bubble,
.thought-bubble .bubble-outline { overflow: visible; }

.parallax-layer { z-index: 0; }
.hero-content   { position: relative; z-index: 1; }

/* =====================================================
   ============= Textarea auto‑extensible ===============
   ===================================================== */
.auto-expand {
  min-height: 120px;
  resize: none;
  overflow: hidden;
  line-height: 1.5;
}

/* =====================================================
   =========== Préférences : reduced motion =============
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
