/* CLIK.ma - Ghali help (/ghali: clik_ghali.tpl, js/core/clik-ghali.js). Model B: Ghali's card, the conversation (the
   assistant's own window held in the page), "Found for you"; model C's voice view over the page while the voice
   conversation runs. Edge to edge between the left menu and the chat bar (8 px), one 8 px grid, day / night (follows
   the site's mode unless AdminCP keeps it day: .is-day), RTL by logical sides; every animation under "no-preference"
   and off with .no-motion. Classes clik-gh- only. */
.clik-gh { --gh-ink: #050505; --gh-mute: #65676b; --gh-card: #fff; --gh-soft: #f0f2f5; --gh-tile: #eef4ff; --gh-line: rgba(0, 0, 0, .08); --gh-shadow: 0 1px 3px rgba(16, 24, 40, .1);
  display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 8px; padding: 8px; min-width: 0; color: var(--gh-ink);
  height: calc(100vh - var(--clik-hdr-h, 56px)); height: calc(100dvh - var(--clik-hdr-h, 56px)); }
.clik-gh.no-rail { grid-template-columns: 300px minmax(0, 1fr); }
body.night-mode .clik-gh:not(.is-day) { --gh-ink: #e4e6eb; --gh-mute: #b0b3b8; --gh-card: #242526; --gh-soft: #2f3031; --gh-tile: #1e2a40; --gh-line: rgba(255, 255, 255, .1); --gh-shadow: none; }
.clik-gh svg { flex: none; }
.clik-gh a { text-decoration: none !important; }

/* ---------- Ghali's card ---------- */
.clik-gh-side { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 16px; border-radius: 16px; background: var(--gh-card); box-shadow: var(--gh-shadow); }
.clik-gh-side::-webkit-scrollbar { display: none; }
.clik-gh-av { position: relative; flex: none; width: 112px; height: 112px; margin: 16px auto 8px; }
.clik-gh-av img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; border: 4px solid var(--gh-card); object-fit: cover; }
.clik-gh-av-ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(#0A5CFF, #F5104F, #FFD200, #0A5CFF); }
.clik-gh-av-ring2 { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(8, 102, 255, .25); }
.clik-gh-av-on { position: absolute; z-index: 2; bottom: 6px; inset-inline-end: 6px; width: 18px; height: 18px; border-radius: 50%; background: #22c55e; border: 3px solid var(--gh-card); }
.cd .clik-gh-title, .clik-gh-title { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 10px; margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--gh-ink); }
.clik-gh-title .clik-brand.is-inline { flex: none; margin: 0; }
.clik-gh-online { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: #16A34A; }
.clik-gh-online i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.clik-gh-langs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; color: var(--gh-mute); font-size: 13px; font-weight: 600; }
.clik-gh-langs span { padding: 2px 10px; border-radius: 999px; background: var(--gh-soft); color: var(--gh-ink); }
.clik-gh-talk { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #0866FF, #7c3aed); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 6px 18px rgba(8, 102, 255, .28); transition: transform .16s ease, box-shadow .16s ease; }
.clik-gh-talk:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8, 102, 255, .36); }
.clik-gh-talk:active { transform: scale(.98); }
.clik-gh-talk:focus-visible { outline: 2px solid #0866FF; outline-offset: 3px; }
.clik-gh-can { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clik-gh-can li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--gh-soft); font-size: 13px; font-weight: 600; line-height: 1.3; }
.clik-gh-can i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; color: #fff; }
.clik-gh-can i.is-blue { background: #0866FF; } .clik-gh-can i.is-red { background: #F5104F; } .clik-gh-can i.is-amber { background: #f59e0b; } .clik-gh-can i.is-violet { background: #7C3AED; } .clik-gh-can i.is-green { background: #16A34A; }
.clik-gh-recent { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--gh-line); }
.clik-gh-recent[hidden] { display: none; }
.clik-gh-recent-h { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gh-mute); }
.clik-gh-recent-h b { color: var(--gh-ink); }
.clik-gh-recent-h button { margin-inline-start: auto; padding: 2px 8px; border: 0; border-radius: 999px; background: transparent; color: #0866FF; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.clik-gh-recent-h button:hover { background: var(--gh-tile); }
.clik-gh-recent-l { display: flex; flex-wrap: wrap; gap: 8px; }
.clik-gh-rq { max-width: 100%; padding: 6px 12px; border: 1px solid var(--gh-line); border-radius: 999px; background: var(--gh-card); color: var(--gh-ink); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-gh-rq:hover { border-color: #0866FF; color: #0866FF; }

/* ---------- the conversation: the assistant's window held in the page ---------- */
.clik-gh-chat { position: relative; min-width: 0; min-height: 0; border-radius: 16px; background: var(--gh-card); box-shadow: var(--gh-shadow); overflow: hidden; }
.clik-gh-wait { position: absolute; inset: 0; display: grid; place-items: center; }
.clik-gh-cube { display: block; width: 68px; height: 68px; background: var(--clik-cube) center / contain no-repeat; filter: drop-shadow(0 4px 8px rgba(8, 102, 255, .25)); }
.clik-gh-wait .clik-gh-cube { animation: clik-cube-in .66s cubic-bezier(.2, .9, .3, 1.2) both, clik-feed-cube 1.1s ease-in-out .66s infinite; }
.clik-gh .clik-assist.is-embed:not(#_) { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; z-index: auto; width: 100%; max-width: none; height: 100%; max-height: none;
  opacity: 1; transform: none; visibility: visible; pointer-events: auto; border-radius: 0; box-shadow: none; transition: none; }
.clik-gh .clik-assist.is-embed::before, .clik-gh .clik-assist.is-embed::after { display: none !important; }
.clik-gh .clik-assist.is-embed .js_assist-close { display: none; }
.clik-gh .clik-assist.is-embed .clik-assist-list { padding: 16px; }
.clik-gh .clik-assist.is-embed .clik-assist-msg { max-width: min(78%, 640px); }

/* ---------- Found for you ---------- */
.clik-gh-rail { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 16px; border-radius: 16px; background: var(--gh-card); box-shadow: var(--gh-shadow); }
.clik-gh-rail::-webkit-scrollbar { display: none; }
.cd .clik-gh-rail h2, .clik-gh-rail h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 800; color: var(--gh-ink); }
.clik-gh-rail h2 em { margin-inline-start: auto; min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--gh-tile); color: #0866FF; font-style: normal; font-size: 12px; text-align: center; }
.clik-gh-rail-l { display: flex; flex-direction: column; gap: 8px; }
.clik-gh-rail-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 24px 0; color: var(--gh-mute); font-size: 13.5px; text-align: center; }
.clik-gh-rail-empty .clik-gh-cube { width: 56px; height: 56px; opacity: .85; }
.clik-gh-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px; padding-inline-end: 40px; border-radius: 12px; background: var(--gh-soft); color: var(--gh-ink); animation: clik-gh-in .4s ease backwards; animation-delay: calc(var(--i, 0) * 60ms); transition: transform .16s ease, box-shadow .16s ease; }
.clik-gh-item:hover { color: var(--gh-ink); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8, 102, 255, .16); }
.clik-gh-item-th { position: relative; display: block; width: 72px; height: 56px; border-radius: 9px; overflow: hidden; background: linear-gradient(135deg, #e7f0ff, #fdecef); }
body.night-mode .clik-gh:not(.is-day) .clik-gh-item-th { background: linear-gradient(135deg, #1e2a40, #3a2330); }
.clik-gh-item-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clik-gh-item-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.clik-gh-item-tx b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.25; }
.clik-gh-item-tx small { color: var(--gh-mute); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clik-gh-item-p { color: #0866FF; font-size: 13px; font-weight: 800; unicode-bidi: isolate; align-self: flex-start; }
body.night-mode .clik-gh:not(.is-day) .clik-gh-item-p { color: #6ea8ff; }
.clik-gh .clik-gh-item-h:not(#_) { top: 50%; inset-inline-end: 6px; margin-top: -15px; }
.clik-gh-rail-all, .clik-gh-rail-fav { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.clik-gh-rail-all { background: linear-gradient(135deg, #0866FF, #7c3aed); color: #fff !important; }
.clik-gh-rail-all[hidden] { display: none; }
.clik-gh-rail-fav { border: 1px solid var(--gh-line); color: #F5104F !important; }
.clik-gh-rail-fav:hover { background: rgba(245, 16, 79, .06); }
@keyframes clik-gh-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- the voice view (model C) ---------- */
.clik-gh-voice { position: fixed; inset: 0; z-index: 1047; display: flex; flex-direction: column; align-items: center; gap: 16px; overflow-y: auto; padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px)); color: #fff; text-align: center;
  background: radial-gradient(90% 70% at 50% 35%, #2541c9 0%, #101a63 55%, #070b2e 100%); opacity: 0; transition: opacity .24s ease; }
.clik-gh-voice[hidden] { display: none; }
.clik-gh-voice.is-on { opacity: 1; }
.clik-gh-voice::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.5px); background-size: 46px 46px; opacity: .22; }
body.clik-gh-voicing .clik-dict.is-talk { opacity: 0 !important; pointer-events: none !important; }
.clik-gh-v-top { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 720px; min-height: 40px; }
.clik-gh-v-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.clik-gh-v-title .clik-brand.is-inline { margin: 0; }
.clik-gh-v-title .clik-brand :is(img, svg.clik-wm) { filter: drop-shadow(0 0 .6px #fff) drop-shadow(0 0 .6px #fff) drop-shadow(0 0 .6px #fff); }
.clik-gh-v-x { position: absolute; inset-inline-end: 0; top: 2px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.clik-gh-v-x:hover { background: rgba(255, 255, 255, .24); }
.clik-gh-orb { position: relative; flex: none; width: 280px; height: 280px; }
.clik-gh-orb-r { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); }
.clik-gh-orb-c { position: absolute; inset: 54px; border-radius: 50%; background: conic-gradient(from 0deg, #0A5CFF, #7c3aed, #F5104F, #FFD200, #0A5CFF); box-shadow: 0 0 60px rgba(124, 58, 237, .6); }
.clik-gh-orb-f { position: absolute; z-index: 2; inset: 64px; border-radius: 50%; overflow: hidden; }
.clik-gh-orb-f img { display: block; width: 100%; height: 100%; object-fit: cover; }
.clik-gh-v-state { position: relative; margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #FFD200; }
[dir="rtl"] .clik-gh-v-state { letter-spacing: 0; }
.clik-gh-v-live { position: relative; max-width: 640px; min-height: 1.4em; margin: 0; font-size: 22px; font-weight: 700; line-height: 1.35; }
.clik-gh-v-ans { position: relative; width: 100%; max-width: 640px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); font-size: 15px; line-height: 1.5; text-align: start; }
.clik-gh-v-ans[hidden] { display: none; }
.clik-gh-v-cards { position: relative; display: flex; justify-content: safe center; gap: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.clik-gh-v-cards:empty { display: none; }
.clik-gh-vc { flex: 0 0 140px; border-radius: 12px; overflow: hidden; background: #fff; color: #050505 !important; text-align: start; animation: clik-gh-in .4s ease backwards; }
.clik-gh-vc-th { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e7f0ff, #fdecef); }
.clik-gh-vc-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clik-gh-vc-p { position: absolute; inset-inline-start: 6px; bottom: 6px; padding: 3px 8px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px #0866FF; font-size: 12px; font-weight: 800; }
.clik-gh-vc-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 8px 8px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.clik-gh-v-ctl { position: relative; display: flex; align-items: center; gap: 16px; margin-top: auto; }
.clik-gh-v-key { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.clik-gh-v-key:hover { background: rgba(255, 255, 255, .24); }
.clik-gh-v-big { display: grid; place-items: center; width: 76px; height: 76px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #F5104F, #ff6a3d); color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(245, 16, 79, .45); }
.clik-gh-v-big:active, .clik-gh-v-key:active { transform: scale(.94); }
.clik-gh-voice button:focus-visible { outline: 2px solid #FFD200; outline-offset: 3px; }

/* ---------- the day look kept at night (AdminCP: night off) ---------- */
body.night-mode .clik-gh.is-day .clik-assist.is-embed { background: #fff; color: #050505; }
body.night-mode .clik-gh.is-day .clik-assist-list { background: #f4f6fb; }
body.night-mode .clik-gh.is-day .clik-assist-msg.is-bot { background: #fff; color: #050505; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
body.night-mode .clik-gh.is-day .clik-assist-form, body.night-mode .clik-gh.is-day .clik-assist-note { background: #fff; border-top-color: #e4e6eb; }
body.night-mode .clik-gh.is-day .clik-assist-form textarea { background: #f7f8fa; border-color: #dfe3ea; color: #050505; }
body.night-mode .clik-gh.is-day .clik-assist-card:not(#_) { background: #fff; color: #050505; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .clik-gh:not(.no-motion) .clik-gh-av-ring { animation: clik-gh-spin 6s linear infinite; }
  .clik-gh:not(.no-motion) .clik-gh-av-ring2 { animation: clik-gh-glow 3s ease-in-out infinite; }
  .clik-gh:not(.no-motion) .clik-gh-side > *, .clik-gh:not(.no-motion) .clik-gh-rail { animation: clik-gh-in .5s ease backwards; }
  .clik-gh:not(.no-motion) .clik-gh-voice .clik-gh-orb-r { animation: clik-gh-wave 2.4s ease-out infinite; }
  .clik-gh:not(.no-motion) .clik-gh-voice .clik-gh-orb-r:nth-child(2) { animation-delay: .8s; }
  .clik-gh:not(.no-motion) .clik-gh-voice .clik-gh-orb-r:nth-child(3) { animation-delay: 1.6s; }
  .clik-gh:not(.no-motion) .clik-gh-voice .clik-gh-orb-c { animation: clik-gh-spin 5s linear infinite; }
  .clik-gh:not(.no-motion) .clik-gh-voice[data-st="think"] .clik-gh-orb-c { animation-duration: 1.2s; }
  .clik-gh:not(.no-motion) .clik-gh-voice[data-st="speak"] .clik-gh-orb-f { animation: clik-gh-talk 1.2s ease-in-out infinite; }
}
@keyframes clik-gh-spin { to { transform: rotate(360deg); } }
@keyframes clik-gh-glow { 50% { opacity: .5; transform: scale(1.06); } }
@keyframes clik-gh-wave { from { transform: scale(.55); opacity: 1; border-color: rgba(255, 210, 0, .6); } to { transform: scale(1.05); opacity: 0; } }
@keyframes clik-gh-talk { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .clik-gh *, .clik-gh-voice { animation: none !important; transition: none !important; } }

/* ---------- a narrower screen: the rail under; phones: one column, edge to edge ---------- */
@media (max-width: 1279.98px) {
  .clik-gh:not(.no-rail) { grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: auto; }
  .clik-gh:not(.no-rail) .clik-gh-chat { height: calc(100vh - var(--clik-hdr-h, 56px) - 16px); }
  .clik-gh:not(.no-rail) .clik-gh-side { max-height: calc(100vh - var(--clik-hdr-h, 56px) - 16px); }
  .clik-gh-rail { grid-column: 1 / -1; overflow: visible; }
  .clik-gh-rail-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .clik-gh-rail-empty { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .clik-gh, .clik-gh.no-rail, .clik-gh:not(.no-rail) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; height: auto; padding: 0; gap: 8px; }
  .clik-gh-side, .clik-gh-chat, .clik-gh-rail { border-radius: 0; }
  .clik-gh-side { max-height: none !important; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 8px; padding: 8px; overflow: visible; }
  .clik-gh-av { grid-row: span 3; width: 64px; height: 64px; margin: 8px; }
  .clik-gh-av-ring { inset: -4px; } .clik-gh-av-ring2 { inset: -9px; } .clik-gh-av-on { width: 14px; height: 14px; bottom: 2px; inset-inline-end: 2px; }
  .cd .clik-gh-title, .clik-gh-title { justify-content: flex-start; font-size: 19px; }
  .clik-gh-online, .clik-gh-langs { justify-content: flex-start; }
  .clik-gh-talk, .clik-gh-can, .clik-gh-recent { grid-column: 1 / -1; }
  .clik-gh-can { display: none; }
  .clik-gh-chat, .clik-gh:not(.no-rail) .clik-gh-chat { height: calc(100vh - var(--clik-hdr-h, 56px) - 45px - env(safe-area-inset-bottom, 0px)); height: calc(100dvh - var(--clik-hdr-h, 56px) - 45px - env(safe-area-inset-bottom, 0px)); min-height: 420px; }
  .clik-gh-rail { padding: 8px; }
  .clik-gh-rail-l { grid-template-columns: minmax(0, 1fr); }
  .clik-gh-orb { width: 220px; height: 220px; } .clik-gh-orb-c { inset: 42px; } .clik-gh-orb-f { inset: 50px; }
  .clik-gh-v-live { font-size: 18px; }
  .clik-gh-voice { bottom: calc(45px + env(safe-area-inset-bottom, 0px)); padding: 16px 8px; }
}

/* ---------- round of 2 Nov b: share, the recent searches' bells, « Comparer », the voice cards one by one ---------- */
.clik-gh-rail-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.clik-gh-rail-tools:not(:has(> :not([hidden]))) { display: none; }
.clik-gh-rail-tool { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 40px; padding: 0 14px; border: 1px solid var(--gh-line); border-radius: 999px; background: var(--gh-card); color: #0866FF; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.clik-gh-rail-tool span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clik-gh-rail-tool[hidden] { display: none; }
.clik-gh-rail-tool:hover { background: rgba(8, 102, 255, .08); }
.clik-gh-rail-tool:active { transform: scale(.97); }
.clik-gh-rail-tool:disabled { opacity: .55; cursor: default; }
.clik-gh-rail-tool.is-quiet { flex: 0 0 auto; color: var(--gh-mute); }
.clik-gh-rail-tool:focus-visible, .clik-gh-rqb:focus-visible, .clik-gh-cmpw-x:focus-visible, .clik-gh-cc-go:focus-visible { outline: 2px solid #0866FF; outline-offset: 2px; }
/* picking listings to compare: a round check on each listing, the others dimmed */
.clik-gh-rail.is-picking .clik-gh-item { cursor: pointer; }
.clik-gh-rail.is-picking .clik-gh-item:not(.is-l) { opacity: .45; }
.clik-gh-rail.is-picking .clik-gh-item.is-l::after { content: ""; position: absolute; top: 10px; inset-inline-start: 10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .35); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.clik-gh-rail.is-picking .clik-gh-item.is-picked { box-shadow: 0 0 0 2px #0866FF; }
.clik-gh-rail.is-picking .clik-gh-item.is-picked::after { background: #0866FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.clik-gh-rail.is-picking .clik-gh-item-h { display: none; }
.clik-gh-item.is-shake { animation: clik-gh-shake .36s ease; }
@keyframes clik-gh-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
/* the recent searches with their bells */
.clik-gh-rqw { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; animation: clik-gh-in .3s ease backwards; animation-delay: calc(var(--i, 0) * 50ms); }
.clik-gh-rqw .clik-gh-rq { min-width: 0; }
.clik-gh-rqb { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--gh-line); border-radius: 50%; background: var(--gh-card); color: var(--gh-mute); cursor: pointer; transition: background .16s ease, color .16s ease, transform .16s ease; }
.clik-gh-rqb:hover { color: #D97706; background: rgba(245, 158, 11, .1); }
.clik-gh-rqb.is-on { border-color: transparent; background: #16A34A; color: #fff; }
.clik-gh-rqb.is-on svg path:first-child { fill: currentColor; }
/* the line that says what happened (alert created…) */
.clik-gh-toast { position: fixed; z-index: 1060; left: 0; right: 0; bottom: 24px; width: max-content; max-width: calc(100vw - 32px); margin: 0 auto; padding: 10px 16px; border-radius: 999px; background: #16A34A; color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity .2s ease, translate .2s ease; }
.clik-gh-toast.is-ko { background: #DC2626; }
.clik-gh-toast.is-on { opacity: 1; translate: 0 0; }
@media (max-width: 668px) { .clik-gh-toast { bottom: calc(53px + env(safe-area-inset-bottom, 0px)); } }
/* « Comparer » window */
.clik-gh-cmpw { position: fixed; inset: 0; z-index: 1055; display: grid; place-items: center; padding: 16px; background: rgba(5, 12, 30, .55); opacity: 0; transition: opacity .2s ease; }
.clik-gh-cmpw[hidden] { display: none; }
.clik-gh-cmpw.is-on { opacity: 1; }
.clik-gh-cmpw-box { display: flex; flex-direction: column; gap: 8px; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 8px; border-radius: 16px; background: var(--gh-card); color: var(--gh-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); outline: 0; translate: 0 10px; transition: translate .2s ease; }
.clik-gh-cmpw.is-on .clik-gh-cmpw-box { translate: 0 0; }
.clik-gh-cmpw-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 0; }
.clik-gh-cmpw-h h2 { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; font-size: 19px; font-weight: 800; color: var(--gh-ink); }
.clik-gh-cmpw-h .clik-brand.is-inline { flex: none; margin: 0; }
.clik-gh-cmpw-x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #e4e6eb; color: #606770; cursor: pointer; transition: transform .2s ease; }
.clik-gh-cmpw-x:hover { transform: rotate(90deg); }
body.night-mode .clik-gh:not(.is-day) .clik-gh-cmpw-x { background: #3a3b3c; color: #e4e6eb; }
.clik-gh-cmpw-g { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 8px; }
.clik-gh-cc { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 8px; border-radius: 12px; background: var(--gh-soft); animation: clik-gh-in .35s ease backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.clik-gh-cc-th { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: linear-gradient(135deg, #e7f0ff, #fdecef); }
body.night-mode .clik-gh:not(.is-day) .clik-gh-cc-th { background: linear-gradient(135deg, #1e2a40, #3a2330); }
.clik-gh-cc-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clik-gh-cc-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 15px; line-height: 1.3; min-height: 2.6em; }
.clik-gh-cc-r { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 8px; border-top: 1px solid var(--gh-line); font-size: 13.5px; }
.clik-gh-cc-l { flex: none; color: var(--gh-mute); }
.clik-gh-cc-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; text-align: end; }
.clik-gh-cc-r.is-cheap .clik-gh-cc-v { color: #16A34A; }
.clik-gh-cc-best { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: #16A34A; color: #fff; font-size: 12px; font-weight: 800; }
.clik-gh-cc-go { display: flex; align-items: center; justify-content: center; height: 40px; margin-top: auto; border-radius: 999px; background: linear-gradient(135deg, #0866FF, #7c3aed); color: #fff !important; font-size: 14px; font-weight: 700; }
@media (max-width: 575.98px) {
  .clik-gh-cmpw { place-items: end stretch; padding: 0 0 calc(45px + env(safe-area-inset-bottom, 0px)); }
  .clik-gh-cmpw-box { width: 100%; max-height: calc(100vh - 100px); border-radius: 16px 16px 0 0; }
  .clik-gh-cmpw-g { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .clik-gh-cc { flex: 0 0 78%; scroll-snap-align: start; }
}
/* the voice view's cards, one by one on phones, with their dots */
.clik-gh-v-dots { display: none; justify-content: center; gap: 6px; }
.clik-gh-v-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: width .2s ease, background .2s ease; }
.clik-gh-v-dots i.is-on { width: 22px; background: linear-gradient(90deg, #0A5CFF, #F5104F, #FFD200); }
@media (max-width: 668px) {
  .clik-gh-v-cards.is-swipe { width: 100%; scroll-snap-type: x mandatory; scroll-padding-inline: 8px; padding-inline: 8px; }
  .clik-gh-v-cards.is-swipe > .clik-gh-vc { flex: 0 0 calc(100% - 56px); scroll-snap-align: center; }
  .clik-gh-v-cards.is-swipe:not(:empty) + .clik-gh-v-dots:not([hidden]) { display: flex; }
}
.clik-gh.no-motion .clik-gh-rqw, .clik-gh.no-motion .clik-gh-cc { animation: none; }
/* the toast never lies over the compare window's buttons: while it is open the toast goes to the top */
body:has(.clik-gh-cmpw.is-on) .clik-gh-toast { bottom: auto; top: calc(var(--clik-hdr-h, 56px) + 8px); translate: 0 -12px; }
body:has(.clik-gh-cmpw.is-on) .clik-gh-toast.is-on { translate: 0 0; }
@media (max-width: 668px) { body:has(.clik-gh-cmpw.is-on) .clik-gh-toast { top: calc(8px + env(safe-area-inset-top, 0px)); } }

/* ---------- round of 2 Nov c: « Écrire au vendeur », « Comparer ces annonces », the card opened by voice ---------- */
.clik-gh-cc-chat { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 12px; border: 1.5px solid #0866FF; border-radius: 999px; background: var(--gh-card); color: #0866FF; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .16s ease, transform .12s ease; }
.clik-gh-cc-chat:hover { background: var(--gh-tile); }
.clik-gh-cc .clik-gh-cc-chat { margin-top: auto; }
.clik-gh-cc .clik-gh-cc-chat + .clik-gh-cc-go { margin-top: 0; }
.clik-gh-cc-chat:active { transform: scale(.97); }
.clik-gh-cc-chat:focus-visible, .clik-gh-ccmp:focus-visible, .clik-gh-vf-x:focus-visible, .clik-gh-vf-go:focus-visible { outline: 2px solid #0866FF; outline-offset: 2px; }
body.night-mode .clik-gh:not(.is-day) .clik-gh-cc-chat { border-color: #4C9AFF; color: #4C9AFF; }
/* under the conversation's cards (the assistant's window inside /ghali) */
.clik-gh-ccmp { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 32px; margin: -8px 0 -2px; padding: 0 14px; border: 1.5px dashed #0866FF; border-radius: 999px; background: transparent; color: #0866FF; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .16s ease; }
.clik-gh-ccmp:hover { background: var(--gh-tile, #eef4ff); }
body.night-mode .clik-gh:not(.is-day) .clik-gh-ccmp { border-color: #4C9AFF; color: #4C9AFF; }
/* the voice view: the card named aloud, big, ringed in the cube's colours */
.clik-gh-vc.is-pick { box-shadow: 0 0 0 3px #FFD200, 0 0 0 6px rgba(8, 102, 255, .5); }
/* it floats over the voice view, above its two buttons - they always stay on screen */
.clik-gh-vf { position: fixed; z-index: 2; left: 0; right: 0; bottom: calc(112px + env(safe-area-inset-bottom, 0px)); margin: 0 auto; display: flex; flex-direction: column; gap: 8px; width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 160px); overflow-y: auto; padding: 8px; border-radius: 16px; background: #fff; color: #050505; text-align: start; box-shadow: 0 18px 44px rgba(0, 0, 0, .35); }
.clik-gh-vf[hidden] { display: none; }
.clik-gh-vf-k { min-height: 32px; display: flex; align-items: center; padding-inline-end: 40px; font-size: 14px; font-weight: 800; color: #0866FF; }
.clik-gh-vf-x { position: absolute; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #e4e6eb; color: #606770; cursor: pointer; transition: transform .2s ease; }
.clik-gh-vf-x:hover { transform: rotate(90deg); }
.clik-gh-vf-card { display: flex; flex-direction: column; gap: 4px; color: #050505 !important; }
.clik-gh-vf-th { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #e7f0ff, #fdecef); }
.clik-gh-vf-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clik-gh-vf-p { position: absolute; inset-inline-start: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px #0866FF; font-size: 15px; font-weight: 800; }
.clik-gh-vf-t { font-size: 16px; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clik-gh-vf-c { color: #65676b; font-size: 13px; }
.clik-gh-vf-go { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 999px; background: linear-gradient(135deg, #0866FF, #7c3aed); color: #fff !important; font-size: 14px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .clik-gh:not(.no-motion) .clik-gh-vf:not([hidden]) { animation: clik-gh-vf-in .32s cubic-bezier(.2, .9, .3, 1.2) both; }
}
@keyframes clik-gh-vf-in { from { opacity: 0; transform: translateY(14px) scale(.92); } }

/* ---------- round 4: « Déjà vue », « Prix en baisse », write to the seller from the voice view, long-press compare ---------- */
.clik-gh-tags { display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.clik-gh-tags.is-on-pic { position: absolute; z-index: 2; top: 6px; inset-inline-start: 6px; max-width: calc(100% - 48px); }
.clik-gh-tags.is-row { margin-top: 2px; }
.clik-gh-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; }
.clik-gh-tag svg { flex: none; }
.clik-gh-tag bdi { unicode-bidi: isolate; }
/* on a small card's photo the drop reads by its arrow and its % (the words in its tooltip) */
.clik-gh-tags.is-on-pic .is-drop .clik-gh-tag-w { display: none; }
.clik-gh-vf-th .clik-gh-tags.is-on-pic .is-drop .clik-gh-tag-w { display: inline; }
@media (max-width: 668px) { .clik-gh-v-cards.is-swipe .clik-gh-tags.is-on-pic .is-drop .clik-gh-tag-w { display: inline; } }
.clik-gh-tag.is-seen { background: rgba(5, 5, 5, .72); color: #fff; }
.clik-gh-tag.is-drop { background: #16A34A; color: #fff; box-shadow: 0 1px 4px rgba(22, 163, 74, .35); }
.clik-gh-tags.is-row .clik-gh-tag.is-seen { background: #e4e6eb; color: #4b4f56; }
body.night-mode .clik-gh:not(.is-day) .clik-gh-tags.is-row .clik-gh-tag.is-seen { background: #3a3b3c; color: #e4e6eb; }
/* a card seen: a little quieter, never hidden */
/* 27 Nov: a seen listing's photo gets a veil, never a CSS filter (its round corners come from the card: the browser drew them as a straight cut) */
.clik-gh-item:has(.clik-gh-tag.is-seen) .clik-gh-item-th::before, .clik-gh-vc:has(.clik-gh-tag.is-seen) .clik-gh-vc-th::before, .clik-assist-card:has(.clik-gh-tag.is-seen) .clik-assist-card-pic::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: rgba(128, 128, 128, .22); }
.clik-gh-item:has(.clik-gh-tag.is-seen) .clik-gh-item-th > :not(img), .clik-gh-vc:has(.clik-gh-tag.is-seen) .clik-gh-vc-th > :not(img), .clik-assist-card:has(.clik-gh-tag.is-seen) .clik-assist-card-pic > :not(img) { z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .clik-gh:not(.no-motion) .clik-gh-tag { animation: clik-gh-tag-in .3s cubic-bezier(.2, .9, .3, 1.3) both; }
}
@keyframes clik-gh-tag-in { from { opacity: 0; transform: scale(.7); } }

.clik-gh-vf-write { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1.5px solid #0866FF; border-radius: 999px; background: #fff; color: #0866FF; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .16s ease; }
.clik-gh-vf-write:hover { background: #eef4ff; }
.clik-gh-vw { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 12px; background: #eef4ff; }
.clik-gh-vw-q, .clik-gh-vw-m { margin: 0; font-size: 14px; line-height: 1.35; }
.clik-gh-vw-q { color: #65676b; font-weight: 600; }
.clik-gh-vw-n { color: #050505; font-weight: 800; }
.clik-gh-vw-m { color: #050505; font-weight: 700; }
.clik-gh-vw-row { display: flex; gap: 8px; }
.clik-gh-vw-yes, .clik-gh-vw-no { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.clik-gh-vw-yes { background: linear-gradient(135deg, #0866FF, #7c3aed); color: #fff; }
.clik-gh-vw-no { background: #fff; color: #4b4f56; box-shadow: inset 0 0 0 1.5px #ced0d4; }
.clik-gh-vw.is-busy { opacity: .7; }
.clik-gh-vw.is-busy .clik-gh-vw-yes { cursor: progress; }
.clik-gh-vw.is-sent { flex-direction: row; align-items: center; justify-content: space-between; background: #e8f8ee; }
.clik-gh-vw-ok { display: inline-flex; align-items: center; gap: 6px; color: #15803D; font-size: 14px; font-weight: 800; }
.clik-gh-vw-ok::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #16A34A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.clik-gh-vw-go { color: #0866FF !important; font-size: 14px; font-weight: 700; }
.clik-gh-vf-write:focus-visible, .clik-gh-vw-yes:focus-visible, .clik-gh-vw-no:focus-visible, .clik-gh-vw-go:focus-visible { outline: 2px solid #0866FF; outline-offset: 2px; }

/* long press: the cards never open the phone's own menu or select their words */
.clik-gh-v-cards.is-lp > .clik-gh-vc { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.clik-gh-vc { position: relative; }
.clik-gh-vc.is-cpick { box-shadow: 0 0 0 3px #FFD200, 0 8px 22px rgba(0, 0, 0, .3); transform: scale(.96); transition: transform .18s ease, box-shadow .18s ease; }
.clik-gh-vc.is-cpick::after { content: ""; position: absolute; z-index: 3; top: 6px; inset-inline-end: 6px; width: 24px; height: 24px; border-radius: 50%; background: #FFD200 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (prefers-reduced-motion: reduce) { .clik-gh-vc.is-cpick { transform: none; transition: none; } }
.clik-gh.no-motion .clik-gh-vc.is-cpick { transform: none; transition: none; }
/* in the voice view the toast never covers its two buttons */
body.clik-gh-voicing .clik-gh-toast { top: calc(16px + env(safe-area-inset-top, 0px)); bottom: auto; translate: 0 -12px; }
body.clik-gh-voicing .clik-gh-toast.is-on { translate: 0 0; }
/* the voice view with an answer AND cards: the cards keep their whole height (price and title), the answer scrolls in
   its own box and, on phones, the orb steps down so the two buttons stay on the screen */
.clik-gh-v-cards { flex: none; }
.clik-gh-voice:has(.clik-gh-vc) .clik-gh-v-ans { flex: 0 0 auto; max-height: calc(5 * 1.5em + 28px); max-height: calc(5lh + 28px); overflow-y: auto; padding-block: 0; border-block: 14px solid transparent; scrollbar-width: thin; }
@media (max-width: 668px) {
  .clik-gh-voice:has(.clik-gh-vc) .clik-gh-orb { width: 150px; height: 150px; }
  .clik-gh-voice:has(.clik-gh-vc) .clik-gh-orb-c { inset: 28px; }
  .clik-gh-voice:has(.clik-gh-vc) .clik-gh-orb-f { inset: 34px; }
  .clik-gh-voice:has(.clik-gh-vc) .clik-gh-v-ans { max-height: calc(3 * 1.5em + 28px); max-height: calc(3lh + 28px); font-size: 14px; }
  .clik-gh-voice:has(.clik-gh-vc) { gap: 12px; }
}
/* the voice still running behind the chat (« Écrire plutôt »): the talk button says so and brings it back */
.clik-gh-talk.is-live { background: linear-gradient(135deg, #16A34A, #0866FF); }
.clik-gh-talk.is-live::after { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
@media (prefers-reduced-motion: no-preference) {
  .clik-gh:not(.no-motion) .clik-gh-talk.is-live::after { animation: clik-gh-live 1.4s ease-out infinite; }
}
@keyframes clik-gh-live { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* ---------- round 5 (2 Nov): the voice message's bubble + the seller's answer, the price-drop bell, swipe up ---------- */
.clik-gh-vsent { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 100%; max-width: 640px; }
.clik-gh-vsent[hidden] { display: none; }
.clik-gh-vs { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: min(420px, 100%); }
.clik-gh-vs-m { margin: 0; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: linear-gradient(135deg, #0A5CFF, #7C3AED); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: start; box-shadow: 0 6px 18px rgba(10, 92, 255, .35); }
[dir="rtl"] .clik-gh-vs-m { border-radius: 18px 18px 18px 4px; }
.clik-gh-vs-to { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 4px; margin: 0; color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 700; }
.clik-gh-vs-to::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #16A34A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.clik-gh-vs-r { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 4px; margin: 0; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.4; text-align: end; }
.clik-gh-vs-r[hidden], .clik-gh-vs-r:empty { display: none; }
.clik-gh-vs:not(.is-ans) .clik-gh-vs-r::after { content: ""; width: 18px; height: 6px; margin-inline-start: 2px; background: radial-gradient(circle, currentColor 2px, transparent 2.5px) 0 50% / 6px 6px repeat-x; opacity: .8; }
.clik-gh-vs.is-ans .clik-gh-vs-r { align-items: center; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; }
.clik-gh-vs-n { font-weight: 800; }
.clik-gh-vs-q { font-style: normal; quotes: "« " " »"; }
.clik-gh-vs-go { color: #9ec5ff !important; font-weight: 700; }
.clik-gh-vs-go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .clik-gh:not(.no-motion) .clik-gh-vs { animation: clik-gh-vs-in .34s cubic-bezier(.2, .9, .3, 1.2) backwards; }
  .clik-gh:not(.no-motion) .clik-gh-vs.is-ans .clik-gh-vs-r { animation: clik-gh-vs-in .3s cubic-bezier(.2, .9, .3, 1.2) backwards; }
}
@keyframes clik-gh-vs-in { from { opacity: 0; transform: translateY(8px) scale(.94); } }
/* the bell beside « Prix en baisse » */
.clik-gh-dbell { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; width: 22px; height: 22px; padding: 0; border: 1.5px solid #16A34A; border-radius: 999px; background: #fff; color: #15803D; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; pointer-events: auto; transition: background .16s ease, color .16s ease; }
.clik-gh-dbell:hover { background: #ecfdf3; }
.clik-gh-dbell.is-on { background: #16A34A; color: #fff; }
.clik-gh-dbell.is-busy { opacity: .6; cursor: progress; }
.clik-gh-dbell:focus-visible { outline: 2px solid #0866FF; outline-offset: 2px; }
.clik-gh-dbell.is-big { width: auto; height: 40px; padding: 0 16px; }
body.night-mode .clik-gh:not(.is-day) .clik-gh-tags.is-row .clik-gh-dbell:not(.is-on) { background: #242526; color: #4ADE80; border-color: #4ADE80; }
@media (prefers-reduced-motion: no-preference) { .clik-gh:not(.no-motion) .clik-gh-dbell.is-ring svg { animation: clik-gh-dbell-ring .7s ease; transform-origin: 50% 10%; } }
@keyframes clik-gh-dbell-ring { 20% { transform: rotate(18deg); } 40% { transform: rotate(-14deg); } 60% { transform: rotate(9deg); } 80% { transform: rotate(-5deg); } }
/* the row slides sideways, the view scrolls up and down: a quick flick up opens the card (clik-ghali.js) */
.clik-gh-v-cards.is-swipeup .clik-gh-vc { -webkit-user-drag: none; user-select: none; }
/* when the view holds more than the screen (the sent bubble, the cards) its two buttons stay reachable at its foot */
.clik-gh-voice .clik-gh-v-ctl { position: sticky; bottom: 0; z-index: 3; }
/* computers: with the bubble and cards, the orb steps down so nothing runs under the two buttons */
@media (min-width: 669px) {
  .clik-gh-voice:has(.clik-gh-vc):has(.clik-gh-vsent:not([hidden])) .clik-gh-orb { width: 200px; height: 200px; }
  .clik-gh-voice:has(.clik-gh-vc):has(.clik-gh-vsent:not([hidden])) .clik-gh-orb-c { inset: 38px; }
  .clik-gh-voice:has(.clik-gh-vc):has(.clik-gh-vsent:not([hidden])) .clik-gh-orb-f { inset: 45px; }
}
/* phones: one bubble (the newest) - the view is short above the bottom bar */
@media (max-width: 668px) {
  .clik-gh-vsent > .clik-gh-vs:not(:last-child) { display: none; }
  .clik-gh-vs-m { padding: 8px 12px; font-size: 14px; }
  /* with the bubble, the orb steps down once more and the answer keeps two lines: the buttons stay on the screen */
  .clik-gh-voice:has(.clik-gh-vc):has(.clik-gh-vsent:not([hidden])) .clik-gh-orb { width: 96px; height: 96px; }
  .clik-gh-voice:has(.clik-gh-vc):has(.clik-gh-vsent:not([hidden])) .clik-gh-orb-c { inset: 16px; }
  .clik-gh-voice:has(.clik-gh-vc):has(.clik-gh-vsent:not([hidden])) .clik-gh-orb-f { inset: 20px; }
  .clik-gh-voice:has(.clik-gh-vc):has(.clik-gh-vsent:not([hidden])) .clik-gh-v-ans { max-height: calc(2 * 1.5em + 28px); max-height: calc(2lh + 28px); }
}

/* ---------- 2 Nov: « Parler à Ghali » never squeezed by the recent searches (nothing in the card shrinks - it scrolls),
   and in the menu orb's halo colours: yellow / green / cyan / blue light turning inside a deep night-blue pill ---------- */
.clik-gh-side > * { flex: none; }
.clik-gh-talk:not(#_) { position: relative; isolation: isolate; overflow: hidden; min-height: 48px; height: auto; padding: 0 16px;
  background: #06122b; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 8px rgba(6, 18, 43, .55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 0 14px rgba(34, 224, 255, .45), 0 0 26px rgba(75, 227, 106, .22); }
.clik-gh-talk:not(#_)::before { content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: -160%; bottom: -160%; filter: blur(14px);
  background: radial-gradient(ellipse 34% 9% at 50% 50%, rgba(6, 18, 43, .7), transparent), radial-gradient(circle at 78% 42%, #f7ea5c 0 7%, transparent 26%), radial-gradient(circle at 58% 46%, #47e36a 0 11%, transparent 36%),
    radial-gradient(circle at 34% 56%, #1fe0ff 0 14%, transparent 40%), radial-gradient(circle at 16% 50%, #1b44ff 0 12%, transparent 38%); opacity: .95; }
.clik-gh-talk:not(#_) > * { position: relative; }
.clik-gh-talk:not(#_):hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 0 18px rgba(34, 224, 255, .6), 0 0 34px rgba(75, 227, 106, .3); }
body:not(.night-mode) .clik-gh-talk:not(#_) { box-shadow: 0 0 0 1px rgba(8, 102, 255, .14) inset, 0 6px 18px rgba(8, 102, 255, .28), 0 0 18px rgba(34, 180, 255, .35); }
.clik-gh-talk.is-live:not(#_) { box-shadow: 0 0 0 2px #22c55e inset, 0 0 16px rgba(34, 197, 94, .55); }
@media (prefers-reduced-motion: no-preference) {
  .clik-gh:not(.no-motion) .clik-gh-talk:not(#_)::before { animation: clik-gh-talk-halo 7s linear infinite; }
}
@keyframes clik-gh-talk-halo { 50% { transform: translateX(-9%) scaleY(1.1); } 100% { transform: translateX(0); } }

/* ---------- round 7 (the owner, 2 Nov): the voice view's top - [cube]CLIK.ma in the top start corner, « Ghali help » in
   the middle, the round X in the end corner, alive; the bottom - two clear pills with their words; the orb - Ghali's photo
   in a ring of light whose bars follow the voice (clik-ghali.ts draws the canvas from clikdictate.js's own meter), ripples
   while he listens, waves while he talks, three sparks turning while he thinks ---------- */
.clik-gh-v-top:not(#_) { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; max-width: none; min-height: 44px; }
.clik-gh-v-logo { justify-self: start; display: flex; align-items: center; min-width: 0; }
.clik-gh-v-logo .clik-brand.is-inline { margin: 0; }
.clik-gh-v-logo .clik-brand :is(img, svg.clik-wm) { filter: drop-shadow(0 0 .6px #fff) drop-shadow(0 0 .6px #fff) drop-shadow(0 0 .6px #fff); }
.clik-gh-v-title:not(#_) { display: block; justify-self: center; font-size: 20px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.clik-gh-v-x:not(#_) { position: relative; inset: auto; top: auto; justify-self: end; width: 44px; height: 44px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); transition: background .2s ease, transform .2s ease; }
.clik-gh-v-x svg { position: relative; z-index: 1; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.clik-gh-v-xr { position: absolute; inset: -3px; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, #0A5CFF, #7c3aed, #F5104F, #FFD200, #0A5CFF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .75; }
.clik-gh-v-x:hover { background: rgba(255, 255, 255, .24); }
.clik-gh-v-x:hover svg, .clik-gh-v-x:focus-visible svg { transform: rotate(90deg) scale(1.08); }
.clik-gh-v-x:active { transform: scale(.9); }
@media (max-width: 480px) { .clik-gh-v-title:not(#_) { font-size: 17px; } .clik-gh-v-logo .clik-brand.is-inline { transform: scale(.86); transform-origin: left center; } [dir="rtl"] .clik-gh-v-logo .clik-brand.is-inline { transform-origin: right center; } }

/* the orb: the canvas over everything but the photo (it draws only outside the photo's ring) */
.clik-gh-orb-cv { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.clik-gh-orb-c { z-index: 1; }
.clik-gh-orb-r:not(#_) { border: 2px solid rgba(255, 210, 0, .5); }
.clik-gh-orb-th { position: absolute; z-index: 2; inset: 12%; border-radius: 50%; opacity: 0; transition: opacity .3s ease; }
.clik-gh-orb-th b { position: absolute; inset: 0; --c: #FFD200; --g: rgba(255, 210, 0, .8); }
.clik-gh-orb-th b::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px 3px var(--g); }
.clik-gh-orb-th b:nth-child(2) { transform: rotate(120deg); --c: #F5104F; --g: rgba(245, 16, 79, .8); }
.clik-gh-orb-th b:nth-child(3) { transform: rotate(240deg); --c: #4c9aff; --g: rgba(76, 154, 255, .8); }
.clik-gh-voice[data-st="think"] .clik-gh-orb-th { opacity: 1; }
.clik-gh-orb-f:not(#_) { box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 10px 40px rgba(8, 20, 90, .6); transition: box-shadow .3s ease; }
.clik-gh-voice[data-st="speak"] .clik-gh-orb-f:not(#_) { box-shadow: 0 0 0 4px #fff, 0 0 46px 10px rgba(124, 58, 237, .75); }
.clik-gh-voice[data-st="listen"] .clik-gh-orb-f:not(#_) { box-shadow: 0 0 0 4px #FFD200, 0 0 40px 6px rgba(255, 210, 0, .45); }
.clik-gh-v-state:not(#_) { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.clik-gh-v-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.clik-gh-voice[data-st="speak"] .clik-gh-v-state { color: #c4b5fd; }
.clik-gh-voice[data-st="think"] .clik-gh-v-state { color: #7dd3fc; }

/* the two buttons: a glass pill « Écrire », a red pill « Terminer », each its icon in a circle and its word */
.clik-gh-v-ctl:not(#_) { gap: 16px; padding-top: 8px; }
.clik-gh-v-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 6px; border: 0; border-radius: 999px; color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
[dir="rtl"] .clik-gh-v-btn { padding: 0 6px 0 22px; }
.clik-gh-v-bi { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.clik-gh-v-bi svg { position: relative; z-index: 1; }
.clik-gh-v-bt { white-space: nowrap; }
.clik-gh-v-key:not(#_) { width: auto; height: 56px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.clik-gh-v-key .clik-gh-v-bi { background: rgba(255, 255, 255, .16); }
.clik-gh-v-key:not(#_):hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.clik-gh-v-big:not(#_) { width: auto; height: 56px; background: linear-gradient(135deg, #F5104F, #ff6a3d); box-shadow: 0 10px 30px rgba(245, 16, 79, .45); }
.clik-gh-v-big .clik-gh-v-bi { background: rgba(255, 255, 255, .2); }
.clik-gh-v-big .clik-gh-v-bi::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); opacity: 0; }
.clik-gh-v-big:not(#_):hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(245, 16, 79, .55); }
.clik-gh-v-btn:not(#_):active { transform: scale(.95); }
@media (max-width: 380px) { .clik-gh-v-btn { gap: 8px; height: 52px; padding-inline-end: 16px; font-size: 15px; } .clik-gh-v-ctl:not(#_) { gap: 8px; } }

@media (prefers-reduced-motion: no-preference) {
  .clik-gh:not(.no-motion) .clik-gh-voice.is-on .clik-gh-v-x { animation: clik-gh-xin .55s cubic-bezier(.3, 1.6, .5, 1) backwards .1s; }
  .clik-gh:not(.no-motion) .clik-gh-voice .clik-gh-v-xr { animation: clik-gh-spin 4s linear infinite; }
  .clik-gh:not(.no-motion) .clik-gh-voice.is-on .clik-gh-v-btn { animation: clik-gh-up .5s cubic-bezier(.2, 1.3, .4, 1) backwards .18s; }
  .clik-gh:not(.no-motion) .clik-gh-voice.is-on .clik-gh-v-btn + .clik-gh-v-btn { animation-delay: .28s; }
  .clik-gh:not(.no-motion) .clik-gh-voice[data-st="listen"] .clik-gh-v-big .clik-gh-v-bi::after { animation: clik-gh-ping 1.6s ease-out infinite; }
  .clik-gh:not(.no-motion) .clik-gh-voice .clik-gh-v-key:hover .clik-gh-v-bi svg { animation: clik-gh-tap .5s ease; }
  .clik-gh:not(.no-motion) .clik-gh-voice .clik-gh-orb-th { animation: clik-gh-spin 1.4s linear infinite; }
  .clik-gh:not(.no-motion) .clik-gh-voice[data-st="speak"] .clik-gh-orb-r { animation-duration: 1.2s; border-color: rgba(167, 139, 250, .7); }
  .clik-gh:not(.no-motion) .clik-gh-voice[data-st="think"] .clik-gh-orb-r, .clik-gh:not(.no-motion) .clik-gh-voice[data-st="wait"] .clik-gh-orb-r { animation-play-state: paused; opacity: 0; }
  .clik-gh:not(.no-motion) .clik-gh-voice[data-st="listen"] .clik-gh-v-state::before, .clik-gh:not(.no-motion) .clik-gh-voice[data-st="speak"] .clik-gh-v-state::before { animation: clik-gh-blink 1s ease-in-out infinite; }
}
@keyframes clik-gh-xin { from { opacity: 0; transform: rotate(-180deg) scale(.4); } }
@keyframes clik-gh-up { from { opacity: 0; transform: translateY(24px) scale(.9); } }
@keyframes clik-gh-ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
@keyframes clik-gh-tap { 40% { transform: translateY(2px); } }
@keyframes clik-gh-blink { 50% { opacity: .35; } }

/* the rail's tools never squeezed (the owner, 2 Nov: "fix the squeezed buttons on the right side bar"): each keeps its
   whole words, they share a row only when both fit, else each takes its own row */
.clik-gh-rail-tool:not(#_) { flex: 1 1 max-content; min-width: max-content; max-width: 100%; }
.clik-gh-rail-tool:not(#_) span { overflow: visible; text-overflow: clip; }
.clik-gh-rail-tool.is-quiet:not(#_) { flex: 0 0 auto; }
.cd .clik-gh-rail h2 > span, .clik-gh-rail h2 > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clik-gh-rail h2 em { flex: none; }
/* the header's end part (and on phones the bottom bar) sits at z-index 1061, over the windows: while the voice view is
   open it steps under it - its avatar menu took the clicks meant for the view's X (round 7) */
body.clik-gh-voicing .clik-navbar-top-right:not(#_) { z-index: 1040 !important; }
/* round 8 (the owner, 2 Nov, a screenshot: the X cut by the scroll bar, the top row low): while the view is open the page
   under it neither scrolls nor keeps its scroll bar's room (the site's scrollbar-gutter: stable left a strip the view ran
   under at 100vw) - the view is the window itself; its top row - [cube]CLIK.ma, « Ghali help », the X - 8 px from the
   window's top and sides, their middles on one line */
html:has(body.clik-gh-voicing):not(#_) { overflow: hidden !important; scrollbar-gutter: auto !important; }
.clik-gh-voice:not(#_) { inset: 0; width: auto; padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
.clik-gh-voice:not(#_) > .clik-gh-v-top { width: calc(100% + 16px); margin-inline: -8px; flex: none; }
@media (max-width: 860px) {
  .clik-gh-voice:not(#_) { bottom: calc(45px + env(safe-area-inset-bottom, 0px)); }
  .clik-gh-voice:not(#_) > .clik-gh-v-top { width: 100%; margin-inline: 0; }
}
/* round 8: while the saved cards are on their way the rail's empty state stays hidden (it showed ~2 s, then the cards) */
.clik-gh-rail-l.is-wait .clik-gh-rail-empty { visibility: hidden; }

/* ---------- round 9 (the owner, 3 Nov, 364-366): the logo and « Ghali help » on the view's top edge like the X,
   no scroll bar / index anywhere on /ghali (the boxes still scroll by wheel, finger and keys), 8 px between the
   voice view's sections ---------- */
.clik-gh-v-top:not(#_) { align-items: start; }
.clik-gh-v-logo:not(#_) { align-self: start; align-items: flex-start; }
.clik-gh-v-logo:not(#_) .clik-brand.is-inline { align-items: flex-start; }
.clik-gh-v-title:not(#_) { align-self: start; line-height: 1; text-box: trim-both cap alphabetic; }
.clik-gh-voice:not(#_) { gap: 8px; overflow-x: hidden; }
.clik-gh-voice:not(#_) > * { margin-block: 0; }
.clik-gh-voice:not(#_) > .clik-gh-v-ctl { margin-top: auto; }
.clik-gh-voice, .clik-gh-voice *, .clik-gh, .clik-gh * { scrollbar-width: none; -ms-overflow-style: none; }
.clik-gh-voice::-webkit-scrollbar, .clik-gh-voice *::-webkit-scrollbar, .clik-gh *::-webkit-scrollbar { display: none; width: 0; height: 0; }
.clik-gh-v-dots { display: none !important; }
.clik-gh-voice:not(#_) .clik-gh-v-ctl { gap: 8px; padding-top: 0; }
@media (max-width: 480px) { .clik-gh-v-logo:not(#_) .clik-brand.is-inline { transform-origin: left top; } [dir="rtl"] .clik-gh-v-logo:not(#_) .clik-brand.is-inline { transform-origin: right top; } }

/* ---------- round 10 (the owner approved, 3 Nov): « Voir les 8 suivantes » under the voice cards - the same search's
   next listings, the CLIK cube while they come ---------- */
.clik-gh-v-more:not(#_) { position: relative; flex: none; align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; color: #fff; font: inherit; font-size: 14px; font-weight: 800; line-height: 1; cursor: pointer; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(6px); transition: transform .18s ease, background .18s ease, opacity .18s ease; }
[dir="rtl"] .clik-gh-v-more:not(#_) { padding: 0 14px 0 18px; }
.clik-gh-v-more[hidden]:not(#_) { display: none; }
.clik-gh-v-more:not(#_) svg { flex: none; width: 18px; height: 18px; }
[dir="rtl"] .clik-gh-v-more:not(#_) svg, .clik-gh-v-more:not(#_):dir(rtl) svg { transform: scaleX(-1); }
.clik-gh-v-more:not(#_) span { white-space: nowrap; }
.clik-gh-v-more:not(#_):hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.clik-gh-v-more:not(#_):active { transform: scale(.95); }
.clik-gh-v-more:not(#_):focus-visible { outline: 2px solid #4C9AFF; outline-offset: 2px; }
.clik-gh-v-more.is-busy:not(#_) { pointer-events: none; color: transparent; }
.clik-gh-v-more.is-busy:not(#_) svg { opacity: 0; }
.clik-gh-v-more.is-busy:not(#_)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; background: var(--clik-cube-load, var(--clik-cube)) center / contain no-repeat; filter: none); animation: clik-cube-in .66s cubic-bezier(.2, .9, .3, 1.2) both, clik-feed-cube 1.1s ease-in-out .66s infinite; }
.clik-gh-v-more.is-none:not(#_) { color: rgba(255, 255, 255, .78); cursor: default; }
.clik-gh-v-more.is-none:not(#_) svg { display: none; }
.clik-gh-v-cards.is-busy:not(#_) > * { opacity: .45; transition: opacity .2s ease; }
@media (prefers-reduced-motion: reduce) { .clik-gh-v-more.is-busy:not(#_)::after { animation: none; } .clik-gh-v-more:not(#_) { transition: none; } }
.clik-gh.no-motion .clik-gh-v-more.is-busy:not(#_)::after { animation: none; }

/* round 15 (the owner, 3 Nov: "buttons on Ghali page are getting squeezed"): the rail is a scrolling flex column, so its
   « Tout voir », tools and « Vos favoris » shrank to make room for the cards - nothing in it shrinks now (the rail
   scrolls), and its end keeps clear of the round « Créer » button standing in the same corner (56 px + 16 px + 8 px) */
.clik-gh-rail > *:not(#_), .clik-gh-rail-l > *:not(#_) { flex: none; }
@media (min-width: 669px) {
  body:has(.clik-nw.is-end:not(.no-desktop)) .clik-gh-rail:not(#_) { padding-bottom: 88px; scroll-padding-bottom: 88px; }
  body:has(.clik-nw.is-start:not(.no-desktop)) .clik-gh-side:not(#_) { padding-bottom: 88px; }
}

/* 9 Nov (extra 2): the price against similar listings - on the rail (the conversation's chip, its row's own edge) and as
   a row of the compare window */
.clik-gh-item-mk:not(#_):not(#_) { align-self: flex-start; margin: 4px 0 0; max-width: 100%; }
.clik-gh-cc-r.is-mk.is-good .clik-gh-cc-v { color: #16A34A; }
.clik-gh-cc-r.is-mk.is-high .clik-gh-cc-v { color: #B45309; }
body.night-mode .clik-gh-cc-r.is-mk.is-high .clik-gh-cc-v { color: #fbbf24; }

/* ---------- 9 Nov: Ranya's /ghali - her photo ring, her « Parler à Ranya » halo and her accents in rose, magenta, violet and
   peach (clik_ghali.tpl .is-ranya; AdminCP -> IA CLIK -> Assistant -> ranya_look) ---------- */
.clik-gh.is-ranya .clik-gh-av-ring { background: conic-gradient(#ff4d8d, #d63cf0, #7c3aed, #ffb38a, #ff4d8d); }
.clik-gh.is-ranya .clik-gh-talk:not(#_) { background: #2a0b33; text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 8px rgba(42, 11, 51, .55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 0 14px rgba(255, 77, 141, .45), 0 0 26px rgba(214, 60, 240, .25); }
.clik-gh.is-ranya .clik-gh-talk:not(#_)::before { background: radial-gradient(ellipse 34% 9% at 50% 50%, rgba(42, 11, 51, .7), transparent), radial-gradient(circle at 78% 42%, #ffb38a 0 7%, transparent 26%),
  radial-gradient(circle at 58% 46%, #ff4d8d 0 11%, transparent 36%), radial-gradient(circle at 34% 56%, #d63cf0 0 14%, transparent 40%), radial-gradient(circle at 16% 50%, #7c3aed 0 12%, transparent 38%); }
.clik-gh.is-ranya .clik-gh-talk:not(#_):hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 0 18px rgba(255, 77, 141, .6), 0 0 34px rgba(214, 60, 240, .32); }
body:not(.night-mode) .clik-gh.is-ranya .clik-gh-talk:not(#_) { box-shadow: 0 0 0 1px rgba(232, 51, 111, .14) inset, 0 6px 18px rgba(232, 51, 111, .28), 0 0 18px rgba(214, 60, 240, .3); }

/* « Parler à Ranya » / « Parler à Ghali »: the first info row, above « Cherche les annonces pour vous » (the owner, 9 Nov:
   "same row as infos", "put it first above all infos buttons") - shaped like those rows, her photo in the tile */
.clik-gh-swap { display: flex; align-items: center; gap: 10px; flex: none; width: 100%; padding: 8px; border: 0; border-radius: 12px; background: var(--gh-soft); color: var(--gh-ink); font: inherit; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: start; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(8, 102, 255, .35); transition: background .2s ease, transform .15s ease; }
.clik-gh-swap[hidden] { display: none; }
.clik-gh-swap > i { display: block; flex: none; width: 32px; height: 32px; border-radius: 9px; overflow: hidden; background: #0866FF; }
.clik-gh-swap > i img { display: block; width: 100%; height: 100%; object-fit: cover; }
.clik-gh-swap > span { flex: 1 1 auto; min-width: 0; }
.clik-gh-swap > svg { flex: none; width: 16px; height: 16px; color: #0866FF; }
.clik-gh-swap.is-ranya { box-shadow: inset 0 0 0 1.5px rgba(232, 51, 111, .45); }
.clik-gh-swap.is-ranya > i { background: #ff5c9a; }
.clik-gh-swap.is-ranya > svg { color: #e8336f; }
.clik-gh-swap:hover { background: var(--gh-tile); }
.clik-gh-swap:active { transform: scale(.98); }
.clik-gh-swap:focus-visible { outline: 2px solid #0866FF; outline-offset: 2px; }
.clik-gh-swap:disabled { opacity: .6; cursor: progress; }
@media (max-width: 860px) { .clik-gh-swap { grid-column: 1 / -1; } }

/* 9 Nov: the voice view's answer drawn like the chat's (numbers isolated left to right) - its paragraphs without margins */
.clik-gh-v-ans p { margin: 0; }
.clik-gh-v-ans p + p { margin-top: 6px; }
.clik-gh-v-ans .clik-assist-gap { display: none; }
/* the voice view's [cube]CLIK.ma is a link to /ghali (15 Nov) */
a.clik-gh-v-logo:not(#_) { text-decoration: none; cursor: pointer; border-radius: 8px; transition: transform .18s ease, filter .18s ease; }
a.clik-gh-v-logo:not(#_):hover { transform: translateY(-1px); filter: brightness(1.08); }
a.clik-gh-v-logo:not(#_):focus-visible { outline: 2px solid #8ab8ff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { a.clik-gh-v-logo:not(#_) { transition: none; } a.clik-gh-v-logo:not(#_):hover { transform: none; } }
/* 15 Nov: the words heard, replaced by the site's own transcription - a short light */
.clik-gh-v-live.is-fixed { animation: clik-gh-fix .7s ease-out; }
@keyframes clik-gh-fix { 0% { opacity: .35; filter: blur(2px); } 100% { opacity: 1; filter: none; } }
@media (prefers-reduced-motion: reduce) { .clik-gh-v-live.is-fixed { animation: none; } }

/* « Répéter » under words heard badly (the owner's extra 3, 15 Nov): a glass pill under the words (the view's own 8 px gap), on their middle */
.clik-gh-v-re { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 36px; margin: 0; padding: 0 16px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s, transform .15s; }
.clik-gh-v-re[hidden] { display: none; }
.clik-gh-v-re:hover { background: rgba(255,255,255,.26); }
.clik-gh-v-re:active { transform: scale(.96); }
.clik-gh-v-re:focus-visible { outline: 2px solid #ffd200; outline-offset: 2px; }
.clik-gh-v-re svg { flex: none; }
@media (prefers-reduced-motion: reduce) { .clik-gh-v-re { transition: none; } }

/* 15 Nov (the owner's extra 1): called by its name alone - the orb lights up once before it answers (clikassistant.js
   called(), AdminCP -> IA CLIK -> Assistant -> call_chime); transform / opacity only, a glow with "less motion" */
.clik-gh-orb::after { content: ""; position: absolute; z-index: 3; inset: 40px; border-radius: 50%; pointer-events: none; opacity: 0; box-shadow: 0 0 0 4px rgba(255, 210, 0, .9), 0 0 48px 10px rgba(255, 210, 0, .55); }
.clik-gh-orb.is-called::after { animation: clik-gh-called 1s ease-out; }
.clik-gh-orb.is-called .clik-gh-orb-f { animation: clik-gh-called-f .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes clik-gh-called { 0% { opacity: 0; transform: scale(.9); } 25% { opacity: 1; transform: scale(1.04); } 100% { opacity: 0; transform: scale(1.2); } }
@keyframes clik-gh-called-f { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .clik-gh-orb.is-called::after { animation: none; opacity: 1; transform: none; transition: opacity .4s; }
  .clik-gh-orb.is-called .clik-gh-orb-f { animation: none; }
}

/* round 50 (the owner's screenshot: « Ghali vous écoute » 48 px over its answer): the live words' line keeps its room only
   while nothing else is under the state - an empty one beside an answer box takes no room, the box 8 px under the pill */
.clik-gh-voice:not(#_):has(.clik-gh-v-ans:not([hidden])) .clik-gh-v-live:empty { display: none; }

/* round 51 (the owner's extra 1): the reply the voice prepared, in the voice view - the window's own card, on the answer's
   width, 8 px under it (the view's gap) */
.clik-gh-vrc { position: relative; width: 100%; max-width: 640px; flex: none; text-align: start; color: #050505; }
.clik-gh-vrc:empty { display: none; }
.clik-gh-vrc > .clik-assist-write:not(#_) { width: 100%; max-width: 640px; margin: 0 auto; padding: 0; }

/* round 52 (« réponds à tous », the owner's extra 2): one card a conversation, stacked 8 px apart, a line over them
   saying how many are left to send */
.clik-gh-vrc { display: flex; flex-direction: column; gap: 8px; }
.clik-gh-vrc-h { align-self: center; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: #050505; font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; }
body.night-mode .clik-gh-vrc-h { background: #3a3b3c; color: #e4e6eb; }
