/* Version mobile du site public (maquettes Mobile 1-10) : mobile sous 768 px, au-dessus la version ordinateur reste inchangée. */
.mtb,.mbar,.mv-see,.psh{display:none}
@media (max-width:767px){
 :root{--m-bg:#09050A;--m-card:#150A10;--m-field:#0E070B;--m-sel:#24121A;--m-tx:#F6F1F2;--m-mu:#A8979B;--m-red:#E5173F;--m-grn:#4ADE95}
 html,body{max-width:100%;overflow-x:hidden}

 /* ---- barre du bas : Accueil / Recherche / Mes billets seulement ---- */
 .tabbar:not(.mtb){display:none!important}
 .tabbar.mtb{display:grid!important;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;height:calc(64px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom);background:#150A10;border:0;box-shadow:0 -1px 0 rgba(255,255,255,.06)}
 .tabbar.mtb .tb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:44px;background:none;border:0;color:#A8979B;font:600 11px/1 'Space Grotesk',system-ui,sans-serif;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .tabbar.mtb .tb.on{color:#F6F1F2}
 .tabbar.mtb .tb svg{width:22px;height:22px}
 body:has(.tabbar.mtb){padding-bottom:calc(76px + env(safe-area-inset-bottom))}

 /* ---- en-tête : logo, loupe, bouton compte sombre sans contour ---- */
 .dh{background:#09050A!important}
 .dh-in{display:flex;align-items:center;gap:10px;padding:10px 16px!important;min-height:64px}
 .dh-logo img{height:30px;width:auto}
 .dh .dh-burger,.dh .dh-drawer{display:none!important}
 html body .dh .dh-r{display:flex!important;gap:10px;margin-left:0}
 html body .dh .dh-r #loginbtn,html body .dh #loginbtn.dh-cta{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0!important;border-radius:var(--r-btn,8px);border:0!important;outline:0;background:#150A10 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F1F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center/22px no-repeat!important;color:transparent!important;font-size:0!important;letter-spacing:0}
 html body .dh .dh-r .am{display:block!important}
 html body .dh .dh-r .am-btn{min-height:44px;padding:0 10px;border-radius:var(--r-btn,8px);border:0!important;outline:0;background:#150A10;color:#F6F1F2}
 .dh .am-lb{display:none}
 html body .dh .ss{margin-left:auto;flex:0 0 auto;max-width:none}
 .ss-ic{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--r-btn,8px);border:0;background:#150A10;color:#F6F1F2;cursor:pointer}
 .ss-ic svg{width:20px;height:20px}

 /* ---- accueil : À la une en liste, filtres, cartes ---- */
 .una-l{gap:12px}
 .una-r{display:grid!important;grid-template-columns:64px 1fr auto;align-items:center;gap:12px;padding:12px!important;border-radius:var(--r-big,12px);background:var(--m-card)}
 .una-r>img,.una-fb{width:64px!important;height:84px!important}
 .una-m{min-width:0;flex:none}
 .una-t{font-size:16px!important;margin-top:6px!important}
 .una-i{flex-direction:column;gap:3px 0!important;margin-top:6px!important;font-size:12.5px!important}
 .una-i span:nth-child(2){display:none}
 .una-b{width:auto!important;padding:0 14px!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--r-btn,8px);font-size:13px!important}
 .dx-chip,.dx-zb,.dx-more{min-height:44px}
 .dx-c{background:var(--m-card);border-radius:var(--r-big,12px);overflow:hidden}
 .dx-i{border-radius:0;aspect-ratio:4/5}
 .dx-b{padding:14px 16px 16px!important}
 .dx-b h3{font-size:18px!important}
 .dx-pr{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:var(--m-mu);font-size:13.5px}
 .dx-pr b{color:var(--m-tx);font-size:15px}
 .dx-rb{font-style:normal;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:var(--r-btn,8px);background:var(--m-red);color:#fff;font-weight:700;font-size:14px}

 /* ---- évènement (haut) ---- */
 .ev3-col{padding-left:16px!important;padding-right:16px!important}
 .mv-see{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:14px 0 4px;border:0;border-radius:var(--r-btn,8px);background:var(--m-red);color:#fff;font:700 15px/1 'Space Grotesk',system-ui,sans-serif;letter-spacing:.02em;cursor:pointer}
 .ev3-h{overflow-wrap:anywhere}
 .ev3-facts{flex-wrap:wrap}
 .ev3-facts a,.ev3-facts span{overflow-wrap:anywhere;min-height:24px}
 .ev3-act{display:none!important}
 .ev3-sub,.pvbtn,.pvqb{min-height:44px}
 .pvqb{min-width:44px}
 .codebx{display:none}

 /* ---- évènement (billets) : barre fixe total / code promo / paiement ---- */
 body.ev3:has(.mbar){padding-bottom:calc(150px + env(safe-area-inset-bottom))}
 .mbar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:70;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#150A10;box-shadow:0 -1px 0 rgba(255,255,255,.07),0 -12px 30px rgba(0,0,0,.45);transform:translateY(110%);transition:transform .22s ease;visibility:hidden}
 .mbar.on{transform:none;visibility:visible}
 .mbar-t{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px;color:var(--m-mu);font-size:13.5px}
 .mbar-t b{color:var(--m-tx);font:700 20px/1 'Space Grotesk',system-ui,sans-serif}
 .mbar-b{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:10px}
 .mbar-b button{min-height:48px;border:0;border-radius:var(--r-btn,8px);font:700 13px/1.1 'Space Grotesk',system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;padding:0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .mbar-p{background:var(--m-sel);color:var(--m-tx)}
 .mbar-g{background:var(--m-red);color:#fff}
 .mbar-g:disabled{opacity:.4;cursor:not-allowed}

 /* ---- feuille code promo ---- */
 .psh{display:block;position:fixed;inset:0;z-index:200;pointer-events:none}
 .psh-bd{position:absolute;inset:0;background:rgba(0,0,0,.6);opacity:0;transition:opacity .2s}
.psh-p{position:absolute;left:0;right:0;bottom:0;width:100%;max-width:none;margin:0;box-sizing:border-box;padding:10px 16px calc(20px + env(safe-area-inset-bottom));background:#150A10;border-radius:16px 16px 0 0;transform:translateY(100%);transition:transform .22s ease;color:var(--m-tx)}
 .psh.on{pointer-events:auto}
 .psh.on .psh-bd{opacity:1}
 .psh.on .psh-p{transform:none}
 .psh-gr{display:block;width:40px;height:4px;border-radius:2px;background:rgba(255,255,255,.2);margin:0 auto 14px}
 .psh-p h3{margin:0 0 6px;font:700 20px/1.2 'Space Grotesk',system-ui,sans-serif}
 .psh-p p{margin:0 0 14px;color:var(--m-mu);font-size:14px;line-height:1.4}
 .psh-p input{width:100%;box-sizing:border-box;height:52px;padding:0 14px;border-radius:var(--r-field,6px);border:0!important;outline:0!important;background:var(--m-field);color:var(--m-tx);font:600 16px/1 'Space Grotesk',system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase}
 .psh-p input::placeholder{color:#6f6064;text-transform:none;letter-spacing:0}
 .psh-p .psh-m{min-height:20px;margin:8px 0 8px;color:var(--m-grn);font-size:13px}
 .psh-ok,.psh-rm{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;border:0;border-radius:var(--r-btn,8px);font:700 15px/1 'Space Grotesk',system-ui,sans-serif;cursor:pointer}
 .psh-ok{background:var(--m-red);color:#fff}
 .psh-rm{margin-top:8px;background:var(--m-sel);color:var(--m-tx)}
 body.psh-lock{overflow:hidden}

 /* ---- Mes billets ---- */
 .cp-tab,.cp-btn,.cp-btn2{min-height:44px}
 .cp-card{max-width:100%}
 .cp-tks{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;-webkit-overflow-scrolling:touch}
 .cp-tk{flex:0 0 100%;scroll-snap-align:center;min-width:0;text-align:center}
 .cp-tk img{width:min(78vw,320px);height:auto;background:#fff;border-radius:var(--r-big,12px);padding:10px;box-sizing:border-box}
 .tkfs img{max-width:86vw;height:auto}
}
@media (max-width:767px){
 html body .tabbar.mtb .tb,html body .tabbar.mtb .tb.on{background:none!important;box-shadow:none!important;border:0!important;border-radius:0}
 html body .tabbar.mtb .tb.on{color:#F6F1F2!important}
 html body .dh .dh-r #loginbtn.dh-cta{width:44px!important;min-width:44px!important;max-width:44px!important;flex:none}
 html body .dh .ss .ss-ic{background:#150A10!important;border:0!important;width:44px;height:44px;min-width:44px;color:#F6F1F2!important}
 html body .dh .dh-in{gap:10px}
}
@media (max-width:767px){
 html body .tabbar.mtb{background:#150A10!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1}
 .una-s{white-space:nowrap;font-size:10.5px!important;padding:4px 8px!important;letter-spacing:.06em!important}
}
@media (max-width:767px){
 /* tunnel d'achat : bouton Payer fixé en bas, pas de pied de page, clavier : le bouton reste au-dessus */
 html body .pa .pa-payrow{position:fixed;left:0;right:0;bottom:0;z-index:70;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#150A10;border-radius:0;box-shadow:0 -1px 0 rgba(255,255,255,.07),0 -12px 30px rgba(0,0,0,.45)}
 html body .pa .pa-payrow .pa-btn{min-height:52px}
 html body .pa-wrap{padding-bottom:110px}
 html body:has(.pa) footer,html body:has(.pa) .sfoot,html body:has(.pa) .site-footer{display:none!important}
 html body .pa .pa-btn,html body .pa-sumtog,html body .pa input,html body .pa-promo button{min-height:48px}
 html body .pa input{font-size:16px}
}
@media (max-width:767px){
 /* Mes billets : une colonne, cartes compactes, billet en plein écran avec QR large */
 html body .cp .pg-h1{font-size:26px}
 html body .cp .cp-sub{display:none}
 html body .cp .cp-grid{margin-top:16px;gap:16px}
 html body .cp-side{flex-direction:row;flex-wrap:wrap;gap:8px}
 html body .cp-side .cp-id{display:none}
 html body .cp-side a,html body .cp-out{min-height:44px;padding:0 14px;font-size:14px}
 html body .cp-tabs{display:flex;gap:8px}
 html body .cp-tab{flex:1;min-height:44px;border-radius:var(--r-btn,8px)}
 html body .cp-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:14px;align-items:start}
 html body .cp-fl{width:72px;height:96px}
 html body .cp-in{flex:none;min-width:0}
 html body .cp-ev{font-size:16px;overflow-wrap:anywhere}
 html body .cp-qr{display:none}
 html body .cp-ac{grid-column:1 / -1;flex-direction:row;gap:8px}
 html body .cp-ac .cp-btn,html body .cp-ac .cp-btn2{flex:1;width:auto;min-height:48px;padding:0 8px;font-size:13px;text-align:center}
 html body .lbx.cx:has(.cp-mod){align-items:stretch;padding:0}
 html body .cbox.cp-mod{width:100%;max-width:none;height:100%;max-height:none;border-radius:0;margin:0;padding:64px 16px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;background:#09050A;display:flex;flex-direction:column;text-align:center;overflow:auto}
 html body .cbox.cp-mod .cclose{width:44px;height:44px;top:12px;right:12px}
 html body .cbox.cp-mod h3{font-size:20px;margin:0 0 4px;padding-right:44px;text-align:left}
 html body .cbox.cp-mod>.muted{text-align:left;margin:0 0 20px}
 html body .cp-tk{display:flex;flex-direction:column;align-items:center;gap:10px}
 html body .cp-tk img{width:min(82vw,340px)}
 .cp-hint{margin:16px 0 0;color:var(--m-mu);font-size:13.5px}
 html body:has(.lbx.cx) .tabbar.mtb{display:none!important}
}
@media (max-width:767px){
 html body .lbx.cx:has(.cp-mod){position:fixed;inset:0;z-index:300;background:#09050A;backdrop-filter:none;-webkit-backdrop-filter:none}
 html body .cbox.cp-mod{position:fixed;inset:0;background:#09050A!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0!important}
}
@media (max-width:767px){
html body:not(#_) .lbx.cx .cbox.cp-mod{box-sizing:border-box!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;transform:none!important;animation:none!important;border-radius:0!important;border:0!important}
}
@media (max-width:767px){
 html body:not(#_) .lbx.cx .cbox:not(.authx) .cclose{width:44px!important;height:44px!important;top:10px!important;right:10px!important}
}
