/* =========================================================
   V9.22 — NAVIGATION HUB : DRAG SÉPARÉ + LABELS PREMIUM
   ---------------------------------------------------------
   - l'indication de drag ne chevauche plus la flèche basse
   - labels en pastille, toujours visibles dans le viewport
   - le libellé de la flèche basse apparaît au-dessus
========================================================= */

@media (hover:hover) and (pointer:fine){
  /* Indication de drag plus compacte, remontée et indépendante. */
  html body:not(.is-in-secondary-universe):not(.is-book-page) .drag-universe-hint{
    left:50% !important;
    bottom:158px !important;
    width:64px !important;
    height:64px !important;
    transform:translateX(-50%) scale(.82) !important;
    opacity:.72 !important;
    z-index:9400 !important;
    filter:drop-shadow(0 0 18px rgba(255,225,214,.12)) !important;
  }

  html body:not(.is-in-secondary-universe):not(.is-book-page) .drag-universe-hint .drag-icon{
    width:58px !important;
    height:58px !important;
  }

  /* Quand une flèche est visée, l'indication de drag s'efface doucement. */
  html body.is-hovering-universe-arrow .drag-universe-hint{
    opacity:0 !important;
    transform:translateX(-50%) translateY(8px) scale(.72) !important;
    filter:blur(6px) !important;
  }

  /* Flèche basse légèrement remontée pour préserver une vraie zone de respiration. */
  html body:not(.is-book-page) .universe-arrow-bottom{
    bottom:38px !important;
  }

  /* Neutralise les anciens libellés injectés via ::after. */
  html body:not(.is-book-page) .universe-arrow::after{
    content:attr(data-nav-label) !important;
    position:absolute !important;
    display:block !important;
    width:max-content !important;
    max-width:min(220px, calc(100vw - 32px)) !important;
    padding:8px 11px 7px !important;
    border:1px solid rgba(255,244,238,.14) !important;
    border-radius:999px !important;
    background:linear-gradient(180deg, rgba(18,12,25,.80), rgba(8,6,14,.66)) !important;
    box-shadow:0 12px 34px rgba(0,0,0,.28), inset 0 0 18px rgba(255,255,255,.025) !important;
    backdrop-filter:blur(14px) saturate(125%) !important;
    -webkit-backdrop-filter:blur(14px) saturate(125%) !important;
    color:rgba(255,246,242,.84) !important;
    font-family:Inter,system-ui,sans-serif !important;
    font-size:9px !important;
    font-weight:600 !important;
    line-height:1 !important;
    letter-spacing:.21em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    pointer-events:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    filter:blur(7px) !important;
    transition:opacity .34s cubic-bezier(.16,1,.3,1), transform .34s cubic-bezier(.16,1,.3,1), filter .34s cubic-bezier(.16,1,.3,1), visibility 0s linear .34s !important;
  }

  html body:not(.is-book-page) .universe-arrow:hover::after,
  html body:not(.is-book-page) .universe-arrow:focus-visible::after{
    opacity:1 !important;
    visibility:visible !important;
    filter:blur(0) !important;
    transition:opacity .34s cubic-bezier(.16,1,.3,1), transform .34s cubic-bezier(.16,1,.3,1), filter .34s cubic-bezier(.16,1,.3,1), visibility 0s !important;
  }

  /* Haut : label sous la flèche. */
  html body:not(.is-book-page) .universe-arrow-top::after{
    top:calc(100% + 14px) !important;
    left:50% !important;
    right:auto !important;
    bottom:auto !important;
    transform:translate(-50%,-6px) !important;
  }
  html body:not(.is-book-page) .universe-arrow-top:hover::after,
  html body:not(.is-book-page) .universe-arrow-top:focus-visible::after{
    transform:translate(-50%,0) !important;
  }

  /* Bas : label au-dessus, jamais coupé par le viewport. */
  html body:not(.is-book-page) .universe-arrow-bottom::after{
    bottom:calc(100% + 14px) !important;
    left:50% !important;
    right:auto !important;
    top:auto !important;
    transform:translate(-50%,6px) !important;
  }
  html body:not(.is-book-page) .universe-arrow-bottom:hover::after,
  html body:not(.is-book-page) .universe-arrow-bottom:focus-visible::after{
    transform:translate(-50%,0) !important;
  }

  /* Gauche / droite : labels orientés vers l'intérieur de l'écran. */
  html body:not(.is-book-page) .universe-arrow-left::after{
    left:calc(100% + 14px) !important;
    right:auto !important;
    top:50% !important;
    bottom:auto !important;
    transform:translate(-6px,-50%) !important;
  }
  html body:not(.is-book-page) .universe-arrow-left:hover::after,
  html body:not(.is-book-page) .universe-arrow-left:focus-visible::after{
    transform:translate(0,-50%) !important;
  }

  html body:not(.is-book-page) .universe-arrow-right::after{
    right:calc(100% + 14px) !important;
    left:auto !important;
    top:50% !important;
    bottom:auto !important;
    transform:translate(6px,-50%) !important;
  }
  html body:not(.is-book-page) .universe-arrow-right:hover::after,
  html body:not(.is-book-page) .universe-arrow-right:focus-visible::after{
    transform:translate(0,-50%) !important;
  }
}

@media(max-width:760px), (hover:none), (pointer:coarse){
  .universe-arrow::after{display:none !important}
  .drag-universe-hint{bottom:118px !important}
  .universe-arrow-bottom{bottom:22px !important}
}

/* =========================================================
   V9.23 — AJUSTEMENT BAS VIEWPORT
   - hint drag rapproché de la navigation basse
   - flèche Contact remontée
   - libellé Contact forcé au-dessus, jamais coupé
========================================================= */
@media (hover:hover) and (pointer:fine){
  html body[data-world="center-passion"]:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .drag-universe-hint,
  html body:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .drag-universe-hint{
    bottom:132px !important;
    transform:translateX(-50%) scale(.78) !important;
  }

  html body[data-world="center-passion"]:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .universe-arrow-bottom,
  html body:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .universe-arrow-bottom{
    bottom:64px !important;
    overflow:visible !important;
  }

  html body[data-world="center-passion"]:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .universe-arrow-bottom::after,
  html body:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .universe-arrow-bottom::after{
    top:auto !important;
    right:auto !important;
    bottom:calc(100% + 18px) !important;
    left:50% !important;
    transform:translate(-50%,8px) !important;
    z-index:3 !important;
  }

  html body[data-world="center-passion"]:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .universe-arrow-bottom:hover::after,
  html body[data-world="center-passion"]:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .universe-arrow-bottom:focus-visible::after,
  html body:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .universe-arrow-bottom:hover::after,
  html body:not(.is-in-secondary-universe):not(.is-book-page):not(.is-portal-open):not(.is-universe-transitioning) .universe-arrow-bottom:focus-visible::after{
    transform:translate(-50%,0) !important;
  }
}

@media(max-width:760px), (hover:none), (pointer:coarse){
  html body:not(.is-book-page) .drag-universe-hint{bottom:104px !important}
  html body:not(.is-book-page) .universe-arrow-bottom{bottom:34px !important}
}
