:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:#090f17;color:#f7f8fa}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffb15a;outline-offset:2px}.skip{position:absolute;top:-80px;left:10px;z-index:50;background:#fff;color:#111;padding:10px}.skip:focus{top:10px}.sr-only{position:absolute;clip:rect(0 0 0 0);height:1px;width:1px;overflow:hidden;white-space:nowrap}.header{height:64px;padding:0 clamp(12px,2.5vw,34px);display:flex;justify-content:space-between;align-items:center;background:#0b121d;border-bottom:1px solid #283341;gap:12px}.logo{display:flex;align-items:center;gap:12px;letter-spacing:.12em;white-space:nowrap;font-size:18px}.logo>span{font-weight:950;font-style:italic;color:#ee314f;font-size:32px}.logo strong{display:flex;flex-direction:column}.logo small{font-size:9px;letter-spacing:.3em;color:#becbd6}.header nav{display:flex;align-items:center;gap:clamp(6px,1.2vw,22px);overflow-x:auto;scrollbar-width:none}.header nav a{white-space:nowrap;font-weight:750;font-size:13px;padding:10px 11px;border-radius:9px;color:#d1d9e4}.header nav a[aria-current=page],.header nav a:hover{background:#263448;color:#fff}main{padding:0 clamp(8px,1.8vw,26px)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;flex-wrap:wrap}.toolbar-title{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}h1{font-size:clamp(15px,2vw,22px);letter-spacing:-.03em;margin:0}#count{color:#9eafbe;font-size:12px;margin:0}.toolbar form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.toolbar input,.toolbar select{background:#172536;color:#edf4fd;border:1px solid #415167;border-radius:9px;min-height:42px;padding:9px 10px;font-size:13px;max-width:100%;outline:none}.toolbar select{cursor:pointer}.toolbar .search input{width:clamp(170px,18vw,285px)}.toolbar .date input{width:148px}.toolbar button{border:1px solid #45586c;border-radius:9px;min-height:42px;padding:9px 13px;cursor:pointer;color:#edf4fd;background:#253347;font-size:13px;font-weight:700}.toolbar button.locate{background:#d21f3b;border-color:#ec4360;color:white;white-space:nowrap}.toolbar button:hover{filter:brightness(1.15)}.map-shell{position:relative;height:calc(100dvh - 166px);min-height:415px;background:#ecefe6;border:1px solid #526170;border-radius:14px;overflow:hidden}.map-shell iframe{display:block;border:0;width:100%;height:100%;background:#eee9e1}.overlay{position:absolute;z-index:7;bottom:16px;left:16px;max-width:min(365px,calc(100% - 32px));background:#101e2e;color:white;border:1px solid #546575;border-radius:14px;box-shadow:0 12px 36px #0007;padding:18px 19px}.overlay[hidden]{display:none}.overlay small{color:#ffc68d;font-size:11px;font-weight:800;text-transform:uppercase}.overlay h2{font-size:18px;line-height:1.25;margin:9px 28px 7px 0}.overlay p{font-size:13px;color:#c6d5e5;margin:0 0 15px}.overlay .close{position:absolute;right:10px;top:9px;color:#fff;background:none;border:0;font-size:18px;padding:6px;cursor:pointer}.event-actions{display:flex;gap:8px;flex-wrap:wrap}.event-actions a{background:#e32d49;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:800}.event-actions a+ a{background:#304459}#notice{font-size:12px;min-height:18px;margin:6px 0;color:#b6cbda}footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#9baebb;font-size:11px;padding:5px 3px 13px}footer a{text-decoration:underline;color:#e8eef6}@media(max-width:850px){.header{height:auto;min-height:56px;display:block;padding:8px 10px}.logo{display:inline-flex;margin-bottom:6px}.header nav{padding-bottom:2px;gap:4px}.header nav a{font-size:12px;padding:7px 10px}.toolbar{padding:8px 0;gap:8px}.toolbar-title{width:100%;justify-content:space-between;align-items:center}.toolbar form{width:100%;gap:5px}.toolbar .search{flex:1 1 160px}.toolbar .search input{width:100%;min-width:0}.toolbar select,.toolbar button,.toolbar input{min-height:38px;font-size:12px;padding:7px 9px}.toolbar .date input{width:130px}.toolbar .filter select{max-width:165px}.map-shell{height:calc(100dvh - 225px);min-height:430px}.overlay{bottom:8px;left:8px;right:8px;max-width:none;padding:12px 13px}.overlay h2{font-size:16px}}@media(max-width:460px){.toolbar .radius select{max-width:105px}.toolbar .date input{max-width:120px}.toolbar-title{align-items:flex-start;gap:3px}h1{font-size:17px}#count{font-size:11px}.map-shell{height:calc(100dvh - 260px);min-height:440px}.header nav{justify-content:flex-start}.toolbar .search{flex:1 1 100%}footer{font-size:10px}}

/* Filtres de la carte : mois prioritaires, date et rayon dans les détails. */
.toolbar{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:13px 0 10px}
.toolbar-title{width:100%;display:flex;gap:12px;align-items:baseline}
.toolbar-title h1{font-size:clamp(20px,2.4vw,28px);font-weight:850}
.month-filters{display:flex;gap:8px;width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#526478 transparent;padding:3px 0 8px;overscroll-behavior-x:contain}
.toolbar .month-chip{white-space:nowrap;flex:0 0 auto;min-height:39px;border-radius:999px;padding:8px 16px;border:1px solid #3b4c5f;background:#182635;color:#d8e4ee;font-weight:750;font-size:13px}
.toolbar .month-chip.is-active,.toolbar .month-chip[aria-pressed=true]{background:#eb3652;color:#fff;border-color:#eb3652;box-shadow:0 2px 12px #bd183a30}
.toolbar form{display:flex;width:100%;justify-content:flex-start;gap:8px;flex-wrap:wrap;align-items:center}
.toolbar .filter select{min-width:180px}
.toolbar button.everywhere{background:#182635}
.toolbar button.everywhere[aria-pressed=true]{border-color:#c5d2e0;background:#2c4052}
.toolbar button.locate{background:#d21f3b}
.more-filters{position:relative;z-index:20}
.more-filters summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;border:1px solid #45586c;border-radius:9px;background:#253347;color:#f1f5f8;padding:10px 14px;font-size:13px;font-weight:750;min-height:42px}
.more-filters summary::-webkit-details-marker{display:none}
.more-filters summary::after{content:'⌄';font-size:17px;line-height:1;margin-left:3px}
.more-filters[open] summary::after{transform:rotate(180deg)}
.more-filters.has-active summary::before{content:'';width:7px;height:7px;background:#fbba70;border-radius:50%}
.more-filters .more-content{position:absolute;z-index:21;top:calc(100% + 6px);right:0;width:min(500px,calc(100vw - 20px));padding:15px;border-radius:13px;background:#101c2b;border:1px solid #526478;box-shadow:0 13px 38px #0009;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.more-content label{display:flex;flex-direction:column;gap:6px;min-width:0}
.more-content label span{font-size:12px;font-weight:750;color:#c4d0dd}
.toolbar .more-content input,.toolbar .more-content select{width:100%;min-width:0;max-width:none}
.more-content .search{grid-column:1/-1}
.toolbar .more-content .search input{width:100%}
.more-content .reset{grid-column:1/-1}
.map-shell{height:calc(100dvh - 267px);min-height:340px}
@media(max-width:850px){
 .toolbar{gap:6px}
 .toolbar-title{justify-content:space-between}
 .toolbar form{gap:6px}
 .toolbar .filter select{min-width:0;max-width:180px}
 .toolbar .month-chip{min-height:37px;padding:7px 13px}
 .map-shell{height:calc(100dvh - 286px);min-height:330px}
}
@media(max-width:460px){
 .toolbar-title{align-items:baseline;gap:10px}
 .toolbar-title h1{font-size:20px}
 .toolbar .filter{flex:1 1 130px}
 .toolbar .filter select{width:100%;max-width:none}
 .toolbar button.everywhere,.toolbar button.locate{min-height:38px}
 .more-filters{flex:1 1 100%}
 .more-filters summary{justify-content:center;min-height:36px;padding:6px 10px}
 .more-filters .more-content{right:0;width:100%;min-width:min(320px,calc(100vw - 16px))}
 .month-filters{padding-bottom:7px}
 .map-shell{height:calc(100dvh - 323px);min-height:335px}
}

/* Event explorer refinement: compact month totals and useful zero-results state. */
.toolbar .month-chip{display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:background-color .15s ease,border-color .15s ease,transform .15s ease}
.toolbar .month-chip:hover{border-color:#a3b5c8;background:#263b50}
.toolbar .month-chip.is-active:hover{background:#f33f61}
.month-chip .month-total{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;background:#2b3c4c;color:#c7d5e4;border-radius:30px;font-size:11px;line-height:1;font-weight:800;letter-spacing:0}
.month-chip.is-active .month-total{background:#ffffff2b;color:#fff}
.toolbar .month-chip.is-empty:not(.is-active){opacity:.65}
.toolbar .month-chip.is-empty:not(.is-active) .month-total{opacity:.7}
.empty-state:not([hidden]){width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0;padding:9px 12px;background:#1d2c3e;border:1px solid #53677a;border-radius:10px;color:#dbe7f2;font-size:13px}
.empty-state button{min-height:34px;background:#d21f3b;border:1px solid #d21f3b;border-radius:8px;padding:7px 12px;color:white;font-weight:750;white-space:nowrap}
.more-filters summary:hover{background:#31445a}
.more-filters[open] summary{border-color:#a4bacb;background:#31445a}
.more-content input[type=date]{color-scheme:dark}
@media(max-width:460px){
 .toolbar .month-chip{gap:6px;padding-left:11px;padding-right:11px}
 .month-chip .month-total{min-width:19px;height:19px;font-size:10px;padding:0 5px}
 .empty-state:not([hidden]){font-size:12px}
 .empty-state button{font-size:12px;min-height:32px}
}
@media(prefers-reduced-motion:reduce){.toolbar .month-chip{transition:none}}

/* Ne montrer que les deux filtres mensuels demandés : novembre et décembre. */
.month-filters .month-chip[hidden]{display:none!important}
@media(max-width:460px){.month-filters{overflow-x:visible;gap:8px}.month-filters .month-chip{flex:1 1 50%;max-width:none}}

/* Reprise accessible si l'iframe cartographique ne démarre pas. */
.map-recovery:not([hidden]){position:absolute;z-index:8;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;gap:11px;width:min(440px,calc(100% - 26px));padding:20px;background:#102032f5;border:1px solid #7890a5;border-radius:14px;color:#f0f6ff;box-shadow:0 15px 50px #08121a9c}
.map-recovery strong{font-size:17px;line-height:1.3}
.map-recovery p{margin:0;font-size:13px;line-height:1.5;color:#cbd7e3}
.map-recovery>div{display:flex;gap:8px;flex-wrap:wrap}
.map-recovery button,.map-recovery a{flex:1 1 160px;min-height:44px;border-radius:9px;padding:11px;text-align:center;font-size:13px;font-weight:800;cursor:pointer;border:1px solid #677b92;color:#fff;background:#2a4054}
.map-recovery button{background:#df2947;border-color:#df2947}
.map-recovery :is(button,a):focus-visible{outline:3px solid #ffc06c;outline-offset:2px}

/* Infinity : catégories lisibles en un regard, sans surcharge sur la carte. */
.event-legend{display:flex;align-items:center;gap:10px;width:100%;overflow-x:auto;white-space:nowrap;scrollbar-width:none;padding:1px 0 5px}
.event-legend::-webkit-scrollbar{display:none}
.event-legend-label{font-size:11px;font-weight:750;color:#92a6b8;flex:0 0 auto}
.event-legend-item{display:inline-flex;align-items:center;gap:5px;font-weight:700;font-size:11px;color:#d6e0ea;flex:0 0 auto}
.legend-icon{width:24px;height:24px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1;color:#fff;font-weight:800}
.legend-ride{background:#2563eb}.legend-party{background:#8b5cf6}.legend-meal{background:#f97316}.legend-competition{background:#e11d48}.legend-meeting{background:#16a34a}.legend-other{background:#64748b}
.overlay .event-kind{display:inline-block;border-radius:999px;padding:5px 10px;color:#fff;font-size:12px;font-weight:850;margin:0 8px 6px 0}
.overlay #event-date{display:inline-block;margin:0 0 6px;font-size:11px;color:#d1e2f1}
@media(max-width:460px){
 .event-legend{gap:8px;padding:1px 0 4px}
 .event-legend-item{font-size:11px}
 .legend-icon{width:23px;height:23px;font-size:14px}
 .map-shell{height:calc(100dvh - 351px);min-height:315px}
}
.legend-icon svg{display:block;width:16px;height:16px;flex:0 0 auto}
@media(max-width:460px){.legend-icon svg{width:15px;height:15px}}

/* Sur téléphone : toutes les catégories visibles, sans défilement caché. */
@media(max-width:460px){
 .event-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 4px;overflow:visible;padding:2px 0 6px}
 .event-legend-label{grid-column:1/-1;line-height:1}
 .event-legend-item{min-width:0;gap:4px;font-size:10.5px;letter-spacing:-.015em}
 .legend-icon{flex:0 0 22px;width:22px;height:22px}
 .map-shell{height:calc(100dvh - 378px);min-height:300px}
}

/* 2026-11-02 — Infinity, lisibilité des filtres sur iPhone et petits écrans.
   L'ancien menu était absolument positionné sur la carte et masquait les repères. */
.date-control{display:block;position:relative;min-width:0;width:100%}
.date-control .date-placeholder{display:none}
@media(max-width:850px){
 .header{padding:9px 12px 6px;min-height:0}
 .logo{gap:8px;margin-bottom:4px;font-size:17px;letter-spacing:.025em}
 .logo>span{font-size:27px}
 .logo strong{display:block;font-size:17px;line-height:1.25}
 .header nav{gap:4px;overflow-x:auto;scrollbar-width:none}
 .header nav a{font-size:12px;padding:8px 10px;flex:0 0 auto}
 main{padding:0 12px}
 .toolbar{padding:9px 0 8px;gap:7px}
 .toolbar-title h1{font-size:20px;line-height:1.15}
 #count{font-size:11px}
 .month-filters{gap:8px;padding:0 0 3px}
 .toolbar .month-chip{min-height:39px;border-radius:12px;font-size:12px;padding:7px 12px}
 .toolbar form#filters{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:stretch}
 .toolbar form#filters>.filter{min-width:0}
 .toolbar form#filters>.filter select{width:100%;max-width:none;min-width:0;height:42px;text-overflow:ellipsis;padding-inline:10px}
 .toolbar form#filters>#everywhere,.toolbar form#filters>#locate{min-width:0;padding:7px 10px;min-height:42px;font-size:12px}
 .toolbar form#filters>#locate span{white-space:nowrap}
 .toolbar form#filters>.more-filters{grid-column:1/-1;display:block;position:static;z-index:auto;min-width:0;width:100%;flex:auto}
 .more-filters summary{min-height:39px;padding:7px 13px;justify-content:center;border-radius:11px;font-size:12px}
 .more-filters[open] summary{border-color:#6f8299}
 .more-filters .more-content{position:static;z-index:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;max-width:none;margin-top:7px;padding:12px;gap:10px;box-shadow:none;border:1px solid #42566d;border-radius:12px;background:#111e2d}
 .more-filters:not([open]) .more-content{display:none}
 .more-content .search{grid-column:1/-1}
 .more-content label{min-width:0;gap:5px}
 .more-content label>span:first-child{font-size:12px}
 .toolbar .more-content input,.toolbar .more-content select,.toolbar .more-content .search input{max-width:none;min-width:0;width:100%;height:42px;min-height:42px;border-radius:9px;font-size:14px;padding:9px 11px}
 .toolbar .more-content .date input{max-width:none;width:100%;padding-right:9px}
 .date-control .date-placeholder{display:block;position:absolute;left:12px;top:50%;transform:translateY(-50%);pointer-events:none;font-size:13px;font-weight:500;color:#aebed1}
 .date.has-value .date-placeholder{display:none}
 .date:not(.has-value) input{color:transparent}
 .date.has-value input{color:#edf4fd}
 .more-content .reset{grid-column:1/-1;min-height:39px;padding:7px 12px;border-radius:9px;background:#26384c}
 .event-legend{margin-top:2px}
 .map-shell{height:clamp(420px,62dvh,620px);min-height:420px;border-radius:13px}
 #notice{min-height:0}
 footer{padding:8px 3px 20px;line-height:1.4}
}
@media(max-width:460px){
 .header{padding:9px 10px 5px}
 .header nav{gap:2px}
 .header nav a{padding:7px 9px}
 main{padding:0 10px}
 .toolbar{gap:7px}
 .toolbar-title{align-items:baseline;gap:8px}
 .toolbar-title h1{font-size:20px}
 .toolbar .month-chip{min-height:40px;padding:8px 10px}
 .toolbar form#filters{grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
 .toolbar form#filters>.filter{flex:auto;min-width:0}
 .toolbar form#filters>.filter select{font-size:12px;padding:8px 8px}
 .toolbar form#filters>#everywhere,.toolbar form#filters>#locate{font-size:11px;padding:7px 8px}
 .toolbar form#filters>#locate span{font-size:11px}
 .toolbar form#filters>.more-filters{flex:auto;min-width:0}
 .more-filters .more-content{width:100%;min-width:0;right:auto}
 .toolbar .more-content .date input{max-width:none}
 .event-legend{gap:5px 5px;padding:1px 0 4px}
 .event-legend-label{font-size:10px}
 .event-legend-item{font-size:10px}
 .map-shell{height:max(440px,61dvh);min-height:440px}
}

/* Navigation mobile entièrement visible et pictogrammes sans glyphes manquants. */
.toolbar button.locate{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.toolbar button.locate svg{display:block;width:15px;height:15px;flex:0 0 auto}
.more-filters summary::after{content:"";display:inline-block;width:8px;height:8px;margin-left:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);font-size:0;flex:0 0 auto}
.more-filters[open] summary::after{transform:rotate(-135deg)}
@media(max-width:460px){
 .header nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%;overflow:visible}
 .header nav a{font-size:11px;line-height:1.2;text-align:center;letter-spacing:-.04em;padding:9px 2px;min-width:0}
}
@media(max-width:360px){
 .header nav a{font-size:10px}
 .toolbar button.locate svg{width:13px;height:13px}
 .toolbar form#filters>#everywhere,.toolbar form#filters>#locate,.toolbar form#filters>#locate span{font-size:10px}
}

/* Correctif Safari iPhone : un champ date natif en superposition ne peut plus
   agrandir sa ligne ni décaler le sélecteur de distance. */
@media(max-width:600px){
 .toolbar form#filters .more-filters .more-content{
  display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:12px;
  padding:13px;margin-top:8px;max-width:none;min-width:0;width:100%;
  position:static;box-sizing:border-box
 }
 .toolbar form#filters .more-content>label,
 .toolbar form#filters .more-content>.reset{
  grid-column:1/-1;min-width:0;width:100%;margin:0;align-self:stretch
 }
 .toolbar form#filters .more-content>label{display:flex;flex-direction:column;align-items:stretch;gap:6px}
 .toolbar form#filters .more-content .date-control{
  position:relative;display:flex;align-items:center;width:100%;height:46px;min-height:46px;max-height:46px;
  background:#172536;border:1px solid #415167;border-radius:9px;overflow:hidden;box-sizing:border-box
 }
 .toolbar form#filters .more-content .date-control input[type=date]{
  position:absolute!important;inset:0!important;display:block!important;
  opacity:0!important;-webkit-appearance:none;appearance:none;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:100%!important;min-height:0!important;max-height:100%!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  z-index:2;cursor:pointer;box-sizing:border-box
 }
 .toolbar form#filters .more-content .date-control .date-placeholder{
  display:block!important;position:static!important;transform:none!important;
  margin:0;padding:0 12px;font-size:14px;line-height:20px;font-weight:500;
  color:#c9d6e4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  flex:1;min-width:0;pointer-events:none
 }
 .toolbar form#filters .more-content .date-control .date-calendar{
  width:18px;height:18px;margin-right:12px;flex:none;color:#c9d6e4;pointer-events:none
 }
 .toolbar form#filters .more-content .date-control:focus-within{outline:2px solid #ffb15a;outline-offset:2px}
 .toolbar form#filters .more-content .radius select{
  display:block;width:100%!important;min-width:0!important;max-width:none!important;
  height:46px!important;min-height:46px!important;margin:0!important;padding:8px 12px!important
 }
 .toolbar form#filters .more-content .search input{height:46px!important;min-height:46px!important}
 .toolbar form#filters .more-content .reset{min-height:42px}
}
@media(min-width:601px){
 .date-control .date-calendar{display:none}
}

/* Logo identique au reste du site (Claude, 03/11/2026) */
.logo strong{display:flex!important;flex-direction:column!important;line-height:1.05;font-size:18px;letter-spacing:.12em}.logo strong small{display:block;font-size:8px;letter-spacing:.32em;color:#becbd6;font-weight:700;text-align:center}

/* Navigation commune aux pages publiques ; la carte reste une vue des événements. */
.header{height:auto;min-height:88px;padding:16px max(24px,calc((100vw - 1440px)/2));background:#0b0d11;gap:24px}
.header nav{gap:clamp(12px,1.7vw,28px)}
.header nav a{border-radius:0;padding:10px 0;font-weight:600;border-bottom:2px solid transparent}
.header nav a[aria-current=page]{background:transparent;border-bottom-color:#ef2638}
.header nav a.nav-website{color:#ffa5ad;border:1px solid #a73a48;border-radius:4px;padding:10px 16px}
#map-menu-toggle{display:none;background:#1a2634;border:1px solid #5b6675;color:white;border-radius:10px;padding:9px 14px;font-size:22px}
.event-view-switch{display:flex;gap:8px;flex-wrap:wrap}.event-view-switch a{padding:10px 16px;border:1px solid #394554;border-radius:999px;font-size:13px;font-weight:700}.event-view-switch a[aria-current=page]{background:#e32d49;border-color:#e32d49;color:white}
@media(max-width:850px){.header{display:flex;position:relative;min-height:70px;padding:12px 18px}.logo{margin:0}#map-menu-toggle{display:block}.header nav{display:none;position:absolute;top:100%;left:12px;right:12px;z-index:50;background:#111c29;border:1px solid #536378;border-radius:16px;padding:9px}.header nav.is-open{display:flex;flex-direction:column;align-items:stretch}.header nav a{padding:12px 14px}.header nav a[aria-current=page]{background:#273747;border-radius:9px}.event-view-switch a{font-size:12px}}


/* Pictogrammes événementiels identiques à la liste : 4 catégories, sans Réunion. */
.legend-icon{background:#1b2c3d!important;color:var(--event-accent)!important;border:1px solid color-mix(in srgb,var(--event-accent) 55%,#26394b);border-radius:8px}
.legend-ride{--event-accent:#5aaaff}.legend-competition{--event-accent:#ff5268}.legend-party{--event-accent:#bea0ff}.legend-meal{--event-accent:#f6c956}
.legend-icon svg{width:17px;height:17px}
.toolbar button.locate{background:linear-gradient(135deg,#126977,#134b64)!important;border-color:#5bc5cf!important;color:#fff}
.overlay .event-kind{display:inline-flex;align-items:center;gap:7px;background:#1b2c3d!important;border:1px solid #4b6076;border-radius:9px;padding:7px 11px;margin-bottom:10px}
.overlay .event-kind svg{width:19px;height:19px;flex:0 0 19px}
.overlay .event-club-signature{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #4c667a;border-radius:11px;background:linear-gradient(120deg,#22374b,#172532);margin:0 0 15px}
.overlay .event-club-signature[hidden]{display:none}
.overlay .event-club-emblem{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #7eaac4;border-radius:9px;background:#31536a;color:#f6d58d;font-size:12px;font-weight:900}
.overlay .event-club-label{display:grid;gap:3px;min-width:0}
.overlay .event-club-label small{color:#aac5d6;font-size:9px;letter-spacing:.09em}
.overlay .event-club-label strong{font-size:12px;color:#fff;overflow-wrap:anywhere}
@media(max-width:600px){.event-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.event-legend-label{grid-column:1/-1}}

/* Infinity — carte interactive : filtres visibles, catégories raffinées et agenda connecté. */
.toolbar{gap:13px;padding:19px 0 17px}
.toolbar-top{width:100%;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.toolbar-title{display:flex;align-items:baseline;gap:15px}
.toolbar-title h1{font-size:clamp(20px,2.3vw,29px);font-weight:850;letter-spacing:-.035em}
.event-view-switch a{border-radius:10px;padding:9px 13px}
.event-view-switch a[aria-current=page]{background:#243449;border-color:#5b7792}
.toolbar form#filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;width:100%;margin:0}
.toolbar form#filters>.map-field{display:flex;flex-direction:column;gap:7px;min-width:0;padding:12px 15px;border-radius:14px;border:1px solid #41566b;background:linear-gradient(135deg,#21354a,#192b3d);color:#eff6ff}
.toolbar form#filters>.map-field>span:first-child{color:#a5b9cc;font-size:12px;font-weight:750}
.toolbar form#filters>.map-field :is(select,input){width:100%;max-width:none;min-width:0;min-height:35px;padding:3px 0;border:0;background:transparent;color:#f9fbff;font-size:16px;font-weight:760;border-radius:0}
.toolbar form#filters>.map-field input::placeholder{color:#a2b4c6;opacity:1}
.toolbar form#filters>.map-field .date-control{position:relative;display:flex;align-items:center;min-height:35px}
.toolbar form#filters>.map-date input[type=date]{display:block!important;position:absolute!important;inset:0!important;z-index:2;opacity:0!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;padding:0!important;margin:0!important;cursor:pointer}
.toolbar form#filters>.map-date .date-placeholder{display:block!important;position:static!important;transform:none!important;pointer-events:none;color:#f9fbff;font-size:16px;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.toolbar form#filters>.map-date .date-calendar{display:block!important;width:20px;height:20px;color:#85d6d8;pointer-events:none;flex-shrink:0}
.toolbar form#filters>.map-field:focus-within{outline:2px solid #73bbdb;outline-offset:2px}
.toolbar form#filters>.map-city{grid-column:1/-1}
.toolbar form#filters>.map-city input{font-weight:600}
.toolbar form#filters>.more-filters[hidden],.toolbar form#filters>#category.sr-only{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important;display:block!important;visibility:hidden!important}
.toolbar form#filters>.more-filters[hidden]{display:none!important}
.map-nearby{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px 12px;width:100%;border:1px solid #405469;border-radius:14px;background:linear-gradient(135deg,#192d41,#142435);padding:12px 14px}
.map-nearby-label{display:flex;align-items:center;gap:10px;min-width:170px;margin-right:6px}
.map-nearby-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;border:1px solid #416478;background:#213f52;color:#9ae3df;flex-shrink:0}
.map-nearby-icon svg{width:20px;height:20px}
.map-nearby-label strong{display:block;font-size:13px;font-weight:850}
.map-nearby-label small{display:block;color:#a4b7c9;font-size:10.5px;line-height:1.4;margin-top:3px}
.toolbar .map-nearby button{min-height:38px;border-radius:9px;font-size:12px;font-weight:800;padding:7px 12px}
.toolbar .map-nearby button.locate{display:inline-flex;align-items:center;gap:7px;background:#244359!important;color:#fff!important;border:1px solid #5e8ca9!important;box-shadow:none}
.toolbar .map-nearby button.locate svg{width:17px;height:17px}
.nearby-distances{display:flex;flex-wrap:wrap;gap:6px}
.toolbar .nearby-distances button{background:#162739;color:#e5eff9;border:1px solid #43586f;min-width:66px}
.toolbar .nearby-distances button[aria-pressed=true]{background:#b92542;color:white;border-color:#e3526b}
.toolbar .map-nearby .everywhere{background:#152434!important;border:1px solid #50667a!important;color:#d8e4ed}
.toolbar .map-nearby .everywhere[aria-pressed=true]{background:#2e4863!important;border-color:#83afcb!important}
.event-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;width:100%;overflow:visible;padding:0}
.toolbar .event-legend-item{display:flex;justify-content:flex-start;gap:11px;align-items:center;width:100%;min-width:0;min-height:57px;padding:9px 12px;border:1px solid #8eadd5;border-radius:12px;background:#fff;color:#1b3248;font-size:13px;font-weight:850;cursor:pointer;box-shadow:0 3px 10px #00000017;transition:transform .15s ease,border-color .15s ease}
.toolbar .event-legend-item:hover{filter:none;transform:translateY(-1px);border-color:#387cc2}
.toolbar .event-legend-item[aria-pressed=true]{border:2px solid #2876c3;box-shadow:0 0 0 2px #63b5ff26}
.toolbar .event-legend-item[aria-pressed=true]::after{content:'✓';margin-left:auto;color:#246db7;font-size:14px;font-weight:900}
.toolbar .legend-icon{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:10px;background:#f2f8ff!important;border:1px solid #c6dbef!important;color:var(--event-accent)!important}
.toolbar .legend-ride{--event-accent:#247ad0}.toolbar .legend-competition{--event-accent:#d8314d}.toolbar .legend-party{--event-accent:#8562c7}.toolbar .legend-meal{--event-accent:#c58a19}
.toolbar .legend-icon svg{width:21px;height:21px}
.map-filter-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;flex-wrap:wrap}
.map-filter-foot .month-filters{width:auto;flex:1 1 250px;margin:0;padding:0}
.map-filter-foot .month-chip{border-radius:10px;background:#1a2a3b;border-color:#43556a}
.toolbar .map-filter-foot #clear{background:#1e3042;border:1px solid #526881;border-radius:9px;min-height:37px;padding:7px 12px;color:#dce7f3;font-size:12px;font-weight:800}
.map-shell{height:clamp(390px,61dvh,610px);min-height:390px;border-color:#4e6578}
#notice{padding:5px 0}
.map-event-results{margin:14px 0 25px;padding:18px;border:1px solid #32465b;border-radius:16px;background:linear-gradient(135deg,#122030,#0e1926)}
.map-results-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.map-results-head small{display:block;font-size:10px;letter-spacing:.14em;font-weight:850;color:#fc647a;margin-bottom:5px}
.map-results-head h2{margin:0;font-size:clamp(18px,2vw,25px);font-weight:850}
.map-results-head p{margin:6px 0 0;font-size:12px;color:#a6b9cd}
.map-results-head a{font-size:12px;font-weight:800;border:1px solid #5d7690;border-radius:9px;padding:10px 13px;color:#f8fbff}
.map-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.map-event-card{min-width:0;display:flex;flex-direction:column;background:#1b2a3a;border:1px solid #3b5065;border-radius:13px;overflow:hidden}
.map-event-image{height:145px;overflow:hidden;background:linear-gradient(125deg,#244960,#111e2a);position:relative}
.map-event-image img{display:block;width:100%;height:100%;object-fit:cover}
.map-event-image.is-placeholder::after{content:'∞';position:absolute;inset:0;display:grid;place-items:center;font-size:45px;color:#b1ccd8}
.map-event-details{padding:13px;display:flex;flex-direction:column;gap:7px;flex:1}
.map-event-subhead{display:flex;align-items:center;gap:7px;justify-content:space-between;flex-wrap:wrap}
.map-event-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:7px;padding:4px 7px;color:#1b3248;font-size:10px;font-weight:850}
.map-event-chip svg{display:block;width:16px;height:16px}
.map-event-chip-ride svg{color:#247ad0}.map-event-chip-competition svg{color:#d8314d}.map-event-chip-party svg{color:#8562c7}.map-event-chip-meal svg{color:#c58a19}
.map-event-place{font-size:10px;color:#b7c5d4}
.map-event-card h3{margin:2px 0 0;font-size:14px;line-height:1.35;font-weight:850;color:#fff}
.map-event-card p{margin:0;color:#bbcbdc;font-size:11px}
.map-event-card time{color:#9db3c9;font-size:11px}
.map-event-card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto;padding-top:4px}
.map-event-card-actions :is(button,a){flex:1 1 100px;min-height:35px;display:inline-flex;justify-content:center;align-items:center;gap:4px;text-align:center;border:1px solid #55718e;border-radius:8px;padding:7px 10px;background:#2a4058;color:#fff;font-size:11px;font-weight:800;cursor:pointer}
.map-event-card-actions a{background:#a92740;border-color:#c9475e}
.map-show-more{display:block;margin:16px auto 0;padding:11px 18px;border:1px solid #5e7790;border-radius:9px;background:#263b52;color:#fff;font-weight:800}
.map-show-more[hidden]{display:none}
.map-photo-note{margin:12px 0 0;color:#8c9fb1;font-size:10px}
.map-event-no-results{grid-column:1/-1;margin:0;background:#1a2b3b;border:1px solid #3a5268;border-radius:10px;padding:20px;color:#d4e1ee;font-size:13px}
@media(max-width:980px){.map-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar .event-legend-item{font-size:12px;padding:8px}}
@media(max-width:700px){
 .header{min-height:65px}
 .toolbar{gap:10px;padding:12px 0 14px}
 .toolbar-top{align-items:flex-start}
 .toolbar-title{display:block}
 .toolbar form#filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .toolbar form#filters>.map-field{padding:10px 11px;border-radius:11px}
 .toolbar form#filters>.map-field>span:first-child{font-size:11px}
 .toolbar form#filters>.map-field :is(select,input){font-size:13px;min-height:31px}
 .toolbar form#filters>.map-date .date-placeholder{font-size:13px}
 .map-nearby{gap:9px;padding:11px}
 .map-nearby-label{width:100%;min-width:0}
 .toolbar .map-nearby button.locate{width:100%;justify-content:center}
 .nearby-distances{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
 .toolbar .nearby-distances button{min-width:0;padding:7px 3px}
 .toolbar .map-nearby .everywhere{width:100%}
 .event-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .toolbar .event-legend-item{min-height:53px;padding:8px 10px}
 .toolbar .legend-icon{flex-basis:31px;width:31px;height:31px}
 .map-filter-foot .month-filters{flex-basis:100%}
 .map-shell{height:clamp(390px,57dvh,530px);min-height:390px}
 .map-event-results{padding:13px}
 .map-event-grid{grid-template-columns:1fr}
 .map-event-card{display:grid;grid-template-columns:110px minmax(0,1fr)}
 .map-event-image{height:100%;min-height:158px}
 .map-event-details{padding:10px;gap:5px}
 .map-event-card-actions{gap:5px}
 .map-event-card-actions :is(button,a){flex-basis:100px;padding:6px 7px}
}
@media(max-width:380px){.map-event-card{grid-template-columns:96px minmax(0,1fr)}.map-event-image{min-height:165px}.map-event-place{font-size:9px}.map-event-card h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){.toolbar .event-legend-item{transition:none}}

/* Police réellement sans serif, y compris sur Linux où Inter est absent. */
:root{font-family:Arial,Helvetica,sans-serif}

/* Réglages éditoriaux 03/11 : carte lisible, repères clairs, résultats visibles juste en dessous. */
.toolbar{gap:10px;padding:12px 0 12px}
.toolbar-top{gap:10px}
.toolbar-title h1{font-size:clamp(19px,2.2vw,27px);font-weight:800}
.map-title-detail{font-size:.59em;color:#b5c6d6;font-weight:650;white-space:nowrap;letter-spacing:0}
.toolbar form#filters>.map-field{background:linear-gradient(135deg,#1c2f43,#182a3d);border-color:#425a72;min-height:72px}
.toolbar form#filters>.map-field>span:first-child{font-size:12px;letter-spacing:.02em}
.map-nearby{justify-content:flex-start;gap:8px 11px;padding:10px 12px;background:#152535;border-color:#445b72}
.map-nearby-label{min-width:190px;margin-right:2px}
.map-nearby-label strong{font-size:13px;letter-spacing:-.01em}
.map-nearby-label small{max-width:230px}
.toolbar .map-nearby button.locate{background:#24465f!important;border:1px solid #668da7!important}
.toolbar .map-nearby button.locate:hover{background:#315d79!important}
.event-legend{gap:9px}
.toolbar .event-legend-item{border:1px solid #bed0e2;min-height:55px;border-radius:12px;padding:9px 13px;gap:10px;background:#fff;color:#162b40;font-size:13px;font-weight:800;box-shadow:0 2px 9px #0002}
.toolbar .event-legend-item[aria-pressed=true]{border:2px solid #2475c6;background:#f5faff;box-shadow:0 0 0 2px #2e8def21}
.toolbar .event-legend-item[aria-pressed=true]::after{color:#126abd}
.toolbar .legend-icon{background:#fff!important;border:1px solid #9bbde0!important;width:36px;height:36px;flex-basis:36px;border-radius:10px}
.toolbar .legend-icon svg{width:22px;height:22px;stroke-width:2.2}
.map-shell{height:clamp(375px,49dvh,480px);min-height:375px}
.map-event-results{margin-top:11px;padding:15px}
.map-results-head{margin-bottom:12px}
.map-event-grid{gap:11px}
.map-event-card{border-color:#50647a;background:#1b2c3e}
.map-event-card:hover{border-color:#7ea9d2;box-shadow:0 4px 20px #0003}
.map-event-image{height:128px}
.map-event-details{padding:12px;gap:6px}
.map-event-card h3{font-weight:780;font-size:14px}
.map-event-card-actions :is(button,a){min-height:38px}
@media(max-width:700px){
 .toolbar{gap:8px;padding-top:10px}
 .toolbar form#filters>.map-field{min-height:65px}
 .map-nearby-label{width:100%;min-width:0}
 .toolbar .map-nearby button.locate{width:100%;justify-content:flex-start}
 .toolbar .map-nearby .everywhere{width:auto}
 .map-shell{height:clamp(365px,53dvh,475px);min-height:365px}
 .map-event-image{height:100%;min-height:145px}
}
@media(max-width:390px){.toolbar .event-legend-item{font-size:12px;padding:8px}.toolbar .legend-icon{width:32px;height:32px;flex-basis:32px}}
/* Bandeau des événements visible dès le haut de la carte, comme sur la liste. */
.map-event-ticker{display:flex;align-items:center;gap:13px;padding:9px clamp(8px,1.8vw,26px);border-bottom:1px solid #324458;background:#132130;min-width:0;color:#fff}
.map-event-ticker-label{display:flex;flex-direction:column;gap:5px;flex:0 0 152px;min-width:0}
.map-event-ticker-label strong{font-size:12px;line-height:1.2;font-weight:800}
.map-event-ticker-label a{font-size:10px;color:#a9cee9;text-decoration:underline;text-underline-offset:2px}
.map-event-ticker-track{display:flex;flex:1 1 auto;gap:9px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.map-event-ticker-track::-webkit-scrollbar{display:none}
.map-event-ticker-item{display:flex;align-items:center;gap:9px;flex:0 0 min(290px,75vw);min-width:0;min-height:66px;padding:3px 10px 3px 0;border-right:1px solid #3f5468;scroll-snap-align:start}
.map-event-ticker-photo{display:block;flex:0 0 53px;width:53px;height:52px;overflow:hidden;border-radius:8px;background:#213d51}
.map-event-ticker-photo img{width:100%;height:100%;object-fit:cover;display:block}
.map-event-ticker-info{display:flex;min-width:0;flex-direction:column;gap:3px}
.map-event-ticker-info small{color:#e7b999;font-size:9px;font-weight:750;text-transform:uppercase}
.map-event-ticker-info strong{font-size:11px;font-weight:800;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.map-event-ticker-info>span{font-size:10px;color:#bed0de;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.map-event-ticker-empty{font-size:12px;color:#ccd9e5;margin:8px 0}
@media(max-width:700px){
 .map-event-ticker{display:block;padding:8px 10px 7px}
 .map-event-ticker-label{flex-direction:row;justify-content:space-between;gap:8px;margin-bottom:3px}
 .map-event-ticker-label strong{font-size:11px}
 .map-event-ticker-item{flex-basis:min(235px,67vw);min-height:52px}
 .map-event-ticker-photo{width:45px;height:43px;flex-basis:45px}
 .map-event-ticker-info small{font-size:9px}
 /* Simplification iPhone : les filtres existent tous, mais la carte commence sans défilement inutile. */
 .toolbar{gap:6px;padding:8px 0}
 .toolbar-top{gap:6px}
 .toolbar-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
 .toolbar-title h1{font-size:17px}
 .map-title-detail{display:none}
 #count{font-size:10px}
 .event-view-switch{gap:7px}
 .event-view-switch a{font-size:11px;min-height:34px;padding:7px 10px;border-radius:8px}
 .toolbar form#filters{gap:6px}
 .toolbar form#filters>.map-field{min-height:52px;padding:7px 10px;border-radius:10px;gap:2px}
 .toolbar form#filters>.map-field>span:first-child{font-size:10px}
 .toolbar form#filters>.map-field :is(select,input){min-height:24px;height:25px;font-size:12px;padding:0}
 .toolbar form#filters>.map-date .date-placeholder{font-size:12px}
 .toolbar form#filters>.map-date .date-calendar{height:16px;width:16px}
 .map-nearby{display:grid;grid-template-columns:1fr auto;gap:6px 7px;padding:8px;border-radius:11px}
 .map-nearby-label{grid-column:1;margin:0;gap:6px;min-width:0;width:auto}
 .map-nearby-icon{width:29px;height:29px;border-radius:8px}
 .map-nearby-icon svg{width:16px;height:16px}
 .map-nearby-label strong{font-size:11px}
 .map-nearby-label small{font-size:9px;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .toolbar .map-nearby button.locate{grid-column:2;width:auto;min-width:0;min-height:35px;padding:5px 9px;font-size:10px;justify-content:center}
 .toolbar .map-nearby button.locate svg{width:14px;height:14px}
 .nearby-distances{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:100%}
 .toolbar .nearby-distances button{min-width:0;min-height:32px;border-radius:7px;font-size:10px;padding:5px 1px}
 .toolbar .map-nearby .everywhere{width:100%;min-width:0;min-height:32px;border-radius:7px;font-size:10px;padding:5px 3px;justify-self:stretch}
 .event-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .toolbar .event-legend-item{min-height:40px;padding:5px 8px;gap:7px;border-radius:9px;font-size:11px}
 .toolbar .legend-icon{width:28px;height:28px;flex-basis:28px;border-radius:7px}
 .toolbar .legend-icon svg{width:18px;height:18px}
 .map-filter-foot{flex-wrap:nowrap;align-items:center;gap:8px}
 .map-filter-foot .month-filters{width:auto;min-width:0;flex:1 1 auto;gap:5px;padding:0}
 .toolbar .month-chip{min-height:33px;padding:5px 8px;font-size:11px;border-radius:7px}
 .month-chip .month-total{min-width:19px;height:19px;padding:0 4px}
 .toolbar .map-filter-foot #clear{flex:0 0 auto;min-height:33px;font-size:10px;padding:5px 8px}
 .map-shell{height:clamp(320px,52dvh,510px);min-height:320px}
}
/* Le mode global se reconnaît immédiatement : rouge = filtre actuellement choisi. */
.toolbar .map-nearby .everywhere[aria-pressed="true"]{background:#b92542!important;border-color:#e3526b!important;color:#fff!important}

/* Maquette validée : deux filtres distincts, lisibles et équilibrés sur fond noir. */
.toolbar form#filters>.map-field.map-region,
.toolbar form#filters>.map-field.map-date{
 position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto;
 align-items:center;gap:10px;min-width:0;min-height:75px;
 padding:10px 13px;border-radius:14px;overflow:visible;
 background:linear-gradient(120deg,#193448 0%,#132230 85%);
 box-shadow:inset 0 1px 0 #ffffff0a;
}
.toolbar form#filters>.map-field.map-region{border:1px solid #39cad9}
.toolbar form#filters>.map-field.map-date{border:1px solid #f19a5c;background:linear-gradient(120deg,#292b31 0%,#18202a 82%)}
.toolbar form#filters>.map-field.map-region::before,
.toolbar form#filters>.map-field.map-date::before{
 content:'';position:absolute;top:-1px;left:16px;width:47px;height:3px;border-radius:0 0 4px 4px;
 background:#36d5e0;pointer-events:none;
}
.toolbar form#filters>.map-field.map-date::before{background:#fc9557}
.toolbar form#filters>.map-field .map-field-icon{display:grid;place-items:center;align-self:center;width:43px;height:43px;
 border:0;border-radius:11px;padding:0;flex:0 0 43px;color:#85eeef;background:#135365;
}
.toolbar form#filters>.map-field.map-date .map-field-icon{color:#ffcfab;background:#684630}
.toolbar form#filters>.map-field .map-field-icon svg{width:24px;height:24px}
.toolbar form#filters>.map-field .map-field-content{position:relative;min-width:0;display:flex;flex-direction:column;
 justify-content:center;gap:5px;padding-left:10px;border-left:1px solid #637688;
}
.toolbar form#filters>.map-field .map-field-caption{color:#a9bed0;font-size:12px;font-weight:750;line-height:1.1}
.toolbar form#filters>.map-field .map-field-content>select{
 display:block;min-width:0;width:100%;height:25px;min-height:25px;margin:0;padding:0 19px 0 0;
 color:#fff;font-size:15px;font-weight:800;line-height:1.2;background:transparent;
 border:0;border-radius:0;appearance:none;-webkit-appearance:none;
 cursor:pointer;
}
.toolbar form#filters>.map-field.map-region .map-field-content::after{
 content:'';position:absolute;right:3px;bottom:10px;width:7px;height:7px;
 border-right:2px solid #d3e3ea;border-bottom:2px solid #d3e3ea;transform:rotate(45deg);pointer-events:none;
}
.toolbar form#filters>.map-field.map-date .date-control{position:relative;display:flex;align-items:center;
 min-height:25px;height:25px;width:100%;gap:6px;
}
.toolbar form#filters>.map-field.map-date .date-placeholder{font-size:15px;font-weight:800;line-height:1.2;color:#fff}
.toolbar form#filters>.map-field.map-date .date-calendar{display:block!important;width:17px;height:17px;flex-shrink:0;color:#f4d3ba}
.toolbar form#filters>.map-field.map-region:focus-within{outline:2px solid #35d8df;outline-offset:2px}
.toolbar form#filters>.map-field.map-date:focus-within{outline:2px solid #ffa06e;outline-offset:2px}
@media(max-width:700px){
 .toolbar form#filters>.map-field.map-region,
 .toolbar form#filters>.map-field.map-date{grid-template-columns:31px minmax(0,1fr);gap:7px;
  min-height:58px;padding:7px 8px;border-radius:11px}
 .toolbar form#filters>.map-field .map-field-icon{width:31px;height:35px;border-radius:9px}
 .toolbar form#filters>.map-field .map-field-icon svg{width:21px;height:21px}
 .toolbar form#filters>.map-field .map-field-content{gap:3px;padding-left:7px}
 .toolbar form#filters>.map-field .map-field-caption{font-size:10px}
 .toolbar form#filters>.map-field .map-field-content>select{font-size:12px!important;font-weight:800;
  min-height:22px;height:22px;line-height:1.2;padding-right:12px}
 .toolbar form#filters>.map-field.map-date .date-control{min-height:22px;height:22px}
 .toolbar form#filters>.map-field.map-date .date-placeholder{font-size:12px!important;font-weight:800}
 .toolbar form#filters>.map-field.map-date .date-calendar{width:13px!important;height:13px!important}
 .toolbar form#filters>.map-field.map-region .map-field-content::after{width:5px;height:5px;right:1px;bottom:9px}
 .toolbar form#filters>.map-field.map-region::before,
 .toolbar form#filters>.map-field.map-date::before{left:10px;width:32px;height:2px}
}

/* Même langage graphique Premium pour la fiche ouverte depuis un repère de carte. */
.map-shell .overlay.event-sheet{left:12px;bottom:12px;right:auto;width:min(385px,calc(100% - 24px));max-width:none;
 max-height:calc(100% - 24px);padding:0;overflow-y:auto;overscroll-behavior:contain;
 background:linear-gradient(140deg,#101a27,#0d131e);border:1px solid #60748a;border-radius:17px;
 box-shadow:0 17px 45px #000c;scrollbar-width:thin;color:#f7fbff}
.map-shell .event-sheet-hero{position:relative;height:115px;overflow:hidden;background:linear-gradient(120deg,#233e5c,#101e2e)}
.map-shell .event-sheet-hero img{width:100%;height:100%;display:block;object-fit:cover}
.map-shell .event-sheet-hero img[hidden]{display:none}
.map-shell .event-sheet-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0f1724b8,transparent 72%);pointer-events:none}
.map-shell .event-sheet-hero>.close{z-index:3;top:9px;right:9px;display:grid;place-items:center;border:1px solid #ffffff88;background:#0e1722c9;border-radius:50%;width:35px;height:35px;color:#fff}
.map-shell .overlay .event-kind{position:absolute;left:10px;bottom:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;
 background:#13253bdf!important;border:1px solid currentColor;border-radius:8px;margin:0;padding:6px 9px;font-size:11px;font-weight:850}
.map-shell .overlay .event-kind svg{width:19px;height:19px;flex:0 0 19px}
.map-shell .event-sheet-content{display:flex;flex-direction:column;gap:10px;padding:13px}
.map-shell .event-sheet-city{margin:0;font-size:12px;color:#87dcd7;font-weight:820}
.map-shell .overlay h2{font-size:17px;line-height:1.25;letter-spacing:-.025em;margin:0;color:#fff}
.map-shell .event-club-signature{display:flex;align-items:center;gap:9px;margin:0;padding:8px;background:#f4f7fb;border:1px solid #d4dee9;border-radius:11px;color:#1b2c43}
.map-shell .event-club-emblem{width:35px;height:35px;flex:0 0 35px;background:white;border-color:#c3d7ea;color:#2377c8}
.map-shell .event-club-label small{color:#b33048;font-size:10px}
.map-shell .event-club-label strong{font-size:12px;color:#16263a}
.map-shell .event-sheet-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.map-shell .event-sheet-facts>div{display:flex;gap:7px;min-width:0;padding:9px;border:1px solid #44576c;border-radius:9px;background:#1c293a}
.map-shell .event-sheet-facts>div>span:first-child{font-size:18px;color:#ef536c}
.map-shell .event-sheet-facts>div>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}
.map-shell .event-sheet-facts small{font-size:9px;color:#a9bed3;font-weight:780;text-transform:none}
.map-shell .event-sheet-facts strong{font-size:10px;color:#f8fbff;line-height:1.35;overflow-wrap:anywhere}
.map-shell .overlay .event-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.map-shell .overlay .event-actions a{display:grid;place-items:center;text-align:center;min-height:39px;margin:0;padding:8px 6px;
 border-radius:9px;border:1px solid #62798e;font-size:11px;font-weight:850;line-height:1.2;color:#fff}
.map-shell .overlay .event-actions a[hidden],.map-shell .event-sheet-participate[hidden]{display:none}
.map-shell .overlay .event-actions .event-sheet-detail-link{grid-column:1/-1;border-color:#d94a64;background:linear-gradient(120deg,#bd2941,#9f2036)}
.map-shell .overlay .event-actions .event-sheet-route-link{grid-column:1/-1;border-color:#b94d62;background:#5a2939}
.map-shell .overlay .event-actions .event-sheet-waze{background:#157ac4;border-color:#59aaf0}
.map-shell .overlay .event-actions .event-sheet-googlemaps{background:#23649f;border-color:#70b0ed}
.map-shell .event-sheet-participate{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px;
 background:#c5f0dd;color:#145e43;border:1px solid #70caa3;border-radius:9px;font-size:11px;font-weight:850}
.map-shell .event-sheet-participate small{font-size:9px;color:#3b7c62;line-height:1.2;text-transform:none}
@media(max-width:700px){
 .map-shell .overlay.event-sheet{width:calc(100% - 12px);left:6px;bottom:6px;max-height:calc(100% - 12px)}
 .map-shell .event-sheet-hero{height:100px}
 .map-shell .event-sheet-content{padding:10px;gap:8px}
 .map-shell .overlay h2{font-size:15px}
 .map-shell .event-sheet-facts strong{font-size:10px}
}
.map-shell .event-sheet-facts>div>svg{flex:0 0 18px;width:18px;height:18px;color:#ef536c}
.map-shell .event-club-emblem svg{width:25px;height:25px;stroke-width:2}

/* Fiche cartographique : calendrier blanc + logos d'origine sur les liens externes. */
.map-shell .event-sheet-mini-calendar{display:flex;flex-direction:column;overflow:hidden;align-items:stretch;
 flex:0 0 36px;width:36px;height:45px;border-radius:6px;border:1px solid #ecedf1;
 background:white;box-shadow:0 2px 8px #0003}
.map-shell .event-sheet-mini-calendar>span{display:block;background:#cb2b43;color:white;text-align:center;
 font:900 9px/1.1 Arial,sans-serif;letter-spacing:.02em;padding:3px 2px}
.map-shell .event-sheet-mini-calendar>strong{display:grid;flex:1;place-items:center;
 font:900 20px/1 Arial,sans-serif;color:#203040}
.map-shell .event-sheet-place-note{display:block;color:#a8c0d2;font-size:9px;line-height:1.3;font-weight:600}
.map-shell .overlay .event-actions .event-sheet-waze,.map-shell .overlay .event-actions .event-sheet-googlemaps{
 display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;
}
.map-shell .event-sheet-brand{display:grid;place-items:center;border-radius:5px;background:white;flex:0 0 auto}
.map-shell .event-sheet-brand-waze{width:72px;height:26px;padding:3px 7px}
.map-shell .event-sheet-brand-waze img{display:block;width:58px;height:auto;max-height:20px;object-fit:contain}
.map-shell .event-sheet-brand-google{width:22px;height:26px;padding:3px}
.map-shell .event-sheet-brand-google img{display:block;width:auto;height:20px;max-width:16px;object-fit:contain}


/* Charte Motoxygen / Alpes : même identité que le site, sans changer la carte. */
:root{--imc-red:#e23853;--imc-silver:#dce4ed}
.header{background:linear-gradient(120deg,#090f18,#142233)!important;border-bottom:1px solid #e54b6373!important;box-shadow:0 4px 14px #0005}
.header .logo{width:159px;height:78px;display:flex;align-items:center;flex:0 0 auto;margin:0;padding:0;letter-spacing:0}
.header .logo img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 4px #0008)}
.header nav a[aria-current=page]{box-shadow:inset 0 -2px 0 #e8425d;color:#fff}
.toolbar .locate,.event-actions>a:first-child{background:linear-gradient(115deg,#a71834,#ef4a61)!important;border-color:#ef7588!important}
.map-shell,.toolbar :is(input,select,button){border-color:#566d81}
@media(max-width:850px){.header .logo{height:64px;width:132px;display:inline-flex}}
@media(max-width:430px){.header .logo{width:121px;height:59px}}

/* Retirer le cadre sombre autour du logo de la carte, conserver ses couleurs. */
.header .logo img{mix-blend-mode:lighten}

/* Harmonisation liste/carte Motoxygen : cinq catégories, sélection Tous rouge. */
.toolbar .event-legend-item[data-category="all"]{--event-accent:#d82446}
.toolbar .event-legend-item[data-category="all"][aria-pressed=true]{border-color:#d82446;background:#fff2f4}
@media(min-width:601px){.event-legend{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){.event-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.event-legend-item[data-category="all"]{grid-column:1/-1}}
.toolbar .event-legend-item[aria-pressed=true]::after{display:none}
