/* Diabolux V2.68 : presentation de la page /voyages/{id}/reserver uniquement.
   Place APRES les autres styles. Aucune regle ne concerne l'admin ou une autre page. */
@media (max-width: 700px) {
  body[data-area="public"].mobile-booking-page .site-header,
  body[data-area="public"].mobile-booking-page .public-header {
    background: #132139 !important;
    color: #fff !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  body[data-area="public"].mobile-booking-page .public-header {
    min-height: 60px !important;
    height: auto !important;
    padding: 8px 17px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  body[data-area="public"].mobile-booking-page .public-header > .logo,
  body[data-area="public"].mobile-booking-page .public-header > .mobile-app-title,
  body[data-area="public"].mobile-booking-page .public-header > .mobile-menu-toggle {
    display: none !important;
  }
  body[data-area="public"].mobile-booking-page .public-header > .mobile-trip-back {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    color: #fff !important;
  }
  body[data-area="public"].mobile-booking-page .public-header > .mobile-trip-match-type {
    display: block !important;
    flex: 1 1 0 !important;
    min-width: 0;
    color: #fff !important;
    font-weight: 750;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body[data-area="public"].mobile-booking-page .public-header > .public-notification-trigger {
    position: relative;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    margin-left: auto !important;
    padding: 0 !important;
    transform: none !important;
    background: rgba(255,255,255,.09) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 13px !important;
    box-shadow: none !important;
  }
  body[data-area="public"].mobile-booking-page .public-header > .public-notification-trigger svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* Largeur complete naturellement, sans marges negatives sur le bandeau. */
  body[data-area="public"].mobile-booking-page .main.shell {
    padding: 0 0 calc(195px + env(safe-area-inset-bottom,0px)) !important;
  }
  body[data-area="public"].mobile-booking-page .main > .back { display: none !important; }
  body[data-area="public"].mobile-booking-page .main > .dx-booking-intro {
    display: block !important;
    box-sizing: border-box !important;
    background: #132139 !important;
    color: #fff !important;
    margin: 0 !important;
    margin-top: -5px !important;
    padding: 0 17px 38px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-intro .kicker,
  body[data-area="public"].mobile-booking-page .dx-booking-intro #match_type,
  body[data-area="public"].mobile-booking-page .dx-booking-intro > h1,
  body[data-area="public"].mobile-booking-page .dx-booking-intro > .dx-booking-match-name,
  body[data-area="public"].mobile-booking-page .dx-booking-intro > #booking-match-title {
    display: none !important;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-intro .dx268-match-names {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 4px 0 14px 48px !important;
    padding: 0 !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: clamp(17px, 4.7vw, 21px) !important;
    line-height: 1.27 !important;
    letter-spacing: -.3px;
    min-width: 0;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-intro .dx268-match-names span {
    display: block !important;
    color: #fff !important;
    overflow-wrap: anywhere;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-intro .dx-booking-datetime {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 0;
    margin: 0 0 0 48px !important;
    padding: 0 !important;
    color: #e6ecf5 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-datetime span,
  body[data-area="public"].mobile-booking-page .dx-booking-datetime .dx-booking-hour {
    color: #e6ecf5 !important;
    opacity: 1 !important;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-datetime svg {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    color: #f47e92 !important;
  }
  body[data-area="public"].mobile-booking-page .main > .dx-booking-form {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    padding: 0 17px 0 !important;
    margin: -18px 0 0 !important;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-form .passenger-card:first-child {
    position: relative;
    border-radius: 20px !important;
  }
}

/* V2.69 – meme type de match dans le header du voyage ET du formulaire. */
@media (max-width: 700px) {
  body[data-area="public"].mobile-trip-page .public-header > .mobile-trip-match-type,
  body[data-area="public"].mobile-booking-page .public-header > .mobile-trip-match-type {
    display: block !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    color: #fff !important;
    font-weight: 750 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  body[data-area="public"].mobile-trip-page .public-header > .mobile-trip-match-type[hidden],
  body[data-area="public"].mobile-booking-page .public-header > .mobile-trip-match-type[hidden] {
    display: none !important;
  }
  /* Eliminer l'ancien titre en double, sans toucher au nom des equipes. */
  body[data-area="public"].mobile-trip-page .public-header > .mobile-app-title,
  body[data-area="public"].mobile-booking-page .public-header > .mobile-app-title {
    display: none !important;
  }
  /* Sur la fiche voyage, le type est maintenant dans le header, pas repete. */
  body[data-area="public"].mobile-trip-page .dx-trip-match-top .dx-trip-competition {
    display: none !important;
  }
  /* Motif cercles rouges, comme le detail d'une reservation. */
  body[data-area="public"].mobile-booking-page .main > .dx-booking-intro {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-intro::before,
  body[data-area="public"].mobile-booking-page .dx-booking-intro::after {
    content: "";
    position: absolute;
    display: block;
    pointer-events: none;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: 0;
  }
  body[data-area="public"].mobile-booking-page .dx-booking-intro::before {
    width: 280px;
    height: 280px;
    right: -144px;
    bottom: -204px;
    border: 20px solid rgba(187, 30, 60, .85);
  }
  body[data-area="public"].mobile-booking-page .dx-booking-intro::after {
    width: 240px;
    height: 240px;
    right: -124px;
    bottom: -186px;
    border: 14px solid rgba(106, 20, 45, .90);
  }
  body[data-area="public"].mobile-booking-page .dx-booking-intro > * {
    position: relative;
    z-index: 1;
  }
}
