/* CLIK.ma "Carte immobilière" (includes/clik-remap.php): the listing form's location step (.clik-rmp,
   __clik_remap_pick.tpl, clik-remap-pick.js) and the page /carte (.clik-rm, clik_remap.tpl, clik-remap.js).
   One 8 px rhythm; day / night; right to left in Arabic (logical sides); "less motion" stops every animation. */

/* ---------------- the listing form's location step ---------------- */
.clik-rmp { display: flex; flex-direction: column; gap: 8px; margin: 0 0 8px; }
.clik-rmp[hidden] { display: none; }
.clik-rmp.is-in { animation: clik-rmp-in .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes clik-rmp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.clik-rmp-head { display: flex; align-items: center; gap: 8px; }
.clik-rmp-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2f7bff, #0A5CFF); box-shadow: 0 4px 12px rgba(10, 92, 255, .3); }
.clik-rmp-tt { display: grid; gap: 2px; min-width: 0; }
.clik-rmp-tt b { font-size: 15px; font-weight: 700; color: var(--body-color, #1c1e21); }
.clik-rmp-tt small { font-size: 12.5px; color: #65676b; line-height: 1.3; }
.clik-rmp-search { position: relative; }
.clik-rmp-search > svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: #65676b; pointer-events: none; z-index: 1; }
.clik-rmp-search .form-control { padding-inline-start: 38px !important; }
.clik-rmp-sug { position: absolute; z-index: 30; top: calc(100% + 4px); inset-inline: 0; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .2); padding: 4px; display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow: auto; }
.clik-rmp-sug[hidden] { display: none; }
.clik-rmp-opt { display: flex; align-items: center; gap: 8px; padding: 8px; border: 0; background: none; border-radius: 8px; text-align: start; width: 100%; color: inherit; cursor: pointer; }
.clik-rmp-opt > svg { flex: none; color: #0A5CFF; }
.clik-rmp-opt span { display: grid; min-width: 0; flex: 1; }
.clik-rmp-opt b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-rmp-opt small { font-size: 12px; color: #65676b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-rmp-opt em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #65676b; background: #f0f2f5; padding: 2px 8px; border-radius: 10px; flex: none; }
.clik-rmp-opt.is-hi, .clik-rmp-opt:hover { background: #f0f2f5; }
.clik-rmp-none { padding: 12px; font-size: 13.5px; color: #65676b; text-align: center; }

.clik-rmp-map { position: relative; height: 300px; border-radius: 12px; overflow: hidden; background: #dfe6ef; isolation: isolate; }
.clik-rmp-canvas { position: absolute; inset: 0; }
.clik-rmp-canvas .maplibregl-ctrl-attrib { font-size: 10px; }
.clik-rmp-loading { position: absolute; inset: 0; display: none; place-items: center; z-index: 4; background: inherit; }
.clik-rmp-map.is-loading .clik-rmp-loading { display: grid; }
.clik-rmp-loading::before { content: ""; width: 68px; height: 68px; background: var(--clik-cube-load, var(--clik-cube)) center / contain no-repeat; animation: clik-cube-in .66s cubic-bezier(.2, .9, .3, 1.2) both, clik-feed-cube 1.1s ease-in-out .66s infinite; filter: none); }
.clik-rmp-map.is-failed::after { content: attr(data-failed); position: absolute; inset: 0; display: grid; place-items: center; }
.clik-rmp-pin { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -100%); pointer-events: none; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .3)); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.clik-rmp-shadow { position: absolute; left: 50%; top: 50%; z-index: 2; width: 24px; height: 8px; margin: -4px 0 0 -12px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(2px); pointer-events: none; transition: transform .25s, opacity .25s; }
.clik-rmp-map.is-moving .clik-rmp-pin { transform: translate(-50%, calc(-100% - 16px)) scale(1.06); }
.clik-rmp-map.is-moving .clik-rmp-shadow { transform: scale(.6); opacity: .5; }
.clik-rmp-map.is-placed .clik-rmp-pin { animation: clik-rmp-drop .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes clik-rmp-drop { 0% { transform: translate(-50%, calc(-100% - 16px)); } 55% { transform: translate(-50%, -100%) scale(1.08, .9); } 80% { transform: translate(-50%, calc(-100% - 4px)); } 100% { transform: translate(-50%, -100%); } }
.clik-rmp-map.is-placed .clik-rmp-shadow { animation: clik-rmp-ring .7s ease-out; }
@keyframes clik-rmp-ring { 0% { box-shadow: 0 0 0 0 rgba(10, 92, 255, .5); } 100% { box-shadow: 0 0 0 26px rgba(10, 92, 255, 0); } }
.clik-rmp-tip { position: absolute; z-index: 3; left: 50%; top: 8px; transform: translateX(-50%); max-width: calc(100% - 112px); padding: 6px 12px; border-radius: 14px; background: rgba(28, 30, 33, .88); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.clik-rmp-tip.is-zoom { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.clik-rmp-tools { position: absolute; z-index: 3; inset-inline-end: 8px; top: 8px; display: flex; flex-direction: column; gap: 8px; }
.clik-rmp-tool { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: #1c1e21; font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); cursor: pointer; transition: transform .15s; }
.clik-rmp-tool:active { transform: scale(.92); }
.clik-rmp-tool.is-on { background: linear-gradient(135deg, #2f7bff, #0A5CFF); color: #fff; }
.clik-rmp-tool.is-busy svg { animation: clik-rm-spin 1s linear infinite; }
.clik-rmp-tool:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(10, 92, 255, .55); }
@keyframes clik-rm-spin { to { transform: rotate(360deg); } }
.clik-rmp-mini { position: absolute; z-index: 3; inset-inline-start: 8px; bottom: 8px; width: 64px; height: 81px; border-radius: 10px; background: rgba(11, 21, 48, .88); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); pointer-events: none; }
.clik-rmp-mini path { fill: #1d3f8f; stroke: #5b9bff; stroke-width: 1.5; }
.clik-rmp-mini text { fill: #c3cee3; font-size: 12px; font-family: inherit; }
.clik-rmp-mini-dot { fill: #FFD200; }
.clik-rmp-mini-ring { fill: none; stroke: #FFD200; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: clik-rm-pulse 1.8s ease-out infinite; }
@keyframes clik-rm-pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
/* the plot: no centre pin, a crosshair cursor, the corners as handles (their dot animates INSIDE the marker's box),
   the area in a chip with undo / start again */
.clik-rmp-map.is-plot .clik-rmp-pin, .clik-rmp-map.is-plot .clik-rmp-shadow { display: none; }
.clik-rmp-map.is-plot .maplibregl-canvas { cursor: crosshair; }
.clik-rmp-vh { width: 24px; height: 24px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.clik-rmp-vh:active { cursor: grabbing; }
.clik-rmp-v { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #F5104F; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.clik-rmp-v.is-first { border-color: #0A5CFF; width: 18px; height: 18px; }
.clik-rmp-plotbar { position: absolute; z-index: 3; left: 50%; bottom: 8px; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 4px; padding-inline-start: 12px; border-radius: 22px; background: rgba(28, 30, 33, .9); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); max-width: calc(100% - 96px); }
.clik-rmp-plotbar[hidden] { display: none; }
.clik-rmp-plot-area { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; unicode-bidi: plaintext; }
.clik-rmp-plot-area.is-bad { color: #ffd27a; }
.clik-rmp-pb { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.clik-rmp-pb:hover { background: rgba(255, 255, 255, .26); }
.clik-rmp-pb:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(91, 155, 255, .8); }
.clik-rmp-mode.is-plot:has(input:checked) b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-start: 6px; border-radius: 2px; background: #FFD200; box-shadow: 0 0 0 2px #F5104F; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) {
  .clik-rmp-v { animation: clik-rmp-vpop .35s cubic-bezier(.3, 1.6, .5, 1) backwards; }
  .clik-rmp-plot-area.is-bump { animation: clik-rmp-bump .4s cubic-bezier(.3, 1.6, .5, 1); }
  .clik-rmp.no-motion .clik-rmp-v, .clik-rmp.no-motion .clik-rmp-plot-area.is-bump { animation: none; }
}
@keyframes clik-rmp-vpop { from { transform: scale(0); } }
@keyframes clik-rmp-bump { 50% { transform: scale(1.08); } }
.clik-rmp-full-head { display: none; }
.clik-rmp-map.is-full { position: fixed; inset: 0; z-index: 1080; height: auto; border-radius: 0; }
.clik-rmp-map.is-full .clik-rmp-full-head { display: flex; position: absolute; z-index: 5; inset: 0 0 auto; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); }
.clik-rmp-full-tt { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; white-space: nowrap; flex: 1; min-width: 0; }
.clik-rmp-full-tt .clik-brand.is-inline { margin: 0; flex: none; }
.clik-rmp-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #e4e6eb; color: #606770; display: grid; place-items: center; cursor: pointer; flex: none; }
.clik-rmp-map.is-full .clik-rmp-tools, .clik-rmp-map.is-full .clik-rmp-tip { top: 60px; }
body.clik-rmp-fullopen { overflow: hidden; }

.clik-rmp-addr { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: #f0f2f5; font-size: 14px; font-weight: 600; min-height: 40px; }
.clik-rmp-addr > svg { flex: none; }
.clik-rmp-addr > span { flex: 1; min-width: 0; }
.clik-rmp-addr em { font-style: normal; font-size: 12.5px; font-weight: 700; flex: none; }
.clik-rmp-addr em.is-ok { color: #16A34A; animation: clik-rmp-pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.clik-rmp-addr em.is-bad { color: #DC2626; }
@keyframes clik-rmp-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.clik-rmp-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.clik-rmp-mode { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; border: 1.5px solid #e4e6eb; cursor: pointer; margin: 0; transition: border-color .2s, background .2s; }
.clik-rmp-mode input { position: absolute; opacity: 0; pointer-events: none; }
.clik-rmp-r { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid #bcc0c4; margin-top: 1px; transition: border .2s; }
.clik-rmp-mode b { display: block; font-size: 14px; font-weight: 700; }
.clik-rmp-mode small { display: block; font-size: 12.5px; color: #65676b; line-height: 1.3; }
.clik-rmp-mode:has(input:checked) { border-color: #0A5CFF; background: #f2f6ff; }
.clik-rmp-mode:has(input:checked) .clik-rmp-r { border: 5px solid #0A5CFF; }
.clik-rmp-mode:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(10, 92, 255, .35); }
.clik-rmp-near { display: flex; flex-wrap: wrap; gap: 8px; }
.clik-rmp-near:empty { display: none; }
.clik-rmp-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 14px; background: #f0f2f5; font-size: 12.5px; font-weight: 600; max-width: 100%; animation: clik-rmp-in .4s calc(var(--i) * 70ms) both; }
.clik-rmp-chip > svg { flex: none; }
.clik-rmp-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.clik-rmp-chip span:empty { display: none; }
.clik-rmp-chip b { font-weight: 700; color: #65676b; white-space: nowrap; }
.clik-rmp-show { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.clik-rmp-show > span { flex: 1; }
.clik-rmp-show .switch { margin: 0; flex: none; }
@media (max-width: 575px) {
  .clik-rmp-map { height: 260px; }
  .clik-rmp-modes { grid-template-columns: 1fr; }
}
body.night-mode .clik-rmp-tt b { color: #e4e6eb; }
body.night-mode .clik-rmp-tt small, body.night-mode .clik-rmp-mode small, body.night-mode .clik-rmp-opt small, body.night-mode .clik-rmp-chip b { color: #b0b3b8; }
body.night-mode .clik-rmp-sug { background: #242526; box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
body.night-mode .clik-rmp-opt.is-hi, body.night-mode .clik-rmp-opt:hover, body.night-mode .clik-rmp-opt em, body.night-mode .clik-rmp-addr, body.night-mode .clik-rmp-chip { background: #3a3b3c; color: #e4e6eb; }
body.night-mode .clik-rmp-mode { border-color: #3a3b3c; }
body.night-mode .clik-rmp-mode:has(input:checked) { background: rgba(10, 92, 255, .14); border-color: #4c8dff; }
body.night-mode .clik-rmp-tool { background: #3a3b3c; color: #e4e6eb; }
body.night-mode .clik-rmp-map { background: #18191a; }
body.night-mode .clik-rmp-map.is-full .clik-rmp-full-head { background: rgba(36, 37, 38, .92); color: #e4e6eb; }
body.night-mode .clik-rmp-x { background: #3a3b3c; color: #e4e6eb; }
.clik-rmp.no-motion *, .clik-rmp.no-motion { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .clik-rmp *, .clik-rmp { animation: none !important; transition: none !important; }
}

/* ---------------- the page /carte ---------------- */
.cd.clik-rm { --rm-top: 56px; --rm-glass: rgba(255, 255, 255, .86); --rm-line: rgba(15, 23, 42, .08); --rm-mut: #65676b; --rm-chip: rgba(15, 23, 42, .06);
  height: calc(100dvh - var(--rm-top)); padding: 8px; box-sizing: border-box; }
body:has(.cd.clik-rm) .footer, body:has(.cd.clik-rm) .clik-footer { display: none !important; }
/* the map page never scrolls: the map fills the screen under the header (never overflow on body - it would become a scroll box) */
html:has(.cd.clik-rm) { overflow: hidden; }
body.night-mode .cd.clik-rm { --rm-glass: rgba(24, 26, 31, .84); --rm-line: rgba(255, 255, 255, .08); --rm-mut: #b0b3b8; --rm-chip: rgba(255, 255, 255, .08); }
.clik-rm-card { position: relative; height: 100%; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 60% 45%, #14264a 0%, #0a1322 55%, #05080f 100%); box-shadow: 0 8px 30px rgba(0, 0, 0, .12); }
.clik-rm-card:fullscreen { border-radius: 0; }
.clik-rm-map { position: absolute; inset: 0; }
.clik-rm-map .maplibregl-ctrl-attrib { font-size: 10px; }
.clik-rm [hidden] { display: none !important; }

/* the veil while the map comes: the CLIK cube, the title */
.clik-rm-veil { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; text-align: center; padding: 16px;
  background: radial-gradient(ellipse at 50% 50%, #14264a 0%, #0a1322 60%, #05080f 100%); transition: opacity .6s; }
.clik-rm-veil.is-gone { opacity: 0; pointer-events: none; }
.clik-rm-veil-cube { width: 68px; height: 68px; background: var(--clik-cube-load, var(--clik-cube)) center / contain no-repeat; animation: clik-cube-in .66s cubic-bezier(.2, .9, .3, 1.2) both, clik-feed-cube 1.1s ease-in-out .66s infinite; filter: none); }
.clik-rm-veil b { font-size: 22px; font-weight: 700; }
.clik-rm-veil small { font-size: 14px; color: #b8c6e0; }
.clik-rm-veil.is-error .clik-rm-veil-cube { animation: none; filter: grayscale(1); }

/* the panels: glass over the map */
.clik-rm-panel { position: absolute; z-index: 4; background: var(--rm-glass); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--rm-line); border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .18); color: var(--body-color, #1c1e21); }
body.night-mode .clik-rm-panel { color: #e4e6eb; }
.clik-rm-top { top: 8px; inset-inline-start: 8px; width: 360px; max-height: calc(100% - 16px); overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none;
  animation: clik-rm-slide .6s .2s cubic-bezier(.2, .8, .2, 1) backwards; transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; transform-origin: top left; }
@keyframes clik-rm-slide { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.clik-rm-title { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; margin: 0; font-size: 20px; font-weight: 700; white-space: nowrap; color: inherit; }
.clik-rm-title .clik-brand.is-inline { margin: 0; flex: none; }
.clik-rm-line { margin: 0; font-size: 13.5px; color: var(--rm-mut); }
.clik-rm-search { position: relative; }
.clik-rm-search > svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--rm-mut); pointer-events: none; z-index: 1; }
.clik-rm-search input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--rm-line); background: rgba(255, 255, 255, .9); padding: 0 12px; padding-inline-start: 38px; font-size: 15px; color: inherit; outline: 0; }
.clik-rm-search input:focus { border-color: #0A5CFF; box-shadow: 0 0 0 3px rgba(10, 92, 255, .18); }
body.night-mode .clik-rm-search input { background: rgba(255, 255, 255, .07); color: #e4e6eb; }
.clik-rm-sug { position: relative; z-index: 2; margin-top: 8px; max-height: min(340px, 50vh); overscroll-behavior: contain; overflow: auto; padding: 4px; border-radius: 12px; background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 2px; }
body.night-mode .clik-rm-sug { background: #242526; }
.clik-rm-opt { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 0; background: none; border-radius: 8px; text-align: start; color: inherit; cursor: pointer; }
.clik-rm-opt > img, .clik-rm-opt > .clik-rm-noimg { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.clik-rm-opt > svg { flex: none; color: #0A5CFF; width: 36px; }
.clik-rm-opt span { display: grid; flex: 1; min-width: 0; }
.clik-rm-opt b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-rm-opt small { font-size: 12px; color: var(--rm-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-rm-opt em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: var(--rm-chip); flex: none; }
.clik-rm-opt.is-hi, .clik-rm-opt:hover { background: var(--rm-chip); }
.clik-rm-nores { padding: 12px; text-align: center; font-size: 13.5px; color: var(--rm-mut); }
.clik-rm-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px; }
.clik-rm-chips::-webkit-scrollbar { display: none; }
.clik-rm-chips.is-wrap { flex-wrap: wrap; overflow: visible; }
.clik-rm-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; border: 0; background: var(--rm-chip); color: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: transform .15s, background .2s; }
.clik-rm-chip:active { transform: scale(.95); }
.clik-rm-chip b { font-size: 11.5px; font-weight: 700; padding: 1px 6px; border-radius: 10px; background: rgba(0, 0, 0, .06); }
.clik-rm-chip.is-on { background: linear-gradient(135deg, #2f7bff, #0A5CFF); color: #fff; box-shadow: 0 4px 12px rgba(10, 92, 255, .3); }
.clik-rm-chip.is-on b { background: rgba(255, 255, 255, .22); }
.clik-rm-chip .clik-rm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kc); box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.clik-rm-chip:focus-visible, .clik-rm-btn:focus-visible, .clik-rm-more:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(10, 92, 255, .5); }
.clik-rm-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.clik-rm-new { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; border: 0; background: linear-gradient(135deg, #2f7bff, #0A5CFF); color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(10, 92, 255, .3); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.clik-rm-new:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10, 92, 255, .4); }
.clik-rm-new:active { transform: scale(.96); }
.clik-rm-new:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(10, 92, 255, .5); }
.clik-rm-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--rm-line); background: transparent; color: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.clik-rm-more b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #F5104F; color: #fff; font-size: 11px; display: grid; place-items: center; }
.clik-rm-filters { display: flex; flex-direction: column; gap: 8px; animation: clik-rm-slide .35s cubic-bezier(.2, .8, .2, 1) both; }
.clik-rm-lab { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rm-mut); }
.clik-rm-price { display: flex; align-items: center; gap: 8px; }
.clik-rm-price input { flex: 1; min-width: 0; height: 40px; border-radius: 10px; border: 1px solid var(--rm-line); background: rgba(255, 255, 255, .9); padding: 0 12px; font-size: 14px; color: inherit; outline: 0; }
body.night-mode .clik-rm-price input { background: rgba(255, 255, 255, .07); }
.clik-rm-hist { display: flex; align-items: flex-end; gap: 2px; height: 40px; }
.clik-rm-hist i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(#5b9bff, #0A5CFF); transform-origin: bottom; animation: clik-rm-grow .5s calc(var(--i) * 30ms) cubic-bezier(.2, .8, .2, 1) both; }
@keyframes clik-rm-grow { from { transform: scaleY(0); } }
.clik-rm-clear { align-self: flex-start; border: 0; background: none; padding: 0; color: #0A5CFF; font-weight: 700; font-size: 13.5px; cursor: pointer; }

/* the list */
.clik-rm-list { top: 8px; bottom: 8px; inset-inline-end: 64px; width: 384px; display: flex; flex-direction: column; gap: 8px; padding: 8px; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .3s;
  animation: clik-rm-slide .6s .35s cubic-bezier(.2, .8, .2, 1) backwards; }
.clik-rm-list.is-closed { transform: translateX(calc(100% + 80px)); opacity: 0; pointer-events: none; }
[dir="rtl"] .clik-rm-list.is-closed { transform: translateX(calc(-100% - 80px)); }
.clik-rm-list.is-closed.is-off { visibility: hidden; }
.clik-rm-grip { display: none; }
.clik-rm-list-head { display: flex; align-items: center; gap: 8px; padding: 0 0 0 8px; padding-inline-start: 8px; padding-inline-end: 0; }
.clik-rm-list-head b { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-rm-sort { height: 32px; border-radius: 16px; border: 1px solid var(--rm-line); background: transparent; color: inherit; font-size: 12.5px; font-weight: 600; padding: 0 6px; width: 118px; flex: none; text-overflow: ellipsis; }
body.night-mode .clik-rm-sort option { background: #242526; }
.clik-rm-ib { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--rm-chip); color: inherit; display: grid; place-items: center; cursor: pointer; flex: none; }
.clik-rm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 12px; background: var(--rm-chip); }
.clik-rm-st { display: grid; gap: 2px; min-width: 0; }
.clik-rm-st small { font-size: 11.5px; font-weight: 700; color: var(--rm-mut); text-transform: uppercase; letter-spacing: .04em; }
.clik-rm-st b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-rm-bar { grid-column: 1 / -1; display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; }
.clik-rm-bar i { width: var(--w); background: var(--kc); transform-origin: left; animation: clik-rm-bar .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes clik-rm-bar { from { transform: scaleX(0); } }
.clik-rm-cards { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.clik-rm-cardi { display: flex; gap: 8px; padding: 8px; border-radius: 12px; color: inherit !important; text-decoration: none !important; background: rgba(255, 255, 255, .55); border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s;
  animation: clik-rm-in .4s calc(var(--i) * 40ms) cubic-bezier(.2, .8, .2, 1) backwards; }
body.night-mode .clik-rm-cardi { background: rgba(255, 255, 255, .04); }
@keyframes clik-rm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.clik-rm-cardi:hover, .clik-rm-cardi.is-hot { background: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
body.night-mode .clik-rm-cardi:hover, body.night-mode .clik-rm-cardi.is-hot { background: rgba(255, 255, 255, .09); }
.clik-rm-cardi.is-sel { border-color: #0A5CFF; box-shadow: 0 0 0 2px rgba(10, 92, 255, .25); }
.clik-rm-ph { position: relative; width: 104px; height: 80px; flex: none; border-radius: 10px; overflow: hidden; background: #dfe6ef; }
.clik-rm-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.clik-rm-cardi:hover .clik-rm-ph img { transform: scale(1.06); }
.clik-rm-noimg { display: block; width: 100%; height: 100%; background: var(--clik-cube) center / 40% no-repeat, linear-gradient(135deg, #dbe6ff, #f3f6fb); }
.clik-rm-kind { position: absolute; top: 4px; inset-inline-start: 4px; padding: 2px 6px; border-radius: 6px; background: var(--kc); color: #fff; font-size: 10.5px; font-weight: 700; font-style: normal; line-height: 1.3; white-space: nowrap; max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; }
.clik-rm-ct { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.clik-rm-pr { font-size: 16px; font-weight: 700; white-space: nowrap; }
.clik-rm-pr small, .clik-rm-pop-p small { font-size: 12px; font-weight: 600; color: var(--rm-mut); }
.clik-rm-tt { font-size: 13.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.clik-rm-ad, .clik-rm-cat { font-size: 12px; color: var(--rm-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.clik-rm-moreload { flex: none; height: 76px; display: grid; place-items: center; }
.clik-rm-moreload::before { content: ""; width: 68px; height: 68px; background: var(--clik-cube-load, var(--clik-cube)) center / contain no-repeat; animation: clik-cube-in .66s cubic-bezier(.2, .9, .3, 1.2) both, clik-feed-cube 1.1s ease-in-out .66s infinite; filter: none); transform: scale(.6); }
.clik-rm-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 24px 8px; }
.clik-rm-empty-cube { width: 68px; height: 68px; background: var(--clik-cube) center / contain no-repeat; animation: clik-rm-bob 2.4s ease-in-out infinite; }
@keyframes clik-rm-bob { 50% { transform: translateY(-6px) rotate(-6deg); } }
.clik-rm-empty b { font-size: 15px; }
.clik-rm-empty small { font-size: 13px; color: var(--rm-mut); }
.clik-rm-empty-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.clik-rm-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; border: 0; background: linear-gradient(135deg, #2f7bff, #0A5CFF); color: #fff !important; font-weight: 700; font-size: 13.5px; text-decoration: none !important; cursor: pointer; white-space: nowrap; transition: transform .15s; }
.clik-rm-pill:active { transform: scale(.96); }
.clik-rm-pill.is-ghost { background: var(--rm-chip); color: inherit !important; }
.clik-rm-show-list { position: absolute; z-index: 4; top: 8px; inset-inline-end: 64px; height: 40px; padding: 0 14px; border-radius: 20px; border: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--rm-glass); backdrop-filter: blur(16px); color: inherit; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); cursor: pointer; }
.clik-rm-show-list b { padding: 1px 8px; border-radius: 10px; background: #0A5CFF; color: #fff; font-size: 12px; }

/* the map's buttons */
.clik-rm-ctl { position: absolute; z-index: 5; top: 8px; inset-inline-end: 8px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.clik-rm-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rm-line); display: grid; place-items: center; background: var(--rm-glass); backdrop-filter: blur(16px); color: inherit; font-size: 13px; font-weight: 800; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .15s, background .2s; }
body.night-mode .clik-rm-btn { color: #e4e6eb; }
.clik-rm-btn:hover { transform: translateY(-1px); }
.clik-rm-btn:active { transform: scale(.92); }
.clik-rm-btn.is-on { background: linear-gradient(135deg, #2f7bff, #0A5CFF); color: #fff; border-color: transparent; }
.clik-rm-btn.is-busy svg { animation: clik-rm-spin 1s linear infinite; }
.clik-rm-zoom { display: flex; flex-direction: column; gap: 8px; }
.js_clik-rm-needle { display: grid; transition: transform .2s; }
.clik-rm-layers-wrap { position: relative; }
.clik-rm-layers { position: absolute; top: 0; inset-inline-end: calc(100% + 8px); width: 260px; padding: 12px; border-radius: 16px; background: var(--rm-glass); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid var(--rm-line); box-shadow: 0 14px 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 8px; animation: clik-rm-pop .3s cubic-bezier(.2, .8, .2, 1) both; transform-origin: top right; }
[dir="rtl"] .clik-rm-layers { transform-origin: top left; }
@keyframes clik-rm-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.clik-rm-ltt { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rm-mut); }
.clik-rm-bases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.clik-rm-base { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; padding: 0; color: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.clik-rm-base i { width: 100%; aspect-ratio: 1.25; border-radius: 10px; border: 2px solid transparent; background: linear-gradient(135deg, #eef2f7, #cfd8e6); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.clik-rm-base.is-night i { background: radial-gradient(circle at 30% 30%, #2b3a5c, #0b1220); }
.clik-rm-base.is-sat i { background: linear-gradient(135deg, #6b7f4a, #8a6d45 50%, #3d5a7a); }
.clik-rm-base.is-plan i { background: linear-gradient(135deg, #f6f1e7 0 40%, #cfe3f5 40% 60%, #e8efe0 60%); }
.clik-rm-base.is-on i { border-color: #0A5CFF; box-shadow: 0 0 0 3px rgba(10, 92, 255, .2); }
.clik-rm-lrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; margin: 0; cursor: pointer; }
.clik-rm-lrow .switch { margin: 0; flex: none; }

/* the prices on the map */
.clik-rm-pin { border: 0; padding: 0; background: none; cursor: pointer; animation: clik-rm-drop .5s calc(var(--i) * 25ms) cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes clik-rm-drop { from { opacity: 0; transform: translateY(-14px) scale(.7); } to { opacity: 1; transform: none; } }
.clik-rm-pin-in { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 4px; border-radius: 15px; background: #fff; color: #1c1e21; font-weight: 700; font-size: 13px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); transition: transform .2s, background .2s, color .2s; }
.clik-rm-pin-in::before { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.clik-rm-pin-in img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.clik-rm-pin-in b { font-weight: 700; }
.clik-rm-pin.k-r .clik-rm-pin-in { box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 -3px 0 #16A34A; }
.clik-rm-pin.k-n .clik-rm-pin-in { box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 -3px 0 #7C3AED; }
.clik-rm-pin.k-v .clik-rm-pin-in { box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 -3px 0 #EA580C; }
.clik-rm-pin:hover .clik-rm-pin-in, .clik-rm-pin.is-hot .clik-rm-pin-in { transform: translateY(-3px) scale(1.08); z-index: 2; }
.clik-rm-pin.is-sel .clik-rm-pin-in { background: linear-gradient(135deg, #2f7bff, #0A5CFF); color: #fff; transform: scale(1.12); }
.clik-rm-pin.is-hot, .clik-rm-pin.is-sel { z-index: 3; }

/* a listing's card */
.clik-rm-pop { width: 320px; border-radius: 16px; overflow: hidden; background: #fff; color: #1c1e21; box-shadow: 0 18px 50px rgba(0, 0, 0, .4); animation: clik-rm-pop .35s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom center; }
body.night-mode .clik-rm-pop { background: #242526; color: #e4e6eb; }
.clik-rm-pop-x { position: absolute; z-index: 3; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.clik-rm-pop-ph { position: relative; height: 170px; background: #dfe6ef; }
.clik-rm-pop-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.clik-rm-pop-strip::-webkit-scrollbar { display: none; }
.clik-rm-pop-strip img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.clik-rm-pop-arr { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #1c1e21; font-size: 20px; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.clik-rm-pop-arr.is-prev { inset-inline-start: 8px; }
.clik-rm-pop-arr.is-next { inset-inline-end: 8px; }
.clik-rm-pop-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.clik-rm-pop-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .6); transition: width .2s; }
.clik-rm-pop-dots i.is-on { width: 16px; background: #fff; }
.clik-rm-pop .clik-rm-kind { top: 8px; inset-inline-start: 8px; font-size: 11.5px; padding: 3px 8px; }
.clik-rm-pop-b { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.clik-rm-pop-p { font-size: 20px; font-weight: 700; }
.clik-rm-pop-t { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.clik-rm-pop-a, .clik-rm-pop-v { font-size: 12.5px; color: var(--rm-mut, #65676b); }
.clik-rm-pop-plot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #9a6a00; }
.clik-rm-pop-plot i { width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 210, 0, .5); box-shadow: inset 0 0 0 2px #F5104F; flex: none; }
.clik-rm-pop-plot b { font-weight: 800; color: #1c1e21; unicode-bidi: plaintext; }
.clik-rm-pa { font-weight: 800; unicode-bidi: plaintext; }
.clik-rm-pop-priv { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #0A5CFF; }
.clik-rm-pop-near { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.clik-rm-pop-near > span { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border-radius: 13px; background: rgba(15, 23, 42, .06); font-size: 12px; animation: clik-rm-in .35s calc(var(--i) * 70ms) both; }
body.night-mode .clik-rm-pop-near > span { background: rgba(255, 255, 255, .08); }
.clik-rm-pop-acts { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
.clik-rm-pop-acts .clik-rm-pill { flex: 1; }
.clik-rm-round { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(15, 23, 42, .07); color: inherit; cursor: pointer; transition: transform .15s; }
body.night-mode .clik-rm-round { background: rgba(255, 255, 255, .1); }
.clik-rm-round.is-on { background: #ffe4ea; color: #F5104F; }
.clik-rm-round.is-on svg path { fill: currentColor; }
.clik-rm-round.is-pop { animation: clik-rm-heart .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes clik-rm-heart { 40% { transform: scale(1.3); } }
.clik-rm-mk .clik-rm-pop { position: relative; }
.clik-rm-pop.is-sheet { position: absolute; z-index: 8; inset-inline: 0; bottom: 0; width: auto; border-radius: 16px 16px 0 0; transform-origin: bottom; animation: clik-rm-up .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes clik-rm-up { from { transform: translateY(100%); } to { transform: none; } }
.clik-rm-pop.is-sheet .clik-rm-pop-ph { height: 150px; }

/* the drawing / around me bar, the toast */
.clik-rm-tool { position: absolute; z-index: 6; bottom: 16px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; padding-inline-start: 16px; padding-inline-end: 8px; border-radius: 22px; background: #1c1e21; color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); max-width: calc(100% - 32px); animation: clik-rm-slide .35s both; }
.clik-rm-tool input[type=range] { width: 120px; accent-color: #FFD200; }
.clik-rm-tool-b { height: 32px; padding: 0 14px; border-radius: 16px; border: 0; background: linear-gradient(135deg, #2f7bff, #0A5CFF); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.clik-rm-tool-b.is-ghost { background: rgba(255, 255, 255, .14); }
.clik-rm-toast { position: absolute; z-index: 7; top: 16px; left: 50%; translate: -50% 0; margin: 0; padding: 8px 16px; border-radius: 18px; background: #1c1e21; color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); animation: clik-rm-slide .3s both; }

/* computers narrower than the panels need */
@media (max-width: 1279px) and (min-width: 669px) {
  .clik-rm-top { width: 340px; }
  .clik-rm-list { width: 360px; }
  .clik-rm-list-head b { font-size: 13.5px; }
}

/* phones: the map fills the screen, the list is a sheet */
@media (max-width: 668px) {
  .cd.clik-rm { height: calc(100dvh - var(--rm-top) - 45px - env(safe-area-inset-bottom)); padding: 0; }
  .clik-rm-card { border-radius: 0; }
  .clik-rm-top { top: 8px; inset-inline: 8px; width: auto; padding: 8px; max-height: calc(100% - 120px); }
  .clik-rm-title { font-size: clamp(16px, 4.6vw, 19px); }
  .clik-rm-line { display: none; }
  .clik-rm-ctl { top: auto; bottom: 112px; }
  .clik-rm-ctl .clik-rm-btn { width: 40px; height: 40px; }
  .clik-rm-ctl .js_clik-rm-full, .clik-rm-zoom { display: none; }
  .clik-rm-list { top: auto; bottom: 0; inset-inline: 0; width: auto; height: 96px; border-radius: 16px 16px 0 0; padding-top: 4px; transition: height .35s cubic-bezier(.2, .8, .2, 1); animation: none; }
  .clik-rm-list[data-sheet="half"] { height: 52%; }
  .clik-rm-list[data-sheet="full"] { height: calc(100% - 8px); }
  .clik-rm-list.is-drag { transition: none; }
  /* 13 Nov: the sheet's × in its lowest place closes the list (it could never close on a phone) - it slides down, the
     « Liste » pill brings it back */
  .clik-rm .clik-rm-list.is-closed:not(#_) { transform: translateY(calc(100% + 8px)); opacity: 1; pointer-events: none; transition: transform .32s cubic-bezier(.2, .8, .2, 1), height .35s cubic-bezier(.2, .8, .2, 1); }
  .clik-rm .clik-rm-list.is-closed.is-off:not(#_) { visibility: hidden; }
  .clik-rm-grip { display: block; width: 40px; height: 5px; margin: 2px auto 0; border-radius: 3px; background: rgba(120, 130, 150, .5); flex: none; cursor: grab; }
  .clik-rm-list[data-sheet="peek"] .clik-rm-stats { display: none; }
  .clik-rm-show-list:not([hidden]) { top: auto; bottom: 8px; inset-inline-end: auto; inset-inline-start: 8px; }
  .clik-rm-show-list[hidden] { display: none !important; }
  .clik-rm.is-list-shut .clik-rm-ctl { bottom: 8px; }
  .clik-rm.is-list-shut .clik-rm-tool { bottom: 56px; }
  .clik-rm-cardi .clik-rm-ph { width: 96px; height: 76px; }
  .clik-rm-tool { bottom: 112px; }
}
.clik-rm.no-motion *, .clik-rm.no-motion { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .clik-rm *, .clik-rm { animation: none !important; transition: none !important; }
}
/* the markers' own boxes (MapLibre's transform places them): the chosen / hovered pin and the card above the others */
.clik-rm-mk:has(.clik-rm-pin.is-sel), .clik-rm-mk:has(.clik-rm-pin.is-hot), .clik-rm-mk:hover { z-index: 3; }
.clik-rm-mk:has(.clik-rm-pop) { z-index: 6; }
/* prices read whole in Arabic too ("1,5 مليون درهم" kept in its order) */
.clik-rm-st b, .clik-rm-pin-in b, .clik-rm-pr, .clik-rm-pop-p { unicode-bidi: plaintext; }
/* the cities with the most listings: chips sliding sideways under the numbers, the one flown to lit */
.clik-rm-cities { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 0 2px; margin: 0; flex: none; }
.clik-rm-cities::-webkit-scrollbar { display: none; }
.clik-rm-city { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 10px; padding-inline: 10px 6px; border-radius: 15px; border: 1px solid var(--rm-line); background: transparent; color: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.clik-rm-city b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(10, 92, 255, .12); color: #0A5CFF; font-size: 11.5px; display: grid; place-items: center; }
body.night-mode .clik-rm-city b { background: rgba(76, 154, 255, .18); color: #8ab8ff; }
.clik-rm-city:hover { transform: translateY(-1px); }
.clik-rm-city.is-on { background: linear-gradient(135deg, #2f7bff, #0A5CFF); color: #fff; border-color: transparent; }
.clik-rm-city.is-on b { background: rgba(255, 255, 255, .25); color: #fff; }
.clik-rm-city:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(10, 92, 255, .5); }
.clik-rm-btn.js_clik-rm-tour.is-on { background: linear-gradient(135deg, #F5104F, #FF6B3D); color: #fff; }
/* a listing of the last 3 days: its price pin rings twice in the cube's colours */
.clik-rm-pin.is-new .clik-rm-pin-in::after { content: ""; position: absolute; inset: -4px; border-radius: 19px; border: 2px solid #FFD200; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .cd.clik-rm:not(.no-motion) .clik-rm-city { animation: clik-rm-cityin .35s calc(var(--i) * 45ms) backwards; }
  .cd.clik-rm:not(.no-motion) .clik-rm-pin.is-new .clik-rm-pin-in::after { animation: clik-rm-new 1.6s .8s 2 ease-out; }
  .cd.clik-rm:not(.no-motion) .clik-rm-btn.js_clik-rm-tour.is-on svg { animation: clik-rm-tourp 1.2s ease-in-out infinite; }
}
@keyframes clik-rm-new { 0% { opacity: .9; transform: scale(.9); border-color: #0A5CFF; } 50% { border-color: #F5104F; } 100% { opacity: 0; transform: scale(1.35); border-color: #FFD200; } }
@keyframes clik-rm-tourp { 0%, 100% { transform: scale(1); } 50% { transform: scale(.82); } }
@keyframes clik-rm-cityin { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
/* no 3D in this browser: Morocco drawn by the site, the dots and the cities' bubbles; the 3D map's own buttons hidden */
.cd.clik-rm.is-flat .clik-rm-map { display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 90% at 30% 30%, #e8f1ff, #cfe0fb); }
body.night-mode .cd.clik-rm.is-flat .clik-rm-map { background: radial-gradient(120% 90% at 30% 30%, #13254a, #0b1630); }
.cd.clik-rm.is-flat :is(.js_clik-rm-tilt, .js_clik-rm-globe, .clik-rm-layers-wrap, .js_clik-rm-draw, .js_clik-rm-me, .clik-rm-zoom, .js_clik-rm-north, .js_clik-rm-tour) { display: none !important; }
.clik-rm-flat { width: 100%; height: 100%; max-height: 100%; }
/* the simple map wears the flag like the 3D one (the owner, 6 Nov: "centered Map and flag on it"): Morocco in the flag's red,
   its green pentagram, a light edge */
.clik-rm-flat-land { fill: #C1272D; fill-opacity: .9; }
.clik-rm-flat-star { fill: none; stroke: #006233; stroke-linejoin: miter; pointer-events: none; }
.clik-rm-flat-edge { fill: none; stroke: #ffffff; stroke-opacity: .55; stroke-width: 2; stroke-linejoin: round; }
body.night-mode .clik-rm-flat-land { fill-opacity: .9; }
body.night-mode .clik-rm-flat-edge { stroke: #ffffff; stroke-opacity: .45; }
.clik-rm-flat-dot { stroke: #fff; stroke-width: calc(1.2px * var(--fk, 1)); transition: opacity .3s; }
.clik-rm-flat-dot.is-dim { opacity: .25; }
.clik-rm-flat-city { cursor: pointer; outline: 0; }
.clik-rm-flat-city circle { fill: #0A5CFF; fill-opacity: .9; stroke: #fff; stroke-width: calc(3px * var(--fk, 1)); transition: fill .2s; }
.clik-rm-flat-city text { fill: #fff; font-size: calc(15px * var(--fk, 1)); font-weight: 800; text-anchor: middle; pointer-events: none; }
.clik-rm-flat-city .clik-rm-flat-name { fill: #1c1e21; font-size: calc(14px * var(--fk, 1)); font-weight: 700; paint-order: stroke; stroke: rgba(255, 255, 255, .9); stroke-width: calc(4px * var(--fk, 1)); }
body.night-mode .clik-rm-flat-city .clik-rm-flat-name { fill: #e4e6eb; stroke: rgba(11, 22, 48, .9); }
.clik-rm-flat-city:hover circle, .clik-rm-flat-city:focus-visible circle { fill: #F5104F; }
.clik-rm-flat-name.is-quiet { opacity: 0; transition: opacity .2s; }
.clik-rm-flat-city:is(:hover, :focus-visible) .clik-rm-flat-name.is-quiet { opacity: 1; }
.clik-rm-flat-city.is-on circle { fill: #F5104F; stroke: #FFD200; }
@media (prefers-reduced-motion: no-preference) {
  .cd.clik-rm:not(.no-motion) .clik-rm-flat-edge { stroke-dasharray: 1; animation: clik-rm-flat-trace 2.4s ease-out backwards; }
  .cd.clik-rm:not(.no-motion) .clik-rm-flat:not(.is-drawn) .clik-rm-flat-dot { transform-box: fill-box; transform-origin: center; animation: clik-rm-flat-pop .5s calc(var(--i) * 30ms + .6s) cubic-bezier(.3, 1.6, .5, 1) backwards; }
  .cd.clik-rm:not(.no-motion) .clik-rm-flat:not(.is-drawn) .clik-rm-flat-city { transform-box: fill-box; transform-origin: center; animation: clik-rm-flat-pop .55s calc(var(--i) * 60ms + .9s) cubic-bezier(.3, 1.6, .5, 1) backwards; }
}
@keyframes clik-rm-flat-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes clik-rm-flat-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }

/* the plot's own round button on the form's map ("Tracer le terrain", AdminCP clik_rm_plot_tool): the cube's yellow
   and red when it draws, its label beside it and a pulse when a land category is chosen (clik_rm_plot_hint) */
.clik-rmp-tool.is-plot { position: relative; }
.clik-rmp-tool.is-plot.is-on { background: linear-gradient(135deg, #FFD200, #ffb300); color: #1c1e21; box-shadow: 0 0 0 2px #F5104F, 0 4px 12px rgba(0, 0, 0, .25); }
.clik-rmp-tool.is-plot.is-on .clik-rmp-plot-shape { fill: rgba(245, 16, 79, .22); }
.clik-rmp-tool.is-plot::before { content: attr(data-tag); position: absolute; top: 50%; inset-inline-end: calc(100% + 8px); translate: 0 -50%; white-space: nowrap; padding: 0 12px; height: 28px; line-height: 28px; border-radius: 14px; background: rgba(28, 30, 33, .92); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .2s; }
.clik-rmp-tool.is-plot:is(:hover, :focus-visible)::before { opacity: 1; }
.clik-rmp-tool.is-plot.is-hint::before { animation: clik-rmp-tag 5s ease both; }
.clik-rmp-tool.is-plot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #FFD200; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .clik-rmp:not(.no-motion) .clik-rmp-tool.is-plot.is-hint::after { animation: clik-rmp-ring 1.2s ease-out 3; }
  .clik-rmp:not(.no-motion) .clik-rmp-tool.is-plot.is-hint { animation: clik-rmp-hop .6s cubic-bezier(.3, 1.6, .5, 1) 2; }
  .clik-rmp:not(.no-motion) .clik-rmp-tool.is-plot.is-on svg { animation: clik-rmp-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
}
@keyframes clik-rmp-tag { 0%, 100% { opacity: 0; } 8%, 85% { opacity: 1; } }
@keyframes clik-rmp-ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.55); } }
@keyframes clik-rmp-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-3px) scale(1.08); } }
@keyframes clik-rmp-pop { 0% { transform: scale(.6) rotate(-12deg); } 100% { transform: none; } }
body.night-mode .clik-rmp-tool.is-plot::before { background: #e4e6eb; color: #1c1e21; }

/* /carte: "Dessiner une zone" in the plot's look (the form's « Tracer le terrain »): the same icon, the cube's yellow
   and red while drawing, its name beside it on hover; the bar under it says the area and the listings in it */
.clik-rm-btn.is-zone { position: relative; }
.clik-rm-btn.is-zone.is-on { background: linear-gradient(135deg, #FFD200, #ffb300); color: #1c1e21; border-color: transparent; box-shadow: 0 0 0 2px #F5104F, 0 6px 18px rgba(0, 0, 0, .22); }
.clik-rm-btn.is-zone.is-on .clik-rm-zone-shape { fill: rgba(245, 16, 79, .22); }
.clik-rm-btn.is-zone::before { content: attr(data-tag); position: absolute; top: 50%; inset-inline-end: calc(100% + 8px); translate: 0 -50%; white-space: nowrap; padding: 0 12px; height: 28px; line-height: 28px; border-radius: 14px; background: rgba(28, 30, 33, .92); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .2s; }
.clik-rm-btn.is-zone:is(:hover, :focus-visible)::before { opacity: 1; }
body.night-mode .clik-rm-btn.is-zone::before { background: #e4e6eb; color: #1c1e21; }
.clik-rm-tool.is-zone .clik-rmp-pb[hidden] { display: none; }
.clik-rm-tool.is-bad .js_clik-rm-tool-t { color: #ff8fa6; }
@media (hover: none) { .clik-rm-btn.is-zone::before { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .clik-rm-btn.is-zone.is-on svg { animation: clik-rmp-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
}

/* the city tour: a ring in the cube's colours runs out round the play button over each city's time */
@property --clik-tour { syntax: "<number>"; inherits: false; initial-value: 0; }
.clik-rm-btn.js_clik-rm-tour { position: relative; }
.clik-rm-btn.js_clik-rm-tour.is-tick::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(#FFD200 0, #F5104F calc(var(--clik-tour) * 50%), #0A5CFF calc(var(--clik-tour) * 100%), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: clik-rm-tour var(--tour-s, 12s) linear forwards; }
@keyframes clik-rm-tour { from { --clik-tour: 1; } to { --clik-tour: 0; } }
@media (prefers-reduced-motion: reduce) { .clik-rm-btn.js_clik-rm-tour.is-tick::after { animation: none; --clik-tour: 1; } }

/* the listing form: "Terrain délimité" alone on its row takes the whole row (no empty box beside it) */
.clik-rmp-modes > .clik-rmp-mode.is-plot:nth-child(odd):last-child { grid-column: 1 / -1; }

/* the zone / around-me bar: centred by its two sides (left: 50% gave it half the map's width - it wrapped into a tall block
   on phones), the words first; on phones the words on their own line(s), the buttons under them at the end */
.clik-rm-tool { left: 16px; right: 16px; translate: none; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); animation-fill-mode: backwards; }
.clik-rm-tool > .js_clik-rm-tool-t { flex: 1 1 auto; min-width: 0; }
.clik-rm-tool > button { flex: none; }
@media (max-width: 668px) {
  .clik-rm-tool { left: 8px; right: 8px; max-width: calc(100% - 16px); flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; padding: 8px; border-radius: 16px; }
  .clik-rm-tool > .js_clik-rm-tool-t { flex: 1 0 100%; padding: 0 8px; line-height: 1.35; }
  .clik-rm-tool > input[type=range] { flex: 1 1 auto; }
}

/* a listing placed from its own words (no place set by its owner): an amber line says the place is approximate */
.clik-rm-pop-auto { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #b45309; }
body.night-mode .clik-rm-pop-auto { color: #fbbf24; }

/* the listings' column scrolls without a visible bar (the owner, 26 Oct: "remove scroll index") */
.clik-rm-cards { scrollbar-width: none; }
.clik-rm-cards::-webkit-scrollbar { display: none; }
/* the move pad: one glass disc, four arrows and the cube in its middle; placed by placePad() in the free room's bottom right
   corner (the empty side of Morocco's box, in both languages); a press moves one step, held it glides */
.clik-rm-pad { position: absolute; z-index: 5; width: 104px; display: flex; flex-direction: column; gap: 8px; direction: ltr; color: #1c1e21; opacity: 0; pointer-events: none; transition: opacity .3s; }
.clik-rm-pad-disc { width: 104px; height: 104px; border-radius: 50%; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 4px; box-sizing: border-box; background: var(--rm-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--rm-line); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.clik-rm-pad.is-on { opacity: 1; pointer-events: auto; }
body.night-mode .clik-rm-pad { color: #e4e6eb; }
.clik-rm-pad-b, .clik-rm-pad-r { all: unset; box-sizing: border-box; display: grid; place-items: center; border-radius: 50%; cursor: pointer; transition: background .15s, transform .12s; touch-action: none; }
.clik-rm-pad-b:hover, .clik-rm-pad-r:hover { background: rgba(10, 92, 255, .12); color: #0A5CFF; }
body.night-mode .clik-rm-pad-b:hover, body.night-mode .clik-rm-pad-r:hover { background: rgba(138, 180, 248, .18); color: #8ab4f8; }
.clik-rm-pad-b:active, .clik-rm-pad-b.is-held { transform: scale(.86); background: rgba(10, 92, 255, .2); }
.clik-rm-pad-b:focus-visible, .clik-rm-pad-c:focus-visible, .clik-rm-pad-r:focus-visible { outline: 2px solid #0A5CFF; outline-offset: 1px; }
.clik-rm-pad-b.is-n { grid-area: 1 / 2; } .clik-rm-pad-b.is-w { grid-area: 2 / 1; } .clik-rm-pad-b.is-e { grid-area: 2 / 3; } .clik-rm-pad-b.is-s { grid-area: 3 / 2; }
.clik-rm-pad-b.is-nw { grid-area: 1 / 1; } .clik-rm-pad-b.is-ne { grid-area: 1 / 3; } .clik-rm-pad-b.is-sw { grid-area: 3 / 1; } .clik-rm-pad-b.is-se { grid-area: 3 / 3; }
/* the diagonals: small, drawn toward the disc's middle so they stay inside its round edge */
.clik-rm-pad-b.is-nw, .clik-rm-pad-b.is-ne, .clik-rm-pad-b.is-sw, .clik-rm-pad-b.is-se { opacity: .72; }
.clik-rm-pad-b.is-nw svg { transform: translate(3px, 3px); } .clik-rm-pad-b.is-ne svg { transform: translate(-3px, 3px); }
.clik-rm-pad-b.is-sw svg { transform: translate(3px, -3px); } .clik-rm-pad-b.is-se svg { transform: translate(-3px, -3px); }
.clik-rm-pad-b.is-nw:hover, .clik-rm-pad-b.is-ne:hover, .clik-rm-pad-b.is-sw:hover, .clik-rm-pad-b.is-se:hover { opacity: 1; }
.clik-rm-pad-c { all: unset; box-sizing: border-box; grid-area: 2 / 2; display: grid; place-items: center; border-radius: 50%; cursor: pointer; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18), inset 0 0 0 2px transparent; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; position: relative; z-index: 1; }
body.night-mode .clik-rm-pad-c { background: #242526; }
.clik-rm-pad-c:hover { transform: scale(1.08); }
/* the joystick: the cube can be grabbed (a ring in the cube's colours while it is pulled; it follows the finger without delay) */
.clik-rm-pad.is-joy .clik-rm-pad-c { cursor: grab; touch-action: none; }
.clik-rm-pad.is-joying .clik-rm-pad-c { cursor: grabbing; transition: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0A5CFF, 0 6px 16px rgba(10, 92, 255, .35); }
body.night-mode .clik-rm-pad.is-joying .clik-rm-pad-c { box-shadow: 0 0 0 3px #242526, 0 0 0 5px #8ab4f8, 0 6px 16px rgba(0, 0, 0, .5); }
.clik-rm-pad.is-joying .clik-rm-pad-b { opacity: .35; }
/* the two rotate buttons over the disc, on its edges */
.clik-rm-pad-rot { display: flex; justify-content: space-between; }
.clik-rm-pad-r { width: 36px; height: 36px; background: var(--rm-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--rm-line); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.clik-rm-pad-r:active, .clik-rm-pad-r.is-held { transform: scale(.88); background: rgba(10, 92, 255, .2); color: #0A5CFF; }
.clik-rm-pad-cube { width: 20px; height: 22px; background: var(--clik-cube) center / contain no-repeat; }
.clik-rm-btn:disabled { opacity: .45; cursor: default; transform: none; }
@media (max-width: 668px) { .clik-rm-pad, .clik-rm-pad-disc { width: 88px; } .clik-rm-pad-disc { height: 88px; padding: 2px; } .clik-rm-pad-r { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: no-preference) {
  .clik-rm-pad.is-on { animation: clik-rm-pad-in .45s cubic-bezier(.3, 1.4, .5, 1) backwards; }
  .clik-rm-pad-c:hover .clik-rm-pad-cube { animation: clik-rm-pad-spin .8s ease; }
  .clik-rm-pad-r.is-held svg { animation: clik-rm-pad-turn 1s linear infinite; }
  .clik-rm-pad-r[data-r="-1"].is-held svg { animation-direction: reverse; }
}
@keyframes clik-rm-pad-in { from { opacity: 0; transform: scale(.6) rotate(-30deg); } }
@keyframes clik-rm-pad-turn { to { transform: rotate(360deg); } }
@keyframes clik-rm-pad-spin { 50% { transform: rotate(180deg) scale(1.15); } to { transform: rotate(360deg); } }

/* ---------- every button of the map in CLIK blue: under the mouse a blue tint, a blue word and a soft blue ring; pressed the
   solid blue with white, a little smaller; a blue button deepens and glows; the X of every window on the map spins half a
   turn (a quarter turn of an X looks the same) - day and night, nothing moves with "less motion" ---------- */
.clik-rm :is(.clik-rm-btn, .clik-rm-chip, .clik-rm-city, .clik-rm-pill.is-ghost, .clik-rm-round, .clik-rm-ib, .clik-rm-more, .clik-rm-sort, .clik-rm-show-list, .clik-rm-show-top, .clik-rm-pop-arr, .clik-rm-pop-x, .clik-rm-pad-r, .clik-rm-pad-b, .clik-rm-tool-b.is-ghost, .clik-rmp-pb, .clik-rm-clear, .clik-rm-opt):not(#_) { transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .15s ease, scale .12s ease; }
.clik-rm :is(.clik-rm-btn:not(.is-on), .clik-rm-chip:not(.is-on), .clik-rm-city:not(.is-on), .clik-rm-pill.is-ghost, .clik-rm-round:not(.is-on), .clik-rm-ib, .clik-rm-more, .clik-rm-sort, .clik-rm-show-list, .clik-rm-show-top, .clik-rm-pop-arr, .clik-rm-pad-r, .clik-rm-tool-b.is-ghost, .clik-rmp-pb):not(#_):hover { background: rgba(8, 102, 255, .12); color: #0866FF !important; border-color: rgba(8, 102, 255, .45); box-shadow: 0 0 0 3px rgba(8, 102, 255, .16); }
.clik-rm :is(.clik-rm-btn:not(.is-on), .clik-rm-chip:not(.is-on), .clik-rm-city:not(.is-on), .clik-rm-pill.is-ghost, .clik-rm-round:not(.is-on), .clik-rm-ib, .clik-rm-more, .clik-rm-sort, .clik-rm-show-list, .clik-rm-show-top, .clik-rm-pop-arr, .clik-rm-pad-r, .clik-rm-pad-b, .clik-rm-tool-b.is-ghost, .clik-rmp-pb, .clik-rm-pop-x):not(#_):active,
.clik-rm :is(.clik-rm-pad-b, .clik-rm-pad-r).is-held:not(#_) { background: #0866FF; color: #fff !important; border-color: #0866FF; box-shadow: 0 0 0 3px rgba(8, 102, 255, .25); transform: none; scale: .93; }
.clik-rm .clik-rm-pop-arr:not(#_):active { transform: translateY(-50%); }
/* the photo's arrows stay solid over the picture: white with the blue arrow and ring */
.clik-rm .clik-rm-pop-arr.clik-rm-pop-arr:not(#_):hover:not(:active), body.night-mode .clik-rm .clik-rm-pop-arr.clik-rm-pop-arr:not(#_):hover:not(:active) { background: #fff; color: #0866FF !important; }
.clik-rm :is(.clik-rm-chip, .clik-rm-city, .clik-rm-more):not(#_):active b { background: rgba(255, 255, 255, .25); color: #fff; }
/* the blue ones: deeper and glowing under the mouse, deeper still pressed */
.clik-rm :is(.clik-rm-pill:not(.is-ghost), .clik-rm-new, .clik-rm-tool-b:not(.is-ghost), .clik-rm-btn.is-on:not(.is-zone, .js_clik-rm-tour), .clik-rm-chip.is-on, .clik-rm-city.is-on):not(#_):hover { background: linear-gradient(135deg, #1f6dff, #0753d6); box-shadow: 0 0 0 3px rgba(8, 102, 255, .22), 0 6px 18px rgba(8, 102, 255, .38); }
.clik-rm :is(.clik-rm-pill:not(.is-ghost), .clik-rm-new, .clik-rm-tool-b:not(.is-ghost), .clik-rm-btn.is-on:not(.is-zone, .js_clik-rm-tour), .clik-rm-chip.is-on, .clik-rm-city.is-on):not(#_):active { background: #0647b8; box-shadow: 0 0 0 3px rgba(8, 102, 255, .3); transform: none; scale: .95; }
/* the zone (yellow) and the tour (red) keep their colours, with the blue ring */
.clik-rm :is(.clik-rm-btn.is-zone.is-on, .clik-rm-btn.js_clik-rm-tour.is-on):not(#_):hover { box-shadow: 0 0 0 3px rgba(8, 102, 255, .35), 0 6px 18px rgba(0, 0, 0, .22); }
/* the listing's favourite keeps its red when saved */
.clik-rm .clik-rm-round.is-on:not(#_):hover { box-shadow: 0 0 0 3px rgba(8, 102, 255, .16); }
/* the rows of the suggestions, the text links, the layer tiles, the pad's middle */
.clik-rm .clik-rm-opt:not(#_):hover, .clik-rm .clik-rm-opt.is-hi:not(#_) { background: rgba(8, 102, 255, .1); color: #0866FF; }
.clik-rm .clik-rm-opt:not(#_):active { background: rgba(8, 102, 255, .2); }
.clik-rm .clik-rm-clear:not(#_):hover { color: #0647b8; text-decoration: underline; text-underline-offset: 3px; }
.clik-rm .clik-rm-base:not(#_):hover { color: #0866FF; }
.clik-rm .clik-rm-base:not(#_):hover i { border-color: rgba(8, 102, 255, .6); box-shadow: 0 0 0 3px rgba(8, 102, 255, .16); }
.clik-rm .clik-rm-base:not(#_):active i { border-color: #0866FF; scale: .95; }
.clik-rm .clik-rm-pad-c:not(#_):hover { box-shadow: 0 2px 6px rgba(0, 0, 0, .18), 0 0 0 3px rgba(8, 102, 255, .35); }
.clik-rm .clik-rm-pad-c:not(#_):active { box-shadow: 0 0 0 3px #0866FF; }
/* the X of the listing's card and of the list: blue and half a turn */
.clik-rm .clik-rm-pop-x:not(#_):hover { background: #0866FF; color: #fff; box-shadow: 0 0 0 3px rgba(8, 102, 255, .3); }
.clik-rm :is(.clik-rm-pop-x, .clik-rm-ib) svg { transition: transform .5s cubic-bezier(.3, 1.4, .4, 1); }
.clik-rm :is(.clik-rm-pop-x, .clik-rm-ib):is(:hover, :focus-visible) svg { transform: rotate(180deg); }
/* keyboard: the same blue ring */
.clik-rm :is(.clik-rm-btn, .clik-rm-chip, .clik-rm-city, .clik-rm-pill, .clik-rm-round, .clik-rm-ib, .clik-rm-more, .clik-rm-sort, .clik-rm-show-list, .clik-rm-show-top, .clik-rm-pop-arr, .clik-rm-pop-x, .clik-rm-new, .clik-rm-tool-b, .clik-rmp-pb):not(#_):focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(8, 102, 255, .55); }
body.night-mode .clik-rm :is(.clik-rm-btn:not(.is-on), .clik-rm-chip:not(.is-on), .clik-rm-city:not(.is-on), .clik-rm-pill.is-ghost, .clik-rm-round:not(.is-on), .clik-rm-ib, .clik-rm-more, .clik-rm-sort, .clik-rm-show-list, .clik-rm-show-top, .clik-rm-pad-r, .clik-rm-tool-b.is-ghost, .clik-rmp-pb):not(#_):hover { background: rgba(76, 154, 255, .2); color: #8ab8ff !important; border-color: rgba(76, 154, 255, .55); box-shadow: 0 0 0 3px rgba(76, 154, 255, .2); }
body.night-mode .clik-rm :is(.clik-rm-btn:not(.is-on), .clik-rm-chip:not(.is-on), .clik-rm-city:not(.is-on), .clik-rm-pill.is-ghost, .clik-rm-round:not(.is-on), .clik-rm-ib, .clik-rm-more, .clik-rm-sort, .clik-rm-show-list, .clik-rm-show-top, .clik-rm-pop-arr, .clik-rm-pad-r, .clik-rm-pad-b, .clik-rm-tool-b.is-ghost, .clik-rmp-pb, .clik-rm-pop-x):not(#_):active,
body.night-mode .clik-rm :is(.clik-rm-pad-b, .clik-rm-pad-r).is-held:not(#_) { background: #0866FF; color: #fff !important; border-color: #0866FF; box-shadow: 0 0 0 3px rgba(76, 154, 255, .35); }
body.night-mode .clik-rm .clik-rm-opt:not(#_):hover, body.night-mode .clik-rm .clik-rm-opt.is-hi:not(#_) { background: rgba(76, 154, 255, .18); color: #8ab8ff; }
body.night-mode .clik-rm .clik-rm-base:not(#_):hover { color: #8ab8ff; }
.clik-rm.no-motion :is(.clik-rm-btn, .clik-rm-chip, .clik-rm-city, .clik-rm-pill, .clik-rm-round, .clik-rm-ib, .clik-rm-more, .clik-rm-pad-r, .clik-rm-pad-b, .clik-rm-tool-b, .clik-rmp-pb, .clik-rm-pop-x, .clik-rm-new, .clik-rm-pop-arr, .clik-rm-base i):not(#_) { scale: none; }
.clik-rm.no-motion :is(.clik-rm-pop-x, .clik-rm-ib) svg { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .clik-rm :is(.clik-rm-btn, .clik-rm-chip, .clik-rm-city, .clik-rm-pill, .clik-rm-round, .clik-rm-ib, .clik-rm-more, .clik-rm-pad-r, .clik-rm-pad-b, .clik-rm-tool-b, .clik-rmp-pb, .clik-rm-pop-x, .clik-rm-new, .clik-rm-pop-arr, .clik-rm-base i):not(#_) { scale: none; }
  .clik-rm :is(.clik-rm-pop-x, .clik-rm-ib) svg { transition: none; }
}

/* ---------- the search panel's X (the owner, 28 Oct: "add closing X button for Carte immobilière window"): a round 32 px
   button at the end of the title's line, the panel folds up into the corner it came from, and a round 48 px search
   button waits there to bring it back ("/" too); the choice is kept for the next visit ---------- */
.clik-rm-top { container-type: inline-size; }
.clik-rm-title .clik-rm-top-x { margin-inline-start: auto; width: 28px; height: 28px; }
/* the title's words fit what the logo and the X leave of the panel's line (French ~8.45 px of width per px of font, Arabic ~6.75) */
.clik-rm-top:has(.clik-rm-top-x) .clik-rm-title { font-size: clamp(13px, calc((100cqi - 178px) / 8.45), 20px); }
[dir="rtl"] .clik-rm-top:has(.clik-rm-top-x) .clik-rm-title { font-size: clamp(13px, calc((100cqi - 178px) / 6.75), 20px); }
[dir="rtl"] .clik-rm-top { transform-origin: top right; }
.clik-rm-top.is-closed { transform: translateY(-8px) scale(.92); opacity: 0; pointer-events: none; }
.clik-rm-top.is-closed.is-off { visibility: hidden; }
.clik-rm-show-top { position: absolute; z-index: 4; top: 8px; inset-inline-start: 8px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rm-line); display: grid; place-items: center; background: var(--rm-glass); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); color: inherit; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); cursor: pointer; }
.clik-rm-show-top[hidden] { display: none; }
body.night-mode .clik-rm-show-top { color: #e4e6eb; }
.clik-rm-show-top.is-in { animation: clik-rm-topin .45s cubic-bezier(.3, 1.5, .5, 1) backwards; }
@keyframes clik-rm-topin { from { opacity: 0; transform: scale(.4) rotate(-90deg); } }
.clik-rm.no-motion .clik-rm-top, .clik-rm.no-motion .clik-rm-show-top.is-in { transition: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .clik-rm-top, .clik-rm-show-top.is-in { transition: none; animation: none; }
}

/* ---------- the list's city chips: whole, 8 px rhythm, the ends fading where more wait (28 Oct) ---------- */
/* the row keeps 4 px of room on every side for a chip's lift and its blue ring (the overflow cut them), then gives it
   back with a negative margin: the chips stay on the list's own edges and 8 px under the numbers */
.clik-rm :is(.clik-rm-cities, .js_clik-rm-kinds.clik-rm-slide):not(#_) { padding: 4px; margin: -4px; scroll-padding-inline: 4px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.clik-rm .clik-rm-city:not(#_) { scroll-snap-align: start; }
.clik-rm .clik-rm-city span { white-space: nowrap; }
.clik-rm .clik-rm-cities.is-fade-e:not(#_), .clik-rm .clik-rm-slide.is-fade-e:not(#_) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.clik-rm .clik-rm-cities.is-fade-s:not(#_), .clik-rm .clik-rm-slide.is-fade-s:not(#_) { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
.clik-rm .clik-rm-cities.is-fade-s.is-fade-e:not(#_), .clik-rm .clik-rm-slide.is-fade-s.is-fade-e:not(#_) { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
[dir="rtl"] .clik-rm .clik-rm-cities.is-fade-e:not(#_), [dir="rtl"] .clik-rm .clik-rm-slide.is-fade-e:not(#_) { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
[dir="rtl"] .clik-rm .clik-rm-cities.is-fade-s:not(#_), [dir="rtl"] .clik-rm .clik-rm-slide.is-fade-s:not(#_) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }

/* ---------- lighter while the map moves (AdminCP clik_rm_lite) ---------- */
/* no glass blur over a moving map: the panels and buttons take a solid colour of their own glass instead */
.cd.clik-rm.is-moving :is(.clik-rm-panel, .clik-rm-btn:not(.is-on, .is-zone), .clik-rm-show-list, .clik-rm-show-top, .clik-rm-layers, .clik-rm-pad-disc, .clik-rm-pad-r):not(#_):not(:hover, :active) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
body.night-mode .cd.clik-rm.is-moving :is(.clik-rm-panel, .clik-rm-btn:not(.is-on, .is-zone), .clik-rm-show-list, .clik-rm-show-top, .clik-rm-layers, .clik-rm-pad-disc, .clik-rm-pad-r):not(#_):not(:hover, :active) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #1d2026; }
/* a button that is on keeps its own colour: only its blur goes */
.cd.clik-rm.is-moving .clik-rm-btn:is(.is-on, .is-zone):not(#_) { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* the selected listing's ring, drawn by the page: two waves going out (transform / opacity only), still when unseen */
.clik-rm-ring { width: 84px; height: 84px; pointer-events: none; }
.clik-rm-ring i { position: absolute; inset: 0; border: 3px solid #0A5CFF; border-radius: 50%; opacity: 0; transform: scale(.24); }
@media (prefers-reduced-motion: no-preference) {
  .cd.clik-rm:not(.no-motion) .clik-rm-ring:not(.is-still) i { animation: clik-rm-ring 1.6s cubic-bezier(.2, .7, .3, 1) infinite; }
  .cd.clik-rm:not(.no-motion) .clik-rm-ring:not(.is-still) i + i { animation-delay: .8s; }
}
.clik-rm-ring.is-off i { animation-play-state: paused !important; }
.cd.clik-rm.no-motion .clik-rm-ring i, .clik-rm-ring.is-still i { opacity: .9; transform: scale(.44); }
.clik-rm-ring i + i { display: none; }
@media (prefers-reduced-motion: no-preference) { .cd.clik-rm:not(.no-motion) .clik-rm-ring:not(.is-still) i + i { display: block; } }
@media (prefers-reduced-motion: reduce) { .clik-rm-ring i { opacity: .9; transform: scale(.44); } }
@keyframes clik-rm-ring { 0% { opacity: .95; transform: scale(.24); } 100% { opacity: 0; transform: scale(1); } }

/* « À louer » always beside « À vendre »: before its first listing its count reads 0, a little quieter */
.clik-rm .clik-rm-chip.is-zero:not(.is-on):not(#_) b { opacity: .55; }
/* the search field's clear × in CLIK blue like every other X of the map: a blue tint and ring under the mouse, solid blue
   pressed, its X turning half a turn (the site's clear button keeps its size: it never grows) */
.cd.clik-rm .clik-clear:not(#_) { transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .15s ease !important; }
.cd.clik-rm .clik-clear:not(#_) svg { transition: transform .5s cubic-bezier(.3, 1.4, .4, 1) !important; }
.cd.clik-rm .clik-clear:not(#_):is(:hover, :focus-visible) { background: rgba(8, 102, 255, .12) !important; color: #0866FF !important; box-shadow: 0 0 0 3px rgba(8, 102, 255, .16) !important; }
.cd.clik-rm .clik-clear:not(#_):is(:hover, :focus-visible) svg { transform: rotate(180deg) !important; }
/* the site's clear button keeps the field's focus (its mousedown is held back), so the browser never marks it :active:
   the map's script sets .is-press while it is pressed */
.cd.clik-rm .clik-clear:not(#_):is(:active, .is-press) { background: #0866FF !important; color: #fff !important; box-shadow: 0 0 0 3px rgba(8, 102, 255, .3) !important; transform: scale(.9); }
body.night-mode .cd.clik-rm .clik-clear:not(#_):is(:hover, :focus-visible) { background: rgba(76, 154, 255, .2) !important; color: #8ab8ff !important; box-shadow: 0 0 0 3px rgba(76, 154, 255, .2) !important; }
body.night-mode .cd.clik-rm .clik-clear:not(#_):is(:active, .is-press) { background: #0866FF !important; color: #fff !important; }
.cd.clik-rm.no-motion .clik-clear:not(#_) svg { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .cd.clik-rm .clik-clear:not(#_) svg { transition: none !important; } .cd.clik-rm .clik-clear:not(#_):is(:active, .is-press) { transform: none; } }

/* Morocco only (AdminCP clik_rm_only): the map's box is the mask's plain colour, never the starry space made for the globe -
   what a tilted map shows over its horizon is that colour, nothing of the planet */
.cd.clik-rm.is-only .clik-rm-card:not(#_) { background: #dce8f6; }
body.night-mode .cd.clik-rm.is-only .clik-rm-card:not(#_) { background: #0d1a2e; }

/* ---------- the kind chips all seen: they wrap and share each row, the panel a little wider (the owner, 28 Oct: "the pill has shadow on the right … extend the window to fit it") ---------- */
.clik-rm .js_clik-rm-kinds:not(#_) { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; margin: 0; padding: 0; }
.clik-rm .js_clik-rm-kinds:not(#_) > .clik-rm-chip { flex: 1 1 auto; justify-content: center; }
@media (min-width: 1280px) { .clik-rm .clik-rm-top:not(#_) { width: 384px; } }
/* the loading veil's spinning cube a bit bigger (the owner, 28 Oct): 112 px, 96 on phones, its shadow in proportion */
.clik-rm .clik-rm-veil-cube:not(#_) { width: 112px; height: 112px; filter: drop-shadow(0 6px 14px rgba(8, 102, 255, .5)); }
@media (max-width: 668px) { .clik-rm .clik-rm-veil-cube:not(#_) { width: 96px; height: 96px; } }
/* while it flies over a listing the search panel (and its folded button) fades out of the way - the listing in the middle
   of the map (AdminCP clik_rm_fly_clear); back on « Arrêter » */
.cd.clik-rm.is-flying :is(.clik-rm-top, .clik-rm-show-top):not(#_) { opacity: 0; transform: translateY(-10px) scale(.96); pointer-events: none; visibility: hidden; transition: opacity .35s ease, transform .35s ease, visibility 0s .35s; }
.cd.clik-rm.no-motion.is-flying :is(.clik-rm-top, .clik-rm-show-top):not(#_) { transition: none; }
@media (prefers-reduced-motion: reduce) { .cd.clik-rm.is-flying :is(.clik-rm-top, .clik-rm-show-top):not(#_) { transition: none; } }
/* ---------- the search panel on the 8 px rule (the owner, 28 Oct: "8px for everything here & edge to edge rule"): 8 px
   inside on every side, 8 px between every block, every row from the start edge to the end edge - the title row (its
   × 8 px from the top and the end), the line, the search, the kind chips, Filtres / Publier sharing the last row ---------- */
.cd.clik-rm .clik-rm-top:not(#_) { padding: 8px; gap: 8px; }
.cd.clik-rm .clik-rm-top:not(#_) > * { margin: 0; }
.cd.clik-rm .clik-rm-top .clik-rm-title:not(#_) { min-height: 28px; line-height: 1.15; }
.cd.clik-rm .clik-rm-top .clik-rm-line:not(#_) { line-height: 1.2; }
.cd.clik-rm .clik-rm-top .clik-rm-search:not(#_), .cd.clik-rm .clik-rm-top .js_clik-rm-kinds:not(#_) { width: 100%; }
.cd.clik-rm .clik-rm-top .clik-rm-row:not(#_) { gap: 8px; justify-content: stretch; }
.cd.clik-rm .clik-rm-top .clik-rm-row:not(#_) > :is(.clik-rm-more, .clik-rm-new) { flex: 1 1 auto; justify-content: center; align-self: auto; height: 36px; border-radius: 18px; }
.cd.clik-rm .clik-rm-top .clik-rm-sug:not(#_) { margin-top: 8px; }

/* ---------- the list's cards and chips (the owner, 28 Oct): the place and the category on ONE line with a small CLIK
   cube between them, the photo filling the card's height, the city chips slid by a wheel / a mouse / a finger, the move
   pad away from the phone's list ---------- */
.clik-rm .clik-rm-cardi:not(#_) { align-items: stretch; }
.clik-rm .clik-rm-cardi:not(#_) .clik-rm-ph { height: auto; min-height: 76px; align-self: stretch; }
.clik-rm .clik-rm-cardi:not(#_) .clik-rm-ct { justify-content: center; }
.clik-rm .clik-rm-ad:not(#_) { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.clik-rm .clik-rm-ad svg { flex: none; }
.clik-rm .clik-rm-adp { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.clik-rm .clik-rm-ad .clik-rm-cat:not(#_) { display: block; flex: 0 1 auto; min-width: 24px; overflow: hidden; text-overflow: ellipsis; font-size: inherit; color: inherit; }
.clik-rm .clik-rm-ad .clik-rm-pa { flex: none; }
.clik-rm-sep { flex: none; display: inline-block; width: 9px; height: 10px; background: var(--clik-cube) center / contain no-repeat; }
.clik-rm-cardi.is-new { animation: clik-rm-cardnew .9s ease-out; }
@keyframes clik-rm-cardnew { 0% { opacity: 0; transform: translateY(6px); box-shadow: 0 0 0 2px rgba(10, 92, 255, .45); } 40% { opacity: 1; transform: none; } 100% { box-shadow: 0 0 0 2px rgba(10, 92, 255, 0); } }
.clik-rm .clik-rm-cities:not(#_) { cursor: grab; touch-action: pan-x; }
.clik-rm .clik-rm-cities.is-drag:not(#_) { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.clik-rm .clik-rm-cities.is-drag .clik-rm-city { pointer-events: none; }
@media (max-width: 668px) {
  .clik-rm.is-sheet-up .clik-rm-pad:not(#_) { opacity: 0 !important; visibility: hidden; pointer-events: none !important; }
  /* and the map's buttons too, as the script's comment always said (29 Oct: they were drawn over the list pulled up -
     its × under the layers button in Arabic); the list lowered, they come back */
  .clik-rm.is-sheet-up .clik-rm-ctl:not(#_) { opacity: 0 !important; visibility: hidden; pointer-events: none !important; transition: opacity .2s, visibility 0s .2s; }
}
@media (prefers-reduced-motion: reduce) { .clik-rm-cardi.is-new { animation: none; } }
.clik-rm.no-motion .clik-rm-cardi.is-new { animation: none; }

/* ---------- round 5 (the owner, 28 Oct: "map listings top side on hover goes under top of right panel … fix its
   highs also"): the photo sits absolutely in its box, so a portrait photo never makes its card taller - every card is
   as tall as its words (76 px at least); the list keeps 4 px of room on every side (and gives it back with a negative
   margin: its cards stay on the panel's edges), so the hover lift, its shadow and the selected ring are never cut by
   the list's own scroll box ---------- */
.clik-rm .clik-rm-cards:not(#_) { padding: 4px; margin: -4px; scroll-padding-block: 4px; }
.clik-rm .clik-rm-cardi:not(#_) .clik-rm-ph { height: auto; min-height: 76px; }
.clik-rm .clik-rm-cardi:not(#_) .clik-rm-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.clik-rm .clik-rm-cardi:not(#_) .clik-rm-ph > .clik-rm-noimg { position: absolute; inset: 0; }
.clik-rm .clik-rm-cardi:not(#_):hover, .clik-rm .clik-rm-cardi.is-hot:not(#_) { box-shadow: 0 3px 10px rgba(0, 0, 0, .1); }
.clik-rm .clik-rm-cardi.is-sel:not(#_) { box-shadow: 0 0 0 2px rgba(10, 92, 255, .25); }
/* one height for every card: the title on one line, cut with "…" (the whole title in its tooltip) */
.clik-rm .clik-rm-cardi:not(#_) .clik-rm-tt { display: block; -webkit-line-clamp: unset; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- the loading screen (the owner, 28 Oct: "add start page with spinning cube a loading stat from 0 to
   100% in a nice modern status"; AdminCP clik_rm_progress): the CLIK cube turning inside a ring in the cube's colours
   that fills with the map's real progress, the number big under it, a thin bar and what is loading; at 100 % the ring
   glows and the cube settles, then the veil fades. "Less motion": the cube still, the number and the ring still follow */
.clik-rm-veil.has-load { gap: 8px; }
.clik-rm-ld { position: relative; display: grid; place-items: center; width: 168px; height: 168px; margin-bottom: 4px; }
.clik-rm-ld-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.clik-rm-ld-bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 6; }
.clik-rm-ld-fg { fill: none; stroke: url(#clik-rm-ld-g); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(10, 92, 255, .7)); }
.clik-rm-veil.has-load .clik-rm-veil-cube:not(#_) { width: 88px; height: 88px; animation: clik-rm-ld-spin 2.4s cubic-bezier(.45, .05, .55, .95) infinite; filter: drop-shadow(0 8px 14px rgba(8, 102, 255, .5)); }
@keyframes clik-rm-ld-spin { 0% { transform: rotate(0) scale(1); } 25% { transform: rotate(calc(var(--clik-spin, 0) * 90deg)) scale(calc(1 - var(--clik-spin, 0) * .1)); } 50% { transform: rotate(calc(var(--clik-spin, 0) * 180deg)) scale(1); } 75% { transform: rotate(calc(var(--clik-spin, 0) * 270deg)) scale(calc(1 - var(--clik-spin, 0) * .1)); } 100% { transform: rotate(calc(var(--clik-spin, 0) * 360deg)) scale(1); } }
.clik-rm-ld-pc { font-size: 34px !important; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #fff, #cfe0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.clik-rm-ld-bar { display: block; width: min(240px, 70vw); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.clik-rm-ld-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0A5CFF, #F5104F, #FFD200); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .clik-rm-ld-bar i { transform-origin: right; }
.clik-rm-veil.has-load b.js_clik-rm-veil-t { font-size: 20px; margin-top: 4px; }
.clik-rm-veil.has-load .js_clik-rm-ld-step { min-height: 1.3em; }
.clik-rm-veil.is-done .clik-rm-veil-cube:not(#_) { animation: clik-rm-ld-land .42s cubic-bezier(.2, 1.4, .35, 1) both; }
@keyframes clik-rm-ld-land { from { transform: scale(.9); } 60% { transform: scale(1.12); } to { transform: scale(1); } }
.clik-rm-veil.is-done .clik-rm-ld-fg { filter: drop-shadow(0 0 12px rgba(255, 210, 0, .8)); transition: filter .3s; }
.clik-rm-veil.is-error .clik-rm-ld-ring, .clik-rm-veil.is-error .clik-rm-ld-pc, .clik-rm-veil.is-error .clik-rm-ld-bar { display: none; }
/* 19 Nov: an error says why, never « Chargement des annonces… » under it */
.clik-rm-veil.is-error .js_clik-rm-ld-step, .clik-rm-veil.is-error .clik-rm-slow { display: none; }
.clik-rm-veil.is-error.has-load .clik-rm-veil-cube:not(#_) { animation: none; }
@media (max-width: 668px) { .clik-rm-ld { width: 140px; height: 140px; } .clik-rm-veil.has-load .clik-rm-veil-cube:not(#_) { width: 74px; height: 74px; } .clik-rm-ld-pc { font-size: 30px !important; } }
@media (prefers-reduced-motion: reduce) { .clik-rm-veil.has-load .clik-rm-veil-cube:not(#_), .clik-rm-veil.is-done .clik-rm-veil-cube:not(#_) { animation: none; } }
.clik-rm.no-motion .clik-rm-veil.has-load .clik-rm-veil-cube:not(#_) { animation: none; }

/* the move pad slides to its free corner (clik-remap.js placePad(): a transform, never the layout) */
.clik-rm-pad.is-placed { transition: opacity .3s, transform .5s cubic-bezier(.2, .9, .3, 1.05); }
@media (prefers-reduced-motion: reduce) { .clik-rm-pad.is-placed { transition: opacity .3s; } }
.clik-rm.no-motion .clik-rm-pad.is-placed { transition: opacity .3s; }
.clik-rm .clik-rm-pad.is-nofree:not(#_) { opacity: 0 !important; pointer-events: none !important; }

/* ---------- round 6 (the owner approved, 28 Oct): the loading screen's dots, the pad's change of side, the list walked
   with the arrows, the city chips' first hint ---------- */
.clik-rm-ld-dot { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); pointer-events: none; z-index: 2; animation: clik-rm-ld-fly .75s cubic-bezier(.5, 0, .75, .4) both; }
@keyframes clik-rm-ld-fly { 0% { transform: translate(var(--x0), var(--y0)) scale(.6); opacity: 0; } 20% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(var(--x1), var(--y1)) scale(.35); opacity: 0; } }
.clik-rm-pad.is-flip .clik-rm-pad-disc { animation: clik-rm-pad-flip .5s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes clik-rm-pad-flip { 0% { transform: scale(.85) rotate(-25deg); } 100% { transform: none; } }
.clik-rm .clik-rm-cardi.is-key:not(#_) { animation: clik-rm-keyring .6s ease-out; }
@keyframes clik-rm-keyring { 0% { box-shadow: 0 0 0 4px rgba(10, 92, 255, .45); } 100% { box-shadow: 0 0 0 2px rgba(10, 92, 255, .25); } }
.clik-rm-chint { all: unset; position: absolute; z-index: 3; inset-inline-end: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: #0866FF; box-shadow: 0 4px 12px rgba(8, 102, 255, .45); animation: clik-rm-chint-in .35s cubic-bezier(.2, 1.4, .4, 1) both, clik-rm-chint-nudge 1s ease-in-out .5s 4; transition: opacity .3s, scale .3s; }
.clik-rm-chint:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.clik-rm-chint.is-out { opacity: 0; scale: .6; pointer-events: none; }
@keyframes clik-rm-chint-in { from { opacity: 0; scale: .5; } }
@keyframes clik-rm-chint-nudge { 50% { transform: translateX(4px); } }
.clik-rm-chint.is-rtl { animation-name: clik-rm-chint-in, clik-rm-chint-nudge-r; }
@keyframes clik-rm-chint-nudge-r { 50% { transform: translateX(-4px); } }
@media (prefers-reduced-motion: reduce) { .clik-rm-ld-dot, .clik-rm-chint, .clik-rm-pad.is-flip .clik-rm-pad-disc, .clik-rm .clik-rm-cardi.is-key:not(#_) { animation: none; } }
.clik-rm.no-motion :is(.clik-rm-ld-dot, .clik-rm-chint, .clik-rm-pad-disc) { animation: none !important; }
.clik-rm.no-motion .clik-rm-ld-dot { display: none; }

/* ---------- the listing card's favourite: one full-size heart (the owner, 28 Oct: "use one full size heart in the Map
   listings it very small") - the heart IS the button, no circle behind it; an outline by day / night, solid red once
   saved with a little gloss, a blue glow under the mouse (the map's buttons rule), a pop when saved ---------- */
.clik-rm .clik-rm-round.clik-rm-fav:not(#_) { background: none !important; box-shadow: none !important; border: 0; padding: 0; width: 36px; height: 36px; color: #1c1e21; }
body.night-mode .clik-rm .clik-rm-round.clik-rm-fav:not(#_) { color: #e4e6eb; }
.clik-rm-fav .clik-rm-heart { display: block; width: 32px; height: 32px; overflow: visible; filter: drop-shadow(0 1px 2px rgba(15, 23, 42, .18)); transition: filter .18s ease, transform .15s ease; }
.clik-rm-fav .clik-rm-heart .h-b { fill: rgba(255, 255, 255, .92); stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transition: fill .18s ease, stroke .18s ease; }
body.night-mode .clik-rm-fav .clik-rm-heart .h-b { fill: rgba(36, 37, 38, .9); }
.clik-rm-fav .clik-rm-heart .h-g { fill: #fff; opacity: 0; transition: opacity .18s ease; }
.clik-rm .clik-rm-round.clik-rm-fav.is-on:not(#_) .h-b { fill: #F5104F; stroke: #d00a42; }
.clik-rm .clik-rm-round.clik-rm-fav.is-on:not(#_) .h-g { opacity: .45; }
.clik-rm .clik-rm-round.clik-rm-fav:not(#_):hover { color: #0866FF !important; }
.clik-rm .clik-rm-round.clik-rm-fav:not(#_):hover .clik-rm-heart { filter: drop-shadow(0 0 5px rgba(8, 102, 255, .45)); }
body.night-mode .clik-rm .clik-rm-round.clik-rm-fav:not(#_):hover { color: #8ab8ff !important; }
.clik-rm .clik-rm-round.clik-rm-fav.is-on:not(#_):hover .clik-rm-heart { filter: drop-shadow(0 0 6px rgba(245, 16, 79, .5)); }
.clik-rm .clik-rm-round.clik-rm-fav:not(#_):active { background: none !important; color: #0866FF !important; }
.clik-rm .clik-rm-round.clik-rm-fav:not(#_):active .clik-rm-heart { transform: scale(.88); }
.clik-rm .clik-rm-round.clik-rm-fav:not(#_):focus-visible { box-shadow: 0 0 0 3px rgba(8, 102, 255, .55) !important; }
@media (prefers-reduced-motion: reduce) { .clik-rm-fav .clik-rm-heart { transition: none; } .clik-rm-round.clik-rm-fav.is-pop { animation: none; } }
.clik-rm.no-motion .clik-rm-round.clik-rm-fav.is-pop { animation: none; }

/* ---------- round 7 (the owner, 29 Oct: "1 2 3 4 all of them"): a heart on each list card's photo, in its top end corner
   (the kind pill holds the start one) - saved in one tap, in step with the map card's heart (paintFav()); saved, little
   hearts in the cube's colours burst out of it (burst(), drawn on the page at the heart's middle so nothing clips them) ---------- */
.clik-rm .clik-rm-cardi .clik-rm-cfav:not(#_) { position: absolute; top: 4px; inset-inline-end: 4px; z-index: 2; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.clik-rm .clik-rm-cardi .clik-rm-cfav .clik-rm-heart:not(#_) { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)); }
.clik-rm .clik-rm-cardi .clik-rm-cfav .h-b:not(#_) { fill: rgba(15, 23, 42, .28); stroke: #fff; stroke-width: 2; }
.clik-rm .clik-rm-cardi .clik-rm-cfav.is-on .h-b:not(#_) { fill: #F5104F; stroke: #fff; }
.clik-rm .clik-rm-cardi .clik-rm-cfav.is-on .h-g:not(#_) { opacity: .45; }
.clik-rm .clik-rm-cardi .clik-rm-cfav:not(#_):hover .clik-rm-heart { filter: drop-shadow(0 0 4px rgba(8, 102, 255, .9)); transform: scale(1.08); }
.clik-rm .clik-rm-cardi .clik-rm-cfav:not(#_):active .clik-rm-heart { transform: scale(.86); }
.clik-rm .clik-rm-cardi .clik-rm-cfav:not(#_):focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(8, 102, 255, .7); }
.clik-rm .clik-rm-cardi .clik-rm-cfav.is-pop:not(#_) { animation: clik-rm-heart .5s cubic-bezier(.3, 1.6, .5, 1); }
.clik-rm-hburst { position: fixed; z-index: 3000; width: 0; height: 0; pointer-events: none; }
.clik-rm-hburst i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; opacity: 0; animation: clik-rm-hfly .8s cubic-bezier(.2, .7, .3, 1) forwards; }
.clik-rm-hburst svg { display: block; width: 100%; height: 100%; fill: var(--c); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
@keyframes clik-rm-hfly {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.3); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) rotate(calc(var(--a) * -1)) scale(var(--s)); }
}
@media (prefers-reduced-motion: reduce) { .clik-rm-hburst { display: none; } .clik-rm .clik-rm-cardi .clik-rm-cfav.is-pop:not(#_) { animation: none; } }
.clik-rm.no-motion .clik-rm-cardi .clik-rm-cfav.is-pop:not(#_) { animation: none; }

/* ---------- the Arabic page's map in the French one's places (the owner, 4 Nov: "make map on same place and center it correctly on both fr and ar") ----------
   Morocco's own shape decides the room: the Atlantic is its top-left corner, where the search panel can sit without covering land.
   Mirrored, the panel stood over the north-east (Tanger, Oujda) and Morocco was drawn small under it. From 669 px the Arabic card
   keeps the French placement - search panel top-left, the list and the buttons on the right - and only the words inside stay right to left. */
@media (min-width: 669px) {
  [dir="rtl"] .clik-rm-top { right: auto; left: 8px; transform-origin: top left; }
  [dir="rtl"] .clik-rm-show-top { right: auto; left: 8px; }
  [dir="rtl"] .clik-rm-list { left: auto; right: 64px; }
  [dir="rtl"] .clik-rm-list.is-closed { transform: translateX(calc(100% + 80px)); }
  [dir="rtl"] .clik-rm-show-list { left: auto; right: 64px; }
  [dir="rtl"] .clik-rm-ctl { left: auto; right: 8px; }
  [dir="rtl"] .clik-rm-layers { left: auto; right: calc(100% + 8px); transform-origin: top right; }
  [dir="rtl"] .clik-rm-btn.is-zone::before { left: auto; right: calc(100% + 8px); }
}
/* the first visit's cookie window on the list's side, never over Morocco (bottom-left in Arabic stood over the Sahara) */
@media (min-width: 669px) {
  [dir="rtl"] body:has(.cd.clik-rm) #cc-main .cm--box.cm--left { left: auto !important; right: 16px !important; }
}

/* the loading screen's « Connexion lente, la carte arrive… » after 8 s (clik-remap.js slowNote, AdminCP clik_rm_slow_note - 7 Nov) */
.clik-rm-slow { display: block; width: max-content; max-width: calc(100% - 16px); margin: 8px auto 0; padding: 4px 12px; border-radius: 999px; background: rgba(245, 158, 11, .18); border: 1px solid rgba(251, 191, 97, .45); color: #FFD27A; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; animation: clik-rm-slow-in .35s ease both; }
@keyframes clik-rm-slow-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .clik-rm-slow { animation: none; } }

/* 9 Nov: « Touchez 3D pour voir le relief », once, 8 px before the 3D button on its middle (clik-remap.js tiltHint()) */
.clik-rm-3dhint { position: fixed; z-index: 1040; max-width: min(260px, calc(100vw - 80px)); padding: 9px 14px; border-radius: 999px; background: #0866FF; color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.25; box-shadow: 0 8px 22px rgba(8, 102, 255, .4); pointer-events: none; animation: clik-rm-3dh-in .4s cubic-bezier(.2, 1.4, .4, 1) both; transition: opacity .3s, scale .3s; }
.clik-rm-3dhint::after { content: ""; position: absolute; top: 50%; left: 100%; margin-top: -6px; border: 6px solid transparent; border-left-color: #0866FF; }
.clik-rm-3dhint.is-after::after { left: auto; right: 100%; border-left-color: transparent; border-right-color: #0866FF; }
.clik-rm-3dhint.is-out { opacity: 0; scale: .85; }
.clik-rm-btn.is-hinted { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #0866FF, 0 6px 18px rgba(0, 0, 0, .18); animation: clik-rm-3dh-ping 1.2s ease-in-out 3; }
@keyframes clik-rm-3dh-in { from { opacity: 0; scale: .7; } }
@keyframes clik-rm-3dh-ping { 50% { scale: 1.08; } }
@media (prefers-reduced-motion: reduce) { .clik-rm-3dhint, .clik-rm-btn.is-hinted { animation: none; } }

/* 9 Nov: « Rouvrir · <the listing> » after its card closed by itself - ONE line at the map's bottom middle: a blue
   round icon, « Rouvrir » (never broken), the listing's title cut with « … », the round × (the owner's screenshot: the
   button's `all: unset` outweighed its own look - every rule here is scoped .clik-rm-reopen .x) */
.clik-rm-reopen { position: absolute; z-index: 8; left: 50%; bottom: 16px; translate: -50% 0; display: flex; align-items: center; gap: 4px; width: max-content; max-width: min(440px, calc(100% - 32px)); height: 48px; box-sizing: border-box; padding: 0 6px 0 6px; border-radius: 999px; background: #fff; color: #1c1e21; box-shadow: 0 10px 28px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .06); animation: clik-rm-reopen-in .35s cubic-bezier(.2, 1.3, .4, 1) both; transition: opacity .25s, scale .25s; }
.clik-rm-reopen.is-out { opacity: 0; scale: .9; pointer-events: none; }
.clik-rm-reopen .clik-rm-reopen-go { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; height: 36px; padding: 0; padding-inline: 2px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.clik-rm-reopen .clik-rm-reopen-go svg { flex: none; box-sizing: content-box; width: 16px; height: 16px; padding: 8px; border-radius: 50%; background: #0866FF; color: #fff; }
.clik-rm-reopen .clik-rm-reopen-go span { flex: none; font-size: 14px; font-weight: 800; color: #0866FF; }
.clik-rm-reopen .clik-rm-reopen-go b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 600; color: inherit; }
.clik-rm-reopen .clik-rm-reopen-x { all: unset; box-sizing: border-box; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #65676b; background: #f0f2f5; cursor: pointer; transition: transform .2s; }
.clik-rm-reopen .clik-rm-reopen-x:hover { transform: rotate(90deg); }
.clik-rm-reopen .clik-rm-reopen-go:hover b { text-decoration: underline; }
.clik-rm-reopen button:focus-visible { outline: 2px solid #0866FF; outline-offset: 2px; }
body.night-mode .clik-rm-reopen { background: #242526; color: #e4e6eb; box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
body.night-mode .clik-rm-reopen .clik-rm-reopen-go span { color: #4C9AFF; }
body.night-mode .clik-rm-reopen .clik-rm-reopen-x { color: #e4e6eb; background: #3a3b3c; }
@keyframes clik-rm-reopen-in { from { opacity: 0; translate: -50% 16px; } }
.clik-rm-reopen.is-placed { animation-name: clik-rm-reopen-in2; }
@keyframes clik-rm-reopen-in2 { from { opacity: 0; translate: 0 16px; } }
@media (max-width: 668px) { .clik-rm-reopen { bottom: auto; top: 8px; } }
@media (prefers-reduced-motion: reduce) { .clik-rm-reopen { animation: none; } .clik-rm-reopen .clik-rm-reopen-x:hover { transform: none; } }

/* 9 Nov, extras: the listing's photo in the pill's round icon (the arrow on a soft veil over it), and the 9 s line along
   the pill's bottom edge, clipped by its round ends, paused while held */
.clik-rm-reopen { overflow: hidden; }
.clik-rm-reopen .clik-rm-reopen-go.has-pic { position: relative; }
.clik-rm-reopen .clik-rm-reopen-pic { position: absolute; inset-inline-start: 2px; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: #0866FF center / cover no-repeat; }
.clik-rm-reopen .clik-rm-reopen-go.has-pic svg { position: relative; background: rgba(8, 102, 255, .55); }
.clik-rm-reopen-bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #0A5CFF, #F5104F, #FFD200); transform-origin: left; animation: clik-rm-reopen-run 9s linear forwards; pointer-events: none; }
[dir="rtl"] .clik-rm-reopen-bar { transform-origin: right; }
.clik-rm-reopen.is-held .clik-rm-reopen-bar { animation-play-state: paused; }
@keyframes clik-rm-reopen-run { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .clik-rm-reopen-bar { animation: none; } }

/* 11 Nov: the « Publications » chip - the members' posts on the map (a violet dot, pressed = shown) */
.clik-rm .clik-rm-pochip:not(#_) { --kc: #7c3aed; }
.clik-rm .clik-rm-podot { width: 8px; height: 8px; border-radius: 50%; background: #7c3aed; flex: none; }
.clik-rm .clik-rm-pochip:not(.is-on):not(#_) { opacity: .7; }
.clik-rm .clik-rm-pochip:not(.is-on):not(#_) .clik-rm-podot { background: transparent; box-shadow: inset 0 0 0 1.5px #7c3aed; }
body.night-mode .clik-rm .clik-rm-podot { background: #a78bfa; }

/* 13 Nov (the owner's extra « 1 »): the loading cube is the live turning cube (it lands on its logo pose before the
   veil fades - clikCubeSettle in clik-remap.js); no flat spin while it turns on its sides (--clik-spin 0) */
.clik-rm-veil-cube:has(> svg) { background: none !important; }
.clik-rm-veil-cube > svg { display: block; width: 100%; height: 100%; }

/* ---------- 13 Nov (the owner: « do the same for map loading animation »): the loading screen's cube is made of frames
   (tools/cube4k/spin.py --hd) slid by a transform the compositor plays - it never freezes while the map's scripts load -,
   another move each time (window.clikTcStart, _header.tpl). The still cube under it until the strip has loaded. ---------- */
.clik-rm-veil-cube:has(> .clik-tc):not(#_) { position: relative; background: none !important; }
.clik-rm-veil-cube .clik-tc { position: absolute; inset: 0; display: block; }
.clik-rm-veil-cube .clik-tc > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.clik-rm-veil-cube .clik-tc-w { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; visibility: hidden; }
.clik-rm-veil-cube .clik-tc.is-on > .clik-tc-w { visibility: visible; }
.clik-rm-veil-cube .clik-tc.is-on > svg { visibility: hidden; }
.clik-rm-veil-cube .clik-tc-s:not(#_) { position: absolute; left: 0; top: 0; width: 4900%; height: 100%; max-width: none; display: block; will-change: transform; animation: clik-rm-tc 1.8s steps(48) infinite; }
.clik-rm-veil-cube .clik-tc.is-hold .clik-tc-s:not(#_) { animation: clik-rm-tc-hold 1.9s linear infinite; }
.clik-rm-veil-cube .clik-tc.is-back .clik-tc-s:not(#_) { animation-direction: reverse; }
.clik-rm-veil-cube .clik-tc.is-hop { animation: clik-rm-tc-hop 1.8s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes clik-rm-tc { to { transform: translateX(-97.9592%); } }
@keyframes clik-rm-tc-hold { 0% { transform: translateX(0); animation-timing-function: steps(8); } 18% { transform: translateX(-16.3265%); animation-timing-function: steps(32); } 48% { transform: translateX(-81.6327%); animation-timing-function: steps(8); } 66%, 100% { transform: translateX(-97.9592%); } }
@keyframes clik-rm-tc-hop { 0%, 100% { transform: none; } 50% { transform: translateY(-9%); } }
.clik-rm-veil.is-error .clik-rm-veil-cube .clik-tc-s:not(#_), .clik-rm.no-motion .clik-rm-veil-cube .clik-tc-s:not(#_), .clik-rm.no-motion .clik-rm-veil-cube .clik-tc { animation: none; }
@media (prefers-reduced-motion: reduce) { .clik-rm-veil-cube .clik-tc-s:not(#_), .clik-rm-veil-cube .clik-tc { animation: none !important; } }
/* the animated picture (window.clikTaPlay, 13 Nov): one frame, nothing slides */
.clik-rm-veil-cube .clik-tc.is-ani .clik-tc-s:not(#_):not(#_) { width: 100%; height: 100%; transform: none; animation: none; will-change: auto; }

/* 21 Nov: « Vous êtes ici » - the visitor's position (clik-remap.js youAt(), AdminCP clik_rm_you): a blue dot with a
   white ring and a soft wave, its words in a pill at its end (fading after 6 s, back under the mouse) */
.maplibregl-marker.clik-rm-you { z-index: 4; }
.clik-rm-you { width: 18px; height: 18px; pointer-events: auto; cursor: default; }
.clik-rm-you-dot { position: absolute; inset: 0; border-radius: 50%; background: #0A5CFF; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(10, 92, 255, .55); }
.clik-rm-you-dot::before, .clik-rm-you-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(10, 92, 255, .55); animation: clik-rm-you-wave 2.4s ease-out infinite; }
.clik-rm-you-dot::after { animation-delay: 1.2s; }
@keyframes clik-rm-you-wave { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.clik-rm-you-t { position: absolute; top: 50%; inset-inline-start: calc(100% + 8px); translate: 0 -50%; white-space: nowrap; padding: 0 10px; height: 24px; line-height: 24px; border-radius: 12px; font-size: 12px; font-weight: 700; color: #fff; background: #0A5CFF; box-shadow: 0 4px 12px -4px rgba(10, 92, 255, .6); transition: opacity .4s ease; pointer-events: none; }
.clik-rm-you.is-quiet .clik-rm-you-t { opacity: 0; }
.clik-rm-you.is-quiet:hover .clik-rm-you-t { opacity: 1; }
body.night-mode .clik-rm-you-dot { box-shadow: 0 0 0 3px #18191a, 0 2px 8px rgba(76, 154, 255, .6); background: #3B82F6; }
body.night-mode .clik-rm-you-t { background: #3B82F6; }
@media (prefers-reduced-motion: reduce) { .clik-rm-you-dot::before, .clik-rm-you-dot::after { animation: none; opacity: 0; } }

/* 5 Dec (round 125): the loading screen's cube makes random moves (window.clikCubeRand): its own spin rests meanwhile */
.clik-rm-veil:not(.is-done) .clik-rm-veil-cube.is-rand:not(#_) { animation: none; }
