/* Guyane One — identité visuelle : Forêt #0B5D3B, Nuit #0A2E22, Or #D9A73A, Sable #F3F5EF */
:root {
  --foret: #0B5D3B; --foret-fonce: #08442B; --nuit: #0A2E22; --or: #D9A73A; --sable: #F3F5EF;
  --gris: #3D4D45; --gris2: #5B6B63; --trait: #DCE3D7; --trait2: #EDF1EA; --vert-clair: #E2EBDF;
  --rouge: #C93F2A; --rouge-fonce: #9E2B19;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --text: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: #CFD8CB; font-family: var(--text); color: var(--nuit); -webkit-font-smoothing: antialiased; }
a { color: var(--foret); text-decoration: none; }
button { font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; color: var(--nuit); }
input::placeholder, textarea::placeholder { color: var(--gris2); }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cadre téléphone : plein écran sur mobile, centré sur ordinateur */
.frame { position: relative; width: 100%; max-width: 430px; height: 100dvh; margin: 0 auto; background: var(--sable); overflow: hidden; }
@media (min-width: 600px) and (min-height: 700px) {
  body { display: flex; align-items: center; justify-content: center; }
  .frame { height: min(100dvh - 32px, 900px); border-radius: 36px; box-shadow: 0 30px 80px rgba(10,46,34,.28); }
}
.app { position: absolute; inset: 0; }
#layer { position: absolute; inset: 0; pointer-events: none; z-index: 50; }
#layer > * { pointer-events: auto; }

/* Structure d'écran */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--sable); overflow: hidden; animation: fadeIn .25s ease both; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; padding: 20px 20px 24px; -webkit-overflow-scrolling: touch; }
.scroll.pb { padding-bottom: 110px; }
.scroll > * { flex-shrink: 0; }
.top { display: flex; align-items: center; gap: 12px; }
.top .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.h1.s { font-size: 24px; }
.h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.sub { font-size: 13px; color: var(--gris); }
.cap { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gris); text-transform: uppercase; }
.muted { color: var(--gris); }
.small { font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hscroll { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex-shrink: 0; }
.spacer { flex: 1; }

/* Boutons */
.ib { flex-shrink: 0; width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--trait); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; position: relative; color: var(--nuit); }
.ib.float { border: 0; box-shadow: 0 4px 12px rgba(10,46,34,.14); }
.dot { position: absolute; top: 9px; right: 10px; width: 10px; height: 10px; border-radius: 5px; background: var(--rouge); border: 2px solid #fff; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; padding: 0 18px; border-radius: 18px; border: 0; background: var(--c, var(--foret)); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; text-align: center; transition: transform .1s ease, opacity .2s ease; }
.btn:active { transform: scale(.98); }
.btn.sm { min-height: 44px; font-size: 14px; border-radius: 22px; width: auto; padding: 0 16px; }
.btn.line { background: #fff; color: var(--c, var(--foret)); border: 1.5px solid var(--c, var(--foret)); }
.btn.soft { background: var(--sable); color: var(--nuit); }
.btn.white { background: #fff; color: var(--nuit); }
.btn.danger { background: #fff; color: var(--rouge-fonce); border: 1.5px solid var(--rouge); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { border: 0; background: none; padding: 0; min-height: 36px; font-size: 14px; font-weight: 700; color: var(--c, var(--foret)); cursor: pointer; text-align: left; }
.link.u { text-decoration: underline; font-size: 13px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--vert-clair); color: var(--foret); font-size: 13px; font-weight: 700; border: 0; cursor: pointer; }
.chip { height: 38px; padding: 0 15px; border-radius: 19px; border: 1.5px solid var(--trait); background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s ease; white-space: nowrap; color: var(--nuit); }
.chip.sm { height: 40px; font-size: 13px; }
.chip.on { background: var(--c, var(--foret)); border-color: var(--c, var(--foret)); color: #fff; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--t, var(--vert-clair)); color: var(--d, var(--foret)); font-size: 12px; font-weight: 700; }
.badge { position: absolute; left: 8px; top: 8px; height: 22px; padding: 0 8px; border-radius: 11px; background: var(--c, var(--foret)); color: #fff; display: flex; align-items: center; font-size: 11px; font-weight: 800; }

/* Cartes et listes */
.card { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.list { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--trait2); background: #fff; width: 100%; text-align: left; cursor: pointer; color: var(--nuit); font-size: 15px; }
.li:last-child { border-bottom: 0; }
.li .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.li b { font-weight: 700; }
.ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 23px; background: var(--c, var(--foret)); display: flex; align-items: center; justify-content: center; }
.ico.sq { border-radius: 14px; background: var(--t, var(--vert-clair)); }
.ico.s { width: 34px; height: 34px; border-radius: 10px; }
.avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 22px; object-fit: cover; background: var(--vert-clair); }
.empty { padding: 28px 16px; text-align: center; color: var(--gris); font-size: 15px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* Formulaires */
.label { font-size: 13px; font-weight: 700; margin: 4px 0 -6px; display: block; }
.input { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--trait); background: #fff; padding: 0 14px; font-size: 16px; outline-color: var(--c, var(--foret)); }
textarea.input { height: auto; padding: 12px 14px; resize: none; line-height: 1.4; }
select.input { appearance: auto; }
.input.big { font-family: var(--display); font-size: 22px; font-weight: 700; }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search .input { padding-left: 46px; border-radius: 16px; }
.err { font-size: 13px; font-weight: 700; color: var(--rouge-fonce); }
.hint { font-size: 12px; line-height: 1.4; color: var(--gris); }
.switch { flex-shrink: 0; position: relative; width: 52px; height: 32px; border-radius: 16px; border: 0; background: #CBD3C7; cursor: pointer; padding: 0; transition: background .25s ease; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 12px; background: #fff; transition: transform .25s ease; }
.switch[aria-checked="true"] { background: var(--foret); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.radio { width: 22px; height: 22px; border-radius: 11px; border: 2px solid #CBD3C7; flex-shrink: 0; }
.radio.on { border: 7px solid var(--c, var(--foret)); }
.opt { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border-radius: 18px; border: 2px solid #E2E8DE; background: #fff; cursor: pointer; text-align: left; width: 100%; transition: border-color .2s ease; }
.opt.on { border-color: var(--c, var(--foret)); }
.opt[disabled] { opacity: .55; cursor: not-allowed; }
.stepper { display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 6px; border-radius: 18px; background: #fff; border: 1px solid var(--trait); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 24px; cursor: pointer; }
.stepper span { min-width: 24px; text-align: center; font-weight: 700; font-size: 17px; }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--trait2); animation: pop .35s ease both; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .x { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border-radius: 16px; border: 0; background: rgba(10,46,34,.75); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ph .main { position: absolute; left: 6px; bottom: 6px; height: 20px; padding: 0 7px; border-radius: 10px; background: var(--c); color: #fff; display: flex; align-items: center; font-size: 10px; font-weight: 800; }
.addph { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; border: 2px dashed var(--c); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: var(--d, var(--nuit)); font-size: 12px; font-weight: 700; }
.addph input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hero { position: relative; flex-shrink: 0; width: 100%; height: 330px; background: var(--nuit); }
.hero img.main { display: block; width: 100%; height: 330px; object-fit: cover; animation: fadeIn .3s ease both; }
.hero .ib { position: absolute; top: 20px; border: 0; }
.hero .nav-l, .hero .nav-r { position: absolute; top: 143px; background: rgba(255,255,255,.9); }
.hero .nav-l { left: 12px; } .hero .nav-r { right: 12px; }
.dots { position: absolute; left: 0; right: 0; bottom: 38px; display: flex; justify-content: center; gap: 6px; }
.dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.5); transition: all .25s ease; }
.dots span.on { width: 20px; background: #fff; }
.sheet-body { flex: 1; margin-top: -24px; position: relative; background: var(--sable); border-radius: 26px 26px 0 0; padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }

/* Barre de navigation */
.nav { height: 82px; flex-shrink: 0; background: #fff; border-top: 1px solid var(--trait); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; padding: 8px 6px 0; }
.nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 4px; min-height: 48px; font-size: 11px; font-weight: 500; color: #4A5A52; }
.nav a.on { font-weight: 700; color: var(--foret); }
.nav a.plus { margin-top: -30px; font-weight: 700; color: var(--nuit); }
.nav a.plus span.b { width: 60px; height: 60px; border-radius: 30px; background: var(--foret); border: 5px solid var(--sable); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(11,93,59,.28); }
.nav .cnt { position: absolute; top: 0; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rouge); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Feuilles (bottom sheets) et toasts */
.overlay { position: absolute; inset: 0; z-index: 20; background: rgba(10,46,34,.5); display: flex; flex-direction: column; justify-content: flex-end; animation: fadeIn .25s ease both; }
.sheet { background: #fff; border-radius: 28px 28px 0 0; padding: 12px 20px 28px; display: flex; flex-direction: column; gap: 14px; max-height: 92%; overflow-y: auto; animation: slideUp .35s ease both; }
.sheet.flat { position: absolute; left: 0; right: 0; bottom: 0; z-index: 15; box-shadow: 0 -10px 30px rgba(10,46,34,.15); }
.grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #CBD3C7; flex-shrink: 0; }
.toast { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--nuit); color: #fff; font-size: 14px; font-weight: 700; animation: fadeUp .35s ease both; box-shadow: 0 10px 30px rgba(10,46,34,.25); z-index: 60; }
.toast.err { background: var(--rouge-fonce); }
.fab { position: absolute; left: 16px; right: 16px; bottom: 20px; z-index: 10; min-height: 60px; border-radius: 20px; border: 0; background: var(--foret); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; cursor: pointer; box-shadow: 0 10px 24px rgba(10,46,34,.3); animation: slideUp .4s ease both; font-size: 15px; font-weight: 700; }
.fab .n { min-width: 28px; height: 28px; border-radius: 14px; background: var(--or); color: var(--nuit); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; margin-right: 10px; }
.foot { flex-shrink: 0; padding: 12px 20px 20px; background: #fff; border-top: 1px solid var(--trait); display: flex; gap: 10px; }

/* Écrans de succès */
.done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; text-align: center; }
.done .ring { position: relative; width: 120px; height: 120px; }
.done .ring span { position: absolute; inset: 0; border-radius: 60px; background: var(--c, var(--foret)); }
.done .ring span:first-child { animation: ring 1.6s ease-out infinite; }
.done .ring span:last-child { display: flex; align-items: center; justify-content: center; animation: pop .6s ease both; }
.done .ring.sq span { border-radius: 30px; }
.done .ring.sq { width: 150px; height: 150px; }
.done .ring.sq img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; border: 4px solid #fff; }
.done h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; animation: fadeUp .5s .3s ease both; }
.done p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--gris); animation: fadeUp .5s .4s ease both; }

/* Inscription : cartes de profil illustrées, présentation des espaces pro, illustrations des écrans vides */
.rgrid { display: flex; flex-direction: column; gap: 12px; }
.opt.ropt { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease; }
.ropt .rrow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; min-height: 64px; }
.ropt .rill { display: block; height: 0; overflow: hidden; background: var(--t, var(--vert-clair)); }
.ropt .rill img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ropt.on .rill { height: 128px; }
.ropt.on { box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 20%, transparent); }
.ropt.vient .rill { animation: rillIn .45s cubic-bezier(.2,.8,.2,1) both; }
.ropt.vient .rill img { animation: rillImg .8s ease both; }
@media (hover: hover) {
  .ropt:not(.on) .rill { transition: height .3s ease; }
  .ropt:not(.on):hover .rill { height: 128px; }
  .ropt:hover { transform: translateY(-2px); }
}
@keyframes rillIn { from { height: 0 } to { height: 128px } }
@keyframes rillImg { from { transform: scale(1.12); opacity: 0 } to { transform: none; opacity: 1 } }
body.calme .ropt, body.calme .ropt .rill { transition: none !important; transform: none !important; }
.ins-ill { display: block; width: 100%; aspect-ratio: 360 / 220; height: auto; object-fit: cover; border-radius: 20px; background: var(--t, var(--vert-clair)); }
.ins-ill.bandeau { aspect-ratio: 360 / 130; object-position: 50% 78%; }
.ins-ill.big { border-radius: 24px; box-shadow: 0 10px 28px rgba(10,46,34,.14); animation: fadeUp .5s ease both; }
.ins-atouts { display: flex; flex-direction: column; gap: 10px; }
.ins-atout { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--trait); animation: fadeUp .45s ease both; }
.ins-atout b { font-size: 15px; line-height: 1.25; }
.ins-atout .sub { line-height: 1.4; }
.ins-fin { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 380px; margin-top: 12px; animation: fadeUp .5s .5s ease both; }

/* Accueil */
.tile { display: flex; flex-direction: column; justify-content: space-between; height: 150px; padding: 16px; border-radius: 22px; background: var(--t); color: var(--nuit); animation: fadeUp .5s ease both; }
.tile.wide { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; height: 84px; }
.tile .nm { font-family: var(--display); font-weight: 700; font-size: 19px; }
.tile .ds { font-size: 13px; line-height: 1.3; color: var(--gris); }
.live-dot { position: relative; width: 8px; height: 8px; display: inline-block; }
.live-dot::before, .live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 4px; background: var(--rouge); }
.live-dot::before { animation: pulse 1.4s ease-out infinite; }

/* Vignettes de catégories */
.catb { width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; padding: 0; cursor: pointer; }
.catb .im { width: 66px; height: 66px; border-radius: 33px; overflow: hidden; border: 3px solid #fff; background: var(--c); display: flex; align-items: center; justify-content: center; transition: transform .2s ease, border-color .2s ease; }
.catb.sq .im { border-radius: 20px; }
.catb.on .im { border-color: var(--c); transform: scale(1.06); }
.catb .im img { width: 100%; height: 100%; object-fit: cover; }
.catb span.l { font-size: 12px; text-align: center; line-height: 1.2; }
.catb.on span.l { font-weight: 700; }

/* Produits / annonces */
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; animation: fadeUp .45s ease both; }
.pcard .pimg { position: relative; display: block; padding: 0; border: 0; background: var(--trait2); cursor: pointer; }
.pcard .pimg img { display: block; width: 100%; height: 118px; object-fit: cover; }
.pcard .pb { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.round-add { width: 36px; height: 36px; border-radius: 18px; border: 0; background: var(--c); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.acard { display: flex; background: #fff; border-radius: 20px; overflow: hidden; animation: fadeUp .45s ease both; }
.acard .aimg { position: relative; flex-shrink: 0; width: 128px; height: 132px; padding: 0; border: 0; background: var(--trait2); cursor: pointer; }
.acard .aimg img { width: 128px; height: 132px; object-fit: cover; display: block; }
.acard .ab { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 12px 14px; cursor: pointer; }
.price { font-family: var(--display); font-weight: 700; font-size: 18px; }
.fav { flex-shrink: 0; width: 36px; height: 36px; border: 0; background: none; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.fav.on svg { animation: bump .4s ease; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Messages */
.bubble { max-width: 78%; display: flex; flex-direction: column; gap: 3px; animation: fadeUp .3s ease both; }
.bubble span.t { padding: 10px 14px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
.bubble.in { align-self: flex-start; } .bubble.in span.t { background: #fff; border-radius: 18px 18px 18px 4px; }
.bubble.out { align-self: flex-end; align-items: flex-end; } .bubble.out span.t { background: var(--foret); color: #fff; border-radius: 18px 18px 4px 18px; }
.bubble .m { font-size: 11px; color: var(--gris); }
.composer { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px 18px; background: #fff; border-top: 1px solid var(--trait); }
.composer input { flex: 1; min-width: 0; height: 48px; border-radius: 24px; border: 1px solid var(--trait); background: var(--sable); padding: 0 18px; font-size: 15px; }
.send { flex-shrink: 0; width: 48px; height: 48px; border-radius: 24px; border: 0; background: var(--foret); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Live */
.mapwrap { position: absolute; inset: 0; z-index: 0; background: #E4EBDD; }
.mapwrap .leaflet-container { width: 100%; height: 100%; background: #E4EBDD; font-family: var(--text); }
.livebar { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 12; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.livebar > * { pointer-events: auto; }
.livebar .ttl { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 14px; border-radius: 22px; background: #fff; box-shadow: 0 4px 12px rgba(10,46,34,.12); font-family: var(--display); font-weight: 700; font-size: 16px; }
.livebar .chip { border: 0; box-shadow: 0 2px 8px rgba(10,46,34,.1); height: 36px; font-size: 13px; }
.livebar .chip.on { background: var(--nuit); }
.pin { width: 32px; height: 32px; border-radius: 16px; background: var(--c); border: 3px solid #fff; color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); position: relative; animation: drop .5s ease both; }
.pin::before { content: ''; position: absolute; inset: -3px; border-radius: 16px; background: var(--c); z-index: -1; animation: pulse 2s ease-out infinite; }
.pin.sel { transform: scale(1.25); }
.me-dot { width: 18px; height: 18px; border-radius: 9px; background: var(--foret); border: 4px solid #fff; box-shadow: 0 0 0 8px rgba(11,93,59,.18); }
.report-btn { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 12; width: 236px; height: 58px; border-radius: 29px; border: 0; background: var(--rouge); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(201,63,42,.35); }
.sos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sos a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 52px; border-radius: 12px; background: #fff; color: var(--rouge-fonce); }
.sos a b { font-family: var(--display); font-weight: 800; font-size: 18px; }
.sos a span { font-size: 10px; font-weight: 700; color: var(--gris); }
.crosshair { position: absolute; left: 50%; top: 50%; z-index: 11; width: 28px; height: 28px; margin: -14px 0 0 -14px; pointer-events: none; }

/* Introductions animées (écran d'ouverture et modules) */
.splash { position: absolute; inset: 0; z-index: 80; border: 0; padding: 0; width: 100%; cursor: pointer; background: radial-gradient(circle at 50% 40%, #13301F 0%, #07100B 55%, #030504 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; overflow: hidden; animation: splashOut .55s 3.4s ease forwards; }
.splash .logo { position: relative; width: 220px; height: 220px; animation: logoIn 1.15s cubic-bezier(.2,.8,.2,1) both; }
.splash .logo img { width: 220px; height: 220px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(242,193,78,.45)); }
.splash .shine { position: absolute; inset: 0; -webkit-mask: url(/img/logo.png) center / 100% 100% no-repeat; mask: url(/img/logo.png) center / 100% 100% no-repeat; background: linear-gradient(110deg, rgba(255,255,255,0) 38%, rgba(255,244,205,.9) 50%, rgba(255,255,255,0) 62%) no-repeat; background-size: 260% 100%; mix-blend-mode: screen; animation: shine 1.3s 1.15s ease-in-out both; }
.splash .halo { position: absolute; left: 50%; top: 40%; width: 360px; height: 360px; margin: -230px 0 0 -180px; border-radius: 50%; background: radial-gradient(circle, rgba(242,193,78,.38) 0%, rgba(242,193,78,.10) 45%, rgba(242,193,78,0) 70%); animation: haloIn 1.2s .2s ease both, glow 2.6s 1.4s ease-in-out infinite; }
.splash .word { position: relative; width: 250px; animation: wipe .9s 1.5s cubic-bezier(.4,0,.2,1) both; }
.splash .tagline { position: relative; font-size: 15px; color: #E9D9A6; letter-spacing: .02em; animation: fadeUp .7s 2.1s ease both; }
.spark { position: absolute; border-radius: 50%; background: #F5D477; box-shadow: 0 0 8px #F2C14E; animation: rise 3s ease-out infinite; }
.loadbar { position: absolute; left: 50%; bottom: 72px; width: 120px; height: 3px; margin-left: -60px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.loadbar span { display: block; height: 3px; border-radius: 2px; background: #fff; animation: load 2.3s linear both; }
.splash .loadbar span { background: linear-gradient(90deg, #A97A22, #F5D477); animation-duration: 3.2s; }
.intro { position: absolute; inset: 0; z-index: 30; width: 100%; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; overflow: hidden; animation: iOut .45s 2.2s ease forwards; }
.intro .big { width: 150px; height: 150px; border-radius: 75px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; animation: iPop .6s .1s ease both; }
.intro .ttl { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; color: #fff; animation: wipe .7s .7s cubic-bezier(.4,0,.2,1) both; }
.intro .tg { font-size: 16px; color: rgba(255,255,255,.92); animation: fadeUp .6s 1.1s ease both; }
.intro .orb { position: absolute; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(0,0,0,.25); animation: iFall .8s cubic-bezier(.3,.7,.3,1) both; background: #fff; }
.intro .orb img { width: 100%; height: 100%; object-fit: cover; }

/* Étapes d'inscription */
.progress { flex: 1; height: 8px; border-radius: 4px; background: var(--trait); overflow: hidden; }
.progress span { display: block; height: 8px; border-radius: 4px; background: var(--foret); transition: width .4s ease; }
.code { height: 68px; border-radius: 18px; border: 1.5px solid var(--foret); background: #fff; padding: 0 20px; font-family: var(--display); font-size: 32px; letter-spacing: .5em; text-align: center; width: 100%; }
.devcode { padding: 12px 14px; border-radius: 14px; background: #FFF6E0; font-size: 14px; line-height: 1.4; }
.devcode b { font-family: var(--display); font-size: 20px; letter-spacing: .15em; }
.photo-edit { position: relative; flex-shrink: 0; cursor: pointer; }
.photo-edit img { display: block; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(10,46,34,.18); background: var(--vert-clair); }
.photo-edit .cam { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 15px; background: var(--foret); border: 3px solid #fff; display: flex; align-items: center; justify-content: center; }
.photo-edit input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stars { display: inline-flex; gap: 2px; }
.bar { height: 6px; border-radius: 3px; background: var(--trait2); overflow: hidden; flex: 1; }
.bar span { display: block; height: 6px; background: var(--or); border-radius: 3px; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes slideUp { from { transform: translateY(100%) } to { transform: none } }
@keyframes pop { 0% { transform: scale(.3); opacity: 0 } 70% { transform: scale(1.1); opacity: 1 } 100% { transform: scale(1) } }
@keyframes ring { 0% { transform: scale(1); opacity: .5 } 100% { transform: scale(1.9); opacity: 0 } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6 } 100% { transform: scale(2.6); opacity: 0 } }
@keyframes bump { 0% { transform: scale(1) } 40% { transform: scale(1.3) } 100% { transform: scale(1) } }
@keyframes drop { 0% { transform: translateY(-30px); opacity: 0 } 60% { transform: translateY(4px); opacity: 1 } 100% { transform: none } }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes logoIn { 0% { opacity: 0; transform: scale(.5) rotate(-10deg); filter: blur(14px) } 60% { opacity: 1; transform: scale(1.07) rotate(1deg); filter: blur(0) } 100% { opacity: 1; transform: none } }
@keyframes haloIn { 0% { opacity: 0; transform: scale(.3) } 100% { opacity: 1; transform: scale(1) } }
@keyframes glow { 0%, 100% { opacity: .75; transform: scale(1) } 50% { opacity: 1; transform: scale(1.08) } }
@keyframes shine { 0% { background-position: 160% 0 } 100% { background-position: -60% 0 } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); opacity: .2 } to { clip-path: inset(0 0 0 0); opacity: 1 } }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0 } 20% { opacity: 1 } 100% { transform: translateY(-300px) scale(1); opacity: 0 } }
@keyframes load { from { width: 0 } to { width: 100% } }
@keyframes splashOut { to { opacity: 0; transform: scale(1.04); visibility: hidden } }
@keyframes iOut { to { opacity: 0; transform: scale(1.05); visibility: hidden } }
@keyframes iPop { 0% { transform: scale(0); opacity: 0 } 65% { transform: scale(1.15); opacity: 1 } 100% { transform: scale(1); opacity: 1 } }
@keyframes iFall { 0% { transform: translateY(-280px) rotate(-50deg); opacity: 0 } 55% { transform: translateY(10px) rotate(8deg); opacity: 1 } 75% { transform: translateY(-8px) rotate(-3deg) } 100% { transform: none; opacity: 1 } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
}
body.calme *, body.calme *::before, body.calme *::after { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }

/* Centre de modération : large sur ordinateur, empilé sur téléphone */
body.admin .frame { max-width: 1180px; }
@media (min-width: 600px) and (min-height: 700px) { body.admin .frame { height: calc(100dvh - 32px); max-height: none; border-radius: 24px; } }
.admin-scr { background: #F3F5EF; }
.admin-top { flex-shrink: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--trait); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; max-width: 100%; }
.admin-nav a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 19px; font-size: 13px; font-weight: 700; color: var(--nuit); white-space: nowrap; }
.admin-nav a.on { background: var(--nuit); color: #fff; }
.admin-body { padding: 20px; }
.admin-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 760px) { .admin-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-grid2 { grid-template-columns: 1fr; } }
.admin-stat { color: var(--nuit); gap: 6px; }
.admin-stat b { font-family: var(--display); font-size: 34px; line-height: 1; }
.admin-case { color: var(--nuit); gap: 6px; }
.admin-case:hover, .admin-stat:hover { box-shadow: 0 4px 14px rgba(10,46,34,.1); }
.admin-table { display: flex; flex-direction: column; font-size: 13px; }
.admin-table .tr { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--trait2); }
.admin-table .th { font-weight: 700; color: var(--gris); }
.admin-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-actions .btn { min-height: 48px; font-size: 14px; }

/* Animations de navigation */
.nav { position: relative; }
.nav-ind { position: absolute; top: 0; left: calc(6px + var(--i) * (100% - 12px) / 5 + 16px); width: calc((100% - 12px) / 5 - 32px); height: 3px; border-radius: 0 0 3px 3px; background: var(--foret); transition: left .34s cubic-bezier(.2,.8,.2,1); }
.nav a.on svg { animation: navPop .38s ease; }
.tab-in-r { animation: tabInR .3s cubic-bezier(.2,.8,.2,1) both; }
.tab-in-l { animation: tabInL .3s cubic-bezier(.2,.8,.2,1) both; }
.pg-old { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pg-old > .scr { animation: none; }
.scr.pg-in-fwd { animation: pgInFwd .34s cubic-bezier(.2,.8,.2,1) both; box-shadow: -14px 0 32px rgba(10,46,34,.14); }
.scr.pg-in-back { animation: pgInBack .34s cubic-bezier(.2,.8,.2,1) both; }
.pg-out-fwd { animation: pgOutFwd .34s cubic-bezier(.2,.8,.2,1) forwards; }
.pg-out-back { animation: pgOutBack .34s cubic-bezier(.2,.8,.2,1) forwards; box-shadow: -14px 0 32px rgba(10,46,34,.14); }
@keyframes tabInR { from { transform: translateX(44px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes tabInL { from { transform: translateX(-44px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes navPop { 0% { transform: scale(.7) } 60% { transform: scale(1.18) } 100% { transform: scale(1) } }
@keyframes pgInFwd { from { transform: translateX(100%) } to { transform: none } }
@keyframes pgOutFwd { to { transform: translateX(-28%); opacity: .55 } }
@keyframes pgInBack { from { transform: translateX(-28%); opacity: .55 } to { transform: none; opacity: 1 } }
@keyframes pgOutBack { to { transform: translateX(100%) } }
/* ---------- Guide, cartes de lieux, publicités, accueil modernisé ---------- */
.ellipsis2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card, .list { box-shadow: 0 1px 2px rgba(10,46,34,.04), 0 6px 18px rgba(10,46,34,.05); }
.gsq { flex-shrink: 0; border-radius: 14px; background: var(--gt); display: flex; align-items: center; justify-content: center; }
.oh { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.oh i { width: 7px; height: 7px; border-radius: 4px; display: inline-block; }
.glieu.spons { background: linear-gradient(90deg, #FBF5E8, #fff); }
.spons-l { align-self: flex-start; margin-top: 2px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7A5612; }
.gcats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gcat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; min-height: 96px; border-radius: 18px; background: var(--gt); color: var(--nuit); animation: fadeUp .4s ease both; transition: transform .15s ease; }
.gcat:active { transform: scale(.97); }
.gcat b { font-size: 13px; line-height: 1.2; }
.gcat span { font-size: 11px; font-weight: 700; color: var(--g); }
.hcards { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hcards::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 168px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; color: var(--nuit); box-shadow: 0 6px 18px rgba(10,46,34,.07); animation: fadeUp .4s ease both; }
.pc-top { position: relative; height: 78px; background: var(--gt); display: flex; align-items: center; justify-content: center; }
.pc-km { position: absolute; right: 8px; top: 8px; height: 22px; padding: 0 8px; border-radius: 11px; background: rgba(255,255,255,.9); font-size: 11px; font-weight: 800; display: flex; align-items: center; color: var(--g); }
.pc-b { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; min-height: 92px; }
.pc-b b { font-size: 14px; line-height: 1.25; }
.card.pratique { flex-direction: row; align-items: center; color: var(--nuit); }
.card.pratique .grow { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lhero { position: relative; height: 210px; background: var(--gt); flex-shrink: 0; }
.lhero .leaflet-container { background: var(--gt); }
.gacts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gact { flex: 1 0 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; border: 0; background: #fff; font-size: 12px; font-weight: 700; color: var(--nuit); cursor: pointer; box-shadow: 0 1px 2px rgba(10,46,34,.05); }
.ohw { margin-top: 8px; border-collapse: collapse; font-size: 13px; }
.ohw td { padding: 3px 14px 3px 0; color: var(--gris); }
.ohw tr.today td { color: var(--nuit); font-weight: 700; }
.starb { border: 0; background: none; padding: 2px; cursor: pointer; }
.urg { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--trait2); color: var(--nuit); }
.urg:last-child { border-bottom: 0; }
.urg > b { min-width: 52px; height: 36px; border-radius: 12px; background: #FADFD9; color: var(--rouge-fonce); font-family: var(--display); font-size: 17px; display: flex; align-items: center; justify-content: center; }
.urg .grow { flex: 1; display: flex; flex-direction: column; }
.skel { height: 64px; border-radius: 18px; background: linear-gradient(90deg, #E9EEE6 25%, #F6F8F4 50%, #E9EEE6 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0 } to { background-position: -200% 0 } }
/* Publicité discrète */
.pub { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; border-radius: 18px; background: #FBF7EE; border: 1px solid #EFE3C8; }
.pub-l { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7A5612; }
.pub-x { width: 28px; height: 28px; border-radius: 14px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pub-b { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; width: 100%; }
.pub-b img, .pub-ic { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.pub-ic { background: #F6EBD3; display: flex; align-items: center; justify-content: center; }
.pub-b .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pub-b b { font-size: 15px; }
.pub-cta { flex-shrink: 0; height: 34px; padding: 0 12px; border-radius: 17px; background: #A97A22; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; }
/* Accueil */
.hello { display: flex; flex-direction: column; gap: 4px; }
.hello .date { font-size: 13px; font-weight: 700; color: var(--gris); text-transform: capitalize; }
.wx { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 18px; background: #fff; font-size: 13px; font-weight: 700; color: var(--nuit); box-shadow: 0 1px 2px rgba(10,46,34,.06); }
.quick { display: flex; gap: 10px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick a { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; font-size: 11.5px; font-weight: 700; color: var(--nuit); text-align: center; line-height: 1.2; }
.quick a span.q { width: 56px; height: 56px; border-radius: 18px; background: var(--gt); display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.quick a:active span.q { transform: scale(.94); }
.tile { box-shadow: 0 1px 2px rgba(10,46,34,.04); }
.money { font-size: 13px; line-height: 1.45; padding: 10px 12px; border-radius: 14px; background: #F6EBD3; color: #5C4310; }
.une { background: #A97A22 !important; }
.lhero .ib { position: absolute; top: 16px; box-shadow: 0 4px 12px rgba(10,46,34,.18); border: 0; }
.lhero .leaflet-control-attribution { font-size: 9px; }
.codebox { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: 14px; background: #E2EBDF; }
.codebox b { font-family: var(--display); font-size: 32px; letter-spacing: .3em; color: #0B5D3B; line-height: 1.1; }

/* Business : galerie de la vitrine (réordonner les photos) */
.ph .first { position: absolute; left: 4px; bottom: 4px; height: 26px; padding: 0 8px; border-radius: 13px; border: 0; background: rgba(10,46,34,.75); color: #fff; display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; cursor: pointer; }

/* Vitrines : réseaux sociaux (boutons ronds avec sigle) et vidéos (vignette, puis lecteur au clic) */
.rsx { display: flex; flex-wrap: wrap; gap: 10px; }
.rsx a { width: 46px; height: 46px; border-radius: 23px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--rs, #0B5D3B); color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; text-decoration: none; box-shadow: 0 3px 10px rgba(10,46,34,.16); transition: transform .15s; }
.rsx a:active { transform: scale(.92); }
.rsx a:focus-visible { outline: 3px solid var(--nuit); outline-offset: 2px; }
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vid { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; color: #fff;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--vc, #0B5D3B) 70%, #fff) 0%, var(--vc, #0B5D3B) 55%, #0A2E22 100%); }
.vid > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-play { position: absolute; left: 50%; top: 42%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 25px; background: rgba(10,46,34,.62); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px rgba(255,255,255,.75); }
.vid-play svg { margin-left: 3px; }
.vid-t { position: relative; display: flex; align-items: center; gap: 6px; padding: 18px 10px 8px; font-size: 13px; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.66)); }
.vid-t i { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 11px; padding: 2px 6px; border-radius: 8px; background: rgba(255,255,255,.22); flex-shrink: 0; }
.vid-t .ellipsis { flex: 1; min-width: 0; }
.vid-d { font-size: 11px; padding: 1px 6px; border-radius: 6px; background: rgba(0,0,0,.55); flex-shrink: 0; }
.vid.open { grid-column: 1 / -1; aspect-ratio: auto; cursor: default; background: none; color: var(--nuit); gap: 6px; overflow: visible; }
.vid-p { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.vid.vert .vid-p { aspect-ratio: 9 / 16; width: min(100%, 340px); margin: 0 auto; }
.vid-p iframe, .vid-p video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vid-err { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFF6E0; color: #8A4A08; font-size: 13px; line-height: 1.4; }
.vprog { height: 8px; border-radius: 4px; background: var(--trait); overflow: hidden; }
.vprog span { display: block; height: 100%; background: var(--c, #0B5D3B); border-radius: 4px; transition: width .2s; }

/* Live : photos et vidéos des signalements (marqueur, galerie, visionneuse plein écran) */
.pin-m { position: absolute; right: -9px; top: -9px; width: 19px; height: 19px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.lm-tag { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.lm-avert { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
.lm-avert svg { flex-shrink: 0; margin-top: 1px; }
.lm-pick { display: flex; flex-direction: column; gap: 10px; }
.lm-pick .ph .lm-play { pointer-events: none; }
.lm-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.lm-t { position: relative; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #0A2E22; cursor: pointer; }
.lm-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-t.masq img { filter: blur(6px) grayscale(.6); }
.lm-t:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.lm-play { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 17px; background: rgba(10,46,34,.65); display: flex; align-items: center; justify-content: center; }
.lm-play svg { margin-left: 2px; }
.lm-d { position: absolute; right: 4px; bottom: 4px; font-size: 10px; font-weight: 700; color: #fff; padding: 1px 5px; border-radius: 6px; background: rgba(0,0,0,.6); }
.lm-masq { position: absolute; left: 4px; right: 4px; bottom: 4px; font-size: 9px; font-weight: 800; color: #fff; background: #D9720F; border-radius: 6px; padding: 2px 4px; text-align: center; }
.lm-masq.s { position: static; align-self: flex-start; font-size: 12px; padding: 3px 8px; }
.lm-view { position: absolute; inset: 0; z-index: 40; background: #000; color: #fff; display: flex; flex-direction: column; }
.lm-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 8px 18px; }
.lm-x { width: 44px; height: 44px; flex-shrink: 0; border-radius: 22px; border: 0; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lm-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lm-full { max-width: 100%; max-height: 100%; object-fit: contain; display: block; background: #000; }
video.lm-full { width: 100%; height: 100%; }
.lm-nav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 24px; border: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lm-nav.p { left: 8px; }
.lm-nav.n { right: 8px; }
.lm-info { display: flex; flex-direction: column; gap: 6px; padding: 12px 18px 24px; font-size: 14px; line-height: 1.4; }
.lm-view .link { color: #fff; }
.lm-view .vid-err { position: absolute; left: 16px; right: 16px; bottom: 16px; }
