/* Diabolux V2.25 — écrans GSM publics, sans changement PC ou admin. */
.trip-mobile-link,.match-mobile-action,.match-mobile-from{display:none}
@media (max-width:700px){
  /* La page d'accueil garde la marque, les autres pages affichent leur titre. */
  body[data-area="public"] .site-header{border-bottom:0;box-shadow:none}
  body[data-area="public"].mobile-home-page .public-header>.logo{display:inline-flex!important;align-items:center;gap:9px;color:#14243b;font-size:22px;font-weight:850;letter-spacing:-.65px;text-decoration:none}
  body[data-area="public"].mobile-home-page .public-header>.logo .logo-mark{display:inline-grid;place-items:center;width:30px;height:30px;background:#e62b45;color:#fff;border-radius:9px}
  body[data-area="public"].mobile-home-page .public-header>.logo .logo-mark svg{width:20px;height:20px}
  body[data-area="public"].mobile-home-page .mobile-app-title{display:none!important}
  body[data-area="public"] .main{padding-top:12px}
  /* Accueil épuré : plus de grande photographie dans les cartes, un lien par carte. */
  body[data-area="public"] .intro{margin:7px 0 19px}
  body[data-area="public"] .intro .kicker,body[data-area="public"] .intro p:not(.kicker){display:none}
  body[data-area="public"] .intro h1{font-size:24px;letter-spacing:-.7px;line-height:1.2;margin:0}
  body[data-area="public"] .cards{display:flex;flex-direction:column;gap:11px}
  body[data-area="public"] .trip-card{display:block;background:#f5f6f8!important;border:1px solid #e9edf2!important;border-radius:17px;box-shadow:none!important;overflow:hidden}
  body[data-area="public"] .trip-card>.trip-photo,body[data-area="public"] .trip-card>.trip-body{display:none!important}
  body[data-area="public"] .trip-mobile-link{display:block;color:#14243b;text-decoration:none;padding:17px 17px 15px;-webkit-tap-highlight-color:transparent}
  body[data-area="public"] .trip-mobile-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
  body[data-area="public"] .trip-mobile-title{font-size:17px;line-height:1.25;font-weight:820;letter-spacing:-.43px}
  body[data-area="public"] .trip-mobile-chevron{font-size:25px;line-height:18px;color:#8290a2;font-weight:300;flex-shrink:0}
  body[data-area="public"] .trip-mobile-date{display:block;color:#5e7084;font-size:13px;margin-top:6px}
  body[data-area="public"] .trip-mobile-destination{display:block;color:#798596;font-size:12px;margin-top:4px}
  body[data-area="public"] .trip-mobile-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #e4e8ed;padding-top:12px;margin-top:14px}
  body[data-area="public"] .trip-mobile-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;background:#e9edf2;color:#687587;font-size:11px;font-weight:750}
  body[data-area="public"] .trip-mobile-status.open{background:#e6f6ee;color:#167c52}
  body[data-area="public"] .trip-mobile-status.closed{background:#e9edf2;color:#687587}
  body[data-area="public"] .trip-mobile-price{font-size:12px;color:#64758a;white-space:nowrap}
  body[data-area="public"] .trip-mobile-price b{font-size:17px;color:#172641;letter-spacing:-.3px;margin-left:3px}
  body[data-area="public"] .trip-mobile-link:focus-visible{outline:2px solid #dc304a;outline-offset:-4px;border-radius:17px}
  /* Fiche de déplacement : le match remplace la photographie. */
  body[data-area="public"] .match-detail>.match-hero{display:none!important}
  body[data-area="public"] .match-detail-layout{display:flex;flex-direction:column;gap:15px;margin-top:0}
  body[data-area="public"] .match-story{width:100%}
  body[data-area="public"] .back{margin:0 0 18px;font-size:13px}
  body[data-area="public"] .match-heading{padding:7px 0 13px;border-bottom:0}
  body[data-area="public"] .match-heading .match-eyebrow{display:none}
  body[data-area="public"] .match-heading h1{font-size:clamp(28px,8.1vw,37px);font-weight:850;letter-spacing:-1.2px;line-height:1.13;margin:0 0 17px;color:#12233c}
  body[data-area="public"] .match-meta{display:flex;gap:8px;align-items:center}
  body[data-area="public"] .match-meta>div{display:flex;gap:7px;align-items:center;background:#f2f4f7;border-radius:12px;padding:6px 10px 6px 5px;color:#526478;font-size:12px;max-width:100%}
  body[data-area="public"] .match-meta-icon{width:27px;height:27px;background:#e8ecf1;border-radius:8px;flex:0 0 auto}
  body[data-area="public"] .match-meta-icon svg{width:15px;height:15px}
  body[data-area="public"] .match-mobile-from{display:block;color:#68788d;font-size:12px;margin-top:14px}
  body[data-area="public"] .match-mobile-from strong{font-size:19px;color:#14243b}
  body[data-area="public"] .match-section{padding:18px 17px;border:0;background:#f5f6f8;border-radius:17px;margin:10px 0 0}
  body[data-area="public"] .match-section-heading{margin-bottom:10px;gap:10px;align-items:center}
  body[data-area="public"] .match-section-mark{height:33px;width:4px}
  body[data-area="public"] .match-section-label{font-size:9px;margin-bottom:1px;letter-spacing:1.2px}
  body[data-area="public"] .match-section h2{font-size:19px;line-height:1.2;letter-spacing:-.4px}
  body[data-area="public"] .match-description{padding-left:0;font-size:13px;line-height:1.65;color:#506075;max-width:none}
  body[data-area="public"] .match-description p{margin-bottom:8px}
  body[data-area="public"] .match-mobile-action{display:block;margin:14px 0 0}
  body[data-area="public"] .match-mobile-action .primary-button{display:flex;align-items:center;justify-content:center;gap:10px;border-radius:15px;min-height:53px;font-size:15px;letter-spacing:-.1px;box-shadow:none}
  body[data-area="public"] .match-mobile-action svg{flex-shrink:0}
  body[data-area="public"] .match-stop-list{padding-left:7px}
  body[data-area="public"] .match-stop{gap:11px;min-height:47px}
  body[data-area="public"] .match-stop:before{left:6px}
  body[data-area="public"] .match-stop-name{font-size:13px}
  body[data-area="public"] .match-stop-time{font-size:12px;border-radius:8px;padding:5px 9px;white-space:nowrap}
  body[data-area="public"] .match-stop-hint{display:none}
  body[data-area="public"] .match-booking{width:100%;margin-top:0}
  body[data-area="public"] .match-booking-card{background:#f5f6f8;border:1px solid #e9edf2;box-shadow:none;border-radius:17px;padding:15px 17px}
  body[data-area="public"] .match-booking-card .status{margin-bottom:12px}
  body[data-area="public"] .match-pricing-title{margin-bottom:7px}
  body[data-area="public"] .match-price-row{padding:9px 0}
  body[data-area="public"] .match-booking-card .match-booking-cta{display:none!important}
  body[data-area="public"] .match-booking-note{margin:9px 0 0;line-height:1.45}
}
@media(max-width:350px){
 body[data-area="public"] .trip-mobile-title{font-size:16px}
 body[data-area="public"] .match-heading h1{font-size:27px}
}
@media(prefers-reduced-motion:reduce){body[data-area="public"] .trip-mobile-link{transition:none}}

/* V2.26 — Fiche match : titre dans le header et interface minimale GSM. */
.mobile-trip-back,.match-about-symbol,.match-about-mobile-label{display:none}
@media(max-width:700px){
  body[data-area="public"].mobile-trip-page .public-header{display:flex;align-items:center;gap:6px;justify-content:flex-start;min-height:64px}
  body[data-area="public"] .mobile-trip-back{display:none}
  body[data-area="public"].mobile-trip-page .mobile-trip-back{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;margin-left:-4px;color:#172841;border-radius:12px;-webkit-tap-highlight-color:transparent}
  body[data-area="public"].mobile-trip-page .mobile-trip-back svg{width:23px;height:23px}
  body[data-area="public"].mobile-trip-page .mobile-trip-back:active{background:#f2f4f7}
  body[data-area="public"].mobile-trip-page .mobile-app-title{flex:1;max-width:none;font-size:clamp(16px,4.9vw,20px);line-height:1.2;font-weight:850;letter-spacing:-.65px;white-space:normal;overflow:visible;text-overflow:clip;padding:2px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  body[data-area="public"].mobile-trip-page .main{padding-top:12px}
  body[data-area="public"].mobile-trip-page .back{display:none}
  body[data-area="public"].mobile-trip-page .match-heading{padding:4px 0 0}
  body[data-area="public"].mobile-trip-page .match-heading h1{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
  body[data-area="public"].mobile-trip-page .match-meta{display:flex;gap:8px;margin:0 0 9px;flex-wrap:wrap}
  body[data-area="public"].mobile-trip-page .match-meta>div{background:#f5f6f8;min-height:38px;padding:6px 11px 6px 6px;border-radius:14px;gap:6px;font-weight:600;color:#536075;font-size:12.5px}
  body[data-area="public"].mobile-trip-page .match-meta-icon{width:25px;height:25px;border-radius:8px;background:#e9edf2}
  body[data-area="public"].mobile-trip-page .match-mobile-from{display:none}
  body[data-area="public"].mobile-trip-page .match-story{display:flex;flex-direction:column;gap:0}
  /* Une seule action immédiatement après les informations indispensables. */
  body[data-area="public"].mobile-trip-page .match-mobile-action{display:block;margin:15px 0 23px}
  body[data-area="public"].mobile-trip-page .match-mobile-action .primary-button{min-height:54px;padding:12px 18px 12px 20px;border:0;border-radius:15px;background:#e52743;box-shadow:0 7px 16px rgba(226,37,65,.10);font-size:15px;letter-spacing:-.1px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:12px;position:relative}
  body[data-area="public"].mobile-trip-page .match-mobile-action .primary-button svg{position:absolute;right:17px;width:20px;height:20px}
  body[data-area="public"].mobile-trip-page .match-mobile-action .primary-button:active{transform:translateY(1px)}
  body[data-area="public"].mobile-trip-page .match-mobile-unavailable{display:flex;align-items:center;justify-content:center;min-height:53px;padding:12px 18px;border-radius:15px;background:#f1f3f6;color:#59677a;font-size:14px;font-weight:800;text-align:center;margin:0}
  body[data-area="public"].mobile-trip-page .match-section{margin:0 0 22px}
  body[data-area="public"].mobile-trip-page .match-about{background:#f5f6f8;border:0;border-radius:20px;padding:21px 20px 19px}
  body[data-area="public"].mobile-trip-page .match-about .match-section-heading{display:flex;gap:13px;margin:0 0 9px;align-items:center}
  body[data-area="public"].mobile-trip-page .match-about .match-section-mark,body[data-area="public"].mobile-trip-page .match-about .match-section-label{display:none}
  body[data-area="public"].mobile-trip-page .match-about-symbol{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;background:#ffe9ed;color:#d92c45;border-radius:13px}
  body[data-area="public"].mobile-trip-page .match-about-symbol svg{width:23px;height:23px}
  body[data-area="public"].mobile-trip-page .match-about h2{font-size:18px;letter-spacing:-.6px;color:#17273d}
  body[data-area="public"].mobile-trip-page .match-about-desktop-label{display:none}
  body[data-area="public"].mobile-trip-page .match-about-mobile-label{display:inline}
  body[data-area="public"].mobile-trip-page .match-about .match-description{font-size:13.5px;color:#586779;line-height:1.6;padding:0;margin-top:6px}
  body[data-area="public"].mobile-trip-page .match-about .match-description p{margin-bottom:7px}
  body[data-area="public"].mobile-trip-page .match-stops{background:transparent;border:0;border-radius:0;padding:0;margin:0 0 19px}
  body[data-area="public"].mobile-trip-page .match-stops .match-section-heading{gap:10px;margin:0 0 13px;align-items:center}
  body[data-area="public"].mobile-trip-page .match-stops .match-section-label{display:none}
  body[data-area="public"].mobile-trip-page .match-stops h2{font-size:19px;letter-spacing:-.6px}
  body[data-area="public"].mobile-trip-page .match-stops .match-section-mark{height:27px;width:4px;border-radius:6px}
  body[data-area="public"].mobile-trip-page .match-stop-list{background:#f5f6f8;border-radius:19px;padding:13px 15px 13px 22px}
  body[data-area="public"].mobile-trip-page .match-stop{min-height:53px;gap:12px}
  body[data-area="public"].mobile-trip-page .match-stop:before{left:6px}
  body[data-area="public"].mobile-trip-page .match-stop-name{font-size:13px;font-weight:730;color:#17263d;line-height:1.25}
  body[data-area="public"].mobile-trip-page .match-stop-time{border-radius:10px;font-weight:770;color:#d42d44;background:#ffe9ed;padding:7px 9px;font-size:12px}
  body[data-area="public"].mobile-trip-page .match-booking-card{padding:0;border:0;background:transparent;box-shadow:none}
  body[data-area="public"].mobile-trip-page .match-booking-card>.status{display:none!important}
  body[data-area="public"].mobile-trip-page .match-pricing-title{font-size:18px;letter-spacing:-.45px;color:#14263d;margin:0 0 11px}
  body[data-area="public"].mobile-trip-page .match-prices{background:#f5f6f8;border:0;border-radius:17px;padding:3px 16px}
  body[data-area="public"].mobile-trip-page .match-price-row{padding:13px 0;border-color:#e3e7ed}
  body[data-area="public"].mobile-trip-page .match-price-row:last-child{border:0}
  body[data-area="public"].mobile-trip-page .match-booking-note{display:none}
  body[data-area="public"].mobile-trip-page .match-detail-layout{gap:0}
}
@media(max-width:360px){
  body[data-area="public"].mobile-trip-page .mobile-app-title{font-size:16px}
  body[data-area="public"].mobile-trip-page .match-meta>div{font-size:11.5px}
}
@media (prefers-reduced-motion:reduce){
  body[data-area="public"].mobile-trip-page .match-mobile-action .primary-button{transition:none}
}

/* V2.27 — UN SEUL STYLE pour les 3 rubriques de la fiche GSM.
   Les rubriques ont désormais le même emplacement, titre, filet rouge et panneau. */
.match-pricing-mobile-heading { display: none; }
@media (max-width: 700px) {
  body[data-area="public"].mobile-trip-page .match-about,
  body[data-area="public"].mobile-trip-page .match-stops {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0 0 22px;
  }
  body[data-area="public"].mobile-trip-page .match-booking {
    margin-top: 0;
  }
  /* Aucune variante du titre : une seule grille et une seule typographie. */
  body[data-area="public"].mobile-trip-page .match-section-heading,
  body[data-area="public"].mobile-trip-page .match-about .match-section-heading,
  body[data-area="public"].mobile-trip-page .match-stops .match-section-heading,
  body[data-area="public"].mobile-trip-page .match-pricing-mobile-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 12px;
    padding: 0;
  }
  body[data-area="public"].mobile-trip-page .match-section-heading .match-section-mark,
  body[data-area="public"].mobile-trip-page .match-about .match-section-mark {
    display: block;
    flex: 0 0 4px;
    width: 4px;
    height: 25px;
    border-radius: 4px;
    background: #e52743;
  }
  body[data-area="public"].mobile-trip-page .match-section-heading h2,
  body[data-area="public"].mobile-trip-page .match-about h2,
  body[data-area="public"].mobile-trip-page .match-stops h2,
  body[data-area="public"].mobile-trip-page .match-pricing-mobile-heading h2 {
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: #17263d;
    margin: 0;
  }
  body[data-area="public"].mobile-trip-page .match-about .match-about-symbol,
  body[data-area="public"].mobile-trip-page .match-about .match-section-label,
  body[data-area="public"].mobile-trip-page .match-stops .match-section-label,
  body[data-area="public"].mobile-trip-page .match-about-mobile-label,
  body[data-area="public"].mobile-trip-page .match-pricing-title {
    display: none;
  }
  body[data-area="public"].mobile-trip-page .match-about-desktop-label {
    display: inline;
  }
  /* Même panneau gris, même rayon et mêmes marges pour le contenu. */
  body[data-area="public"].mobile-trip-page .match-about .match-description,
  body[data-area="public"].mobile-trip-page .match-stop-list,
  body[data-area="public"].mobile-trip-page .match-prices {
    background: #f5f6f8;
    border: 0;
    border-radius: 18px;
    margin: 0;
    padding: 16px 17px;
  }
  body[data-area="public"].mobile-trip-page .match-about .match-description {
    font-size: 13.5px;
    line-height: 1.6;
    color: #566679;
  }
  body[data-area="public"].mobile-trip-page .match-booking-card {
    background: transparent;
    padding: 0;
    border: 0;
  }
  body[data-area="public"].mobile-trip-page .match-pricing-mobile-heading {
    display: flex;
  }
}
