.leaflet-container { font-family: 'DM Sans', sans-serif; background: #e9e6dc; }
.radar-card { isolation:isolate; }
.modal-backdrop { z-index:2000; }
.radar-actions { display:flex !important; grid-template-columns:none !important; gap:7px; }
.radar-actions .locate-button { white-space:nowrap; }
.locate-button.placement-active { background:var(--ink); color:white; border-color:var(--ink); }
.leaflet-tile-pane { filter: grayscale(.45) sepia(.18) saturate(.8) brightness(1.06) contrast(.94); }
.leaflet-container.locating::after { content:'⌖  Localisation en cours…'; position:absolute; left:50%; bottom:15px; transform:translateX(-50%); z-index:900; padding:8px 12px; border-radius:7px; background:var(--ink); color:white; font-size:10px; font-weight:700; box-shadow:0 5px 15px #18342e44; }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 5px 15px #40504822 !important; }
.leaflet-control-zoom a { color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-control-attribution { font-size: 8px !important; background: rgba(255,255,255,.78) !important; }
.pulse-map-icon { background: none; border: 0; }
.pulse-map-icon > span { display:grid; place-items:center; width:44px; height:44px; background:var(--coral); border:4px solid white; border-radius:50% 50% 50% 8px; transform:rotate(-45deg); font-size:18px; box-shadow:0 6px 14px #72807855; }
.pulse-map-icon > span.run { background: var(--blue); }
.pulse-map-icon > span.game { background: var(--green); }
.pulse-map-icon > span.talk { background: var(--lime); }
.pulse-map-icon > b { position:absolute; top:-5px; right:0; background:var(--ink); color:white; width:21px; height:21px; border-radius:50%; display:grid; place-items:center; font-size:9px; border:2px solid white; }
.pulse-tooltip { border:0 !important; border-radius:7px !important; box-shadow:0 5px 15px #40504833 !important; color:var(--ink) !important; }
.pulse-tooltip strong, .pulse-tooltip small { display:block; }
.pulse-tooltip small { color:var(--muted); margin-top:2px; }
.user-map-icon { background:none; }
.user-map-icon::before { content:''; position:absolute; inset:-8px; border:3px solid rgba(51,126,208,.42); border-radius:50%; background:rgba(51,126,208,.2); animation:mapPulse 1.8s infinite; }
.user-map-icon span { position:absolute; left:14px; top:14px; width:26px; height:26px; border-radius:50%; background:#176fc8; border:5px solid white; box-shadow:0 3px 12px #18342e88; }
.user-map-icon b { position:absolute; left:5px; top:48px; background:var(--ink); color:white; border-radius:5px; padding:4px 10px; font-size:10px; white-space:nowrap; box-shadow:0 3px 9px #18342e44; }
@keyframes mapPulse { 50% { transform:scale(1.32); opacity:.2; } }
.profile-city { margin-top:24px; padding-top:22px; border-top:1px solid var(--line); }
.profile-city-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.profile-city-heading .locate-button { font-size:10px; }
.profile-city-heading .locate-button,.city-search-row .locate-button { background:white; opacity:1; border:1px solid #aeb7b3; cursor:pointer; }
.profile-city-heading .locate-button:disabled { opacity:.65; cursor:wait; }
#profileMap { height:210px; border-radius:12px; overflow:hidden; background:#e9e6dc; }
#eventPlaceMap { height:260px; border-radius:12px; overflow:hidden; background:#e9e6dc; }
.event-place-picker { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.place-results { display:grid; gap:6px; margin:8px 0 12px; max-height:190px; overflow:auto; }
.place-result { display:grid; grid-template-columns:1fr auto; gap:4px 12px; width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--ink); text-align:left; cursor:pointer; }
.place-result:hover { border-color:var(--coral); background:#fff8f5; }
.place-result strong { font-size:12px; }
.place-result small { grid-column:1; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.place-result em { grid-column:2; grid-row:1/3; align-self:center; color:var(--coral); font-size:10px; font-style:normal; font-weight:800; }
.credibility-card { display:flex; align-items:center; justify-content:space-between; margin-top:12px; padding:14px; border-radius:10px; background:var(--ink); color:white; }
.credibility-card small,.credibility-card strong { display:block; }
.credibility-card small { color:var(--lime); font-size:8px; letter-spacing:.12em; }
.credibility-card strong { margin-top:3px; font-size:15px; }
.credibility-card>b { padding:6px 9px; border-radius:99px; background:var(--lime); color:var(--ink); font-size:9px; }
.danger-button { border:1px solid #d2604d; border-radius:10px; background:white; color:#b94735; padding:14px; font-weight:700; cursor:pointer; }
.cancellation-note { margin:10px 0; color:#9a4b3e; font-size:11px; text-align:center; }
.field textarea { display:block; width:100%; resize:vertical; border:1px solid var(--line); background:white; border-radius:9px; padding:13px; margin-top:6px; color:var(--ink); font:500 13px 'DM Sans'; line-height:1.45; }
.optional { float:right; color:var(--muted); font-size:8px; letter-spacing:.08em; }
.char-count { display:block; text-align:right; color:var(--muted); font-size:9px; margin-top:4px; }
.detail-description { color:#566762; font-size:13px; line-height:1.55; margin:12px 0 20px; white-space:pre-wrap; }
.card-description { min-height:34px; margin:10px 0 0; color:#53645f; font-size:11px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-description.empty-description { color:#8c9894; font-style:italic; }
#detailMap { height:210px; border-radius:12px; overflow:hidden; margin:18px 0 10px; }
.route-button { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:13px; border-radius:9px; background:white; border:1px solid var(--line); color:var(--ink); font-size:12px; font-weight:800; text-decoration:none; }
.profile-photo-block { display:flex; align-items:center; gap:16px; margin-bottom:25px; padding-bottom:22px; border-bottom:1px solid var(--line); }
.profile-photo { flex:0 0 auto; width:82px; height:82px; border-radius:50%; display:grid; place-items:center; overflow:hidden; background:var(--ink); color:white; font:800 20px Manrope; border:4px solid white; box-shadow:0 6px 18px #18342e22; }
.profile-photo img { width:100%; height:100%; object-fit:cover; }
.photo-actions { display:flex; flex-wrap:wrap; gap:7px; }
.photo-actions label { cursor:pointer; font-size:10px; background:white; }
.photo-actions small { flex-basis:100%; color:var(--muted); font-size:9px; }
.avatar.has-photo { background-size:cover; background-position:center; color:transparent; }
.radar-page-backdrop { padding:0; background:var(--cream); }
.radar-page { width:100%; height:100%; overflow:auto; background:var(--cream); }
.radar-page-header { position:sticky; top:0; z-index:1000; display:flex; justify-content:space-between; align-items:center; padding:18px 5%; background:rgba(245,243,236,.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.radar-page-header h2 { margin:5px 0 0; font-size:30px; }
.radar-close { position:static; width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:white; }
.radar-page-map { height:38vh; min-height:280px; position:sticky; top:92px; z-index:100; }
.radar-page-content { position:relative; z-index:200; width:min(1100px,94%); margin:-18px auto 0; padding:25px; border-radius:18px 18px 0 0; background:white; box-shadow:0 -10px 30px #18342e18; }
.radar-result-summary { margin-bottom:18px; color:var(--muted); font-size:11px; font-weight:700; }
.radar-list { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.radar-loader { padding:28px; text-align:center; color:var(--muted); font-size:11px; }
@media(max-width:650px) { .radar-page-header { padding:14px 18px; } .radar-page-header h2{font-size:24px}.radar-page-map{top:80px;height:34vh}.radar-page-content{width:100%;padding:18px}.radar-list{grid-template-columns:1fr}.radar-list .activity-card{min-width:0}.profile-photo-block{align-items:flex-start;flex-direction:column} }
.profile-map-marker::before { animation:none; }
.user-map-icon { cursor:grab; }
.user-map-icon:active { cursor:grabbing; }
.city-search-row { display:grid; grid-template-columns:1fr auto; gap:8px; margin-top:6px; }
.city-search-row input { margin-top:0; }
.city-search-row button { padding:0 14px; }
.location-status { margin-top:9px; padding:9px 11px; border-radius:7px; background:white; color:var(--muted); font-size:10px; line-height:1.4; }
@media(max-width:600px) { .radar-actions .locate-button { padding:8px; } .radar-actions span { display:none; } }
.verification-card { margin:18px 0; padding:18px; border:1px solid rgba(26,43,38,.12); border-radius:20px; background:#f7f5ef; display:grid; gap:12px; }
.verification-card > div { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.verification-card strong { color:#e56c55; }.verification-card.verified strong { color:#287864; }
.document-button { display:block; padding:12px 14px; border:1px dashed #9a968c; border-radius:12px; cursor:pointer; text-align:center; font-weight:700; }
.chat-panel,.attendance-panel { margin-top:20px; padding:17px; border-radius:20px; background:#f5f2eb; border:1px solid rgba(26,43,38,.1); }
.chat-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }.chat-heading small { color:#77736b; }
.chat-messages { max-height:260px; overflow-y:auto; display:flex; flex-direction:column; gap:9px; padding:4px 2px 12px; }
.chat-empty { color:#77736b; text-align:center; padding:18px 8px; }
.chat-message { max-width:82%; padding:10px 12px; background:white; border-radius:14px 14px 14px 4px; box-shadow:0 2px 10px rgba(20,35,31,.06); }
.chat-message.mine { align-self:flex-end; background:#183f35; color:white; border-radius:14px 14px 4px 14px; }
.chat-message strong,.chat-message small { display:block; font-size:.72rem; }.chat-message p { margin:3px 0; white-space:pre-wrap; overflow-wrap:anywhere; }.chat-message small { opacity:.65; }
.chat-compose { display:flex; gap:8px; }.chat-compose input { min-width:0; flex:1; border:1px solid #d8d3c8; border-radius:999px; padding:11px 14px; background:white; }.chat-compose button { border:0; border-radius:999px; padding:0 16px; background:#eb725b; color:white; font-weight:800; cursor:pointer; }
.attendance-person { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid rgba(26,43,38,.08); }.attendance-person button { border:0; border-radius:999px; padding:8px 12px; background:#183f35; color:white; cursor:pointer; }
.verified-badge { color:#287864; font-size:.78rem; font-weight:800; }.report-button { width:100%; margin-top:14px; border:0; background:transparent; color:#a54d42; text-decoration:underline; cursor:pointer; }
.moderation-modal { width:min(760px,calc(100vw - 24px)); max-height:88vh; overflow:auto; }.moderation-list { display:grid; gap:14px; margin-top:18px; }.moderation-section h3 { margin:18px 0 10px; }.moderation-item { padding:15px; border:1px solid #ddd8cd; border-radius:16px; background:#faf8f3; }.moderation-item p { margin:7px 0; }.moderation-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }.moderation-actions button,.moderation-actions a { border:0; border-radius:999px; padding:8px 12px; background:#183f35; color:white; text-decoration:none; font-weight:700; cursor:pointer; }.moderation-actions .reject { background:#a54d42; }
