/* =====================================================================
   Compteur « personnes en ligne » — 5 formes × 16 habillages (80 modèles),
   10 dispositions × 5 animations (50 styles). Admin › Compteur en ligne.
   ===================================================================== */
.lc-wrap { position: relative; display: inline-flex; flex: none; }
.lc {
  --lc-accent: #e3b341; --lc-accent-2: #f7d77c; --lc-fg: #fff; --lc-sub: rgba(255,255,255,.72);
  --lc-bg: linear-gradient(135deg, #102a4c, #0a1d36); --lc-border: rgba(227,179,65,.55); --lc-glow: rgba(227,179,65,.45);
  --lc-h: 40px; --lc-fs: .95rem; --lc-pad: .85rem;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: .55rem;
  block-size: var(--lc-h); padding-inline: calc(var(--lc-pad) * .8) var(--lc-pad); margin: 0;
  font: inherit; font-size: var(--lc-fs); line-height: 1; color: var(--lc-fg); white-space: nowrap;
  background: var(--lc-bg); border: 1px solid var(--lc-border); border-radius: 999px; cursor: pointer; overflow: hidden;
  box-shadow: 0 10px 26px -14px var(--lc-glow), inset 0 1px 0 rgba(255,255,255,.14);
  transition: transform .35s cubic-bezier(.2,.9,.25,1.3), box-shadow .35s, filter .25s;
  -webkit-tap-highlight-color: transparent;
}
.lc:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -14px var(--lc-glow), inset 0 1px 0 rgba(255,255,255,.18); }
.lc:focus-visible { outline: 2px solid var(--lc-accent); outline-offset: 3px; }
.lc-size-sm { --lc-h: 34px; --lc-fs: .84rem; --lc-pad: .7rem; }
.lc-size-lg { --lc-h: 46px; --lc-fs: 1.06rem; --lc-pad: 1.05rem; }
.lc-sheen { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 45%, transparent 60%); transform: translateX(-120%); animation: lc-sheen 6.5s ease-in-out infinite; pointer-events: none; }
@keyframes lc-sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.lc-ico { position: relative; display: inline-grid; place-items: center; color: var(--lc-accent); font-size: 1.05em; }
.lc-body { display: inline-flex; align-items: baseline; gap: .38rem; }
.lc-num { direction: ltr; unicode-bidi: isolate; font-weight: 800; font-size: 1.12em; letter-spacing: .01em; font-variant-numeric: tabular-nums; color: var(--lc-fg); display: inline-flex; }
.lc-label { font-size: .78em; font-weight: 600; color: var(--lc-sub); letter-spacing: .02em; }
.lc-top { display: none; font-size: .6em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lc-sub); }

/* ---------- Icônes des dispositions ---------- */
.lc-dot { position: relative; inline-size: .62em; block-size: .62em; display: inline-block; }
.lc-dot i { position: absolute; inset: 0; border-radius: 50%; background: #2ee59d; box-shadow: 0 0 10px #2ee59d; }
.lc-pulse .lc-dot::before, .lc-pulse .lc-dot::after, .lc-pop .lc-dot::before, .lc-pop .lc-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2ee59d; animation: lc-ping 2s cubic-bezier(.2,.7,.3,1) infinite; }
.lc-pulse .lc-dot::after, .lc-pop .lc-dot::after { animation-delay: 1s; }
@keyframes lc-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
.lc-people { font-size: 1.05em; filter: drop-shadow(0 0 6px var(--lc-glow)); }
.lc-avs { display: inline-flex; }
.lc-avs i { inline-size: 1.15em; block-size: 1.15em; border-radius: 50%; border: 2px solid var(--lc-fg); margin-inline-start: -.42em; background: linear-gradient(135deg, var(--lc-accent), var(--lc-accent-2)); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.lc-avs i:first-child { margin-inline-start: 0; }
.lc-avs i:nth-child(2) { background: linear-gradient(135deg, #2ee59d, #16a37a); }
.lc-avs i:nth-child(3) { background: linear-gradient(135deg, #7aa7ff, #4b6fe0); }
.lc-pulse .lc-avs i { animation: lc-bob 2.4s ease-in-out infinite; }
.lc-pulse .lc-avs i:nth-child(2) { animation-delay: .3s; } .lc-pulse .lc-avs i:nth-child(3) { animation-delay: .6s; }
@keyframes lc-bob { 50% { transform: translateY(-2px); } }
.lc-eq { display: inline-flex; align-items: flex-end; gap: 2px; block-size: 1em; }
.lc-eq i { inline-size: 3px; block-size: 40%; border-radius: 2px; background: var(--lc-accent); animation: lc-eq 1.1s ease-in-out infinite; }
.lc-eq i:nth-child(2) { animation-delay: .15s; } .lc-eq i:nth-child(3) { animation-delay: .3s; } .lc-eq i:nth-child(4) { animation-delay: .45s; } .lc-eq i:nth-child(5) { animation-delay: .6s; }
@keyframes lc-eq { 0%, 100% { block-size: 30%; } 50% { block-size: 100%; } }
.lc-spark { inline-size: 2.6em; block-size: 1.05em; color: var(--lc-accent); overflow: visible; }
.lc-spark polyline, .lc-spark path { transition: all .6s ease; }
.lc-radar { position: relative; inline-size: 1.1em; block-size: 1.1em; border-radius: 50%; border: 1.5px solid var(--lc-accent); overflow: hidden; }
.lc-radar i { position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 0 70%, var(--lc-accent) 100%); animation: lc-spin 2.4s linear infinite; opacity: .85; }
.lc-radar b { position: absolute; inset: 38%; border-radius: 50%; background: #2ee59d; box-shadow: 0 0 6px #2ee59d; }
@keyframes lc-spin { to { transform: rotate(360deg); } }
.lc-live { display: inline-flex; align-items: center; gap: .35em; padding: .28em .5em; border-radius: 6px; font-size: .62em; font-weight: 800; letter-spacing: .12em; color: #fff; background: linear-gradient(135deg, #ef3b4f, #b3122a); box-shadow: 0 4px 12px -4px rgba(239,59,79,.7); }
.lc-live .lc-dot { inline-size: .7em; block-size: .7em; }
.lc-live .lc-dot i { background: #fff; box-shadow: 0 0 8px #fff; }
.lc-live .lc-dot::before, .lc-live .lc-dot::after { border-color: #fff !important; }
.lc-globe { animation: lc-spin 14s linear infinite; display: inline-block; filter: drop-shadow(0 0 6px var(--lc-glow)); }

/* ---------- Dispositions ---------- */
.lc-lay-stack .lc-body { flex-direction: column; align-items: flex-start; gap: .14rem; }
.lc-lay-stack .lc-top { display: block; }
.lc-lay-stack .lc-label { display: none; }
.lc-lay-stack .lc-num { font-size: 1.08em; }
.lc-lay-compact .lc-label { display: none; }
.lc-lay-compact { gap: .45rem; padding-inline: .75rem .9rem; }
.lc-lay-live .lc-label { text-transform: lowercase; }

/* ---------- Formes ---------- */
.lc-shape-glass { background: color-mix(in srgb, var(--lc-solid, #0b1f3a) 40%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: color-mix(in srgb, var(--lc-accent) 60%, transparent); box-shadow: 0 10px 30px -14px var(--lc-glow), inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.06); }
.lc-shape-ribbon { border-radius: 12px; padding-inline-start: 0; gap: .6rem; }
.lc-shape-ribbon .lc-ico { align-self: stretch; padding-inline: .7rem; color: var(--lc-on-accent, #0b1f3a); background: linear-gradient(135deg, var(--lc-accent-2), var(--lc-accent)); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding-inline-end: 1rem; }
[dir="rtl"] .lc-shape-ribbon .lc-ico { clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%); padding-inline-end: .7rem; padding-inline-start: 1rem; }
.lc-shape-ribbon .lc-ico .lc-dot i { background: var(--lc-on-accent, #0b1f3a); box-shadow: none; }
.lc-shape-ribbon .lc-ico .lc-dot::before, .lc-shape-ribbon .lc-ico .lc-dot::after { border-color: var(--lc-on-accent, #0b1f3a) !important; }
.lc-shape-ribbon .lc-eq i, .lc-shape-ribbon .lc-radar i { background: var(--lc-on-accent, #0b1f3a); }
.lc-shape-ribbon .lc-radar { border-color: var(--lc-on-accent, #0b1f3a); }
.lc-shape-ribbon .lc-spark { color: var(--lc-on-accent, #0b1f3a); }
.lc-shape-badge { border-radius: 10px; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); border: 0; box-shadow: inset 0 -3px 0 var(--lc-accent), inset 0 0 0 1px var(--lc-border); }
.lc-shape-neon { background: rgba(4, 10, 22, .55); border: 1.5px solid var(--lc-accent); box-shadow: 0 0 12px -2px var(--lc-glow), inset 0 0 12px -4px var(--lc-glow); }
.lc-shape-neon .lc-num { color: var(--lc-accent-2); text-shadow: 0 0 8px var(--lc-glow), 0 0 18px var(--lc-glow); }

/* ---------- Habillages ---------- */
.lc-skin-gold { --lc-accent: #e3b341; --lc-accent-2: #f9dc8a; --lc-bg: linear-gradient(135deg, #14325a, #0a1d36); --lc-border: rgba(227,179,65,.6); --lc-glow: rgba(227,179,65,.5); --lc-solid: #0b1f3a; }
.lc-skin-emerald { --lc-accent: #34d399; --lc-accent-2: #a7f3d0; --lc-bg: linear-gradient(135deg, #0f5a43, #073a2b); --lc-border: rgba(52,211,153,.55); --lc-glow: rgba(52,211,153,.5); --lc-solid: #073a2b; }
.lc-skin-night { --lc-accent: #8fb4ff; --lc-accent-2: #dbe6ff; --lc-bg: linear-gradient(135deg, #1b2440, #0b1020); --lc-border: rgba(143,180,255,.4); --lc-glow: rgba(90,130,255,.45); --lc-solid: #0b1020; }
.lc-skin-aurora { --lc-accent: #6ef3d6; --lc-accent-2: #c4b5fd; --lc-bg: linear-gradient(120deg, #0e7c7b, #4c3aa8 55%, #a23b8f); --lc-border: rgba(196,181,253,.6); --lc-glow: rgba(110,243,214,.45); --lc-solid: #2b2a6e; }
.lc-skin-aurora.lc-shape-pill, .lc-skin-aurora.lc-shape-badge { background-size: 200% 200%; animation: lc-aurora 9s ease infinite; }
@keyframes lc-aurora { 50% { background-position: 100% 50%; } }
.lc-skin-sapphire { --lc-accent: #60a5fa; --lc-accent-2: #bfdbfe; --lc-bg: linear-gradient(135deg, #1e3a8a, #0f1f4d); --lc-border: rgba(96,165,250,.55); --lc-glow: rgba(96,165,250,.5); --lc-solid: #0f1f4d; }
.lc-skin-ruby { --lc-accent: #fb7185; --lc-accent-2: #fecdd3; --lc-bg: linear-gradient(135deg, #7f1d3a, #4a0d22); --lc-border: rgba(251,113,133,.55); --lc-glow: rgba(251,113,133,.5); --lc-solid: #4a0d22; }
.lc-skin-amber { --lc-accent: #fbbf24; --lc-accent-2: #fde68a; --lc-bg: linear-gradient(135deg, #78350f, #451a03); --lc-border: rgba(251,191,36,.55); --lc-glow: rgba(251,191,36,.5); --lc-solid: #451a03; }
.lc-skin-jade { --lc-accent: #5eead4; --lc-accent-2: #ccfbf1; --lc-bg: linear-gradient(135deg, #115e59, #042f2e); --lc-border: rgba(94,234,212,.5); --lc-glow: rgba(94,234,212,.45); --lc-solid: #042f2e; }
.lc-skin-ivory { --lc-accent: #b8860b; --lc-accent-2: #d4a017; --lc-fg: #1c2433; --lc-sub: #5b6475; --lc-bg: linear-gradient(135deg, #fffdf6, #f3ead2); --lc-border: rgba(184,134,11,.45); --lc-glow: rgba(184,134,11,.35); --lc-solid: #f7f1e1; --lc-on-accent: #fff; }
.lc-skin-ivory.lc-shape-neon { background: rgba(255,253,246,.9); }
.lc-skin-ivory.lc-shape-neon .lc-num { color: #8a6508; }
.lc-skin-onyx { --lc-accent: #e5e7eb; --lc-accent-2: #ffffff; --lc-bg: linear-gradient(135deg, #2a2a2e, #0c0c0e); --lc-border: rgba(255,255,255,.22); --lc-glow: rgba(0,0,0,.6); --lc-solid: #111; }
.lc-skin-lavender { --lc-accent: #c4b5fd; --lc-accent-2: #ede9fe; --lc-bg: linear-gradient(135deg, #5b3fa8, #2e1f63); --lc-border: rgba(196,181,253,.55); --lc-glow: rgba(167,139,250,.5); --lc-solid: #2e1f63; }
.lc-skin-coral { --lc-accent: #fdba74; --lc-accent-2: #ffedd5; --lc-bg: linear-gradient(135deg, #c2410c, #7c2d12); --lc-border: rgba(253,186,116,.55); --lc-glow: rgba(249,115,22,.5); --lc-solid: #7c2d12; }
.lc-skin-oasis { --lc-accent: #d9b56a; --lc-accent-2: #f2deb0; --lc-bg: linear-gradient(135deg, #1f5f4a 0%, #2c4a2e 60%, #6b4f22); --lc-border: rgba(217,181,106,.55); --lc-glow: rgba(217,181,106,.45); --lc-solid: #23402f; }
.lc-skin-sky { --lc-accent: #38bdf8; --lc-accent-2: #e0f2fe; --lc-fg: #0c2a43; --lc-sub: #31597a; --lc-bg: linear-gradient(135deg, #f0f9ff, #cfeafd); --lc-border: rgba(56,189,248,.55); --lc-glow: rgba(56,189,248,.45); --lc-solid: #e0f2fe; --lc-on-accent: #fff; }
.lc-skin-sky.lc-shape-neon { background: rgba(240,249,255,.92); }
.lc-skin-sky.lc-shape-neon .lc-num { color: #0369a1; }
.lc-skin-cyber { --lc-accent: #22d3ee; --lc-accent-2: #f0abfc; --lc-bg: linear-gradient(135deg, #0b0221, #1a0638); --lc-border: rgba(34,211,238,.7); --lc-glow: rgba(217,70,239,.55); --lc-solid: #0b0221; }
.lc-skin-cyber .lc-num { color: #9ff3ff; text-shadow: 0 0 6px rgba(34,211,238,.9), 0 0 16px rgba(217,70,239,.6); }
.lc-skin-theme { --lc-accent: var(--c-gold, #c9a227); --lc-accent-2: var(--c-gold-on-dark, #f2d57e); --lc-bg: linear-gradient(135deg, var(--c-navy, #0b2545), var(--c-navy-deep, #071a33)); --lc-border: color-mix(in srgb, var(--c-gold, #c9a227) 55%, transparent); --lc-glow: color-mix(in srgb, var(--c-gold, #c9a227) 50%, transparent); --lc-solid: var(--c-navy, #0b2545); }

/* ---------- Animations des chiffres ---------- */
.lc-d { position: relative; display: inline-block; block-size: 1.08em; overflow: hidden; inline-size: .62em; text-align: center; }
.lc-d .lc-strip { position: absolute; inset-inline: 0; top: 0; display: flex; flex-direction: column; transition: transform .9s cubic-bezier(.2,.9,.2,1.06); }
.lc-d .lc-strip > span { block-size: 1.08em; line-height: 1.08em; }
.lc-sep { display: inline-block; inline-size: .25em; }
.lc-f { display: inline-block; min-inline-size: .62em; text-align: center; transform-origin: 50% 50%; }
.lc-f.is-flip { animation: lc-flip .6s cubic-bezier(.3,.7,.2,1); }
@keyframes lc-flip { 0% { transform: perspective(200px) rotateX(0); } 49% { transform: perspective(200px) rotateX(-90deg); opacity: .4; } 51% { transform: perspective(200px) rotateX(90deg); opacity: .4; } 100% { transform: perspective(200px) rotateX(0); } }
.lc-anim-fade .lc-num.is-fade { animation: lc-fade .7s ease; }
@keyframes lc-fade { 0% { filter: blur(0); opacity: 1; } 40% { filter: blur(6px); opacity: 0; transform: translateY(-4px); } 41% { transform: translateY(4px); } 100% { filter: blur(0); opacity: 1; transform: none; } }
.lc-anim-pop .lc-num.is-pop { animation: lc-pop .55s cubic-bezier(.2,1.6,.4,1); }
@keyframes lc-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.lc.is-bump { animation: lc-bump .6s ease; }
@keyframes lc-bump { 40% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--lc-accent) 35%, transparent), 0 16px 34px -14px var(--lc-glow); } }

/* ---------- Fenêtre de détails ---------- */
.lc-pop {
  position: absolute; top: calc(100% + 12px); inset-inline-end: 0; z-index: 1600; inline-size: min(320px, 92vw);
  padding: 1.1rem 1.15rem 1rem; border-radius: 20px; color: #eef3fb; text-align: start; overflow: hidden;
  background: radial-gradient(420px 220px at 100% 0%, rgba(227,179,65,.18), transparent 60%), linear-gradient(160deg, rgba(16,40,74,.97), rgba(6,16,33,.98));
  border: 1px solid rgba(227,179,65,.35); box-shadow: 0 30px 70px -20px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: lc-in .38s cubic-bezier(.2,.9,.25,1.2) both; transform-origin: top right;
}
[dir="rtl"] .lc-pop { transform-origin: top left; }
.lc-pop[hidden] { display: none; }
@keyframes lc-in { from { opacity: 0; transform: translateY(-8px) scale(.94); } }
.lc-pop-glow { position: absolute; inset: -40% -20% auto auto; inline-size: 220px; block-size: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(46,229,157,.18), transparent 65%); pointer-events: none; }
.lc-pop-head { display: flex; align-items: center; justify-content: space-between; }
.lc-pop-live { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .16em; color: #2ee59d; background: rgba(46,229,157,.1); border: 1px solid rgba(46,229,157,.3); }
.lc-pop-x { border: 0; background: rgba(255,255,255,.06); color: #cdd6e4; inline-size: 30px; block-size: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.lc-pop-x:hover { background: rgba(255,255,255,.14); transform: rotate(90deg); }
.lc-pop-title { margin: .85rem 0 0; font-size: .82rem; color: #a9b6c9; font-weight: 600; letter-spacing: .02em; }
.lc-pop-big { direction: ltr; unicode-bidi: isolate; text-align: start; margin: .1rem 0 .3rem; font-size: 3rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #f2d57e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lc-pop-chart { inline-size: 100%; block-size: 64px; color: #e3b341; display: block; }
.lc-pop-trend { margin: .2rem 0 .7rem; font-size: .7rem; color: #8494ab; letter-spacing: .08em; text-transform: uppercase; }
.lc-pop-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: 0; }
.lc-pop-stats div { padding: .6rem .7rem; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.lc-pop-stats dt { display: flex; align-items: center; gap: .35rem; font-size: .68rem; font-weight: 600; color: #a9b6c9; }
.lc-pop-stats dt i { color: #e3b341; }
.lc-pop-stats dd { margin: .3rem 0 0; font-size: 1.15rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.lc-pop-foot { display: flex; align-items: center; gap: .35rem; margin: .8rem 0 0; font-size: .7rem; color: #8494ab; }
.lc-pop-thanks { margin: .5rem 0 0; padding-top: .6rem; border-top: 1px dashed rgba(255,255,255,.1); font-size: .74rem; color: #c9b27a; font-style: italic; }

/* ---------- Intégration dans l'en-tête ---------- */
.nx-actions .lc-wrap { margin-inline-end: .15rem; }
@media (max-width: 991.98px) { .nx-actions .lc .lc-label, .nx-actions .lc .lc-top { display: none; } .nx-actions .lc { padding-inline: .6rem .75rem; gap: .4rem; } }
@media (max-width: 575.98px) { .nx-actions .lc-hide-mobile { display: none; } .nx-actions .lc { --lc-h: 32px; --lc-fs: .82rem; } .lc-pop { position: fixed; top: 70px; inset-inline: 12px; inline-size: auto; } }
@media (prefers-reduced-motion: reduce) { .lc *, .lc, .lc-pop { animation: none !important; transition: none !important; } }

/* ---------- Fenêtre de détails enrichie (statistiques réelles) ---------- */
.lc-pop-rich { inline-size: min(372px, 94vw); max-block-size: min(82vh, 720px); overflow: hidden auto; scrollbar-width: thin; scrollbar-color: rgba(227,179,65,.4) transparent; }
.lc-pop-hero { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; }
.lc-pop-hero .lc-pop-title { margin-top: .85rem; }
.lc-pop-side { text-align: end; padding-inline-start: 1rem; border-inline-start: 1px solid rgba(255,255,255,.1); }
.lc-pop-side .lc-pop-big { text-align: end; }
.lc-pop-big-2 { font-size: 2rem; background: linear-gradient(180deg, #fff, #8ff0c8); -webkit-background-clip: text; background-clip: text; margin-bottom: .1rem; }
.lc-pop-delta { margin: 0 0 .35rem; font-size: .68rem; font-weight: 700; color: #8494ab; direction: ltr; unicode-bidi: isolate; }
.lc-pop-delta.up { color: #2ee59d; } .lc-pop-delta.down { color: #ff9a8b; }
.lc-pop-hours { display: flex; align-items: flex-end; gap: 3px; block-size: 58px; margin-top: .55rem; padding: 6px 8px 0; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); border: 1px solid rgba(255,255,255,.06); direction: ltr; }
.lc-pop-hours i { flex: 1; block-size: var(--h, 3%); min-block-size: 2px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #f2d57e, rgba(227,179,65,.35)); transition: block-size .5s cubic-bezier(.2,.8,.2,1); }
.lc-pop-hours i.now { background: linear-gradient(180deg, #7dffcf, #2ee59d); box-shadow: 0 0 12px rgba(46,229,157,.6); }
.lc-pop-hours i.next { background: rgba(255,255,255,.1); }
.lc-pop-rich .lc-pop-trend { margin-top: .4rem; }
.lc-pop-stats dd small { display: block; font-size: .62rem; font-weight: 600; color: #8494ab; margin-top: .1rem; }
.lc-pop-stats dd { direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] .lc-pop-stats dd { text-align: end; }
.lc-pop-sec { margin-top: .85rem; }
.lc-pop-sec h3 { display: flex; align-items: center; gap: .4rem; margin: 0 0 .45rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a9b6c9; }
.lc-pop-sec h3 i { color: #e3b341; }
.lc-pop-seg { display: flex; gap: 2px; block-size: 8px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.07); }
.lc-pop-seg i { min-inline-size: 6px; }
.lc-pop .d-mobile { background: #2ee59d; } .lc-pop .d-desktop { background: #e3b341; } .lc-pop .d-tablet { background: #6cb8ff; }
.lc-pop-legend { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin: .45rem 0 0; padding: 0; list-style: none; font-size: .72rem; color: #cdd6e4; }
.lc-pop-legend li { display: inline-flex; align-items: center; gap: .35rem; }
.lc-pop-legend li > i { inline-size: 8px; block-size: 8px; border-radius: 50%; }
.lc-pop-legend b { color: #fff; }
.lc-pop-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.lc-pop-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .22rem .3rem .22rem .6rem; border-radius: 99px; font-size: .72rem; color: #dbe4f1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
[dir="rtl"] .lc-pop-chips li { padding: .22rem .6rem .22rem .3rem; }
.lc-pop-chips b { min-inline-size: 1.35rem; padding: .05rem .35rem; border-radius: 99px; text-align: center; font-size: .68rem; color: #0b1a30; background: #e3b341; }
.lc-pop-rank { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.lc-pop-rank li { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .55rem; padding: .34rem .55rem; border-radius: 9px; font-size: .76rem; color: #e6edf8; overflow: hidden; background: rgba(255,255,255,.035); }
.lc-pop-rank li > i { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: var(--w, 0%); background: linear-gradient(90deg, rgba(227,179,65,.26), rgba(227,179,65,.05)); z-index: 0; transition: inline-size .6s cubic-bezier(.2,.8,.2,1); }
[dir="rtl"] .lc-pop-rank li > i { background: linear-gradient(270deg, rgba(227,179,65,.26), rgba(227,179,65,.05)); }
.lc-pop-rank li > * { position: relative; z-index: 1; }
.lc-pop-rank em { font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .06em; padding: .12rem .34rem; border-radius: 5px; color: #f2d57e; border: 1px solid rgba(227,179,65,.45); background: rgba(6,16,33,.5); }
.lc-pop-rank span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-pop-rank b { font-variant-numeric: tabular-nums; color: #fff; }
.lc-pop-foot { flex-wrap: wrap; }
.lc-pop-real { display: inline-flex; align-items: center; gap: .3rem; margin-inline-start: auto; color: #7fe6bd; }
@media (max-width: 575.98px) { .lc-pop-rich { max-block-size: calc(100dvh - 90px); } }

/* ---------- Invitation à partager sa localité (discrète, une seule fois) ---------- */
.lc-geo { position: fixed; z-index: 1590; inset-block-end: 96px; inset-inline-end: 18px; inline-size: min(360px, calc(100vw - 24px)); display: flex; gap: .8rem; align-items: flex-start; padding: .95rem 1rem; border-radius: 18px; color: #eef3fb;
  background: radial-gradient(300px 160px at 100% 0%, rgba(46,229,157,.16), transparent 65%), linear-gradient(160deg, rgba(16,40,74,.98), rgba(6,16,33,.98)); border: 1px solid rgba(227,179,65,.35); box-shadow: 0 26px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.9,.25,1.1); }
.lc-geo.is-in { opacity: 1; transform: none; } .lc-geo.is-out { opacity: 0; transform: translateY(14px); }
.lc-geo-ico { flex: none; display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 12px; color: #0b1a30; background: linear-gradient(135deg, #f2d57e, #e3b341); font-size: 1.1rem; }
.lc-geo-body { flex: 1; min-inline-size: 0; } .lc-geo-body strong { display: block; font-size: .9rem; }
.lc-geo-body p { margin: .25rem 0 .65rem; font-size: .76rem; line-height: 1.5; color: #b9c5d6; }
.lc-geo-act { display: flex; gap: .45rem; flex-wrap: wrap; }
.lc-geo-act button { border: 0; cursor: pointer; padding: .4rem .9rem; border-radius: 99px; font-size: .76rem; font-weight: 700; }
.lc-geo-yes { color: #0b1a30; background: linear-gradient(135deg, #f2d57e, #e3b341); } .lc-geo-yes:hover { filter: brightness(1.08); }
.lc-geo-no { color: #cdd6e4; background: rgba(255,255,255,.08); } .lc-geo-no:hover { background: rgba(255,255,255,.16); }
.lc-geo-x { flex: none; border: 0; cursor: pointer; inline-size: 26px; block-size: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: #cdd6e4; background: rgba(255,255,255,.06); }
.lc-geo-x:hover { background: rgba(255,255,255,.16); }
@media (max-width: 575.98px) { .lc-geo { inset-inline: 12px; inset-block-end: 84px; inline-size: auto; } }
@media (prefers-reduced-motion: reduce) { .lc-geo, .lc-pop-hours i, .lc-pop-rank li > i { transition: none !important; } }
