/* CLIK.ma - the visitors' welcome box, design B "Bannière bleue CLIK" (__clik_hb.tpl, includes/clik-hero.php,
   js/core/clik-hero.js). One 8 px grid, container queries (the box lives in the feed's column: its own width decides
   the layout), day / night (body.night-mode), right to left (dir="rtl" on the box), "less motion" stops everything. */
/* =====================================================================
   CLIK.ma - the visitors' welcome box, design B "Bannière bleue CLIK"
   classes clik-hb- / js_clik-hb- ; one 8 px grid ; container queries
   (the box lives in a column: its own width decides the layout)
   ===================================================================== */
.clik-hb { --b: #0866FF; --cb: #0A5CFF; --cr: #F5104F; --cy: #FFD200; --ink: #1c1e21; --mu: #65676b; --card: #fff; --line: #e4e6eb; --field: #fff; --soft: #f0f2f5;
  container-type: inline-size; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0 0 8px; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
body.night-mode .clik-hb { --ink: #e4e6eb; --mu: #b0b3b8; --card: #242526; --line: #3a3b3c; --field: #3a3b3c; --soft: #18191a; }
.clik-hb *, .clik-hb *::before, .clik-hb *::after { box-sizing: border-box; }
.clik-hb { margin: 0 0 8px; overflow: visible; }
.clik-hb h1, .clik-hb h2 { font-family: inherit; }
.clik-hb a { color: inherit; text-decoration: none; }
.clik-hb img { display: block; }
.clik-hb bdi { unicode-bidi: isolate; direction: ltr; }

/* the banner */
/* computers: the logo as tall as the title's letters, both 8 px from the banner's top (fitTitle: --hb-tmt, --hb-cube) */
.clik-hb-ban { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 52%); gap: 8px; padding: 8px 8px 44px; border-radius: 16px 16px 0 0; overflow: visible; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, #2f7bff 0%, #0a4dff 46%, #5b2bff 100%); color: #fff; overflow-x: clip; }
body.night-mode .clik-hb-ban { background: radial-gradient(120% 140% at 0% 0%, #1d5be0 0%, #0a36b8 46%, #3d1fb5 100%); }
.clik-hb-sky { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; z-index: -1; pointer-events: none; }
.clik-hb-sky i { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .55; }
.clik-hb-sky .g1 { width: 46%; aspect-ratio: 1; inset-inline-end: 4%; top: -18%; background: #F5104F; opacity: .32; }
.clik-hb-sky .g2 { width: 36%; aspect-ratio: 1; inset-inline-end: 30%; bottom: -30%; background: #FFD200; opacity: .26; }
.clik-hb-sky .g3 { width: 30%; aspect-ratio: 1; inset-inline-start: -8%; bottom: -20%; background: #7cc4ff; opacity: .3; }
.clik-hb-sky b { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); }

/* the site's logo (__clik_brand.tpl), top end corner (the banner rule): no plate, its thin white edge */
/* physical sides: the logo reads left to right (direction: ltr), and an element's own direction turns its logical sides */
.clik-hb .clik-brand { inset: 8px 8px auto auto; z-index: 5; gap: 6px; direction: ltr; }
.clik-hb[dir="rtl"] .clik-brand { inset: 8px auto auto 8px; }
.clik-hb .clik-brand-cube { height: var(--hb-cube, 27px); }
.clik-hb .clik-brand-word { height: calc(var(--hb-cube, 27px) * .74); }


.clik-hb-txt { display: flex; flex-direction: column; justify-content: center; align-self: center; gap: 8px; padding: 0; min-width: 0; z-index: 1; }
/* computers: the script sizes the pills to fill the room between the line and the search, 10 px above and under (fitPills) */
.clik-hb.is-pk .clik-hb-txt { align-self: stretch; justify-content: flex-start; padding-top: 2px; }
.clik-hb.is-pk .clik-hb-ban { padding-bottom: 40px; }
.clik-hb-stats.is-measure a { white-space: nowrap; }

.clik-hb-kick { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); font-size: 12px; font-weight: 700; letter-spacing: .02em; backdrop-filter: blur(6px); }
.clik-hb-kick i { width: 8px; height: 8px; border-radius: 50%; background: #7CFFB2; box-shadow: 0 0 0 0 rgba(124,255,178,.6); }
.clik-hb h1 { grid-column: 1 / -1; margin: var(--hb-tmt, 0px) 0 0; padding-inline-end: var(--hb-logo, 132px); font-size: var(--hb-tfs, 30px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; color: #fff; white-space: nowrap; min-width: 0; z-index: 1; }
/* the small CLIK cubes in place of the commas */
.clik-hb-tc { display: inline-block; width: .56em; height: .62em; margin: 0 .26em; vertical-align: -.02em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12.80 12.51 74.40 72.98'%3E%3Cdefs%3E%3CclipPath id='k-ca'%3E%3Cuse href='%23k-pt'/%3E%3Cuse href='%23k-pl'/%3E%3Cuse href='%23k-pr'/%3E%3C/clipPath%3E%3ClinearGradient id='k-g1' gradientUnits='userSpaceOnUse' gradientTransform='matrix(37 11.67 -37 11.67 50 12)' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%234083FF' class='ckst0'/%3E%3Cstop offset='0.5' stop-color='%230A5CFF' class='ckst1'/%3E%3Cstop offset='1' stop-color='%230850E6' class='ckst2'/%3E%3C/linearGradient%3E%3ClinearGradient id='k-g2' gradientUnits='userSpaceOnUse' gradientTransform='matrix(37 11.67 0 50.66 13 23.67)' x1='0.15' y1='0' x2='0.6' y2='1'%3E%3Cstop offset='0' stop-color='%23FB3869' class='cksl0'/%3E%3Cstop offset='0.5' stop-color='%23F5104F' class='cksl1'/%3E%3Cstop offset='1' stop-color='%23D80B44' class='cksl2'/%3E%3C/linearGradient%3E%3ClinearGradient id='k-g3' gradientUnits='userSpaceOnUse' gradientTransform='matrix(37 -11.67 0 50.66 50 35.34)' x1='0.1' y1='0' x2='0.8' y2='1'%3E%3Cstop offset='0' stop-color='%23FFDB2D' class='cksr0'/%3E%3Cstop offset='0.45' stop-color='%23FFD200' class='cksr1'/%3E%3Cstop offset='1' stop-color='%23FFB800' class='cksr2'/%3E%3C/linearGradient%3E%3ClinearGradient id='k-g4' gradientUnits='userSpaceOnUse' x1='50' y1='35.34' x2='11.1577' y2='23.0889'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0.85'/%3E%3C/linearGradient%3E%3ClinearGradient id='k-g5' gradientUnits='userSpaceOnUse' x1='50' y1='35.34' x2='88.8423' y2='23.0889'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0.85'/%3E%3C/linearGradient%3E%3ClinearGradient id='k-g6' gradientUnits='userSpaceOnUse' x1='50' y1='35.34' x2='50' y2='89.0916'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0.85'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg class='clik-cu'%3E%3Cpath d='M18.5 25.4 50 35.34' stroke='%23A670BC' fill='none' stroke-width='1.7' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M81.5 25.4 50 35.34' stroke='%23A6B8A8' fill='none' stroke-width='1.7' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M50 35.34V83' stroke='%23FF9A66' fill='none' stroke-width='1.7' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3Cg class='clik-cf clik-cf-t'%3E%3Cpath id='k-pt' d='M44.37 13.77A18.71 18.71 0 0 1 55.63 13.77L81.37 21.9A8.05 8.05 0 0 1 85.03 24.29L50 35.34L14.97 24.29A8.05 8.05 0 0 1 18.63 21.9Z' fill='url(%23k-g1)' stroke='url(%23k-g1)' stroke-width='.35' stroke-linejoin='round' paint-order='stroke'/%3E%3C/g%3E%3Cg class='clik-cf clik-cf-l'%3E%3Cpath id='k-pl' d='M50 85.09A18.71 18.71 0 0 1 44.37 84.23L18.63 76.1A8.05 8.05 0 0 1 13 68.43L13 29.57A8.05 8.05 0 0 1 14.97 24.29L50 35.34Z' fill='url(%23k-g2)' stroke='url(%23k-g2)' stroke-width='.35' stroke-linejoin='round' paint-order='stroke'/%3E%3C/g%3E%3Cg class='clik-cf clik-cf-r'%3E%3Cpath id='k-pr' d='M85.03 24.29A8.05 8.05 0 0 1 87 29.57L87 68.43A8.05 8.05 0 0 1 81.37 76.1L55.63 84.23A18.71 18.71 0 0 1 50 85.09L50 35.34Z' fill='url(%23k-g3)' stroke='url(%23k-g3)' stroke-width='.35' stroke-linejoin='round' paint-order='stroke'/%3E%3C/g%3E%3Cg class='clik-cj' clip-path='url(%23k-ca)'%3E%3Cpath d='M50 35.34L11.16 23.09' fill='none' stroke='url(%23k-g4)' stroke-width='0.6' stroke-linecap='butt' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M50 35.34L88.84 23.09' fill='none' stroke='url(%23k-g5)' stroke-width='0.6' stroke-linecap='butt' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M50 35.34L50 89.09' fill='none' stroke='url(%23k-g6)' stroke-width='0.6' stroke-linecap='butt' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 2px 3px rgba(0,0,30,.35)); }
.clik-hb .sr-c { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clik-hb h1 em { font-style: normal; color: #fff; } /* round 14 (the owner, 3 Nov: "keep the cube remove colored text"): « Partout au Maroc » plain white like the rest */
.clik-hb-line { grid-column: 1 / -1; margin: 0; font-size: var(--hb-lfs, 16px); line-height: 1.3; color: rgba(255,255,255,.88); white-space: nowrap; min-width: 0; z-index: 1; }
.clik-hb-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.clik-hb-stats li { display: flex; flex: none; max-width: 100%; }
.clik-hb-stats a { position: relative; box-sizing: border-box; display: inline-flex; align-items: center; gap: calc(6px * var(--hb-pk, 1)); min-height: calc(28px * var(--hb-pk, 1)); padding: calc(6px * var(--hb-pk, 1)) calc(10px * var(--hb-pk, 1)); border-radius: calc(14px * var(--hb-pk, 1)); background: rgba(255,255,255,.12); font-size: calc(13px * var(--hb-pk, 1)); line-height: calc(16px * var(--hb-pk, 1)); color: rgba(255,255,255,.9); text-decoration: none; white-space: normal; -webkit-tap-highlight-color: transparent; transition: background .2s, translate .2s, scale .12s; }
.clik-hb-stats a:hover { background: rgba(255,255,255,.22); translate: 0 -1px; color: #fff; }
.clik-hb-stats a:active { scale: .96; }
.clik-hb-stats a:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0866FF; }
.clik-hb-stats b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.clik-hb-stats .js_clik-hb-count, .clik-hb-stats .js_clik-hb-num { display: inline-block; direction: ltr; unicode-bidi: isolate; }
.clik-hb-stats .dot { width: calc(8px * var(--hb-pk, 1)); height: calc(8px * var(--hb-pk, 1)); border-radius: 50%; background: #7CFFB2; }
.clik-hb-stats svg { flex: none; width: calc(16px * var(--hb-pk, 1)); height: calc(16px * var(--hb-pk, 1)); color: #7CFFB2; }
.clik-hb-stats .is-live a { background: rgba(124,255,178,.16); box-shadow: inset 0 0 0 1px rgba(124,255,178,.35); }
.clik-hb-stats .is-live a:hover { background: rgba(124,255,178,.26); }
.clik-hb-stats .is-ads svg { color: #ffe680; }
.clik-hb-stats .is-ma svg { color: #ff9db8; }
.clik-hb-stats .is-free svg { color: #4ade80; }
.clik-hb-stats .is-near svg { color: #8ec5ff; }
.clik-hb-stats .is-fresh svg { color: #ffd27a; }
.clik-hb-stats .is-ma a { font-weight: 700; color: #fff; }
/* Annonce magique: the cube's colours on its edge, its camera buzzing, the "New" chip */
.clik-hb-stats .is-magic a { background: linear-gradient(rgba(40,20,120,.55), rgba(40,20,120,.55)) padding-box, linear-gradient(90deg, #0A5CFF, #F5104F, #FFD200, #0A5CFF) border-box; border: 1.5px solid transparent; padding: calc(4.5px * var(--hb-pk, 1)) calc(8.5px * var(--hb-pk, 1)); font-weight: 700; color: #fff; background-size: 100% 100%, 300% 100%; animation: clik-hb-edge 6s linear infinite; }
.clik-hb-stats .is-magic a:hover { background: linear-gradient(rgba(40,20,120,.35), rgba(40,20,120,.35)) padding-box, linear-gradient(90deg, #0A5CFF, #F5104F, #FFD200, #0A5CFF) border-box; background-size: 100% 100%, 300% 100%; }
@keyframes clik-hb-edge { to { background-position: 0 0, 300% 0; } }
/* 13 Nov: the edge rests while the banner is off the screen (its light kept the page's style worked out every frame while the feed was swiped) */
.clik-hb.is-away .clik-hb-stats .is-magic a { animation-play-state: paused; }
.clik-hb-cam { display: inline-flex; flex: none; color: #c4b5fd; }
.clik-hb-cam svg { color: inherit; }
.clik-hb-stats .is-magic a .clik-hb-cam { animation: clik-hb-buzz 2.2s linear infinite; }
.clik-hb-stats .is-magic a:hover .clik-hb-cam, .clik-hb-stats .is-magic a:focus-visible .clik-hb-cam { animation-duration: .45s; }
@keyframes clik-hb-buzz { 0%, 78%, 100% { rotate: 0deg; } 80% { rotate: -14deg; } 84% { rotate: 12deg; } 88% { rotate: -10deg; } 92% { rotate: 8deg; } 96% { rotate: -4deg; } }
.clik-hb-newchip { flex: none; white-space: nowrap; font-style: normal; font-size: calc(10px * var(--hb-pk, 1)); font-weight: 800; letter-spacing: .03em; line-height: calc(16px * var(--hb-pk, 1)); padding: 0 calc(6px * var(--hb-pk, 1)); border-radius: 999px; color: #1c1e21; background: linear-gradient(90deg, #FFD200, #ffe680); box-shadow: 0 0 8px rgba(255,210,0,.6); }

/* the floating listings */
.clik-hb-float { position: relative; align-self: stretch; min-height: clamp(296px, 34cqi, 360px); perspective: 900px; z-index: 2; }
.clik-hb-stagecards { position: absolute; inset: 0; translate: var(--hb-sh, 0px) 0; }
.clik-hb-stagecards { pointer-events: none; }
.clik-hb-card, .clik-hb-dots, .clik-hb-cube { pointer-events: auto; }
.clik-hb-stagecards[data-fit] .clik-hb-card { width: var(--hb-cw); margin-left: calc(var(--hb-cw) / -2); }
.clik-hb-card { position: absolute; top: auto; bottom: 26px; left: 50%; width: min(56%, 290px); margin-left: calc(min(56%, 290px) / -2); transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .36s ease, filter .36s ease; will-change: transform; }
.clik-hb-card > a { display: block; border-radius: 16px; overflow: hidden; background: var(--card); color: var(--ink); box-shadow: 0 14px 30px rgba(0,0,40,.32); transition: box-shadow .2s, scale .2s; }
.clik-hb-card > a:hover, .clik-hb-card > a:focus-visible { scale: 1.04; box-shadow: 0 18px 36px rgba(0,0,40,.42); outline: none; }
.clik-hb-card > a:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #0866FF; }
.clik-hb-ph { display: block; position: relative; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: #dfe3ea; }
.clik-hb-ph img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.clik-hb-price { position: absolute; top: 8px; inset-inline-start: 8px; padding: 5px 9px; border-radius: 999px; background: #fff; color: #1c1e21; font-weight: 800; font-size: 13px; line-height: 1; box-shadow: 0 0 0 1.5px #0866FF; white-space: nowrap; }
body.night-mode .clik-hb-price { background: #242526; color: #fff; }
.clik-hb-new { position: absolute; bottom: 8px; inset-inline-start: 8px; padding: 3px 7px; border-radius: 999px; background: #F5104F; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.clik-hb-cap { display: flex; flex-direction: column; gap: 2px; padding: 8px; min-width: 0; }
.clik-hb-cap b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-hb-cap span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-hb-cap svg { flex: none; width: 12px; height: 12px; }
/* the slots: a fan - left / front / right, the next one waiting outside */
.clik-hb-card.sl { transform: translateX(var(--xl, -44%)) translateY(20px) rotate(-12deg) scale(.7); z-index: 1; filter: brightness(.94); }
.clik-hb-card.s0 { transform: translateX(var(--x0, -24%)) translateY(8px) rotate(-6deg) scale(.84); z-index: 2; }
.clik-hb-card.s1 { transform: translateX(var(--x1, 0%)) translateY(-4px); z-index: 4; }
.clik-hb-card.s2 { transform: translateX(var(--x2, 24%)) translateY(8px) rotate(6deg) scale(.84); z-index: 3; }
.clik-hb-card.s3 { transform: translateX(var(--x3, 44%)) translateY(20px) rotate(12deg) scale(.7); z-index: 2; filter: brightness(.94); }
.clik-hb-card.out { transform: translateX(-104%) translateY(34px) rotate(-16deg) scale(.66); opacity: 0; z-index: 0; transition: transform .42s cubic-bezier(.4,0,.6,1), opacity .2s ease; }
.clik-hb-card.in { transform: translateX(150%) translateY(40px) rotate(18deg) scale(.7); opacity: 0; z-index: 0; }
.clik-hb-card.no-tr { transition: none !important; }
.clik-hb-float.is-few .clik-hb-card:not(.s1), .clik-hb-float.is-mid .clik-hb-card.sl { opacity: 0; pointer-events: none; }
.clik-hb-float.is-few .clik-hb-card.s1 { transform: translateY(-4px); }
[dir="rtl"] .clik-hb-card.sl { transform: translateX(calc(var(--xl, -44%) * -1)) translateY(20px) rotate(12deg) scale(.7); }
[dir="rtl"] .clik-hb-card.s0 { transform: translateX(calc(var(--x0, -24%) * -1)) translateY(8px) rotate(6deg) scale(.84); }
[dir="rtl"] .clik-hb-card.s1 { transform: translateX(calc(var(--x1, 0%) * -1)) translateY(-4px); }
[dir="rtl"] .clik-hb-card.s2 { transform: translateX(calc(var(--x2, 24%) * -1)) translateY(8px) rotate(-6deg) scale(.84); }
[dir="rtl"] .clik-hb-card.s3 { transform: translateX(calc(var(--x3, 44%) * -1)) translateY(20px) rotate(-12deg) scale(.7); }
[dir="rtl"] .clik-hb-card.out { transform: translateX(104%) translateY(34px) rotate(16deg) scale(.66); }
[dir="rtl"] .clik-hb-card.in { transform: translateX(-150%) translateY(40px) rotate(-18deg) scale(.7); }
.clik-hb-fav { position: absolute; top: 8px; inset-inline-end: 8px; width: 28px; height: 28px; border: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #F5104F; box-shadow: 0 2px 6px rgba(0,0,0,.2); cursor: pointer; transition: scale .15s; }
.clik-hb-fav svg { width: 16px; height: 16px; }
.clik-hb-fav:hover { scale: 1.12; }
.clik-hb-fav.is-on svg { fill: currentColor; }
.clik-hb-cube { position: absolute; z-index: 5; width: 44px; height: 48px; inset-inline-end: -2px; top: 38%; filter: drop-shadow(0 6px 8px rgba(0,0,30,.35)); }
.clik-hb-cube svg { position: relative; width: 100%; height: 100%; }
.clik-hb-cube.is-swipe svg { animation: clik-hb-swipe .56s cubic-bezier(.3,.7,.3,1); }
[dir="rtl"] .clik-hb-cube.is-swipe svg { animation-name: clik-hb-swipe-rtl; }
/* the swoosh the cube leaves behind: a streak in the cube's colours */
.clik-hb-swoosh { position: absolute; top: 46%; inset-inline-end: 50%; width: 120px; height: 10px; border-radius: 999px; background: linear-gradient(90deg, rgba(10,92,255,0), #0A5CFF 40%, #F5104F 70%, #FFD200); opacity: 0; transform-origin: 100% 50%; filter: blur(.5px); pointer-events: none; }
[dir="rtl"] .clik-hb-swoosh { background: linear-gradient(270deg, rgba(10,92,255,0), #0A5CFF 40%, #F5104F 70%, #FFD200); transform-origin: 0% 50%; }
.clik-hb-cube.is-swipe .clik-hb-swoosh { animation: clik-hb-trail .56s ease-out; }
@keyframes clik-hb-swipe { 0% { transform: none; } 22% { transform: translateX(10px) rotate(14deg) scale(.96); } 52% { transform: translateX(-58px) rotate(-28deg) scale(1.12); } 74% { transform: translateX(-46px) rotate(-18deg) scale(1.05); } 100% { transform: none; } }
@keyframes clik-hb-swipe-rtl { 0% { transform: none; } 22% { transform: translateX(-10px) rotate(-14deg) scale(.96); } 52% { transform: translateX(58px) rotate(28deg) scale(1.12); } 74% { transform: translateX(46px) rotate(18deg) scale(1.05); } 100% { transform: none; } }
@keyframes clik-hb-trail { 0%, 30% { opacity: 0; transform: scaleX(.1); } 52% { opacity: .95; transform: scaleX(1) translateX(-40px); } 100% { opacity: 0; transform: scaleX(.4) translateX(-90px); } }
[dir="rtl"] .clik-hb-cube.is-swipe .clik-hb-swoosh { animation-name: clik-hb-trail-rtl; }
@keyframes clik-hb-trail-rtl { 0%, 30% { opacity: 0; transform: scaleX(.1); } 52% { opacity: .95; transform: scaleX(1) translateX(40px); } 100% { opacity: 0; transform: scaleX(.4) translateX(90px); } }
.clik-hb-float { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.clik-hb-float img { -webkit-user-drag: none; }
.clik-hb-float.is-drag { cursor: grabbing; }
/* the index under the fan, like Le Mag's widget: small dots, the current one a long bar in the cube's colours; on a
   soft dark pill so the blue end reads on the blue banner */
.clik-hb-dots { position: absolute; bottom: 4px; left: 50%; translate: calc(-50% + var(--hb-sh, 0px)) 0; display: flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 999px; background: rgba(0,10,60,.28); z-index: 4; }
.clik-hb-dots:empty { display: none; }
.clik-hb-dots button { flex: none; width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s ease, background .3s ease; }
.clik-hb-dots button:hover { background: rgba(255,255,255,.8); }
.clik-hb-dots button[aria-current="true"] { width: 22px; background: linear-gradient(90deg, #0B5FFF, #F0125A 60%, #FFD000); box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
[dir="rtl"] .clik-hb-dots button[aria-current="true"] { background: linear-gradient(270deg, #0B5FFF, #F0125A 60%, #FFD000); }
.clik-hb-dots button:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0866FF; }

/* the search: floats on the banner's bottom edge - the classic box's markup (its script, the dictation microphone and the
   clear x of clikdictate.js / clikclear.js find it themselves), restyled */
.clik-hb .clik-hero-search { position: absolute; left: 8px; right: 8px; bottom: -28px; z-index: 6; display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0; margin: 0; padding: 4px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(8,40,140,.18); }
body.night-mode .clik-hb .clik-hero-search { background: var(--field); border-color: var(--line); box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.clik-hb .clik-hero-field { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 8px; border: 0; border-radius: 10px; color: var(--mu); cursor: text; }
.clik-hb .clik-hero-field.is-what { position: static; }
.clik-hb .clik-hero-field.is-where { flex: 0 0 min(34%, max(var(--clik-where-w, 34%), 26%)); border: 0; border-inline-start: 1px solid var(--line); border-radius: 0; }
.clik-hb .clik-hero-field > svg { flex: none; }
.clik-hb .clik-hero-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; box-shadow: none; padding: 0; }
.clik-hb .clik-hero-field input::placeholder { color: #8a8d91; }
.clik-hb .clik-hero-go { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: auto; margin: 0; padding: 0 20px; border: 0; border-radius: 10px; background: var(--b); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, scale .15s; }
.clik-hb .clik-hero-go:hover { background: #0656d6; }
.clik-hb .clik-hero-go:active { scale: .97; }
/* a sentence: the hint over the suggestions, the button while the sentence is read */
.clik-hero-smart { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: #0866FF; font-size: 13px; font-weight: 700; line-height: 1.3; }
.clik-hero-smart svg { flex: none; }
body.night-mode .clik-hero-smart { color: #4C9AFF; }
.clik-hb .clik-hero-go.is-reading { pointer-events: none; background: #0656d6; }
.clik-hb .clik-hero-go.is-reading svg { animation: clik-hb-read 1s ease-in-out infinite; }
@keyframes clik-hb-read { 50% { opacity: .35; scale: .8; } }
@media (prefers-reduced-motion: reduce) { .clik-hb .clik-hero-go.is-reading svg { animation: none; } }
/* the suggestions (data/search) and the city list (clikmap.js) open under the bar, over what follows */
.clik-hb .clik-hero-field.is-what .clik-hero-suggest { position: absolute; top: calc(100% + 8px) !important; left: 0 !important; right: 0 !important; width: auto !important; z-index: 30; }
.clik-hb .clik-geo-list { z-index: 30; max-height: 360px !important; overflow-y: auto; }
.clik-hb .clik-geo-list .list-group-item:hover, .clik-hb .clik-geo-list .list-group-item.active { background: #f0f2f5; color: #050505; }
body.night-mode .clik-hb .clik-geo-list { background: #242526; color: #e4e6eb; border-color: #3a3b3c; }
body.night-mode .clik-hb .clik-geo-list .list-group-item { color: #e4e6eb; }
body.night-mode .clik-hb .clik-geo-list .list-group-item:hover, body.night-mode .clik-hb .clik-geo-list .list-group-item.active { background: #3a3b3c; color: #e4e6eb; }

/* under the banner: the button */
.clik-hb-under { display: flex; align-items: center; gap: 8px; padding: 28px 8px 0; }
.clik-hb-cta { position: relative; overflow: hidden; display: flex; flex: 1 1 100%; width: 100%; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; border-radius: 999px; background: var(--cy); color: #1c1e21 !important; font-weight: 800; font-size: 16px; box-shadow: 0 6px 16px rgba(255,210,0,.35), inset 0 -2px 0 rgba(0,0,0,.08); transition: translate .2s, box-shadow .2s; }
.clik-hb-cta:hover { translate: 0 -2px; box-shadow: 0 10px 22px rgba(255,210,0,.45), inset 0 -2px 0 rgba(0,0,0,.08); }

/* popular categories */
.clik-hb-ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px; }
.clik-hb-ch h2 { margin: 0; font-size: 20px; font-weight: 800; }
.clik-hb-ch a { display: inline-flex; align-items: center; gap: 4px; color: var(--b) !important; font-weight: 700; font-size: 14px; }
[dir="rtl"] .clik-hb-ch a svg, [dir="rtl"] .clik-hb-cta-arrow { transform: scaleX(-1); }
.clik-hb-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 8px; }
.clik-hb-cat { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); transition: translate .25s, box-shadow .25s; }
.clik-hb-cat:hover, .clik-hb-cat:focus-visible { box-shadow: 0 10px 24px rgba(8,102,255,.18); outline: none; }
.clik-hb-cat:focus-visible { box-shadow: 0 0 0 3px #0866FF; }
.clik-hb-cat-ph { aspect-ratio: 16 / 10; overflow: hidden; }
.clik-hb-cat-ph img { width: 100%; height: 100%; object-fit: cover; transition: scale .45s; }
.clik-hb-cat:hover img { scale: 1.07; }
.clik-hb-cat-t { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px; text-align: center; }
.clik-hb-cat-t b { font-size: 15px; font-weight: 700; }
.clik-hb-cat-t small { font-size: 12px; color: var(--mu); }

/* ---------- wide boxes (a wide feed column): bigger listings fill the banner's height ---------- */
@container (min-width: 1000px) {
  .clik-hb-card { width: min(46%, 330px); margin-left: calc(min(46%, 330px) / -2); }
}

/* ---------- narrow boxes (phones, narrow columns) ---------- */
@container (max-width: 640px) {
  .clik-hb { border-radius: 0; }
  .clik-hb-ban { grid-template-columns: 1fr; padding: 8px; border-radius: 0; min-height: 0; }
  .clik-hb-txt { padding: 0; min-width: 0; align-self: stretch; position: relative; z-index: 3; }
  .clik-hb-stats { flex-direction: row; align-items: stretch; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 -8px; padding: 2px 8px 4px; scroll-padding-inline: 8px; }
  .clik-hb-stats::-webkit-scrollbar { display: none; }
  .clik-hb-stats li { scroll-snap-align: start; max-width: none; }
  .clik-hb-stats a { white-space: nowrap; }
  .clik-hb-stats.is-fade-e { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .clik-hb-stats.is-fade-s { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
  .clik-hb-stats.is-fade-s.is-fade-e { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
  [dir="rtl"] .clik-hb-stats.is-fade-e { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
  [dir="rtl"] .clik-hb-stats.is-fade-s { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .clik-hb h1 { padding-inline-end: 0; margin-top: 36px; }
  .clik-hb-float { min-height: 284px; margin-top: -40px; }
  .clik-hb-card { width: 58%; margin-left: -29%; }
  .clik-hb .clik-hero-search { position: relative; left: auto; right: auto; bottom: auto; flex-direction: column; }
  .clik-hb .clik-hero-field { height: 44px; flex: none; }
  .clik-hb .clik-hero-field.is-where { flex: none; border-inline-start: 0; border-top: 1px solid var(--line); }
  .clik-hb .clik-hero-go { height: 44px; }
  .clik-hb-under { padding: 0 8px; }
  .clik-hb-cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 8px; scrollbar-width: none; padding-bottom: 4px; }
  .clik-hb-cats::-webkit-scrollbar { display: none; }
  .clik-hb-cat { flex: 0 0 calc((100% - 16px) / 2.4); scroll-snap-align: start; }
  .clik-hb-cat-t b { font-size: 14px; }
  .clik-hb-cube { width: 36px; height: 40px; inset-inline-end: 0; top: 40%; }
  .clik-hb-card { bottom: 26px; }
  [dir="rtl"] .clik-hb-stagecards { translate: 0 0; }
  .clik-hb-stagecards { --xl: -44%; --x0: -24%; --x1: 0%; --x2: 24%; --x3: 44%; }
}

/* ---------- motion: only the cube's swipe, the cards changing places and the "Annonce magique" pill move (the owner,
   28 Oct: every other animation of the box taken out - it loaded the browser) ---------- */
.clik-hb.is-away *, .clik-hb.is-away *::before, .clik-hb.is-away *::after { animation-play-state: paused !important; }
.clik-hb.no-motion *, .clik-hb.no-motion *::before, .clik-hb.no-motion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .clik-hb *, .clik-hb *::before, .clik-hb *::after { animation: none !important; transition: none !important; }
}

/* the suggestions walked with the keyboard (↓ / ↑, Enter): the row lit like under the mouse, a CLIK-blue bar at its
   start, the "see all" button lit in its own colours */
.clik-hero-suggest .clik-sr { position: relative; transition: background .15s; border-radius: 8px; }
.clik-hero-suggest .clik-sr.is-key { background: rgba(8, 102, 255, .1); box-shadow: inset 0 0 0 1px rgba(8, 102, 255, .35); }
.clik-hero-suggest .clik-sr.is-key::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: #0866FF; animation: clik-hero-key .2s ease-out; }
body.night-mode .clik-hero-suggest .clik-sr.is-key { background: rgba(76, 154, 255, .16); box-shadow: inset 0 0 0 1px rgba(76, 154, 255, .45); }
.clik-hero-suggest .clik-hero-all.is-key { outline: 2px solid #0866FF; outline-offset: -2px; }
@keyframes clik-hero-key { from { transform: scaleY(.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .clik-hero-suggest .clik-sr.is-key::before { animation: none; } }

/* the fan follows the mouse / finger while it is held (clik-hero.js sets --hb-drag), and springs back when let go */
.clik-hb-stagecards { transform: translate3d(var(--hb-drag, 0px), 0, 0); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.clik-hb-float.is-drag .clik-hb-stagecards { transition: none; }
.clik-hb-float.is-drag .clik-hb-card > a { scale: 1; cursor: grabbing; }
.clik-hb-card img { -webkit-user-drag: none; user-select: none; }
@media (prefers-reduced-motion: reduce) { .clik-hb-stagecards { transition: none; } }

/* the fan with the keyboard: a ring round it while it has the focus (the arrows move it, Enter opens the front listing);
   a flick lights the front card a moment */
.clik-hb-float:focus { outline: none; }
.clik-hb-float:focus-visible { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: -2px; border-radius: 18px; }
.clik-hb-float:focus-visible .clik-hb-card.s1 > a { box-shadow: 0 0 0 3px #FFD200, 0 18px 36px rgba(0, 0, 40, .42); }
@media (prefers-reduced-motion: no-preference) {
  .clik-hb:not(.no-motion) .clik-hb-float.is-flick .clik-hb-card.s1 > a { animation: clik-hb-flick .6s ease-out; }
}
@keyframes clik-hb-flick { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 0, .9), 0 14px 30px rgba(0, 0, 40, .32); } 100% { box-shadow: 0 0 0 14px rgba(255, 210, 0, 0), 0 14px 30px rgba(0, 0, 40, .32); } }
.clik-hb-card a, .clik-hb-card img { -webkit-user-drag: none; }

/* ---------- phones: the title and its line start at the size clik-hero.js will fit them to (7 Nov) - they started at
   30 px / 17 px and were shrunk ~3 s later, so the pills, the search and the buttons under them jumped 18 px up (Google's
   CLS). The fit's own ratio of the banner's width (measured on the live banner at 320 / 390 / 414, French and Arabic);
   once the script has set --hb-tfs / --hb-lfs its exact value takes over ---------- */
@container (max-width: 640px) {
  .clik-hb:not([style*="--hb-tfs"]) h1 { font-size: clamp(14px, calc((100cqi - 16px) * .0446), 34px); }
  .clik-hb[dir="rtl"]:not([style*="--hb-tfs"]) h1 { font-size: clamp(14px, calc((100cqi - 16px) * .0626), 34px); }
  .clik-hb:not([style*="--hb-lfs"]) .clik-hb-line { font-size: clamp(11px, calc((100cqi - 16px) * .0359), 17px); }
  .clik-hb[dir="rtl"]:not([style*="--hb-lfs"]) .clik-hb-line { font-size: 17px; }
}

/* 9 Nov (the owner: "remove the background colors while keeping the blue banner with its dots"): one CLIK blue, no
   violet corner and no red / yellow / sky glows - the dots stay */
.clik-hb-ban:not(#_) { background: linear-gradient(135deg, #2f7bff 0%, #0a4dff 55%, #0840d8 100%); }
body.night-mode .clik-hb-ban:not(#_) { background: linear-gradient(135deg, #1d5be0 0%, #0a36b8 55%, #082d99 100%); }
.clik-hb-sky i { display: none; }
/* 14 Nov (the owner: « add same space for cube & logo on the welcome box same as what's on the PRO widget »): on the
   banner the cube and the letters each wear a white edge of about 3 px, and with a fixed 6 px between them the two edges
   touched (measured on the live page) - on the PRO card the cube has no white edge, so about 5 px of the card show
   between it and the letters' edge (.19 of its cube). Here: the two edges' 6 px, then the same share of the cube */
.clik-hb .clik-brand { gap: calc(6px + var(--hb-cube, 27px) * .19); }
/* 14 Nov (the owner: « why the cube is bigger than the logo on the welcome box »): the logo was drawn at .74 of the
   cube's height. Its letters are now exactly as tall as the cube (they fill .982 of the logo's picture), both on one
   middle - the title's letters, the cube and the logo's letters share one height */
.clik-hb .clik-brand-word { height: calc(var(--hb-cube, 27px) * 1.018); }
.clik-hb .clik-brand { align-items: center; }

/* CLIK.ma 15 Nov round 2 (the owner's extra 1): in Ramadan and the two Aïds a crescent and its star sit on the logo's cube
   corner like a sticker (AdminCP clik_feast_hero; the Hijri day: clik_gs_feast()); still - the banner moves nothing else */
.clik-hb.is-feast .clik-brand::before,.clik-hb.is-feast .clik-brand::after{content:"";position:absolute;pointer-events:none;z-index:1}
.clik-hb.is-feast .clik-brand::before{left:calc(var(--hb-cube, 27px) * -.34);top:calc(var(--hb-cube, 27px) * -.2);width:calc(var(--hb-cube, 27px) * .52);aspect-ratio:1;border-radius:50%;
  background:linear-gradient(140deg,#FFF1B8,#F5C542 45%,#D9940F);-webkit-mask:radial-gradient(circle at 70% 36%,transparent 47%,#000 49%);mask:radial-gradient(circle at 70% 36%,transparent 47%,#000 49%);
  filter:drop-shadow(0 0 4px rgba(255,214,90,.8))}
.clik-hb.is-feast .clik-brand::after{left:calc(var(--hb-cube, 27px) * .06);top:calc(var(--hb-cube, 27px) * -.14);width:calc(var(--hb-cube, 27px) * .2);aspect-ratio:1;background:#FFE07A;
  clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);filter:drop-shadow(0 0 3px rgba(255,224,122,.9))}
.clik-hb.is-feast.is-pal.is-adha .clik-brand::before{background:linear-gradient(140deg,#B7F5CF,#22C55E 45%,#0B8A45)}

/* CLIK.ma 19 Nov (the owner: « take real HD photo », « make the banner each time it loads with new background »,
   « 11 hd landmarks »): a landmark of Morocco behind the banner, a new one at each visit (the picker in __clik_hb.tpl,
   the photos made by tools/hero-photos/build.py). The blue banner stays until the photo has loaded; clikHbPhotoFit()
   (clik-hero.js) sizes it to cover the banner and slides its landmark into the room the pills and the fan leave. A dark
   veil keeps the white words readable: on the words' side, along the top under the title, a little at the bottom */
.clik-hb-photo { position: absolute; inset: 0; background: no-repeat 50% 55% / cover; opacity: 0; transition: opacity .35s ease; }
.clik-hb.has-photo .clik-hb-photo { opacity: 1; }
.clik-hb.no-motion .clik-hb-photo { transition: none; }
@media (prefers-reduced-motion: reduce) { .clik-hb-photo { transition: none; } }
.clik-hb.has-photo .clik-hb-sky b { -webkit-mask-image: none; mask-image: none; background:
  linear-gradient(90deg, rgba(6,12,46,.80) 0%, rgba(6,12,46,.56) 32%, rgba(6,12,46,.16) 58%, rgba(6,12,46,0) 76%),
  linear-gradient(180deg, rgba(6,12,46,.58) 0%, rgba(6,12,46,.14) 26%, rgba(6,12,46,0) 52%, rgba(6,12,46,.40) 100%); }
.clik-hb[dir="rtl"].has-photo .clik-hb-sky b { background:
  linear-gradient(270deg, rgba(6,12,46,.80) 0%, rgba(6,12,46,.56) 32%, rgba(6,12,46,.16) 58%, rgba(6,12,46,0) 76%),
  linear-gradient(180deg, rgba(6,12,46,.58) 0%, rgba(6,12,46,.14) 26%, rgba(6,12,46,0) 52%, rgba(6,12,46,.40) 100%); }
body.night-mode .clik-hb.has-photo .clik-hb-photo { filter: brightness(.86); }
@container (max-width: 640px) {
  /* phones: the title, the pills and the fan are stacked - the veil runs down from the top */
  .clik-hb.has-photo .clik-hb-sky b, .clik-hb[dir="rtl"].has-photo .clik-hb-sky b { background: linear-gradient(180deg, rgba(6,12,46,.74) 0%, rgba(6,12,46,.52) 30%, rgba(6,12,46,.2) 56%, rgba(6,12,46,.5) 100%); }
}

/* the photo's place and its city's listings: a small pin in the banner's bottom end corner, the card opens above it on a
   tap, a mouse over it or the keyboard's focus */
.clik-hb-phc { position: absolute; inset-inline-end: 8px; bottom: 38px; z-index: 5; }
.clik-hb-phc[hidden], .clik-hb:not(.has-photo) .clik-hb-phc { display: none; }
.clik-hb-phc-b { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(4,10,40,.55); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.28); cursor: pointer; }
.clik-hb-phc-b:hover, .clik-hb-phc-b[aria-expanded="true"] { background: rgba(4,10,40,.8); }
.clik-hb-phc-b:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0866FF; }
.clik-hb-phc-p { position: absolute; inset-inline-end: 0; bottom: calc(100% + 8px); display: flex; flex-direction: column; gap: 4px; width: max-content; max-width: min(300px, calc(100cqi - 16px)); padding: 8px 12px; border-radius: 12px; background: rgba(8,12,36,.94); color: #fff; font-size: 12px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.clik-hb-phc-p[hidden] { display: none; }
.clik-hb-phc-p b { font-size: 13px; font-weight: 700; }
/* the photo's city: its listings, a pill under the place */
.clik-hb-phc-p a.clik-hb-phc-u { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 28px; margin-block: 2px 0; padding: 0 10px 0 12px; border-radius: 14px; background: #0866FF; color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.clik-hb-phc-p a.clik-hb-phc-u[hidden] { display: none; }
.clik-hb-phc-p a.clik-hb-phc-u:hover { background: #0657d9; }
.clik-hb-phc-p a.clik-hb-phc-u:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0866FF; }
[dir="rtl"] .clik-hb-phc-u svg { transform: scaleX(-1); }
/* a phone: the search fills the banner's foot and the logo its end corner - the pin takes the free start corner and
   its card opens under it */
@container (max-width: 640px) {
  .clik-hb-phc { top: 8px; bottom: auto; inset-inline-start: 8px; inset-inline-end: auto; }
  .clik-hb-phc-p { top: calc(100% + 8px); bottom: auto; inset-inline-start: 0; inset-inline-end: auto; }
}

/* the search wears the ring in the cube's three colours (__clik_ring.tpl, AdminCP clik_hb_ring): the bar keeps a 3 px
   transparent border where the ring turns, and the field's colour (::after) fills its middle - nothing inside moves */
.clik-hb.is-ring .clik-hero-search:not(#_) { padding: 2px; border: 3px solid transparent; background: none; box-shadow: 0 10px 24px rgba(8,20,90,.24); }
.clik-hb.is-ring .clik-hero-search::after { content: ''; position: absolute; inset: -3px; z-index: -1; border: 3px solid transparent; border-radius: inherit; background: var(--field) padding-box; pointer-events: none; }
body.night-mode .clik-hb.is-ring .clik-hero-search:not(#_) { box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.clik-hb.is-ring .clik-hero-search > .clik-ring { inset: -3px; }
/* the members' banner (22 Nov): 8 px under the post box like every block of the feed; a heart saved pops */
.clik-hb.is-member { margin: 8px 0; }
.clik-hb-fav.is-pop svg { animation: clik-hb-favpop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes clik-hb-favpop { 0% { scale: .6; } 60% { scale: 1.25; } 100% { scale: 1; } }
@media (prefers-reduced-motion: reduce) { .clik-hb-fav.is-pop svg { animation: none; } }
/* 24 Nov (the owner: « all banners … the same animation », « use the darker cube for day … white cube for night »): the cube that
   swipes the listings is the banners' grey 3D cube (__clik_cube_spin.tpl), its swipe unchanged */
.clik-hb-cube .clik-c3 { display: block; width: 100%; height: 100%; --c3: 100%; }
.clik-hb-cube.is-swipe .clik-c3 { animation: clik-hb-swipe .56s cubic-bezier(.3,.7,.3,1); }
[dir="rtl"] .clik-hb-cube.is-swipe .clik-c3 { animation-name: clik-hb-swipe-rtl; }
@media (prefers-reduced-motion: reduce) { .clik-hb-cube.is-swipe .clik-c3 { animation: none; } }
