:root {
  --pink: #FF2E88;        /* logo, grands fonds */
  --accent: #D6106A;      /* boutons, liens (texte blanc lisible) */
  --accent-dark: #A30D52;
  --accent-soft: #FFE0EE;
  --accent-tint: #FFF0F6;
  --accent-bar: #FF8DBE;
  --ink: #16181D;
  --ink-2: #3A3D44;
  --muted: #5F6368;
  --line: #E4E4E0;
  --line-2: #D6D6D1;
  --bg: #F4F4F1;
  --white: #FFFFFF;
  --danger-bg: #FEF2F2;
  --danger-line: #FCA5A5;
  --danger: #991B1B;
  --tab-h: 72px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, sans-serif; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
.center { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

/* En-têtes */
.top { background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; position: sticky; top: 0; z-index: 20; }
.top h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.brand .love { color: var(--pink); }
.back { min-height: 44px; display: flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink-2); font-weight: 600; }

/* Blocs */
.stack { display: flex; flex-direction: column; gap: 10px; padding: 10px 0; }
.card { background: var(--white); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card.round { margin: 0 12px; border-radius: 16px; }
.card h2 { font-size: 17px; }
.muted { color: var(--muted); font-size: 13px; }
.small { font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

/* Boutons */
.btn { min-height: 48px; border-radius: 24px; border: none; background: var(--accent); color: var(--white); font-weight: 700; font-size: 15px; padding: 0 20px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.dark { background: var(--ink); }
.btn.ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; font-size: 13px; padding: 0 14px; }
.link-btn { background: none; border: none; color: var(--accent); font-weight: 700; cursor: pointer; min-height: 40px; padding: 0 6px; }
.icon-btn { width: 44px; height: 44px; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); border-radius: 22px; }

.chip { min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
.chips.scroll .chip { flex-shrink: 0; }

.seg { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; background: var(--bg); padding: 4px; border-radius: 12px; }
.seg button { min-height: 38px; border: none; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }

/* Formulaires */
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input { min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; font-size: 15px; background: var(--white); color: var(--ink); width: 100%; }
textarea.input { padding: 10px 12px; min-height: 84px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--accent); }
.error { background: var(--danger-bg); border: 1px solid var(--danger-line); color: var(--danger); padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.ok { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; padding: 10px 12px; border-radius: 10px; font-size: 13px; }

.rule { display: flex; gap: 10px; align-items: flex-start; background: var(--danger-bg); border: 1px solid var(--danger-line); border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.45; color: #7F1D1D; }
.rule strong { color: var(--danger); }

/* Compteurs */
.counter { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid #EFEFEC; gap: 10px; }
.counter .lbl { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: 15px; }
.counter .lbl span { font-weight: 400; font-size: 12px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); font-size: 22px; cursor: pointer; }
.stepper button.plus { background: var(--accent); color: var(--white); border: none; }
.stepper output { min-width: 32px; text-align: center; font: 700 22px 'Space Grotesk', sans-serif; }
.switch { width: 52px; height: 32px; border-radius: 16px; border: none; background: #85857F; padding: 3px; display: flex; cursor: pointer; flex-shrink: 0; }
.switch span { width: 26px; height: 26px; border-radius: 50%; background: var(--white); display: block; transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"] span { transform: translateX(20px); }

/* Fil */
.post { background: var(--white); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; text-decoration: none; }
.who { display: flex; flex-direction: column; gap: 2px; }
.who a { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.post h3 { font-size: 18px; }
.tag { font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--bg); border-radius: 6px; padding: 3px 8px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat span { font-size: 11px; color: var(--muted); }
.stat b { font: 700 22px 'Space Grotesk', sans-serif; }
.actions { display: flex; gap: 4px; border-top: 1px solid #EFEFEC; padding-top: 4px; }
.actions button { min-height: 44px; padding: 0 10px; border: none; background: transparent; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.actions button[aria-pressed="true"] { color: var(--accent); }
.badge-post { display: flex; align-items: center; gap: 14px; background: var(--accent-tint); border-radius: 14px; padding: 14px; }
.medal { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; font: 700 16px 'Space Grotesk', sans-serif; flex-shrink: 0; }
.medal.sq { border-radius: 12px; }
.medal.or { background: #B45309; }
.medal.argent { background: #E7E5E4; color: var(--ink-2); }
.medal.bronze { background: var(--accent-soft); color: var(--accent-dark); }
.medal.off { background: #EFEFEC; color: var(--muted); }
.empty { text-align: center; padding: 32px 20px; color: var(--muted); font-size: 14px; }

/* Stats & badges */
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.tile span { font-size: 12px; color: var(--muted); }
.tile b { font: 700 28px 'Space Grotesk', sans-serif; line-height: 1.1; }
.bar { height: 8px; border-radius: 4px; background: #EFEFEC; overflow: hidden; }
.bar > div { height: 100%; background: var(--accent); border-radius: 4px; }
.chart { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-items: end; height: 130px; border-bottom: 1px solid var(--line-2); }
.chart .col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.chart .col div { width: 100%; background: var(--accent-bar); border-radius: 4px 4px 0 0; min-height: 2px; }
.chart .col.now div { background: var(--accent); }
.badge { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.badge .medal { width: 44px; height: 44px; font-size: 14px; }

/* Carte */
.map-wrap { position: relative; height: calc(100vh - var(--tab-h) - env(safe-area-inset-bottom)); height: calc(100dvh - var(--tab-h) - env(safe-area-inset-bottom)); min-height: 420px; }
.map { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background: #F2EFE9; }
.map-top { position: absolute; left: 0; right: 0; top: 0; z-index: 500; background: var(--white); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 0 var(--line); }
.search-results { background: var(--white); border-radius: 12px; border: 1px solid var(--line); max-height: 280px; overflow: auto; }
.search-results button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: 10px 12px; border: none; border-bottom: 1px solid #EFEFEC; background: none; cursor: pointer; }
.search-results button span { font-size: 12px; color: var(--muted); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 500; background: var(--white); border-radius: 20px 20px 0 0; box-shadow: 0 -2px 10px rgba(0,0,0,0.12); padding: 10px 16px 14px; max-height: 40%; overflow: auto; }
.pin { background: var(--white); color: var(--ink); border-radius: 16px; padding: 5px 10px; font: 700 13px Inter, sans-serif; box-shadow: 0 1px 4px rgba(0,0,0,0.3); white-space: nowrap; display: inline-block; }
.pin.hi { background: var(--accent); color: var(--white); }
.pin.none { background: #6B6F76; color: var(--white); }
.leaflet-div-icon { background: transparent; border: none; }

/* Liste de lieux */
.list-item { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid #EFEFEC; text-decoration: none; color: var(--ink); }
.list-item .grow { flex: 1; display: flex; flex-direction: column; }
.score { font: 700 18px 'Space Grotesk', sans-serif; color: var(--accent); }

/* Étoiles */
.stars { display: flex; }
.stars button { width: 32px; height: 44px; border: none; background: none; padding: 0; color: #8E8E88; cursor: pointer; }
.stars button.on { color: var(--accent); }

/* Barre d'onglets */
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: flex-start; padding-top: 6px; z-index: 1000; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 52px; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 500; }
.tabbar a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.tabbar .plus { width: 44px; height: 32px; border-radius: 16px; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; }

/* Accueil */
.welcome { min-height: 100vh; background: var(--pink); display: flex; flex-direction: column; padding: 0 24px 28px; max-width: 520px; margin: 0 auto; position: relative; overflow: hidden; }
.welcome .hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding-top: 40px; position: relative; }
.welcome h1 { font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.welcome p { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 500; max-width: 320px; }
.welcome .deco { position: absolute; opacity: 0.16; pointer-events: none; }
.welcome .form { display: flex; flex-direction: column; gap: 10px; position: relative; }
.welcome .input { border: none; }
.genre { min-height: 84px; border-radius: 20px; border: 3px solid var(--white); background: var(--white); color: var(--ink); font-weight: 700; font-size: 17px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.genre[aria-checked="true"] { background: var(--ink); color: var(--white); }
.welcome .legal { font-size: 11px; line-height: 1.5; text-align: center; margin: 0; }
.welcome .switch-mode { background: none; border: none; font-weight: 700; text-decoration: underline; min-height: 44px; cursor: pointer; color: var(--ink); }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + 16px); background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 12px; font-size: 14px; z-index: 2000; max-width: 90%; }

/* ---------------------------------------------------------------
   Grand écran (Mac, PC, tablette paysage)
   --------------------------------------------------------------- */
.tab-brand { display: none !important; }
@media (min-width: 900px) {
  body { background: var(--bg); }
  .app { max-width: none; margin: 0; padding-left: 240px; padding-bottom: 0; }
  .app.solo { padding-left: 0; max-width: 720px; margin: 0 auto; }
  .app > div:not(.map-wrap) > .stack, .app > div:not(.map-wrap) > header.top, .app > div:not(.map-wrap) > div { max-width: 760px; margin-left: auto; margin-right: auto; }
  .app > div > header.top { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .card.round, .stack > .card, .stack > .post { border-radius: 16px; margin-left: 12px; margin-right: 12px; }

  .tabbar { left: 0; top: 0; bottom: 0; transform: none; width: 240px; max-width: none; height: 100vh; padding: 20px 12px;
    flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; border-top: none; border-right: 1px solid var(--line); }
  .tabbar a { flex-direction: row; gap: 12px; font-size: 15px; padding: 0 14px; border-radius: 12px; min-height: 48px; align-items: center; }
  .tabbar a:hover { background: var(--bg); }
  .tabbar a[aria-current="page"] { background: var(--accent-tint); }
  .tabbar .plus { width: 32px; height: 28px; }
  .tab-brand { display: flex !important; font: 700 22px 'Space Grotesk', sans-serif !important; color: var(--ink) !important; letter-spacing: -0.03em; margin-bottom: 16px; }
  .tab-brand:hover { background: none !important; }

  .map-wrap { height: 100vh; height: 100dvh; }
  .map-top { left: 16px; right: auto; top: 16px; width: 420px; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
  .sheet { left: auto; right: 16px; bottom: 16px; width: 360px; border-radius: 16px; max-height: 60%; }
  .toast { bottom: 24px; }

  .welcome { max-width: none; }
  .welcome .hero, .welcome .form { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
}
.grid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; }
.map-top .chips.scroll .chip { min-height: 34px; font-size: 13px; }
select.input { appearance: auto; }

/* Photos */
.avatar { overflow: hidden; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(0,0,0,0.6); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.ph.add { border: 2px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; color: var(--muted); font-size: 24px; font-weight: 600; background: #fff; }
.ph.add:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.photo-strip { display: grid; gap: 4px; border-radius: 12px; overflow: hidden; }
.photo-strip.n1 { grid-template-columns: 1fr; }
.photo-strip.n2 { grid-template-columns: 1fr 1fr; }
.photo-strip.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.photo-strip.n3 .ph-btn:first-child { grid-row: span 2; }
.photo-strip.n4 { grid-template-columns: 1fr 1fr; }
.ph-btn { padding: 0; border: none; background: var(--bg); cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; display: block; width: 100%; }
.photo-strip.n1 .ph-btn { aspect-ratio: 16 / 10; }
.photo-strip.n3 .ph-btn:first-child { aspect-ratio: auto; height: 100%; }
.ph-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.pin { display: inline-flex; align-items: center; gap: 4px; }
.pin img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; margin: -3px 0 -3px -6px; border: 2px solid #fff; }
.pin.sel { outline: 3px solid var(--ink); }

/* Étoiles contrastées */
.stars-ro { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars button { width: 36px; height: 44px; }
.stars button svg path { fill: #FFFFFF; stroke: #6B6F76; }
.stars button.on svg path { fill: #D6106A; stroke: #D6106A; }
.stars button:focus-visible { outline: 3px solid var(--ink); border-radius: 8px; }
.leaflet-container { background: #F2EFE9; font-family: Inter, sans-serif; }
.leaflet-control-attribution { font-size: 10px; }

/* Pastilles de niveau */
.rank-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #EFEFEC; color: var(--ink-2); white-space: nowrap; line-height: 1.5; }
.rank-tag.big { font: 700 18px 'Space Grotesk', sans-serif; padding: 4px 14px; }
.rank-tag.r0 { background: #EFEFEC; color: #3A3D44; }
.rank-tag.r1 { background: #FFE0EE; color: #A30D52; }
.rank-tag.r2 { background: #FFB8D6; color: #7A0A3D; }
.rank-tag.r3 { background: #FF8DBE; color: #4A0625; }
.rank-tag.r4 { background: #D6106A; color: #FFFFFF; }
.rank-tag.r5 { background: #A30D52; color: #FFFFFF; }
.rank-tag.r6 { background: #16181D; color: #FFD166; }
.filters { display: flex; flex-direction: column; gap: 10px; max-height: 55vh; overflow: auto; border-top: 1px solid var(--line); padding-top: 10px; }
.frow { display: flex; flex-direction: column; gap: 6px; }
.pin.closed { background: #FEF3C7; color: #78350F; }

/* ---------------------------------------------------------------
   Côté filles (rose) / côté garçons (bleu)
   --------------------------------------------------------------- */
html[data-side="garcon"] {
  --accent: #1D4ED8;
  --accent-dark: #1E3A8A;
  --accent-soft: #DBEAFE;
  --accent-tint: #EFF6FF;
  --accent-bar: #93C5FD;
}
html[data-side="garcon"] .rank-tag.r1 { background: #DBEAFE; color: #1E3A8A; }
html[data-side="garcon"] .rank-tag.r2 { background: #BFDBFE; color: #1E3A8A; }
html[data-side="garcon"] .rank-tag.r3 { background: #93C5FD; color: #172554; }
html[data-side="garcon"] .rank-tag.r4 { background: #1D4ED8; color: #FFFFFF; }
html[data-side="garcon"] .rank-tag.r5 { background: #1E3A8A; color: #FFFFFF; }
html[data-side="garcon"] .stars button.on svg path { fill: #1D4ED8; stroke: #1D4ED8; }
.side-tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; white-space: nowrap; }

/* ---------------------------------------------------------------
   Toucher sur mobile : pas de délai, retour visuel, état actif net
   --------------------------------------------------------------- */
a, button, label, input, select, textarea { touch-action: manipulation; }
button:active, a.btn:active, .chip:active, .tabbar a:active { transform: scale(0.96); }
button, a.btn, .chip { transition: transform .08s ease, background-color .15s ease, color .15s ease; }
svg { pointer-events: none; }
.seg button[aria-checked="true"] { background: var(--accent); color: #FFFFFF; box-shadow: none; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.tabbar a { position: relative; }
.tabbar a svg { padding: 3px 14px; border-radius: 14px; box-sizing: content-box; transition: background-color .15s ease; }
.tabbar a[aria-current="page"] svg { background: var(--accent-soft); }
.tabbar a[aria-current="page"] .plus { outline: 3px solid var(--accent-soft); }
.tabbar a .plus svg { padding: 0; }
@media (min-width: 900px) { .tabbar a svg { padding: 3px 8px; } }
.map-fabs { align-self: flex-end; margin: 0 12px 10px; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 48px; height: 48px; border-radius: 24px; border: none; background: #fff; color: var(--ink); font: 700 12px Inter, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; cursor: pointer; }


/* Mini-carte dans les posts */
.minimap { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #E8E4DA; }
.minimap img { user-select: none; pointer-events: none; }
.mini-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.mini-attr { position: absolute; right: 4px; bottom: 2px; font-size: 9px; color: #555; background: rgba(255,255,255,.7); padding: 0 4px; border-radius: 4px; }

/* Ajout d'un lieu absent de la liste */
.search-results button.add-venue { border-top: 1px dashed var(--line-2); }
.search-results button.add-venue b { color: var(--accent); }

/* Confidentialité */
.privacy-h { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }

/* Carte façon Google Maps */
.map-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 500; display: flex; flex-direction: column; pointer-events: none; }
.map-bottom > * { pointer-events: auto; }
.map-bottom .sheet { position: static; max-height: 40vh; max-height: 40dvh; }
@media (min-width: 900px) {
  .map-bottom { left: auto; right: 16px; bottom: 16px; width: 360px; }
  .map-bottom .sheet { width: auto; max-height: 60vh; }
}
.gpin-wrap { background: none; border: none; }
.gpin { position: absolute; left: 0; top: 0; display: block; white-space: nowrap; cursor: pointer; }
.gpin-dot { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; }
.gpin.closed .gpin-dot { background: #9AA0A6; }
.gpin-name { position: absolute; left: 16px; top: 0; transform: translateY(-50%); font: 600 12px Inter, sans-serif; color: var(--accent-dark); text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; pointer-events: none; }
.gpin.closed .gpin-name { color: #5F6368; }
.gpin-drop { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); width: 36px; height: 46px; display: flex; justify-content: center; }
.gpin-drop::before { content: ''; position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); transform-origin: center; background: #EA4335; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,.4); box-sizing: border-box; }
.gpin-drop > span { position: relative; margin-top: 7px; font-size: 16px; }
.gpin.sel .gpin-name { left: 22px; top: -30px; font-size: 14px; font-weight: 700; color: #B31412; }
.me-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: #1A73E8; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 1px 4px rgba(0,0,0,.35); box-sizing: border-box; }
