/* GOSY — correctifs utilisateur 2026-10-11
   Couche additive : ne remplace pas assets/css/gosy.css. */
body.gosy-user-20261011{padding-bottom:0}
body.gosy-user-20261011 .bottom-nav{display:none!important}
body.gosy-user-20261011 .topbar{z-index:1000}
body.gosy-user-20261011 .topbar .inner{min-height:72px;height:auto;padding-top:8px;padding-bottom:8px}
body.gosy-user-20261011 .member-pill{display:none;align-items:center;gap:6px;min-height:38px;padding:7px 11px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}
body.gosy-user-20261011 .member-pill.show{display:inline-flex}
body.gosy-user-20261011 [data-member-only][hidden],body.gosy-user-20261011 [data-guest-only][hidden]{display:none!important}
body.gosy-user-20261011 .top-actions .btn{white-space:nowrap}
body.gosy-user-20261011 .filter-primary{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0 10px}
body.gosy-user-20261011 .filter-primary .chip,body.gosy-user-20261011 .filter-primary button.chip{min-height:40px;border:1px solid var(--line);background:#0b1425;color:#d9e4f2;border-radius:999px;padding:9px 14px;font-weight:850;text-decoration:none;cursor:pointer}
body.gosy-user-20261011 .filter-primary .chip.active{background:var(--grad);color:#07101d;border-color:transparent}
body.gosy-user-20261011 .active-filters{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
body.gosy-user-20261011 .active-filters::-webkit-scrollbar{display:none}
body.gosy-user-20261011 .active-filter{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(32,230,242,.34);border-radius:999px;background:rgba(32,230,242,.07);color:#dffbff;text-decoration:none;font-size:11px;font-weight:850}
body.gosy-user-20261011 .active-filter b{font-size:14px;line-height:1}
body.gosy-user-20261011 .more-filters{position:relative}
body.gosy-user-20261011 .more-filters summary{list-style:none;cursor:pointer}
body.gosy-user-20261011 .more-filters summary::-webkit-details-marker{display:none}
body.gosy-user-20261011 .more-filters[open] .filters-popover{display:grid}
body.gosy-user-20261011 .filters-popover{display:none;position:absolute;z-index:850;top:48px;left:0;width:min(430px,calc(100vw - 32px));grid-template-columns:1fr 1fr;gap:12px;padding:16px;border:1px solid var(--line);border-radius:18px;background:rgba(7,12,24,.98);box-shadow:var(--shadow)}
body.gosy-user-20261011 .filters-popover .field.full{grid-column:1/-1}
body.gosy-user-20261011 .filters-popover .checks{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
body.gosy-user-20261011 .filters-popover label.inline{display:flex;align-items:center;gap:7px;color:#dce7f6;font-size:12px;font-weight:800}
body.gosy-user-20261011 .filters-popover input[type=checkbox]{width:18px;height:18px}
body.gosy-user-20261011 .agenda-dialog{position:fixed;inset:0;z-index:1500;display:none;place-items:center;padding:16px;background:rgba(2,5,13,.72);backdrop-filter:blur(10px)}
body.gosy-user-20261011 .agenda-dialog.open{display:grid}
body.gosy-user-20261011 .agenda-dialog-card{width:min(620px,100%);max-height:min(78vh,680px);overflow:auto;border:1px solid var(--line);border-radius:24px;background:#091222;padding:18px;box-shadow:var(--shadow)}
body.gosy-user-20261011 .agenda-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
body.gosy-user-20261011 .agenda-dialog-head h2{margin:0}
body.gosy-user-20261011 .agenda-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}
body.gosy-user-20261011 .agenda-date-choice{min-height:72px;padding:7px;border:1px solid var(--line);border-radius:13px;background:#0d1829;color:#fff;text-align:center;cursor:pointer}
body.gosy-user-20261011 .agenda-date-choice b{display:block;font-size:16px}
body.gosy-user-20261011 .agenda-date-choice small{display:block;margin-top:5px;color:#8eeaf6;font-size:9px}
body.gosy-user-20261011 .account-summary{display:grid;gap:0;margin-top:16px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#081120}
body.gosy-user-20261011 .profile-row{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line)}
body.gosy-user-20261011 .profile-row:last-child{border-bottom:0}
body.gosy-user-20261011 .profile-row span{color:var(--muted);font-size:11px;font-weight:850}
body.gosy-user-20261011 .profile-row strong{text-align:right;font-size:13px}
body.gosy-user-20261011 .account-list{margin-top:14px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#0a1424}
body.gosy-user-20261011 .account-list a,body.gosy-user-20261011 .account-list button{width:100%;min-height:58px;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;padding:12px 15px;border:0;border-bottom:1px solid var(--line);background:transparent;color:#fff;text-decoration:none;text-align:left;cursor:pointer}
body.gosy-user-20261011 .account-list>*:last-child{border-bottom:0}
body.gosy-user-20261011 .account-list .ico{font-size:18px;text-align:center}
body.gosy-user-20261011 .account-list strong{font-size:14px}
body.gosy-user-20261011 .account-list small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
body.gosy-user-20261011 .account-list .chev{color:#77859a;font-size:20px}
body.gosy-user-20261011 .modal-layer{position:fixed;inset:0;z-index:1600;display:none;place-items:center;padding:15px;background:rgba(2,5,13,.76);backdrop-filter:blur(10px)}
body.gosy-user-20261011 .modal-layer.open{display:grid}
body.gosy-user-20261011 .modal-card{width:min(620px,100%);max-height:88vh;overflow:auto;border:1px solid var(--line);border-radius:24px;background:#091222;padding:18px;box-shadow:var(--shadow)}
body.gosy-user-20261011 .modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
body.gosy-user-20261011 .modal-head h2{margin:0}
body.gosy-user-20261011 .month-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}
body.gosy-user-20261011 .month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}
body.gosy-user-20261011 .month-label{text-align:center;color:var(--muted);font-size:10px;font-weight:900;padding:4px}
body.gosy-user-20261011 .month-day{position:relative;min-height:78px;padding:8px;border:1px solid var(--line);border-radius:14px;background:#0b1425;color:#fff;text-decoration:none}
body.gosy-user-20261011 .month-day.muted{opacity:.3;pointer-events:none}
body.gosy-user-20261011 .month-day.selected{border-color:#20e6f2;box-shadow:0 0 0 2px rgba(32,230,242,.11)}
body.gosy-user-20261011 .month-day .day-number{font-size:16px;font-weight:950}
body.gosy-user-20261011 .month-day .activity-count{display:inline-flex;margin-top:8px;padding:4px 6px;border-radius:999px;background:rgba(32,230,242,.10);color:#9bf4ff;font-size:9px;font-weight:900}
body.gosy-user-20261011 .agenda-activities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
body.gosy-user-20261011 .availability-card{margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:20px;background:#0a1424}
body.gosy-user-20261011 .availability-card h3{margin-top:0}
body.gosy-user-20261011 .availability-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin-top:9px}
body.gosy-user-20261011 .availability-row input{width:100%;border:1px solid var(--line);border-radius:12px;background:#070d18;color:#fff;padding:11px}
body.gosy-user-20261011 .availability-toggle{display:flex;gap:8px;align-items:center;font-weight:850;font-size:12px}
body.gosy-user-20261011 .community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.gosy-user-20261011 .community-action{display:block;padding:18px;border:1px solid var(--line);border-radius:19px;background:#0b1425;text-decoration:none}
body.gosy-user-20261011 .community-action strong{display:block;color:#fff}
body.gosy-user-20261011 .community-action span{display:block;color:var(--muted);font-size:11px;margin-top:6px}
/* Carte interactive */
body.gosy-user-20261011.gosy-map-page{overflow:hidden}
body.gosy-user-20261011 .map-app{position:relative;height:calc(100dvh - 72px);background:#08111f}
body.gosy-user-20261011 #gosyMap{position:absolute;inset:0;z-index:1}
body.gosy-user-20261011 .map-toolbar{position:absolute;z-index:600;top:10px;left:10px;right:10px;display:flex;gap:7px;align-items:flex-start;flex-wrap:wrap;pointer-events:none}
body.gosy-user-20261011 .map-toolbar>*{pointer-events:auto}
body.gosy-user-20261011 .map-toolbar-row{display:flex;gap:7px;flex-wrap:wrap}
body.gosy-user-20261011 .map-search-box{display:flex;gap:7px;flex:1 1 390px;max-width:720px;padding:6px;border:1px solid var(--line);border-radius:16px;background:rgba(7,12,25,.94);backdrop-filter:blur(15px)}
body.gosy-user-20261011 .map-search-box input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;padding:0 8px}
body.gosy-user-20261011 .map-location-panel{position:absolute;z-index:720;top:62px;left:10px;width:min(520px,calc(100% - 20px));display:none;padding:12px;border:1px solid var(--line);border-radius:17px;background:rgba(7,12,25,.98);box-shadow:var(--shadow)}
body.gosy-user-20261011 .map-location-panel.open{display:block}
body.gosy-user-20261011 .map-location-line{display:flex;gap:7px}
body.gosy-user-20261011 .map-location-line input{flex:1;min-width:0;border:1px solid var(--line);border-radius:13px;background:#070d18;color:#fff;padding:12px}
body.gosy-user-20261011 .map-rail{position:absolute;z-index:590;left:10px;top:118px;bottom:16px;width:64px;display:flex;flex-direction:column;gap:8px;overflow-y:auto;padding:2px;scrollbar-width:none}
body.gosy-user-20261011 .map-rail::-webkit-scrollbar{display:none}
body.gosy-user-20261011 .map-thumb{width:58px;height:58px;flex:0 0 auto;padding:0;border:2px solid rgba(255,255,255,.82);border-radius:13px;overflow:hidden;background:#101a2d;box-shadow:0 6px 18px rgba(0,0,0,.32);cursor:pointer}
body.gosy-user-20261011 .map-thumb img{width:100%;height:100%;object-fit:cover}
body.gosy-user-20261011 .map-detail-card{position:absolute;z-index:650;left:50%;bottom:18px;transform:translateX(-50%);width:min(680px,calc(100% - 28px));display:none;grid-template-columns:180px 1fr;gap:14px;padding:13px;border:1px solid var(--line);border-radius:22px;background:rgba(8,13,26,.97);box-shadow:var(--shadow);backdrop-filter:blur(18px)}
body.gosy-user-20261011 .map-detail-card.show{display:grid}
body.gosy-user-20261011 .map-detail-image{min-height:150px;border-radius:16px;background-size:cover;background-position:center;background-color:#101a2d}
body.gosy-user-20261011 .map-detail-close{position:absolute;top:8px;right:8px;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:#08111f;color:#fff;font-size:20px;cursor:pointer}
body.gosy-user-20261011 .map-layer-toggle{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:14px;background:rgba(7,12,25,.92)}
body.gosy-user-20261011 .map-layer-toggle button{border:0;border-radius:10px;background:transparent;color:#aab7ca;padding:8px 10px;font-size:11px;font-weight:900;cursor:pointer}
body.gosy-user-20261011 .map-layer-toggle button.active{background:var(--grad);color:#07101d}
body.gosy-user-20261011 .gosy-pin{width:38px;height:46px;background:url('/assets/images/brand/marker-gosy.svg') center/contain no-repeat;filter:drop-shadow(0 5px 8px rgba(0,0,0,.4))}
body.gosy-user-20261011 .gosy-cluster{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#20e6f2,#765cff,#ff2db8);color:#07101d;border:3px solid #fff;font-weight:950;box-shadow:0 6px 16px rgba(0,0,0,.4)}
body.gosy-user-20261011 .gosy-spider{width:48px;height:48px;border-radius:50%;overflow:hidden;border:3px solid #fff;background:#0c1628;box-shadow:0 5px 14px rgba(0,0,0,.45)}
body.gosy-user-20261011 .gosy-spider img{width:100%;height:100%;object-fit:cover}
body.gosy-user-20261011 .leaflet-control-attribution{font-size:8px!important}
@media(max-width:900px){
 body.gosy-user-20261011 .topbar .inner{display:grid;grid-template-columns:auto 1fr;gap:5px 9px;padding-left:10px;padding-right:10px}
 body.gosy-user-20261011 .topbar .brand{grid-column:1;grid-row:1}
 body.gosy-user-20261011 .top-actions{grid-column:2;grid-row:1;justify-content:flex-end;min-width:0;overflow-x:auto;scrollbar-width:none}
 body.gosy-user-20261011 .top-actions::-webkit-scrollbar{display:none}
 body.gosy-user-20261011 .nav{grid-column:1/-1;grid-row:2;margin:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:3px 0 2px}
 body.gosy-user-20261011 .nav::-webkit-scrollbar{display:none}
 body.gosy-user-20261011 .nav a{flex:0 0 auto;scroll-snap-align:start;padding:9px 11px;font-size:11px}
 body.gosy-user-20261011 .desktop-only{display:none!important}
 body.gosy-user-20261011 .agenda-activities{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.gosy-user-20261011 .community-grid{grid-template-columns:1fr}
 body.gosy-user-20261011 .map-app{height:calc(100dvh - 112px)}
 body.gosy-user-20261011 .map-toolbar{top:7px;left:7px;right:7px}
 body.gosy-user-20261011 .map-search-box{order:2;flex-basis:100%;max-width:none}
 body.gosy-user-20261011 .map-rail{top:112px;left:7px;bottom:9px;width:56px}
 body.gosy-user-20261011 .map-thumb{width:50px;height:50px;border-radius:11px}
 body.gosy-user-20261011 .map-detail-card{bottom:10px;grid-template-columns:110px 1fr;width:calc(100% - 20px)}
 body.gosy-user-20261011 .map-detail-image{min-height:118px}
}
@media(max-width:560px){
 body.gosy-user-20261011 .brand img{width:105px!important}
 body.gosy-user-20261011 .member-pill{max-width:120px;overflow:hidden;text-overflow:ellipsis}
 body.gosy-user-20261011 .top-actions .btn.small{min-height:34px;padding:7px 9px;font-size:10px}
 body.gosy-user-20261011 .filters-popover{position:fixed;left:10px;right:10px;top:150px;width:auto;grid-template-columns:1fr}
 body.gosy-user-20261011 .filters-popover .field.full{grid-column:auto}
 body.gosy-user-20261011 .agenda-date-grid{grid-template-columns:repeat(4,1fr)}
 body.gosy-user-20261011 .profile-row{grid-template-columns:105px 1fr}
 body.gosy-user-20261011 .month-grid{gap:4px}
 body.gosy-user-20261011 .month-day{min-height:61px;padding:6px;border-radius:11px}
 body.gosy-user-20261011 .month-day .activity-count{font-size:8px;padding:3px 4px}
 body.gosy-user-20261011 .agenda-activities{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.gosy-user-20261011 .availability-row{grid-template-columns:1fr 1fr 38px}
 body.gosy-user-20261011 .map-toolbar-row .btn{min-height:37px;padding:8px 10px;font-size:10px}
 body.gosy-user-20261011 .map-layer-toggle button{padding:7px 8px;font-size:10px}
}

/* ===== V2 2026-10-11 : navigation, avatar et paramètres ===== */
body.gosy-user-20261011 .topbar .nav{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
body.gosy-user-20261011 .member-pill{padding:5px 10px 5px 5px!important}
body.gosy-user-20261011 .member-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#081120;border:1px solid rgba(255,255,255,.18);padding:2px;flex:0 0 auto}
body.gosy-user-20261011 .member-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.gosy-user-20261011 .profile-avatar-wrap{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
body.gosy-user-20261011 .profile-avatar{width:76px;height:76px;border-radius:50%;object-fit:cover;background:#081120;border:2px solid rgba(255,255,255,.18);padding:4px}
body.gosy-user-20261011 .avatar-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:7px}
body.gosy-user-20261011 .settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.gosy-user-20261011 .settings-card{padding:16px;border:1px solid var(--line);border-radius:20px;background:#0a1424}
body.gosy-user-20261011 .settings-card h2,body.gosy-user-20261011 .settings-card h3{margin-top:0}
body.gosy-user-20261011 .settings-card.full{grid-column:1/-1}
body.gosy-user-20261011 .settings-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
body.gosy-user-20261011 .settings-checkboxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
body.gosy-user-20261011 .settings-checkboxes label{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:#081120;font-size:11px;font-weight:800}
body.gosy-user-20261011 .settings-checkboxes input{width:18px;height:18px}
body.gosy-user-20261011 .agenda-chip{display:inline-flex!important;align-items:center!important;gap:8px!important}
body.gosy-user-20261011 .agenda-chip img{width:24px;height:24px;display:block}
body.gosy-user-20261011 .filter-note{grid-column:1/-1;color:var(--muted);font-size:10px;line-height:1.4;margin:0}
body.gosy-user-20261011 .address-suggestions{position:relative}
body.gosy-user-20261011 .settings-help{color:var(--muted);font-size:10px;line-height:1.45}
@media(max-width:900px){
  body.gosy-user-20261011 .topbar .nav{width:100%!important;max-width:100%!important;white-space:nowrap!important;flex-wrap:nowrap!important}
  body.gosy-user-20261011 .settings-grid{grid-template-columns:1fr}
  body.gosy-user-20261011 .settings-card.full{grid-column:auto}
}
@media(max-width:560px){
  body.gosy-user-20261011 .topbar .inner{grid-template-columns:minmax(86px,auto) minmax(0,1fr)!important}
  body.gosy-user-20261011 .topbar .nav{display:flex!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;padding-bottom:5px!important}
  body.gosy-user-20261011 .topbar .nav::-webkit-scrollbar{display:none!important}
  body.gosy-user-20261011 .topbar .nav a{flex:0 0 auto!important;white-space:nowrap!important}
  body.gosy-user-20261011 .member-pill{max-width:112px!important}
  body.gosy-user-20261011 .member-avatar{width:25px;height:25px}
  body.gosy-user-20261011 .settings-checkboxes{grid-template-columns:1fr}
}
