/* CLIK.ma Reels: the full-screen vertical player (reels.tpl shell, built by includes/assets/js/core/clik-reels.js).
   One file for both directions: logical properties, [dir="rtl"] only where a transform or an icon must turn.
   The player is always dark; the comments panel and the sheets follow the site theme (body.night-mode).
   Phone (< 992px): the player covers the whole screen (above the site header and the bottom bar, below the
   Bootstrap windows: share, report, tips at z 1050). Computer (>= 992px): under the 56px site header, from the left
   menu to the screen edge (edge to edge), a centred 9:16 frame with its action rail beside it and the comments in a
   400px side panel that pushes the stage. z-index ladder inside main: video 1, poster 2, hit 3, shade 4,
   info / rail 5, state / buffer / speed / progress 6, hearts 7, picker 8, top bar 9, unmute chip 10, scrim 15,
   panel / sheet 20, toast 30. */

/* ---------------------------------------------------------------------------------------------------------------
   the page around the player
   --------------------------------------------------------------------------------------------------------------- */
html:has(#clik-rl), body.clik-rl-page, body:has(#clik-rl) { overflow: hidden; overscroll-behavior: none; }
/* style.min.css keeps a scrollbar gutter on html for every page: this one never scrolls, so no empty strip */
html:has(#clik-rl) { scrollbar-gutter: auto; }
body.clik-rl-page, body:has(#clik-rl) { background: #0b0b0c; }

@media (max-width: 991.98px) {
  /* the player is the whole screen: the site header and the phone bottom bar step aside on this page only */
  body.clik-rl-page .main-header, body:has(#clik-rl) .main-header,
  body.clik-rl-page .clik-navbar-top, body:has(#clik-rl) .clik-navbar-top,
  body.clik-rl-page .clik-navbar-top-right, body:has(#clik-rl) .clik-navbar-top-right,
  body.clik-rl-page .clik-navbar-top-side, body:has(#clik-rl) .clik-navbar-top-side,
  body.clik-rl-page .top-bar, body:has(#clik-rl) .top-bar { display: none !important; }
  body.clik-rl-page, body:has(#clik-rl) { padding-top: 0 !important; padding-bottom: 0 !important; }
}

/* ---------------------------------------------------------------------------------------------------------------
   main: tokens and frame of the page
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl {
  --rl-ac: #0866FF;              /* site blue */
  --rl-like: #ff2d55;            /* heart */
  --rl-gold: #ffc53d;
  --rl-ink: #fff;
  --rl-soft: rgba(255, 255, 255, .78);
  --rl-mute: rgba(255, 255, 255, .6);
  --rl-glass: rgba(18, 18, 20, .38);
  --rl-glass-hi: rgba(18, 18, 20, .55);
  --rl-shadow-t: 0 1px 2px rgba(0, 0, 0, .55), 0 0 12px rgba(0, 0, 0, .25);
  --rl-ease: cubic-bezier(.2, .8, .2, 1);
  --rl-spring: cubic-bezier(.34, 1.56, .64, 1);
  --rl-sheet: cubic-bezier(.32, .72, 0, 1);
  --rl-top-h: 56px;
  --rl-rail-w: 64px;
  --rl-panel-w: 400px;
  --rl-safe-t: env(safe-area-inset-top, 0px);
  --rl-safe-b: env(safe-area-inset-bottom, 0px);
  /* the panel and the sheets (day) */
  --rl-p-bg: #fff;
  --rl-p-ink: #0f1419;
  --rl-p-soft: #5b6573;
  --rl-p-mute: #8a93a1;
  --rl-p-line: rgba(15, 20, 25, .09);
  --rl-p-chip: #eef1f5;
  --rl-p-hover: #f5f7fa;
  --rl-p-shadow: 0 -12px 40px rgba(0, 0, 0, .28);
  position: fixed; inset: 0; z-index: 1040;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  color: var(--rl-ink); background: #000;
  font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  font-size: 14px; line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}
body.night-mode .clik-rl {
  --rl-p-bg: #1c1c1e;
  --rl-p-ink: #e9edf2;
  --rl-p-soft: #a9b1bc;
  --rl-p-mute: #7c8592;
  --rl-p-line: rgba(255, 255, 255, .08);
  --rl-p-chip: rgba(255, 255, 255, .08);
  --rl-p-hover: rgba(255, 255, 255, .05);
  --rl-p-shadow: 0 -12px 40px rgba(0, 0, 0, .6);
}
.clik-rl *, .clik-rl *::before, .clik-rl *::after { box-sizing: border-box; }
.clik-rl [hidden] { display: none !important; }
/* zero specificity: the buttons' own rules (tabs, follow, rows…) set their font and colour */
:where(.clik-rl) button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.clik-rl button:focus { outline: 0; }
.clik-rl button:focus-visible, .clik-rl a:focus-visible, .clik-rl [tabindex]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.clik-rl a { color: inherit; }
.clik-rl a:hover { text-decoration: none; }
.clik-rl svg { flex: none; }

/* the site's loading cube (home feed, Le Mag): one helper for every place the player loads */
.clik-rl-cube, .clik-rl-buffer::before, .clik-rl-slide.is-loading::before, .clik-rl-feed[aria-busy="true"]:empty::before,
.clik-rl-panel-body[aria-busy="true"]::after, .clik-rl-panel.is-loading .clik-rl-panel-body::after,
.clik-rl-sheet-body[aria-busy="true"]::after {
  content: ""; display: block; width: 68px; height: 68px;
  background: var(--clik-cube-load, var(--clik-cube)) center / contain no-repeat;
  animation: clik-cube-in .66s cubic-bezier(.2, .9, .3, 1.2) both, clik-feed-cube 1.1s cubic-bezier(.45, 0, .55, 1) .66s infinite;
  filter: none);
}

/* ---------------------------------------------------------------------------------------------------------------
   top bar: back, tabs, sound
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-top {
  position: absolute; z-index: 9; top: 0; inset-inline: 0;
  display: flex; align-items: center; gap: 4px;
  padding: calc(var(--rl-safe-t) + 6px) 8px 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .22) 55%, transparent 100%);
  pointer-events: none;
  user-select: none; -webkit-user-select: none;
}
.clik-rl-top > * { pointer-events: auto; }
.clik-rl-back, .clik-rl-sound, .clik-rl-help {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  color: #fff; background: transparent; cursor: pointer;
  transition: background .2s, transform .15s var(--rl-ease);
}
.clik-rl-sound, .clik-rl-help { background: var(--rl-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.clik-rl-back:hover, .clik-rl-sound:hover, .clik-rl-help:hover { background: rgba(255, 255, 255, .16); }
.clik-rl-back:active, .clik-rl-sound:active, .clik-rl-help:active { transform: scale(.9); }
.clik-rl-back svg, .clik-rl-sound svg, .clik-rl-help svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.clik-rl-sound svg, .clik-rl-help svg { width: 22px; height: 22px; }
[dir="rtl"] .clik-rl-back svg { transform: scaleX(-1); }
.clik-rl.is-muted .clik-rl-sound { background: var(--rl-glass-hi); }

.clik-rl-tabs {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: safe center; gap: 2px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none;
  overscroll-behavior-x: contain; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  padding-inline: 8px;
}
.clik-rl-tabs::-webkit-scrollbar { display: none; }
.clik-rl-tab {
  position: relative; flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; max-width: 190px; padding: 0 7px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  color: rgba(255, 255, 255, .68); background: transparent;
  text-shadow: var(--rl-shadow-t); cursor: pointer;
  transition: color .2s, background .2s, transform .15s;
}
.clik-rl-tab::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 3px; margin-inline: auto;
  width: 22px; height: 3px; border-radius: 3px; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  transform: scaleX(0); opacity: 0;
  transition: transform .35s var(--rl-spring), opacity .2s;
}
.clik-rl-tab:hover { color: rgba(255, 255, 255, .92); }
.clik-rl-tab:active { transform: scale(.96); }
.clik-rl-tab[aria-selected="true"] { color: #fff; }
.clik-rl-tab[aria-selected="true"]::after { transform: scaleX(1); opacity: 1; }
/* the author / group / city title the page was opened on, with its x to leave it */
.clik-rl-tab[data-tab="author"], .clik-rl-tab[data-tab="saved"] {
  padding-inline: 12px 8px; background: rgba(255, 255, 255, .16); text-shadow: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.clik-rl-tab[data-tab="author"]::after, .clik-rl-tab[data-tab="saved"]::after { display: none; }
.clik-rl-tab > span:not([class]), .clik-rl-tab-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.clik-rl-tab svg { width: 16px; height: 16px; opacity: .85; }
.clik-rl-tab .clik-rl-tab-x, .clik-rl-tab [data-act="leave"] {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, .2); transition: background .2s;
}
.clik-rl-tab .clik-rl-tab-x:hover { background: rgba(255, 255, 255, .34); }
.clik-rl-tab .clik-rl-tab-x svg { width: 14px; height: 14px; opacity: 1; }
.clik-rl-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.clik-rl-help { display: none; }

/* ---------------------------------------------------------------------------------------------------------------
   stage, feed, slides
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-stage { position: absolute; inset: 0; z-index: 1; container: rlstage / inline-size; }
.clik-rl-feed {
  position: absolute; inset: 0;
  overflow-x: hidden; overflow-y: auto;
  scroll-snap-type: y mandatory; overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.clik-rl-feed::-webkit-scrollbar { display: none; }
.clik-rl-feed[aria-busy="true"]:empty { display: grid; place-items: center; }
.clik-rl-slide {
  position: relative; height: 100%; width: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  overflow: hidden;
  contain: layout paint style;
  container: rlslide / size;
  background: #000;
}
.clik-rl-frame {
  position: absolute; inset: 0;
  overflow: hidden; background: #000;
  container: rlframe / size;
}
.clik-rl-poster, .clik-rl-video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center;
  border: 0; background: transparent;
}
.clik-rl-video { z-index: 1; }
.clik-rl-poster { z-index: 2; transition: opacity .25s ease; pointer-events: none; user-select: none; -webkit-user-select: none; }
.clik-rl-poster:not([src]), .clik-rl-poster[src=""] { visibility: hidden; }
.clik-rl-slide.is-ready .clik-rl-poster { opacity: 0; }
/* the JS marks a video that is not a portrait one (spec: cover only for aspect 0.5 to 0.62) */
.clik-rl-slide.is-contain .clik-rl-video, .clik-rl-slide.is-contain .clik-rl-poster,
.clik-rl-frame.is-contain .clik-rl-video, .clik-rl-frame.is-contain .clik-rl-poster,
.clik-rl-video.is-contain, .clik-rl-poster.is-contain, .clik-rl-slide[data-fit="contain"] .clik-rl-video,
.clik-rl-slide[data-fit="contain"] .clik-rl-poster { object-fit: contain; }

/* tap / hold / double-tap surface */
.clik-rl-hit {
  position: absolute; inset: 0; z-index: 3;
  touch-action: pan-y; cursor: pointer;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}

/* the gradient that keeps the text readable */
.clik-rl-shade {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 4; height: 46%;
  background: linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .42) 38%, rgba(0, 0, 0, .12) 72%, transparent 100%);
  pointer-events: none; transition: height .3s var(--rl-ease), opacity .3s;
}
.clik-rl-slide.is-caption-open .clik-rl-shade, .clik-rl-frame:has(.clik-rl-caption.is-open) .clik-rl-shade { height: 78%; background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .55) 50%, transparent 100%); }

/* centre icon: a short flash on play / pause, a calm play button while paused */
.clik-rl-state {
  position: absolute; z-index: 6; inset: 0; margin: auto; width: 84px; height: 84px;
  display: grid; place-items: center;
  pointer-events: none; color: #fff;
}
.clik-rl-state::before, .clik-rl-state::after, .clik-rl-state > svg {
  grid-area: 1 / 1; content: ""; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(0, 0, 0, .42) center / 40px no-repeat;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0;
}
.clik-rl-state > svg { padding: 22px; }
.clik-rl-state:not(:empty)::before, .clik-rl-state:not(:empty)::after { display: none; }
.clik-rl-state::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.6v12.8c0 .9 1 1.4 1.7.9l9.8-6.4c.7-.4.7-1.4 0-1.8L9.7 4.7C9 4.2 8 4.7 8 5.6z'/%3E%3C/svg%3E"); background-position: 56% 50%; }
.clik-rl-state.is-pause::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect fill='%23fff' x='6' y='5' width='4.2' height='14' rx='1.4'/%3E%3Crect fill='%23fff' x='13.8' y='5' width='4.2' height='14' rx='1.4'/%3E%3C/svg%3E"); background-position: center; }
.clik-rl-state.is-play::before, .clik-rl-state.is-pause::before, .clik-rl-state.is-play > svg, .clik-rl-state.is-pause > svg { animation: clik-rl-flash .7s var(--rl-ease) both; }
/* paused: the play button stays, after the flash */
.clik-rl-state::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.6v12.8c0 .9 1 1.4 1.7.9l9.8-6.4c.7-.4.7-1.4 0-1.8L9.7 4.7C9 4.2 8 4.7 8 5.6z'/%3E%3C/svg%3E"); background-position: 56% 50%; background-size: 44px; transition: opacity .2s, transform .25s var(--rl-spring); transform: scale(.7); }
.clik-rl-slide.is-paused:not(.is-buffering) .clik-rl-state::after { opacity: .92; transform: none; transition-delay: .45s; }

/* buffering: the CLIK cube */
.clik-rl-buffer {
  position: absolute; z-index: 6; inset: 0; margin: auto; width: 68px; height: 68px;
  pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s;
}
.clik-rl-buffer.is-on, .clik-rl-slide.is-buffering .clik-rl-buffer { opacity: 1; visibility: visible; transition: opacity .2s; }

/* 2x while held */
.clik-rl-speed {
  position: absolute; z-index: 6; top: calc(var(--rl-safe-t) + 66px); inset-inline: 0; margin-inline: auto;
  display: flex; align-items: center; gap: 6px; width: max-content; height: 32px; padding: 0 14px 0 10px; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .14);
  pointer-events: none; opacity: 0; transform: translateY(-6px) scale(.92);
  transition: opacity .18s, transform .25s var(--rl-spring);
}
.clik-rl-speed::before {
  content: ""; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M3 6.3v11.4c0 .8.9 1.3 1.6.8L12 13.3v4.4c0 .8.9 1.3 1.6.8l8-5.7c.5-.4.5-1.2 0-1.6l-8-5.7c-.7-.5-1.6 0-1.6.8v4.4L4.6 5.5C3.9 5 3 5.5 3 6.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.clik-rl-speed.is-on, .clik-rl-slide.is-held .clik-rl-speed { opacity: 1; transform: none; }
.clik-rl-speed.is-on::before, .clik-rl-slide.is-held .clik-rl-speed::before { animation: clik-rl-ff 1s ease-in-out infinite; }

/* a video that cannot be played */
.clik-rl-error {
  position: absolute; z-index: 6; inset: 0;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center; font-size: 15px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.clik-rl-error::before {
  content: ""; width: 48px; height: 48px; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10.5 21 7v10l-5-3.5'/%3E%3Crect x='3' y='6' width='13' height='12' rx='2.5'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.clik-rl-error.is-on { display: flex; }
.clik-rl-error p, .clik-rl-slide.is-loading p, .clik-rl-slide.is-end p, .clik-rl-slide.is-empty p { margin: 0; }
.clik-rl-error svg, .clik-rl-btn svg { width: 18px; height: 18px; }
.clik-rl-error button, .clik-rl-slide.is-loading button, .clik-rl-slide.is-end button, .clik-rl-slide.is-empty button,
.clik-rl-slide.is-end a, .clik-rl-slide.is-empty a, .clik-rl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none;
  color: #0f1419; background: #fff; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  transition: transform .15s var(--rl-ease), background .2s, filter .2s;
}
.clik-rl-error button:hover, .clik-rl-slide.is-loading button:hover, .clik-rl-slide.is-end button:hover, .clik-rl-slide.is-empty button:hover,
.clik-rl-slide.is-end a:hover, .clik-rl-slide.is-empty a:hover, .clik-rl-btn:hover { filter: brightness(.94); color: #0f1419; }
.clik-rl-error button:active, .clik-rl-slide.is-loading button:active, .clik-rl-slide.is-end button:active, .clik-rl-slide.is-empty button:active,
.clik-rl-slide.is-end a:active, .clik-rl-slide.is-empty a:active, .clik-rl-btn:active { transform: scale(.95); }

/* ---------------------------------------------------------------------------------------------------------------
   info: author, caption, meta
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-info {
  position: absolute; z-index: 5;
  inset-inline-start: 0; inset-inline-end: calc(var(--rl-rail-w) + 14px); bottom: calc(var(--rl-safe-b) + 18px);
  display: flex; flex-direction: column; gap: 6px;
  padding-inline: 14px 0;
  color: #fff; text-shadow: var(--rl-shadow-t);
  pointer-events: none;
  transition: opacity .25s;
}
.clik-rl-info > * { pointer-events: auto; }
.clik-rl-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.clik-rl-avatar { flex: none; display: block; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 2px 8px rgba(0, 0, 0, .35); background: #222; }
.clik-rl-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.clik-rl-name {
  display: inline-flex; align-items: center; gap: 5px; min-width: 0;
  font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; color: #fff; text-decoration: none;
}
.clik-rl-name > span:not([class]), .clik-rl-name-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; }
.clik-rl-name:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.clik-rl-verified { width: 16px; height: 16px; flex: none; color: #4ca3ff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.clik-rl-pro {
  flex: none; padding: 2px 6px; border-radius: 6px;
  font-size: 10px; font-weight: 900; letter-spacing: .04em; line-height: 1.2; text-shadow: none;
  color: #1a1300; background: linear-gradient(135deg, #ffe17a, var(--rl-gold));
}
.clik-rl-follow {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  height: 30px; padding: 0 14px; border: 1.5px solid rgba(255, 255, 255, .92); border-radius: 999px;
  font-size: 13px; font-weight: 800; line-height: 1; color: #fff; background: rgba(255, 255, 255, .06);
  text-shadow: var(--rl-shadow-t); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--rl-ease);
}
.clik-rl-follow:hover { background: rgba(255, 255, 255, .18); }
.clik-rl-follow:active { transform: scale(.94); }
.clik-rl-follow.is-following, .clik-rl-follow[aria-pressed="true"] { border-color: transparent; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .2); }
.clik-rl-follow svg { width: 14px; height: 14px; }

.clik-rl-caption {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; max-width: 100%;
  font-size: 14.5px; line-height: 1.42; font-weight: 500; color: #fff;
  overflow-wrap: anywhere; word-break: break-word;
  text-align: start; unicode-bidi: plaintext;
}
.clik-rl-caption p, .clik-rl-caption div { margin: 0; }
.clik-rl-caption { cursor: pointer; }
.clik-rl-caption a { color: #fff; font-weight: 800; text-decoration: none; }
.clik-rl-caption a:hover { text-decoration: underline; }
.clik-rl-caption img.emoji, .clik-rl-caption .twa { width: 18px; height: 18px; vertical-align: -3px; }
.clik-rl-caption.is-open {
  display: block; -webkit-line-clamp: unset; line-clamp: none;
  max-height: 45vh; max-height: 45cqh;
  overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .35) transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 18px), transparent);
  padding-bottom: 12px;
}
.clik-rl-more {
  align-self: flex-start; margin-top: -4px; padding: 2px 0; border: 0; background: none;
  font-size: 14px; font-weight: 800; color: rgba(255, 255, 255, .86); text-shadow: var(--rl-shadow-t); cursor: pointer;
}
.clik-rl-more:hover { color: #fff; }
.clik-rl-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  font-size: 12.5px; font-weight: 600; color: var(--rl-soft);
}
.clik-rl-meta > * { display: inline-flex; align-items: center; gap: 4px; }
.clik-rl-meta .clik-rl-dot { opacity: .7; }
.clik-rl-meta .clik-rl-dot:has(+ .clik-rl-loc), .clik-rl-meta .clik-rl-dot:has(+ .clik-rl-rank) { display: none; }
.clik-rl-views-n { font-variant-numeric: tabular-nums; }
.clik-rl-meta svg { width: 14px; height: 14px; }
.clik-rl-loc {
  max-width: 100%; height: 24px; padding: 0 10px 0 8px; border-radius: 999px;
  color: #fff; background: rgba(255, 255, 255, .16); text-decoration: none; text-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  transition: background .2s;
}
.clik-rl-loc::before {
  content: ""; flex: none; width: 13px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2a7.5 7.5 0 0 0-7.5 7.5c0 5.3 6.2 11.6 6.9 12.2.3.3.9.3 1.2 0 .7-.6 6.9-6.9 6.9-12.2A7.5 7.5 0 0 0 12 2zm0 10.3a2.8 2.8 0 1 1 0-5.6 2.8 2.8 0 0 1 0 5.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.clik-rl-loc:hover { color: #fff; background: rgba(255, 255, 255, .26); }
.clik-rl-loc > svg + *, .clik-rl-loc:has(svg)::before { display: none; }
.clik-rl-rank {
  height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 800; color: #fff; text-shadow: none;
  background: linear-gradient(135deg, #ff7a18, #ff2d55);
  box-shadow: 0 4px 12px rgba(255, 45, 85, .35);
}

/* ---------------------------------------------------------------------------------------------------------------
   progress bar (scrubbable)
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-progress {
  --clik-rl-h: 2px;
  position: absolute; z-index: 6; inset-inline: 0; bottom: var(--rl-safe-b);
  height: 16px; cursor: pointer; touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.clik-rl-progress::before, .clik-rl-buffered, .clik-rl-played {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0; height: var(--clik-rl-h);
  transition: height .18s var(--rl-ease);
}
.clik-rl-progress::before { inset-inline-end: 0; background: rgba(255, 255, 255, .22); }
.clik-rl-buffered { width: calc(var(--clik-rl-b, 0) * 1%); background: rgba(255, 255, 255, .34); }
.clik-rl-played { width: calc(var(--clik-rl-p, 0) * 1%); background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .45); }
.clik-rl-thumb {
  position: absolute; bottom: calc(var(--clik-rl-h) / 2); inset-inline-start: calc(var(--clik-rl-p, 0) * 1%);
  width: 14px; height: 14px; margin-inline-start: -7px; margin-bottom: -7px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  transform: scale(0); transition: transform .18s var(--rl-spring), bottom .18s;
  pointer-events: none;
}
.clik-rl-progress:hover, .clik-rl-progress:focus-visible, .clik-rl-progress.is-drag, .clik-rl-progress.is-scrub,
.clik-rl-progress.is-scrubbing, .clik-rl-progress.is-on, .clik-rl-progress:active { --clik-rl-h: 5px; }
.clik-rl-progress:hover .clik-rl-thumb, .clik-rl-progress:focus-visible .clik-rl-thumb, .clik-rl-progress.is-drag .clik-rl-thumb,
.clik-rl-progress.is-scrub .clik-rl-thumb, .clik-rl-progress.is-scrubbing .clik-rl-thumb, .clik-rl-progress.is-on .clik-rl-thumb,
.clik-rl-progress:active .clik-rl-thumb { transform: scale(1); }
.clik-rl-progress:focus-visible { outline: 0; }
.clik-rl-progress:focus-visible::before { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.clik-rl-time {
  position: absolute; bottom: 64px; inset-inline: 0; margin-inline: auto; width: max-content;
  padding: 6px 14px; border-radius: 12px;
  font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: #fff;
  background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  pointer-events: none; direction: ltr;
}
.clik-rl-time:empty { display: none; }
/* while scrubbing, the caption steps back so the time reads */
.clik-rl-frame:has(.clik-rl-progress.is-drag, .clik-rl-progress.is-scrub, .clik-rl-progress.is-scrubbing, .clik-rl-time:not(:empty)) .clik-rl-info { opacity: 0; }

/* ---------------------------------------------------------------------------------------------------------------
   action rail
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-rail {
  position: absolute; z-index: 5; inset-inline-end: 8px; bottom: calc(var(--rl-safe-b) + 22px);
  width: var(--rl-rail-w);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  user-select: none; -webkit-user-select: none;
}
.clik-rl-ravatar {
  position: relative; display: block; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 4px 14px rgba(0, 0, 0, .35); background: #222;
  transition: transform .2s var(--rl-spring);
}
.clik-rl-ravatar:hover { transform: scale(1.05); }
.clik-rl-ravatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.clik-rl-plus {
  position: absolute; inset-inline: 0; bottom: -10px; margin-inline: auto;
  display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 2px solid #fff; border-radius: 50%;
  color: #fff; background: var(--rl-like); cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .25s var(--rl-spring), background .2s, opacity .3s;
}
.clik-rl-plus:empty::before, .clik-rl-plus:empty::after { content: ""; position: absolute; width: 10px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--rl-ease); }
.clik-rl-plus:empty::after { transform: rotate(90deg); }
.clik-rl-plus svg { width: 12px; height: 12px; }
.clik-rl-plus:hover { transform: scale(1.15); }
.clik-rl-plus.is-following, .clik-rl-plus[aria-pressed="true"] { background: #fff; color: var(--rl-like); animation: clik-rl-plus-out 1.2s .3s var(--rl-ease) forwards; }
.clik-rl-plus.is-following:empty::before, .clik-rl-plus[aria-pressed="true"]:empty::before { width: 5px; background: var(--rl-like); transform: translate(-2.5px, 1.5px) rotate(45deg); }
.clik-rl-plus.is-following:empty::after, .clik-rl-plus[aria-pressed="true"]:empty::after { width: 9px; background: var(--rl-like); transform: translate(2px, -.5px) rotate(-50deg); }

.clik-rl-act {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 56px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
}
.clik-rl-ico {
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  color: #fff; background: var(--rl-glass);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 14px rgba(0, 0, 0, .18);
  transition: transform .2s var(--rl-spring), background .2s, color .2s;
}
.clik-rl-ico svg { width: 27px; height: 27px; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .35)); transition: transform .2s var(--rl-spring); }
.clik-rl-ico img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.clik-rl-act:hover .clik-rl-ico { background: var(--rl-glass-hi); }
.clik-rl-act:active .clik-rl-ico { transform: scale(.88); }
.clik-rl-act:focus-visible { outline: 0; }
.clik-rl-act:focus-visible .clik-rl-ico { outline: 2px solid #fff; outline-offset: 2px; }
.clik-rl-n {
  max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12.5px; font-weight: 800; line-height: 1.1; letter-spacing: .01em;
  color: #fff; text-shadow: var(--rl-shadow-t); font-variant-numeric: tabular-nums;
}
.clik-rl-n:empty { display: none; }
/* liked (a heart) or another reaction (its picture) */
.clik-rl-act.is-react.is-liked .clik-rl-ico, .clik-rl-act.is-react[aria-pressed="true"] .clik-rl-ico { color: var(--rl-like); }
.clik-rl-act.is-react.is-liked .clik-rl-ico svg, .clik-rl-act.is-react[aria-pressed="true"] .clik-rl-ico svg { fill: currentColor; filter: drop-shadow(0 2px 6px rgba(255, 45, 85, .45)); }
.clik-rl-act.is-react.is-liked .clik-rl-ico > *, .clik-rl-act.is-react[aria-pressed="true"] .clik-rl-ico > * { animation: clik-rl-pop .5s var(--rl-spring); }
.clik-rl-act.is-save.is-saved .clik-rl-ico, .clik-rl-act.is-save[aria-pressed="true"] .clik-rl-ico { color: var(--rl-gold); }
.clik-rl-act.is-save.is-saved .clik-rl-ico svg, .clik-rl-act.is-save[aria-pressed="true"] .clik-rl-ico svg { fill: currentColor; animation: clik-rl-pop .5s var(--rl-spring); }
.clik-rl-act.is-opts .clik-rl-ico { width: 44px; height: 44px; }
.clik-rl-act.is-share:hover .clik-rl-ico svg { transform: translateY(-1px) rotate(-8deg); }
[dir="rtl"] .clik-rl-act.is-share .clik-rl-ico svg, [dir="rtl"] .clik-rl-act.is-comments .clik-rl-ico svg { transform: scaleX(-1); }
[dir="rtl"] .clik-rl-act.is-share:hover .clik-rl-ico svg { transform: scaleX(-1) translateY(-1px) rotate(-8deg); }

/* ---------------------------------------------------------------------------------------------------------------
   reaction picker (one for the page; clik-reels.js puts it next to the react button)
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-picker {
  position: absolute; z-index: 8; top: 40%; inset-inline-end: 80px; width: max-content;
  display: flex; align-items: center; gap: 2px; padding: 6px;
  border-radius: 999px;
  background: rgba(28, 28, 30, .88);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0; visibility: hidden; transform: translateX(8px) scale(.86); transform-origin: 100% 50%;
  transition: opacity .16s, transform .3s var(--rl-spring), visibility 0s .3s;
  pointer-events: none;
}
[dir="rtl"] .clik-rl-picker { transform: translateX(-8px) scale(.86); transform-origin: 0 50%; }
[dir="rtl"] .clik-rl-picker.is-on { transform: none; }
.clik-rl-picker.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .16s, transform .35s var(--rl-spring); }
.clik-rl-pick {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
  transition: transform .28s var(--rl-spring);
  transform-origin: 50% 80%;
}
.clik-rl-pick img { width: 38px; height: 38px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.clik-rl-picker.is-on .clik-rl-pick { animation: clik-rl-pick-in .42s var(--rl-spring) both; }
.clik-rl-picker.is-on .clik-rl-pick:nth-child(2) { animation-delay: .03s; }
.clik-rl-picker.is-on .clik-rl-pick:nth-child(3) { animation-delay: .06s; }
.clik-rl-picker.is-on .clik-rl-pick:nth-child(4) { animation-delay: .09s; }
.clik-rl-picker.is-on .clik-rl-pick:nth-child(5) { animation-delay: .12s; }
.clik-rl-picker.is-on .clik-rl-pick:nth-child(6) { animation-delay: .15s; }
.clik-rl-picker.is-on .clik-rl-pick:nth-child(7) { animation-delay: .18s; }
.clik-rl-pick:hover, .clik-rl-pick:focus-visible, .clik-rl-pick.is-hover { transform: translateY(-8px) scale(1.38); z-index: 1; outline: 0; }
.clik-rl-pick:active { transform: translateY(-4px) scale(1.15); }
.clik-rl-pick[aria-pressed="true"]::after, .clik-rl-pick.is-cur::after {
  content: ""; position: absolute; bottom: -3px; inset-inline: 0; margin-inline: auto; width: 5px; height: 5px; border-radius: 50%; background: #fff;
}
.clik-rl-pick::before {
  content: attr(aria-label); position: absolute; bottom: calc(100% + 10px); inset-inline: 0; margin-inline: auto; width: max-content;
  padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .75);
  opacity: 0; transform: translateY(4px) scale(.72); transition: opacity .15s, transform .2s; pointer-events: none; white-space: nowrap;
}
@media (hover: hover) {
  .clik-rl-pick:hover::before { opacity: 1; transform: scale(.72); }
}

/* ---------------------------------------------------------------------------------------------------------------
   computer nav (up / down)
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-nav { display: none; }

/* ---------------------------------------------------------------------------------------------------------------
   loading, end and empty slides
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-slide.is-loading, .clik-rl-slide.is-end, .clik-rl-slide.is-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: calc(var(--rl-safe-t) + 72px) 24px calc(var(--rl-safe-b) + 40px);
  text-align: center; color: #fff;
  background: radial-gradient(120% 70% at 50% 0%, rgba(8, 102, 255, .28), transparent 60%), radial-gradient(90% 60% at 50% 110%, rgba(255, 45, 85, .18), transparent 60%), #0b0b0c;
}
.clik-rl-slide.is-loading { background: #000; }
.clik-rl-slide.is-loading > :not(button):not(.clik-rl-btn) { font-size: 14px; font-weight: 600; color: var(--rl-mute); }
.clik-rl-slide.is-loading.is-error::before, .clik-rl-slide.is-loading:has(button)::before { display: none; }
.clik-rl-slide.is-loading:has(.clik-rl-cube)::before { display: none; }
.clik-rl-slide.is-end::before, .clik-rl-slide.is-empty::before {
  content: ""; width: 84px; height: 84px; margin-bottom: 6px; border-radius: 28px;
  background: center / 44px no-repeat, linear-gradient(135deg, #0866FF, #4f46e5);
  box-shadow: 0 16px 40px rgba(8, 102, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .18);
  animation: clik-rl-rise .6s var(--rl-spring) both;
}
.clik-rl-slide.is-end::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), linear-gradient(135deg, #0866FF, #4f46e5); }
.clik-rl-slide.is-empty::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='M3 8h18M8 3l2.5 5M14 3l2.5 5'/%3E%3Cpath d='M10.5 12.2v4.6l4-2.3z' fill='%23fff'/%3E%3C/svg%3E"), linear-gradient(135deg, #0866FF, #4f46e5); }
.clik-rl-slide.is-end h2, .clik-rl-slide.is-end h3, .clik-rl-slide.is-end strong, .clik-rl-slide.is-end b,
.clik-rl-slide.is-empty h2, .clik-rl-slide.is-empty h3, .clik-rl-slide.is-empty strong, .clik-rl-slide.is-empty b {
  display: block; margin: 0; max-width: 340px; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #fff;
}
.clik-rl-slide.is-end p, .clik-rl-slide.is-empty p, .clik-rl-slide.is-end small, .clik-rl-slide.is-empty small {
  display: block; margin: 0; max-width: 320px; font-size: 14.5px; line-height: 1.5; color: var(--rl-soft);
}
.clik-rl-slide.is-end > div, .clik-rl-slide.is-empty > div, .clik-rl-end-acts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; max-width: 360px;
}
/* the first button is the main one, the others (the other tabs) are glass pills */
.clik-rl-slide.is-end button ~ button, .clik-rl-slide.is-empty button ~ button, .clik-rl-slide.is-end a ~ a, .clik-rl-slide.is-empty a ~ a,
.clik-rl-slide.is-end button ~ a, .clik-rl-slide.is-empty button ~ a, .clik-rl .clik-rl-btn.is-ghost {
  color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.clik-rl-slide.is-end button ~ button:hover, .clik-rl-slide.is-empty button ~ button:hover, .clik-rl-slide.is-end a ~ a:hover,
.clik-rl-slide.is-empty a ~ a:hover, .clik-rl .clik-rl-btn.is-ghost:hover { color: #fff; background: rgba(255, 255, 255, .2); filter: none; }
.clik-rl .clik-rl-end-acts > .clik-rl-btn:first-child { color: #0f1419; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.clik-rl .clik-rl-end-acts > .clik-rl-btn:first-child:hover { color: #0f1419; filter: brightness(.94); }
.clik-rl-end-acts .clik-rl-tab-x { display: none; }
.clik-rl-slide.is-end button svg, .clik-rl-slide.is-empty button svg { width: 18px; height: 18px; }

.clik-rl-slide .clik-rl-frame, .clik-rl-slide .clik-rl-rail { transition: opacity .45s ease, transform .45s var(--rl-ease), filter .45s ease; }
.clik-rl-slide.is-skipped .clik-rl-frame, .clik-rl-slide.is-skipped .clik-rl-rail { opacity: .18; transform: scale(.94); filter: grayscale(1) blur(3px); pointer-events: none; }

/* ---------------------------------------------------------------------------------------------------------------
   double-tap hearts
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-burst-layer { position: absolute; inset: 0; z-index: 7; overflow: hidden; pointer-events: none; }
.clik-rl-heart {
  position: absolute; width: 104px; height: 104px; margin: -52px 0 0 -52px;
  pointer-events: none;
  animation: clik-rl-heart 1s cubic-bezier(.2, .9, .3, 1) forwards;
}
.clik-rl-heart:empty {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6b8f'/%3E%3Cstop offset='1' stop-color='%23ff1a4b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M12 21.2 10.6 20C5.4 15.3 2 12.2 2 8.4 2 5.3 4.4 3 7.4 3c1.7 0 3.4.8 4.6 2.1C13.2 3.8 14.9 3 16.6 3 19.6 3 22 5.3 22 8.4c0 3.8-3.4 6.9-8.6 11.6L12 21.2z'/%3E%3Cpath fill='%23fff' opacity='.35' d='M6.6 5.6c-1.6.4-2.6 1.7-2.6 3.2 0 .5.4.8.8.6.3-1.3 1.1-2.4 2.4-2.9.4-.2.3-.9-.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 6px 18px rgba(255, 26, 75, .55));
}
.clik-rl-heart > svg, .clik-rl-heart > img { width: 100%; height: 100%; color: var(--rl-like); fill: currentColor; filter: drop-shadow(0 6px 18px rgba(255, 26, 75, .55)); }
.clik-rl-heart::before, .clik-rl-heart::after {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  border: 3px solid rgba(255, 90, 125, .9);
  opacity: 0; animation: clik-rl-ring .7s ease-out .05s forwards;
}
.clik-rl-heart::after {
  inset: -14%; border: 0;
  background:
    radial-gradient(circle, #ff3b6b 0 3px, transparent 4px) 50% 0 / 10px 10px no-repeat,
    radial-gradient(circle, #ffc53d 0 3px, transparent 4px) 100% 50% / 10px 10px no-repeat,
    radial-gradient(circle, #ff3b6b 0 3px, transparent 4px) 50% 100% / 10px 10px no-repeat,
    radial-gradient(circle, #4ca3ff 0 3px, transparent 4px) 0 50% / 10px 10px no-repeat,
    radial-gradient(circle, #ffc53d 0 2.5px, transparent 3.5px) 15% 15% / 8px 8px no-repeat,
    radial-gradient(circle, #ff3b6b 0 2.5px, transparent 3.5px) 85% 15% / 8px 8px no-repeat,
    radial-gradient(circle, #4ca3ff 0 2.5px, transparent 3.5px) 85% 85% / 8px 8px no-repeat,
    radial-gradient(circle, #ff3b6b 0 2.5px, transparent 3.5px) 15% 85% / 8px 8px no-repeat;
  animation: clik-rl-spark .75s ease-out .06s forwards;
}

/* ---------------------------------------------------------------------------------------------------------------
   comments panel (computer: side panel; phone: bottom sheet) and the sheets (options, stats, shortcuts, city)
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-panel, .clik-rl-sheet {
  position: absolute; z-index: 20;
  display: flex; flex-direction: column;
  color: var(--rl-p-ink); background: var(--rl-p-bg);
  text-shadow: none;
  visibility: hidden;
}
/* phone: both are bottom sheets. At rest an open sheet has transform:none (not translate(0)) so the fixed menus
   of the comments block (the core's reactions, emoji, mentions) keep the screen as their frame. */
.clik-rl-panel, .clik-rl-sheet {
  inset-inline: 0; bottom: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: var(--rl-p-shadow);
  transform: translateY(100%);
  transition: transform .42s var(--rl-sheet), visibility 0s .42s;
}
.clik-rl-panel { height: 72vh; height: 72dvh; }
.clik-rl-sheet { max-height: 86vh; max-height: 86dvh; padding-bottom: var(--rl-safe-b); }
.clik-rl-panel.is-open, .clik-rl-sheet.is-open { visibility: visible; transform: none; transition: transform .42s var(--rl-sheet), visibility 0s; }
.clik-rl-panel.is-drag, .clik-rl-sheet.is-drag, .clik-rl-panel.is-dragging, .clik-rl-sheet.is-dragging { transition: none; }

.clik-rl-grip {
  flex: none; position: relative; height: 22px; cursor: grab; touch-action: none;
}
.clik-rl-grip::before {
  content: ""; position: absolute; top: 9px; inset-inline: 0; margin-inline: auto;
  width: 40px; height: 5px; border-radius: 5px; background: var(--rl-p-line);
  box-shadow: inset 0 0 0 10px rgba(127, 127, 127, .28);
}
.clik-rl-grip:active { cursor: grabbing; }

.clik-rl-panel-head, .clik-rl-sheet > header {
  flex: none; display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 12px 8px 18px; padding-inline: 18px 10px;
  border-bottom: 1px solid var(--rl-p-line);
}
.clik-rl-panel-head h2, .clik-rl-sheet > header h2 {
  flex: 1 1 auto; min-width: 0; margin: 0;
  font-size: 16.5px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--rl-p-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* the count keeps its words; the sort menu gives way (a select is as wide as its longest option) */
.clik-rl-panel-head h2 { flex: 1 0 auto; max-width: 70%; unicode-bidi: plaintext; text-align: start; }
.clik-rl-panel-head select {
  flex: 0 1 auto; min-width: 0; max-width: 190px; text-overflow: ellipsis;
  height: 34px; padding: 0 30px 0 12px; border: 0; border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--rl-p-ink);
  background: var(--rl-p-chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a93a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
[dir="rtl"] .clik-rl-panel-head select { padding: 0 12px 0 30px; background-position: left 11px center; }
.clik-rl-close {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  color: var(--rl-p-soft); background: var(--rl-p-chip); cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.clik-rl-close:hover { color: var(--rl-p-ink); background: var(--rl-p-line); }
.clik-rl-close:active { transform: scale(.9); }
.clik-rl-close svg { width: 18px; height: 18px; }
.clik-rl-close:empty::before, .clik-rl-close:empty::after { content: ""; grid-area: 1 / 1; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.clik-rl-close:empty::after { transform: rotate(-45deg); }

.clik-rl-panel-body, .clik-rl-sheet-body {
  position: relative; flex: 1 1 auto; min-height: 0;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--rl-p-line) transparent;
}
.clik-rl-panel-body { display: flex; flex-direction: column; }
.clik-rl-panel-body[aria-busy="true"]::after, .clik-rl-panel.is-loading .clik-rl-panel-body::after,
.clik-rl-sheet-body[aria-busy="true"]::after { position: absolute; inset: 0; margin: auto; }
.clik-rl-panel-body[aria-busy="true"] > *, .clik-rl-panel.is-loading .clik-rl-panel-body > * { opacity: .35; pointer-events: none; transition: opacity .2s; }

.clik-rl-panel .clik-rl-btn, .clik-rl-sheet .clik-rl-btn { color: #fff; background: var(--rl-ac); box-shadow: 0 8px 18px -10px var(--rl-ac); }
.clik-rl-panel .clik-rl-btn:hover, .clik-rl-sheet .clik-rl-btn:hover { color: #fff; filter: brightness(1.08); }
.clik-rl-cempty.is-error { gap: 14px; font-size: 14.5px; font-weight: 600; color: var(--rl-p-soft); }
.clik-rl-cempty.is-error::before { display: none; }

/* segmented control (comments sort in the panel head, speed, quality) */
.clik-rl-seg {
  flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
  background: var(--rl-p-chip);
}
.clik-rl-seg > button {
  height: 30px; min-width: 40px; padding: 0 12px; border: 0; border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap;
  color: var(--rl-p-soft); background: transparent; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .12s;
}
.clik-rl-seg > button:hover { color: var(--rl-p-ink); }
.clik-rl-seg > button:active { transform: scale(.95); }
.clik-rl-seg > button[aria-pressed="true"], .clik-rl-seg > button.is-on {
  color: var(--rl-p-ink); background: var(--rl-p-bg);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .14), 0 1px 2px rgba(16, 24, 40, .08);
}
body.night-mode .clik-rl-seg > button[aria-pressed="true"], body.night-mode .clik-rl-seg > button.is-on { background: rgba(255, 255, 255, .16); box-shadow: none; color: #fff; }

/* sheet rows */
.clik-rl-sheet-body { padding: 6px 8px 10px; }
.clik-rl-row {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px;
  padding: 8px 10px; border: 0; border-radius: 14px;
  font-size: 15px; font-weight: 600; line-height: 1.25; text-align: start; text-decoration: none;
  color: var(--rl-p-ink); background: transparent; cursor: pointer;
  transition: background .15s;
}
a.clik-rl-row:hover { color: var(--rl-p-ink); }
button.clik-rl-row:hover, a.clik-rl-row:hover, .clik-rl-row.is-link:hover { background: var(--rl-p-hover); }
button.clik-rl-row:active, a.clik-rl-row:active { background: var(--rl-p-chip); }
.clik-rl-row > svg, .clik-rl-row-ico {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; border-radius: 12px;
  color: var(--rl-p-ink); background: var(--rl-p-chip);
}
.clik-rl-row-ico svg { width: 20px; height: 20px; }
.clik-rl-row > span:not([class]), .clik-rl-row-t { flex: 1 1 auto; min-width: 0; }
.clik-rl-row small, .clik-rl-row-sub { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--rl-p-mute); }
.clik-rl-row-val {
  flex: none; display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto;
  font-size: 13.5px; font-weight: 600; color: var(--rl-p-mute);
}
.clik-rl-row[data-act="keys"] .clik-rl-row-val {
  justify-content: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 7px;
  font: 700 12.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--rl-p-soft);
  box-shadow: inset 0 0 0 1px var(--rl-p-line), 0 2px 0 var(--rl-p-line);
}
.clik-rl-row.is-hl { background: var(--rl-p-hover); box-shadow: inset 0 0 0 1.5px var(--rl-ac); }
.clik-rl-row > .clik-rl-seg, .clik-rl-row > .clik-rl-switch { margin-inline-start: auto; }
.clik-rl-row.is-danger, .clik-rl-row[data-act="report"] { color: #e5383b; }
.clik-rl-row.is-danger > svg, .clik-rl-row.is-danger .clik-rl-row-ico, .clik-rl-row[data-act="report"] > svg, .clik-rl-row[data-act="report"] .clik-rl-row-ico { color: #e5383b; background: rgba(229, 56, 59, .1); }
.clik-rl-row[aria-checked="true"], .clik-rl-row.is-on { color: var(--rl-ac); }
.clik-rl-row.is-on .clik-rl-row-ico { color: var(--rl-ac); background: color-mix(in srgb, var(--rl-ac) 12%, transparent); }
.clik-rl-row[aria-checked="true"]::after, .clik-rl-row.is-on.is-pick::after, .clik-rl-cities .clik-rl-row.is-on::after {
  content: ""; flex: none; width: 20px; height: 20px; margin-inline-start: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230866FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.clik-rl-row.is-on:not(:has(.clik-rl-row-val))::after { margin-inline-start: auto; }
.clik-rl-sheet-body hr, .clik-rl-sep { height: 1px; margin: 6px 10px; border: 0; background: var(--rl-p-line); }
.clik-rl-sheet-sec + .clik-rl-sheet-sec { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--rl-p-line); }
.clik-rl-row.is-set { flex-wrap: wrap; row-gap: 6px; cursor: default; }
.clik-rl-row.is-set > .clik-rl-seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.clik-rl-row.is-set > .clik-rl-seg::-webkit-scrollbar { display: none; }
.clik-rl-sheet-body h3, .clik-rl-sheet-label {
  margin: 12px 10px 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rl-p-mute);
}

/* switch (auto-scroll) */
.clik-rl-switch {
  position: relative; flex: none; width: 46px; height: 28px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(120, 128, 140, .38); cursor: pointer;
  transition: background .25s;
}
.clik-rl-switch::after {
  content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  transition: transform .3s var(--rl-spring);
}
.clik-rl-switch[aria-checked="true"] { background: var(--rl-ac); }
.clik-rl-switch[aria-checked="true"]::after { transform: translateX(18px); }
[dir="rtl"] .clik-rl-switch[aria-checked="true"]::after { transform: translateX(-18px); }

/* statistics sheet: numbers, then the 7 days chart (SVG bars) */
.clik-rl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 6px 4px 4px; }
.clik-rl-stat {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px;
  background: var(--rl-p-chip);
}
.clik-rl-stat b, .clik-rl-stat strong { font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--rl-p-ink); font-variant-numeric: tabular-nums; }
.clik-rl-stat span, .clik-rl-stat small { font-size: 12.5px; font-weight: 600; color: var(--rl-p-mute); }
.clik-rl-chart, .clik-rl-bars { margin: 10px 4px 4px; padding: 14px 12px 10px; border-radius: 16px; background: var(--rl-p-chip); }
.clik-rl-chart > b, .clik-rl-chart > h3, .clik-rl-bars > b { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--rl-p-soft); }
.clik-rl-sheet-body svg.clik-rl-chart-svg, .clik-rl-chart svg, .clik-rl-bars svg { display: block; width: 100%; height: auto; max-height: 180px; overflow: visible; }
.clik-rl-chart svg rect, .clik-rl-bars svg rect { fill: var(--rl-ac); rx: 5px; transform-box: fill-box; transform-origin: 50% 100%; animation: clik-rl-bar .6s var(--rl-spring) both; }
.clik-rl-chart svg rect:nth-of-type(2), .clik-rl-bars svg rect:nth-of-type(2) { animation-delay: .04s; }
.clik-rl-chart svg rect:nth-of-type(3), .clik-rl-bars svg rect:nth-of-type(3) { animation-delay: .08s; }
.clik-rl-chart svg rect:nth-of-type(4), .clik-rl-bars svg rect:nth-of-type(4) { animation-delay: .12s; }
.clik-rl-chart svg rect:nth-of-type(5), .clik-rl-bars svg rect:nth-of-type(5) { animation-delay: .16s; }
.clik-rl-chart svg rect:nth-of-type(6), .clik-rl-bars svg rect:nth-of-type(6) { animation-delay: .2s; }
.clik-rl-chart svg rect:nth-of-type(7), .clik-rl-bars svg rect:nth-of-type(7) { animation-delay: .24s; }
.clik-rl-chart svg rect.is-bg, .clik-rl-bars svg rect.is-bg { fill: var(--rl-p-line); animation: none; }
.clik-rl-chart svg text, .clik-rl-bars svg text { fill: var(--rl-p-mute); font-size: 11px; font-weight: 700; font-family: inherit; }
.clik-rl-chart svg text.is-v, .clik-rl-bars svg text.is-v { fill: var(--rl-p-ink); font-weight: 800; }
.clik-rl-chart svg line, .clik-rl-bars svg line { stroke: var(--rl-p-line); }

/* keyboard shortcuts */
.clik-rl-keys { display: grid; gap: 0; margin: 0; padding: 4px 6px; list-style: none; }
.clik-rl-keys > li, .clik-rl-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 4px 6px; font-size: 14.5px; font-weight: 600; color: var(--rl-p-ink); border-bottom: 1px solid var(--rl-p-line); }
.clik-rl-key { justify-content: flex-start; gap: 14px; }
.clik-rl-kbd { flex: none; display: inline-flex; align-items: center; gap: 4px; min-width: 84px; }
.clik-rl-keys > li:last-child, .clik-rl-key:last-of-type { border-bottom: 0; }
.clik-rl-keys-tip { margin: 8px 6px 4px; padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.45; text-align: center; color: var(--rl-p-soft); background: var(--rl-p-chip); }
.clik-rl-sheet kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px;
  border-radius: 8px; font: 700 12.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--rl-p-ink);
  background: var(--rl-p-bg); box-shadow: inset 0 0 0 1px var(--rl-p-line), 0 2px 0 var(--rl-p-line);
}

/* city chooser */
.clik-rl-sheet-body input[type="search"], .clik-rl-sheet-body input[type="text"], .clik-rl-city-q {
  display: block; width: calc(100% - 8px); height: 44px; margin: 6px 4px 8px; padding: 0 14px 0 40px; border: 0; border-radius: 14px;
  font: inherit; font-size: 15px; color: var(--rl-p-ink); outline: 0;
  background: var(--rl-p-chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a1' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center / 18px;
  transition: box-shadow .2s;
}
[dir="rtl"] .clik-rl-sheet-body input[type="search"], [dir="rtl"] .clik-rl-sheet-body input[type="text"], [dir="rtl"] .clik-rl-city-q { padding: 0 40px 0 14px; background-position: right 14px center; }
.clik-rl-sheet-body input[type="search"]:focus, .clik-rl-sheet-body input[type="text"]:focus, .clik-rl-city-q:focus { box-shadow: 0 0 0 2px var(--rl-ac); }
.clik-rl-sheet-body input::placeholder { color: var(--rl-p-mute); }
.clik-rl-cities { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.clik-rl-cityform { position: sticky; top: -6px; z-index: 2; margin: -6px -8px 0; padding: 6px 8px 2px; background: var(--rl-p-bg); }
.clik-rl-sheet[data-kind="city"] { height: 80vh; height: 80dvh; }
.clik-rl-cities .clik-rl-row::before, .clik-rl-city::before {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 12px;
  background: var(--rl-p-chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230866FF' d='M12 2a7.5 7.5 0 0 0-7.5 7.5c0 5.3 6.2 11.6 6.9 12.2.3.3.9.3 1.2 0 .7-.6 6.9-6.9 6.9-12.2A7.5 7.5 0 0 0 12 2zm0 10.3a2.8 2.8 0 1 1 0-5.6 2.8 2.8 0 0 1 0 5.6z'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.clik-rl-cities .clik-rl-row:has(> svg)::before, .clik-rl-cities .clik-rl-row:has(.clik-rl-row-ico)::before { display: none; }
.clik-rl-sheet-empty, .clik-rl-sheet-body > p { margin: 0; padding: 24px 16px; text-align: center; font-size: 14px; color: var(--rl-p-mute); }

/* ---------------------------------------------------------------------------------------------------------------
   the comments block inside the panel (the core's own markup for members; a read-only list for visitors)
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-panel-body > .clik-rl-cpost, .clik-rl-panel-body > div > .clik-rl-cpost { flex: 1 0 auto; }
.clik-rl-cpost {
  display: flex; flex-direction: column; min-height: 100%;
  height: auto !important; max-height: none !important; padding: 0 !important;
  color: var(--rl-p-ink); overflow: visible; overflow-wrap: anywhere;
}
.clik-rl-cpost .post-comments { flex: 1 0 auto; display: flex; flex-direction: column; padding: 0; }
/* the panel head has the sort: the core's own sort menu would be a second one */
.clik-rl-cpost .comments-filter { display: none; }
.clik-rl-cpost ul.js_comments, .clik-rl-clist { order: 1; margin: 0; padding: 10px 16px 6px !important; list-style: none; isolation: isolate; }
.clik-rl-cpost .js_comments-filter-loader { order: 0; padding: 18px 0; }
.clik-rl-cpost .post-comments > .js_see-more { order: 2; padding: 4px 16px 14px !important; }
.clik-rl-cpost .js_comment-disabled-msg { order: 3; margin: auto 16px 0; padding: 14px 0 !important; font-size: 13.5px; color: var(--rl-p-mute); border-top: 1px solid var(--rl-p-line); }
.clik-rl-cpost .post-comments > .js_comment-disabled-msg.x-hidden { display: none !important; }
/* the composer stays at the bottom of the panel, as in the apps */
.clik-rl-cpost .post-comments > .comment.js_comment-form {
  order: 4; position: sticky; bottom: 0; z-index: 10;
  display: flex; align-items: flex-end; gap: 10px;
  margin-top: auto; padding: 10px 14px calc(10px + var(--rl-safe-b)) !important;
  background: var(--rl-p-bg); border-top: 1px solid var(--rl-p-line);
}
.clik-rl-cpost .post-comments > .comment.js_comment-form.x-hidden { display: none !important; }
.clik-rl-cpost .js_comment-form > .comment-avatar { float: none; flex: none; width: 34px; height: 34px; margin-bottom: 3px; }
.clik-rl-cpost .js_comment-form > .comment-data { flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 !important; }
.clik-rl-cpost .comment-form {
  border-radius: 22px; background: var(--rl-p-chip);
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background .2s;
}
.clik-rl-cpost .comment-form:focus-within { box-shadow: inset 0 0 0 1.5px var(--rl-ac); background: var(--rl-p-bg); }
.clik-rl-cpost .comment-form textarea {
  min-height: 40px; max-height: 140px; padding: 10px 14px; font-size: 14.5px; line-height: 20px; color: var(--rl-p-ink);
}
.clik-rl-cpost .comment-form textarea::placeholder { color: var(--rl-p-mute); }
.clik-rl-cpost .comment-form .x-form-tools { padding-block: 8px; padding-inline: 2px 8px; color: var(--rl-p-soft); }
.clik-rl-cpost .comment-form .x-form-tools > li { margin: 0 2px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 24px; border-radius: 8px; transition: color .15s; }
.clik-rl-cpost .comment-form .x-form-tools > li:hover { color: var(--rl-ac); }
.clik-rl-cpost .comment-form .x-form-tools-post { color: var(--rl-ac); }
/* the emoji menu opens upwards from the composer (the core keeps its side), never wider than the panel */
.clik-rl-cpost .js_comment-form .emoji-menu { bottom: calc(100% + 8px); top: auto; max-width: min(320px, calc(100vw - 32px)); }

/* a comment: the site's own layout, as under every post (style.min.css "comments under a post" - the avatar 8 px before
   a bubble that holds the first name, the badges as icons and the words, the actions under it, 8 px between everything,
   the thread's lines of clik-cm-thread.js); only the panel's colours and sizes here (the owner, 28 Oct: "work on reels
   comment section like what you did with other comment section for posts" - the old absolute avatar + 48 px start
   padding came on top of that grid: the bubble began 56 px after the avatar) */
.clik-rl-cpost .post-comments ul.js_comments, .clik-rl-clist { padding: 8px 16px !important; }
.clik-rl-cpost .comment .comment-avatar-picture { min-width: 0; min-height: 0; width: 100%; height: 100%; padding: 0; background-color: var(--rl-p-chip); }
.clik-rl-cpost .post-comments .comment-inner { background: var(--rl-p-chip); }
.clik-rl-cpost .post-comments .comment-author a { color: var(--rl-p-ink); }
.clik-rl-cpost .post-comments .comment-text { color: var(--rl-p-ink); overflow-wrap: anywhere; }
.clik-rl-cpost .post-comments .comment-text a { color: var(--rl-ac); font-weight: 600; }
.clik-rl-cpost .post-comments .comment-data .img-fluid { max-height: 160px; border-radius: 12px; }
/* the actions' row: the reactions chip on the words' middle - an inline-flex chip sat on its emoji's baseline and stretched the row to 68 px (the gap under every liked comment) */
.clik-rl-cpost .post-comments .comment-actions { font-size: 12.5px; align-items: center; }
.clik-rl-cpost .post-comments .comment-actions .text-link, .clik-rl-cpost .post-comments .comment-actions .reaction-btn-name { font-size: 12.5px; font-weight: 700; color: var(--rl-p-mute); }
.clik-rl-cpost .post-comments .comment-actions .text-link:hover, .clik-rl-cpost .post-comments .comment-actions .reaction-btn-name:hover { color: var(--rl-p-ink); }
.clik-rl-cpost .post-comments .comment-actions .text-muted { font-size: 12.5px; color: var(--rl-p-mute) !important; }
.clik-rl-cpost .post-comments .comment-actions .reactions-stats { display: inline-flex; align-items: center; gap: 2px; padding: 1px 6px 1px 2px; border-radius: 999px; background: var(--rl-p-chip); font-weight: 700; color: var(--rl-p-soft); cursor: pointer; vertical-align: middle; line-height: 1; }
.clik-rl-cpost .post-comments .comment .dropdown-toggle-icon { width: 28px; height: 28px; padding: 3px; color: var(--rl-p-mute); border-radius: 50%; }
.clik-rl-cpost .post-comments .comment .dropdown-toggle-icon:hover { background: var(--rl-p-chip); }
@media (hover: none) { .clik-rl-cpost .comment .comment-btn { visibility: visible; } }
.clik-rl-cpost .post-comments .view-more-replies { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--rl-p-soft); }
.clik-rl-cpost .post-comments .view-more-replies .text-link { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.clik-rl-cpost .comment-replies .comment-form { border-radius: 18px; }
/* the composer at the panel's bottom: its photo in the bubbles' 36 px column, so the field starts where they start */
.clik-rl-cpost .post-comments > .comment.js_comment-form { column-gap: 8px; padding: 8px 16px calc(8px + var(--rl-safe-b)) !important; }
.clik-rl-cpost .js_comment-form > .comment-avatar { width: 36px !important; height: 36px !important; margin: 0 0 2px !important; }
.clik-rl-cpost .js_see-more .btn, .clik-rl-cmore {
  display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--rl-p-ink); background: var(--rl-p-chip); box-shadow: none; cursor: pointer;
}
.clik-rl-cpost .js_see-more .btn:hover, .clik-rl-cmore:hover { background: var(--rl-p-line); color: var(--rl-p-ink); }
.clik-rl-cmore { align-self: center; margin: 2px auto 14px; }
.clik-rl-cmore.is-loading { color: transparent; pointer-events: none; background: var(--clik-cube-load, var(--clik-cube)) center / 30px no-repeat, var(--rl-p-chip); }

/* empty state, comments off, visitors */
.clik-rl-cempty {
  order: -1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin: auto 0; padding: 40px 24px; text-align: center;
  font-size: 16px; font-weight: 800; color: var(--rl-p-ink);
}
.clik-rl-cempty::before {
  content: ""; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 22px;
  background: var(--rl-p-chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8 8 0 0 1-11.6 7.1L4 20l1.4-4.1A8 8 0 1 1 20 11.5z'/%3E%3Cpath d='M8.5 11.5h.01M12 11.5h.01M15.5 11.5h.01' stroke-width='2.6'/%3E%3C/svg%3E") center / 30px no-repeat;
}
.clik-rl-cempty br { display: none; }
/* the first comment (a member's own, added by post.js) takes the place of the empty state */
.clik-rl-cpost:has(.js_comments > li) .clik-rl-cempty, .clik-rl-cpost:has(.clik-rl-clist > li) .clik-rl-cempty { display: none; }
.clik-rl-cempty small { font-size: 13.5px; font-weight: 500; color: var(--rl-p-mute); }
.clik-rl-cpost.is-guest .clik-rl-gcm:not(:has(.clik-rl-clist > li)) { display: none; }
.clik-rl-cpost.is-guest .clik-rl-gcm { flex: 0 0 auto; }
.clik-rl-coff { order: 5; margin-top: auto; padding: 14px 16px calc(14px + var(--rl-safe-b)); text-align: center; font-size: 13.5px; color: var(--rl-p-mute); border-top: 1px solid var(--rl-p-line); }
.clik-rl-signin {
  order: 5; position: sticky; bottom: calc(12px + var(--rl-safe-b)); z-index: 10; flex: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - 28px); height: 46px; margin: auto 14px calc(12px + var(--rl-safe-b)); padding: 0 18px;
  border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 800; color: #fff; background: var(--rl-ac);
  box-shadow: 0 10px 24px -10px var(--rl-ac), 0 0 0 12px var(--rl-p-bg);
  cursor: pointer; transition: filter .2s, transform .15s var(--rl-ease);
}
.clik-rl-signin::before {
  content: ""; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8 8 0 0 1-11.6 7.1L4 20l1.4-4.1A8 8 0 1 1 20 11.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.clik-rl-signin:hover { filter: brightness(1.08); color: #fff; }
.clik-rl-signin:active { transform: scale(.97); }
.clik-rl-cmore { order: 2; }

/* ---------------------------------------------------------------------------------------------------------------
   scrim, toast, unmute chip
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-scrim {
  position: absolute; inset: 0; z-index: 15;
  background: rgba(0, 0, 0, .42);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.clik-rl-scrim.is-on { opacity: 1; visibility: visible; transition: opacity .3s; }

.clik-rl-toast {
  position: absolute; z-index: 30; inset-inline: 0; top: calc(var(--rl-safe-t) + 62px); margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: calc(100% - 32px); min-height: 46px; padding: 8px 8px 8px 18px; padding-inline: 18px 8px;
  border-radius: 16px;
  font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #fff;
  background: rgba(30, 30, 32, .94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.96);
  transition: opacity .2s, transform .35s var(--rl-spring), visibility 0s .35s, top .3s var(--rl-ease);
  pointer-events: none;
}
.clik-rl:has(.clik-rl-unmute.is-on) .clik-rl-toast { top: calc(var(--rl-safe-t) + 114px); }
.clik-rl-toast.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .2s, transform .35s var(--rl-spring); }
.clik-rl-toast:not(:has(button, a)) { padding-inline-end: 18px; }
.clik-rl-toast button, .clik-rl-toast a {
  flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 10px;
  font-size: 14px; font-weight: 800; color: #6fb1ff; background: rgba(255, 255, 255, .08); text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.clik-rl-toast button:hover, .clik-rl-toast a:hover { color: #9cc9ff; background: rgba(255, 255, 255, .16); }

.clik-rl-unmute {
  position: absolute; z-index: 10; top: calc(var(--rl-safe-t) + 62px); inset-inline: 0; margin-inline: auto;
  display: flex; align-items: center; gap: 8px;
  width: max-content; max-width: calc(100% - 32px); height: 40px; padding: 0 16px 0 12px; padding-inline: 12px 16px;
  border: 0; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #0f1419; background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  cursor: pointer; user-select: none; -webkit-user-select: none;
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.94);
  transition: opacity .2s, transform .35s var(--rl-spring), visibility 0s .35s;
}
.clik-rl-unmute:empty::after { content: "\1F507"; }
.clik-rl-unmute::before {
  content: ""; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1419' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='%230f1419'/%3E%3Cpath d='m22 9-6 6M16 9l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.clik-rl-unmute:has(svg)::before { display: none; }
.clik-rl-unmute svg { width: 20px; height: 20px; }
.clik-rl-unmute.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .35s var(--rl-spring); animation: clik-rl-nudge 2.4s 1.2s ease-in-out infinite; }

/* ---------------------------------------------------------------------------------------------------------------
   phone details
   --------------------------------------------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  /* the comments sheet leaves the top of the reel visible, only lightly dimmed */
  .clik-rl.has-comments .clik-rl-scrim { background: rgba(0, 0, 0, .25); }
  .clik-rl-sheet { padding-bottom: calc(var(--rl-safe-b) + 6px); }
  .clik-rl-sheet > header { border-bottom: 0; min-height: 44px; }
  .clik-rl-sheet > header h2 { font-size: 16px; }
  .clik-rl-panel-head { min-height: 46px; }
  .clik-rl-panel-head h2 { font-size: 15.5px; }
  /* the save button has no number: its word is for the computer rail only (kept for screen readers) */
  .clik-rl-act.is-save .clik-rl-n { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 380px) {
  .clik-rl { --rl-rail-w: 56px; }
  .clik-rl-tab { padding: 0 8px; font-size: 14.5px; }
  .clik-rl-ico { width: 44px; height: 44px; }
  .clik-rl-ico svg { width: 25px; height: 25px; }
  .clik-rl-rail { gap: 12px; }
}
/* tablets and phones held sideways (still the full-screen player): the reel is a centred 9:16 column at full
   height, the rail beside it, rather than a cover that would cut a third of the picture */
@media (max-width: 991.98px) and (min-aspect-ratio: 2/3) and (min-height: 521px) {
  .clik-rl-slide { background: radial-gradient(60% 70% at 50% 45%, #151518 0%, #000 75%); }
  .clik-rl-frame { inset-inline: 0; margin-inline: auto; width: calc(100vh * 9 / 16); width: calc(100cqh * 9 / 16); max-width: 100%; }
}
@media (max-width: 991.98px) and (min-aspect-ratio: 3/4) and (min-height: 521px) {
  /* the rail is out of the picture: the caption has the whole width */
  .clik-rl-info { inset-inline-end: 0; padding-inline-end: 14px; }
}
/* a phone held sideways: the whole picture on the full screen, the caption on the side, a tighter rail */
@media (max-width: 991.98px) and (max-height: 520px) {
  .clik-rl-video, .clik-rl-poster { object-fit: contain !important; }
  .clik-rl-info { inset-inline-end: auto; width: min(48%, 420px); bottom: 14px; }
  .clik-rl-rail { gap: 8px; bottom: 12px; }
  .clik-rl-ravatar { display: none; }
  .clik-rl-ico { width: 40px; height: 40px; }
  .clik-rl-ico svg { width: 22px; height: 22px; }
  .clik-rl-n { font-size: 11.5px; }
}

/* ---------------------------------------------------------------------------------------------------------------
   computer (>= 992px): under the site header, from the left menu to the screen edge
   --------------------------------------------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .clik-rl {
    --rl-top-h: 60px;
    --rl-gap: 18px;
    top: 56px; bottom: 0; inset-inline-start: var(--side-w, 0px); inset-inline-end: 0;
    height: auto; z-index: 1;
    background: radial-gradient(70% 60% at 50% 40%, #151518 0%, #0b0b0c 70%);
  }
  body.n_activated .clik-rl, body.n_live .clik-rl { top: 100px; }

  .clik-rl-top {
    height: var(--rl-top-h); padding: 0 16px; gap: 10px;
    display: grid; grid-template-columns: 1fr minmax(0, max-content) 1fr; align-items: center;
    inset-inline-end: 0; background: none;
    transition: inset-inline-end .4s var(--rl-sheet);
  }
  .clik-rl-back { justify-self: start; grid-column: 1; background: rgba(255, 255, 255, .08); }
  .clik-rl-tabs {
    grid-column: 2; justify-content: safe center; max-width: 100%;
    padding: 4px; gap: 2px; border-radius: 999px;
    background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    -webkit-mask-image: none; mask-image: none;
  }
  .clik-rl-tab { height: 36px; padding: 0 16px; font-size: 14.5px; text-shadow: none; color: rgba(255, 255, 255, .66); }
  .clik-rl.has-comments .clik-rl-tab { padding: 0 12px; font-size: 14px; }
  .clik-rl-tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  .clik-rl-tab[aria-selected="true"] { background: rgba(255, 255, 255, .14); }
  .clik-rl-tab::after { bottom: 2px; width: 18px; }
  .clik-rl-tab[data-tab="author"], .clik-rl-tab[data-tab="saved"] { background: rgba(255, 255, 255, .14); }
  .clik-rl-tools { grid-column: 3; justify-self: end; }
  .clik-rl-help { display: inline-flex; }
  .clik-rl-sound, .clik-rl-help { background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .clik-rl-sound:hover, .clik-rl-help:hover, .clik-rl-back:hover { background: rgba(255, 255, 255, .16); }
  .clik-rl.is-muted .clik-rl-sound { background: rgba(255, 255, 255, .08); }

  .clik-rl-stage { top: var(--rl-top-h); transition: inset-inline-end .4s var(--rl-sheet); }
  .clik-rl.has-comments .clik-rl-stage, .clik-rl.has-comments .clik-rl-top { inset-inline-end: var(--rl-panel-w); }

  /* a slide: the 9:16 frame centred, the rail hanging beside it (the start padding keeps the frame in the middle) */
  .clik-rl-slide {
    display: flex; align-items: flex-end; justify-content: center; gap: var(--rl-gap);
    padding: 4px 0 20px; padding-inline-start: calc(var(--rl-rail-w) + var(--rl-gap));
    background: transparent;
  }
  .clik-rl-frame {
    position: relative; inset: auto; flex: none;
    width: calc((100vh - 56px - 60px - 24px) * 9 / 16);
    /* container units: the slide's content box (its paddings already taken out) */
    width: min(calc(100cqh * 9 / 16), calc(100cqw - var(--rl-rail-w) - var(--rl-gap) - 32px));
    height: auto; aspect-ratio: 9 / 16; align-self: flex-end;
    border-radius: 16px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
    isolation: isolate;
  }
  .clik-rl-frame::after {
    content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, transparent 16%);
  }
  .clik-rl-info { inset-inline: 0; bottom: 18px; padding-inline: 16px 16px; }
  .clik-rl-progress { bottom: 0; }
  .clik-rl-progress::before { inset-inline: 0; }
  .clik-rl-speed { top: 16px; }
  .clik-rl-time { bottom: 70px; }

  .clik-rl-rail {
    position: relative; inset: auto; flex: none; align-self: flex-end;
    width: var(--rl-rail-w); gap: 16px; padding-bottom: 4px;
  }
  .clik-rl-ravatar { width: 52px; height: 52px; margin-bottom: 10px; }
  .clik-rl-ico {
    width: 52px; height: 52px;
    background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  }
  .clik-rl-ico svg { width: 26px; height: 26px; filter: none; }
  .clik-rl-act:hover .clik-rl-ico { background: rgba(255, 255, 255, .18); transform: scale(1.06); }
  .clik-rl-act:active .clik-rl-ico { transform: scale(.92); }
  .clik-rl-act.is-opts .clik-rl-ico { width: 46px; height: 46px; }
  .clik-rl-n { max-width: 96px; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .9); text-shadow: none; }
  /* the bookmark carries no word under it (it stays for screen readers), like on phones */
  .clik-rl-act.is-save .clik-rl-n { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

  /* up / down beside the stage */
  .clik-rl-nav {
    position: absolute; z-index: 6; top: 50%; inset-inline-end: 20px; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 12px;
  }
  .clik-rl-up, .clik-rl-down {
    display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
    color: #fff; background: rgba(255, 255, 255, .1); cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    transition: background .2s, transform .15s var(--rl-ease), opacity .2s;
  }
  .clik-rl-up:hover, .clik-rl-down:hover { background: rgba(255, 255, 255, .2); }
  .clik-rl-up:active { transform: translateY(-2px) scale(.94); }
  .clik-rl-down:active { transform: translateY(2px) scale(.94); }
  .clik-rl-up:disabled, .clik-rl-down:disabled { opacity: .3; cursor: default; }
  .clik-rl-up svg, .clik-rl-down svg { width: 24px; height: 24px; }
  .clik-rl-up:empty::before, .clik-rl-down:empty::before {
    content: ""; width: 22px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .clik-rl-down:empty::before { transform: rotate(180deg); }

  /* loading / end / empty slides are a frame-sized card in the middle */
  .clik-rl-slide.is-loading, .clik-rl-slide.is-end, .clik-rl-slide.is-empty { padding: 24px; background: transparent; }
  .clik-rl-slide.is-end, .clik-rl-slide.is-empty {
    background: radial-gradient(40% 50% at 50% 30%, rgba(8, 102, 255, .22), transparent 70%), radial-gradient(30% 40% at 50% 90%, rgba(255, 45, 85, .12), transparent 70%);
  }

  /* comments: a side panel at the inline end, full height of the player */
  .clik-rl-panel {
    top: 0; bottom: 0; inset-inline-start: auto; inset-inline-end: 0;
    width: var(--rl-panel-w); height: auto; border-radius: 0;
    border-inline-start: 1px solid var(--rl-p-line);
    box-shadow: -12px 0 40px rgba(0, 0, 0, .25);
    transform: translateX(100%);
    transition: transform .4s var(--rl-sheet), visibility 0s .4s;
  }
  [dir="rtl"] .clik-rl-panel { transform: translateX(-100%); box-shadow: 12px 0 40px rgba(0, 0, 0, .25); }
  .clik-rl-panel.is-open, [dir="rtl"] .clik-rl-panel.is-open { transform: none; transition: transform .4s var(--rl-sheet), visibility 0s; }
  .clik-rl-panel .clik-rl-grip { display: none; }
  .clik-rl-panel-head { min-height: 60px; padding-block: 8px; }

  /* sheets: a centred card */
  .clik-rl-sheet {
    inset: 0; margin: auto;
    width: min(420px, calc(100% - 32px)); height: fit-content; max-height: min(680px, calc(100% - 48px));
    padding-bottom: 6px; border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    opacity: 0; transform: translateY(12px) scale(.96);
    transition: opacity .2s, transform .35s var(--rl-spring), visibility 0s .35s;
  }
  .clik-rl-sheet.is-open { opacity: 1; transform: none; transition: opacity .2s, transform .35s var(--rl-spring), visibility 0s; }
  .clik-rl-sheet .clik-rl-grip { display: none; }
  .clik-rl-sheet > header { min-height: 58px; padding-block: 6px; }
  .clik-rl.has-comments .clik-rl-sheet { inset-inline-end: var(--rl-panel-w); }

  .clik-rl-scrim { background: rgba(0, 0, 0, .5); }
  .clik-rl-toast { top: calc(var(--rl-top-h) + 16px); }
  .clik-rl:has(.clik-rl-unmute.is-on) .clik-rl-toast { top: calc(var(--rl-top-h) + 68px); }
  .clik-rl.has-comments .clik-rl-toast, .clik-rl.has-comments .clik-rl-unmute { inset-inline-end: var(--rl-panel-w); }
  .clik-rl-unmute { top: calc(var(--rl-top-h) + 16px); }
}
/* the up / down buttons leave when the stage is too narrow for them beside the rail */
@container rlstage (max-width: 760px) {
  .clik-rl-nav { display: none !important; }
}
@media (min-width: 1600px) {
  .clik-rl { --rl-gap: 22px; --rl-panel-w: 440px; }
  .clik-rl-frame { border-radius: 18px; }
}

/* ---------------------------------------------------------------------------------------------------------------
   reduced motion: everything works, nothing bounces
   --------------------------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .clik-rl-feed { scroll-behavior: auto; }
  .clik-rl-tabs { scroll-behavior: auto; }
  .clik-rl *, .clik-rl *::before, .clik-rl *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .clik-rl-heart, .clik-rl-heart::before, .clik-rl-heart::after,
  .clik-rl-state::before, .clik-rl-state > svg,
  .clik-rl-act .clik-rl-ico > *, .clik-rl-act .clik-rl-ico svg,
  .clik-rl-pick, .clik-rl-unmute, .clik-rl-speed::before, .clik-rl-plus,
  .clik-rl-slide.is-end::before, .clik-rl-slide.is-empty::before,
  .clik-rl-chart svg rect, .clik-rl-bars svg rect { animation: none !important; }
  .clik-rl-heart { opacity: 0; }
  .clik-rl-pick:hover, .clik-rl-pick:focus-visible, .clik-rl-pick.is-hover { transform: scale(1.12); }
  /* the loading cube keeps turning: it is the only sign that something is coming */
}

/* ---------------------------------------------------------------------------------------------------------------
   animations
   --------------------------------------------------------------------------------------------------------------- */
@keyframes clik-rl-flash {
  0% { opacity: 0; transform: scale(.6); }
  25% { opacity: .95; transform: scale(1.04); }
  60% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.25); }
}
@keyframes clik-rl-heart {
  0% { opacity: 0; transform: rotate(var(--r, -12deg)) scale(0); }
  14% { opacity: 1; transform: rotate(var(--r, -12deg)) scale(1.25); }
  26% { transform: rotate(var(--r, -12deg)) scale(.92); }
  38% { transform: rotate(var(--r, -12deg)) scale(1.04); }
  62% { opacity: 1; transform: rotate(var(--r, -12deg)) scale(1); }
  100% { opacity: 0; transform: translateY(-90px) rotate(var(--r, -12deg)) scale(.7); }
}
@keyframes clik-rl-ring {
  0% { opacity: .9; transform: scale(.4); }
  100% { opacity: 0; transform: scale(1.7); border-width: 0; }
}
@keyframes clik-rl-spark {
  0% { opacity: 0; transform: scale(.5); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.45); }
}
@keyframes clik-rl-pop {
  0% { transform: scale(1); }
  30% { transform: scale(.7); }
  65% { transform: scale(1.28); }
  100% { transform: scale(1); }
}
@keyframes clik-rl-pick-in {
  0% { opacity: 0; transform: translateY(14px) scale(.4); }
  100% { opacity: 1; transform: none; }
}
@keyframes clik-rl-plus-out {
  0%, 60% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.4); visibility: hidden; }
}
@keyframes clik-rl-ff {
  0%, 100% { opacity: 1; transform: translateX(0); }
  50% { opacity: .55; transform: translateX(2px); }
}
@keyframes clik-rl-nudge {
  0%, 82%, 100% { transform: none; }
  88% { transform: translateY(-3px); }
  94% { transform: translateY(1px); }
}
@keyframes clik-rl-rise {
  0% { opacity: 0; transform: translateY(16px) scale(.8); }
  100% { opacity: 1; transform: none; }
}
@keyframes clik-rl-bar {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

/* the members' chat bar (style.min.css .chat-sidebar: fixed at the inline end from 1200px, 94px, z-index 99): when the page
   has one, the player ends at it like every page (nav buttons and the comments panel stay clear of it); the reels page
   normally renders none (_js_templates.tpl), so the player keeps the full width */
@media (min-width: 1200px) {
  body:not(.n_chat):has(.chat-sidebar) .clik-rl { inset-inline-end: 94px; }
}

/* the 2x badge clear of the "Tap to turn the sound on" chip (a first visit's first press can be a hold) */
.clik-rl:has(.clik-rl-unmute.is-on) .clik-rl-speed { top: calc(var(--rl-safe-t) + 114px); }
@media (min-width: 992px) {
  .clik-rl:has(.clik-rl-unmute.is-on) .clik-rl-speed { top: 66px; }
}
/* an anonymous author's picture is the CLIK cube: the logo itself, never on a plate or in a ring */
.clik-rl-ravatar.is-anon, .clik-rl-avatar.is-anon { background: none !important; box-shadow: none; border-radius: 0; overflow: visible; }
.clik-rl-ravatar.is-anon img, .clik-rl-avatar.is-anon img { border-radius: 0; object-fit: contain; background: none !important; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }

/* a reel that cannot play keeps its actions (react, comments, share, options) above the error message */
.clik-rl-slide .clik-rl-rail { z-index: 7; }

/* the end of the list (and an empty tab): the CLIK.ma cube itself, never on a plate - only its thin white edge */
.clik-rl-slide.is-end::before, .clik-rl-slide.is-empty::before {
  width: 92px; height: 92px; border-radius: 0; box-shadow: none;
  background: var(--clik-cube) center / contain no-repeat !important;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 10px 24px rgba(8, 102, 255, .35));
}

/* Admin > Posts "Posts views" off: no view counts on the reels (the creator's own statistics keep them) */
.clik-rl.no-views .clik-rl-views, .clik-rl.no-views .clik-rl-views + .clik-rl-dot, .clik-rl.no-views .clik-rl-dot:has(+ .clik-rl-views:last-child) { display: none !important; }

/* double-tap: the CLIK.ma cube is stamped where the finger was (its thin white edge, never on a plate), with its colours'
   ring and sparks */
.clik-rl-heart:empty {
  background: var(--clik-cube) center / contain no-repeat;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 8px 20px rgba(8, 102, 255, .5));
}
.clik-rl-heart::before { border-color: rgba(8, 102, 255, .85); }

/* the rail: every round button the same size on one axis, 8px apart; the counts are bubbles on the buttons (shown
   only when there is something: likes, comments, shares), never a line under them */
.clik-rl-rail { gap: 8px; }
.clik-rl-act { position: relative; height: auto; gap: 0; justify-content: flex-start; }
.clik-rl-act.is-opts .clik-rl-ico { width: 48px; height: 48px; }
.clik-rl-ravatar { margin-bottom: 6px; } /* 8px + 6px: room for its "+" that hangs under it */
.clik-rl-act:not(.is-save) > .clik-rl-n {
  position: absolute; z-index: 2; top: -4px; inset-inline-end: -6px;
  min-width: 20px; max-width: none; height: 20px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: 0; color: #fff; text-shadow: none;
  background: #0866FF; box-shadow: 0 0 0 2px #0b0b0c, 0 2px 6px rgba(0, 0, 0, .35);
  pointer-events: none; unicode-bidi: plaintext; /* "96 k" in its order in Arabic */
}
.clik-rl-act:not(.is-save) > .clik-rl-n:empty { display: none; }
.clik-rl-act.is-react[aria-pressed="true"] > .clik-rl-n { background: #FF2D55; }
@media (min-width: 992px) {
  .clik-rl-act.is-opts .clik-rl-ico { width: 52px; height: 52px; }
  .clik-rl-ravatar { margin-bottom: 6px; }
  .clik-rl-act:not(.is-save) > .clik-rl-n { color: #fff; font-size: 11px; font-weight: 800; }
}
/* the like button: a white cube; once liked, the CLIK.ma cube in its colours (no plate behind the logo's colours) */
.clik-rl-act.is-react .clik-rl-ico svg { width: 24px; height: 24px; }
.clik-rl-cube-on { display: block; width: 30px; height: 30px; background: var(--clik-cube) center / contain no-repeat; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 2px 6px rgba(8, 102, 255, .45)); animation: clik-rl-pop .5s var(--rl-spring); }

/* "Vérifié" beside its icon, everything on the name's line, centred */
.clik-rl-author { align-items: center; }
.clik-rl-author .verified-color, .clik-rl-author .pro-badge { height: 20px; gap: 3px; }
.clik-rl-author .verified-color i { font-style: normal; font-size: 12px; font-weight: 700; line-height: 1; color: #fff; }

/* the back arrow of the shortcuts / statistics windows (to the options) */
.clik-rl-sheet-back { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-inline-end: 6px; padding: 0; border: 0; border-radius: 50%; color: var(--rl-p-ink); background: var(--rl-p-chip); cursor: pointer; }
.clik-rl-sheet-back svg { width: 20px; height: 20px; }
.clik-rl-sheet-back[hidden] { display: none; }
[dir="rtl"] .clik-rl-sheet-back svg { transform: scaleX(-1); }

/* the site's verified and PRO badges (as on every post), readable on the video */
.clik-rl-author .verified-color, .clik-rl-author .pro-badge {
  flex: none; display: inline-flex; align-items: center; gap: 2px; margin: 0 !important; margin-inline-start: -4px !important;
  font-size: 11px; font-weight: 700; line-height: 1; text-shadow: none;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .55));
}
.clik-rl-author .verified-color { color: #0866FF; }
.clik-rl-author .verified-color svg { width: 17px; height: 17px; display: block; }
.clik-rl-author .pro-badge { color: #FF7043; }
.clik-rl-author .pro-badge > svg { width: 17px !important; height: 17px !important; }
/* no name over the video, only the avatar: 8 px from the avatar's white ring to the first badge and between the badges
   (the badges' old -4 px pull towards the name taken off; the ring is drawn 2 px outside the avatar's box) */
.clik-rl-author { gap: 8px; }
.clik-rl-author .clik-rl-avatar { margin-inline-end: 2px; }
.clik-rl-author .verified-color, .clik-rl-author .pro-badge { margin: 0 !important; }

/* quality: the three icon buttons on the label's line */
.clik-rl-row.is-set.is-line { flex-wrap: nowrap; }
.clik-rl-seg > button.is-ico { display: grid; place-items: center; width: 44px; padding: 0; }
.clik-rl-seg > button.is-ico svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------------------------------------------------------
   the halo (ambient mode, as on YouTube): the reel's own colours glowing around its frame - a 24 x 42 canvas the
   player paints from the video (the poster under it until then), stretched to the frame's size, blurred and a little
   larger. Computer and wide screens only (on a phone the reel is the whole screen); off in the options (no-ambient).
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-halo { display: none; }
@media (min-width: 992px), (max-width: 991.98px) and (min-aspect-ratio: 2/3) and (min-height: 521px) {
  /* the slide's whole box, its glow fading out at the slide's top and bottom (the slide clips: never a hard line) */
  .clik-rl-halo {
    display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  }
  .clik-rl-halo canvas {
    position: absolute; left: 50%; display: block; height: auto; aspect-ratio: 9 / 16;
    border-radius: 40px;
    background: #000 center / cover no-repeat;
    filter: blur(64px) saturate(1.6) brightness(1.05);
    opacity: .75;
  }
  .clik-rl-slide:not(.is-ready):not(.is-active) .clik-rl-halo canvas { opacity: .5; }
}
@media (min-width: 992px) {
  .clik-rl-halo canvas {
    bottom: 20px;
    width: min(calc(100cqh * 9 / 16), calc(100cqw - var(--rl-rail-w) - var(--rl-gap) - 32px));
    transform: translateX(-50%) scale(1.18, 1.06);
  }
  /* the frame lies on its glow: no dark shadow under it any more, only the thin edge */
  .clik-rl-frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 60px -36px rgba(0, 0, 0, .7); }
}
@media (max-width: 991.98px) and (min-aspect-ratio: 2/3) and (min-height: 521px) {
  .clik-rl-halo canvas { top: 0; width: calc(100vh * 9 / 16); width: calc(100cqh * 9 / 16); max-width: 100%; transform: translateX(-50%) scale(1.3, 1); opacity: .6; }
}
.clik-rl.no-ambient .clik-rl-halo { display: none !important; }

/* ---------------------------------------------------------------------------------------------------------------
   the controls over the video (computer): play / pause, the sound with its volume (it opens on hover), then the options
   and the full screen in one pill - round 48px glass buttons with line icons, 16px from the frame's top and sides.
   They show while the mouse is over the reel, on keyboard focus and while it is paused.
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-ctl { display: none; }
@media (min-width: 992px) {
  .clik-rl-ctl {
    position: absolute; z-index: 9; top: 16px; inset-inline: 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    pointer-events: none; transition: opacity .25s ease;
  }
  .clik-rl-ctl > * { pointer-events: auto; }
  .clik-rl-ctl-g { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .clik-rl-pp, .clik-rl-vol, .clik-rl-ctl-g.is-end {
    height: 48px; border-radius: 999px; color: #fff;
    background: rgba(0, 0, 0, .34); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  }
  .clik-rl-ctl-g.is-end { gap: 0; }
  .clik-rl-cbtn {
    flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
    color: #fff; background: transparent; cursor: pointer;
    transition: background .2s, transform .15s var(--rl-ease);
  }
  .clik-rl-cbtn:hover { background: rgba(255, 255, 255, .14); }
  .clik-rl-cbtn:active { transform: scale(.9); }
  .clik-rl-pp { background: rgba(0, 0, 0, .34); }
  .clik-rl-pp:hover { background: rgba(40, 40, 40, .6); }
  .clik-rl-cbtn svg { grid-area: 1 / 1; width: 24px; height: 24px; }
  .clik-rl-cbtn svg.is-line { stroke-width: 2; }
  /* play / pause, the sound's three levels and the full screen: the CSS shows the icon of the state */
  .clik-rl-pp .is-pause, .clik-rl-slide.is-playing .clik-rl-pp .is-play { display: none; }
  .clik-rl-slide.is-playing .clik-rl-pp .is-pause { display: block; }
  .clik-rl-vol .js_clik-rl-sound svg { display: none; }
  .clik-rl[data-vol="0"] .clik-rl-vol .is-v0, .clik-rl[data-vol="1"] .clik-rl-vol .is-v1,
  .clik-rl[data-vol="2"] .clik-rl-vol .is-v2, .clik-rl:not([data-vol]) .clik-rl-vol .is-v2 { display: block; }
  .clik-rl-fs .is-off, .clik-rl.is-full .clik-rl-fs .is-on { display: none; }
  .clik-rl.is-full .clik-rl-fs .is-off { display: block; }
  .clik-rl.no-fs .clik-rl-fs { display: none; }
  /* the volume: the pill opens to its slider on hover / focus */
  .clik-rl-vol { display: flex; align-items: center; }
  .clik-rl-vol-r {
    flex: none; width: 0; height: 4px; margin: 0; padding: 0; border: 0; border-radius: 4px; opacity: 0;
    -webkit-appearance: none; appearance: none; cursor: pointer; accent-color: #fff;
    background: linear-gradient(to right, #fff var(--v, 100%), rgba(255, 255, 255, .3) var(--v, 100%));
    transition: width .25s var(--rl-ease), opacity .2s, margin .25s var(--rl-ease);
  }
  [dir="rtl"] .clik-rl-vol-r { background: linear-gradient(to left, #fff var(--v, 100%), rgba(255, 255, 255, .3) var(--v, 100%)); }
  .clik-rl-vol:hover .clik-rl-vol-r, .clik-rl-vol:focus-within .clik-rl-vol-r { width: 96px; opacity: 1; margin-inline: 4px 16px; }
  .clik-rl-vol-r:focus { outline: 0; }
  .clik-rl-vol-r:focus-visible { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
  .clik-rl-vol-r::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
  .clik-rl-vol-r::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
  .clik-rl-vol-r::-moz-range-track { background: transparent; border: 0; }
  .clik-rl-vol-r::-moz-range-progress { background: transparent; }
  /* the controls replace the top bar's sound button and the rail's options on a computer */
  .clik-rl-tools .clik-rl-sound, .clik-rl-rail .clik-rl-act.is-opts { display: none; }
  /* the 2x badge, the unmute chip and the toast under the controls' row */
  .clik-rl-speed, .clik-rl:has(.clik-rl-unmute.is-on) .clik-rl-speed { top: 76px; }
  .clik-rl-unmute { top: calc(var(--rl-top-h) + 76px); }
  .clik-rl-toast { top: calc(var(--rl-top-h) + 76px); }
  .clik-rl:has(.clik-rl-unmute.is-on) .clik-rl-toast { top: calc(var(--rl-top-h) + 128px); }
  .clik-rl-frame::after { background: linear-gradient(180deg, rgba(0, 0, 0, .36) 0%, transparent 18%); }
}
@media (min-width: 992px) and (hover: hover) {
  .clik-rl-ctl { opacity: 0; }
  .clik-rl-frame:hover .clik-rl-ctl, .clik-rl-ctl:focus-within, .clik-rl-slide.is-paused .clik-rl-ctl,
  .clik-rl-slide:not(.is-ready) .clik-rl-ctl { opacity: 1; }
  .clik-rl-frame::after { opacity: 0; transition: opacity .25s; }
  .clik-rl-frame:hover::after, .clik-rl-frame:focus-within::after, .clik-rl-slide.is-paused .clik-rl-frame::after { opacity: 1; }
}
/* the full screen: the player is the whole screen (the browser places it), no site header above it */
.clik-rl.is-full { top: 0; inset-inline: 0; }
@media (prefers-reduced-motion: reduce) {
  .clik-rl-vol-r, .clik-rl-ctl, .clik-rl-cbtn { transition: none; }
}

/* ---------------------------------------------------------------------------------------------------------------
   the rail's 3D look (YouTube's raised buttons): each button a small lit dome - light from the top-left, a glossy rim,
   a darker bottom and a soft shadow under it; it rises on hover and presses in on a click. The icons are 3D too
   (filled, lit from the top, a glossy band, the cube's three faces: I3 in clik-reels.js). No words under them: the
   counts stay bubbles on the buttons.
   --------------------------------------------------------------------------------------------------------------- */
.clik-rl-rail .clik-rl-ico {
  background:
    radial-gradient(90% 70% at 32% 18%, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .1) 42%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(70, 72, 78, .78) 0%, rgba(26, 27, 30, .86) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -3px 6px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 6px 14px rgba(0, 0, 0, .42), 0 1px 2px rgba(0, 0, 0, .5);
  transition: transform .2s var(--rl-spring), box-shadow .2s, background .2s;
}
.clik-rl-rail .clik-rl-ico svg.is-3d { width: 27px; height: 27px; filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, .5)); }
.clik-rl-rail .clik-rl-act:hover .clik-rl-ico {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -3px 6px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 10px 20px rgba(0, 0, 0, .48), 0 2px 3px rgba(0, 0, 0, .5);
}
.clik-rl-rail .clik-rl-act:active .clik-rl-ico {
  transform: translateY(1px) scale(.94);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 2px 4px rgba(0, 0, 0, .4);
}
/* saved: the bookmark turns gold */
.clik-rl-act.is-save[aria-pressed="true"] .clik-rl-ico svg.is-3d path.b, .clik-rl-act.is-save.is-saved .clik-rl-ico svg.is-3d path.b { fill: url(#clik-rl-3d-gold); }
.clik-rl-act.is-save[aria-pressed="true"] .clik-rl-ico svg.is-3d, .clik-rl-act.is-save.is-saved .clik-rl-ico svg.is-3d { fill: none; }
@media (min-width: 992px) {
  .clik-rl-rail .clik-rl-ico {
    background:
      radial-gradient(90% 70% at 32% 18%, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .08) 42%, rgba(255, 255, 255, 0) 70%),
      linear-gradient(180deg, #45474d 0%, #1b1c1f 100%);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .clik-rl-rail .clik-rl-ico svg.is-3d { width: 29px; height: 29px; }
  .clik-rl-rail .clik-rl-act:hover .clik-rl-ico { background: radial-gradient(90% 70% at 32% 18%, rgba(255, 255, 255, .36) 0%, rgba(255, 255, 255, .1) 42%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #4f5158 0%, #222327 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .clik-rl-rail .clik-rl-act:hover .clik-rl-ico, .clik-rl-rail .clik-rl-act:active .clik-rl-ico { transform: none; }
}

/* ---------- round 7 (the owner, 29 Oct: "1 2 3 4 all of them") ----------
   "N nouveaux commentaires": a pill at the top of the panel's list while others' comments wait above (clik-reels.js liveNew()),
   a tap scrolls up to them; the CLIK cube where a comment was double-tapped (cmPop()) */
.clik-rl-cnew {
  position: absolute; z-index: 12; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100% - 32px);
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 10px; border: 0; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--rl-ac); box-shadow: 0 8px 20px -8px var(--rl-ac), 0 2px 6px rgba(0, 0, 0, .18);
  cursor: pointer; opacity: 0; translate: 0 -8px; transition: opacity .2s, translate .25s cubic-bezier(.2, .9, .3, 1.3), filter .15s;
}
.clik-rl-cnew[hidden] { display: none; }
.clik-rl-cnew.is-on { opacity: 1; translate: 0 0; }
.clik-rl-cnew svg { width: 16px; height: 16px; flex: none; }
.clik-rl-cnew span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clik-rl-cnew:hover { filter: brightness(1.08); }
.clik-rl-cnew:active { scale: .95; }
.clik-rl-cnew:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(8, 102, 255, .55); }
.clik-rl-cnew.is-bump svg { animation: clik-rl-cnew-up .6s ease 1; }
@keyframes clik-rl-cnew-up { 40% { transform: translateY(-3px); } }
.clik-rl-cpost .post-comments .comment-inner { position: relative; touch-action: manipulation; }
.clik-rl-cmpop {
  position: absolute; z-index: 3; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none;
  background: var(--clik-cube) center / contain no-repeat; filter: drop-shadow(0 4px 8px rgba(8, 102, 255, .35));
  animation: clik-rl-cmpop .85s cubic-bezier(.2, .9, .3, 1.2) forwards;
}
.clik-rl-cmpop::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #F5104F; opacity: 0; animation: clik-rl-cmring .6s ease-out .05s; }
@keyframes clik-rl-cmpop {
  0% { opacity: 0; transform: scale(.2) rotate(var(--r)); }
  30% { opacity: 1; transform: scale(1.2) rotate(var(--r)); }
  55% { transform: scale(.95) rotate(var(--r)); }
  100% { opacity: 0; transform: translateY(-26px) scale(1) rotate(var(--r)); }
}
@keyframes clik-rl-cmring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) {
  .clik-rl-cnew, .clik-rl-cnew.is-bump svg { transition: none; animation: none; translate: none; }
  .clik-rl-cmpop { animation: clik-rl-cmfade .45s linear forwards; }
  .clik-rl-cmpop::after { display: none; }
}
@keyframes clik-rl-cmfade { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- round 115: the comments in YouTube's way (js/core/clik-rl-yt.js, Réglages CLIK clik_cm_rl_yt) ----------
   👍 count 👎 then « Répondre »: the core's reaction button and its chip leave the row; « 2 réponses ⌄ » folds the
   replies, the thread's lines open and close them too (a pointer on them, the whole thread lit under the mouse) */
html.clik-rl-yt .clik-rl-cpost .comment-actions > li:has(> .reactions-wrapper),
html.clik-rl-yt .clik-rl-cpost .comment-actions > li:has(> div > .reactions-stats) { display: none !important; }
html.clik-rl-yt .clik-rl-cpost .comment-actions { gap: 4px 12px; }
.clik-rl-cpost .comment-actions > li.clik-rlt { display: inline-flex; align-items: center; gap: 0; margin-inline-start: -6px; }
.clik-rl-cpost .clik-rlt-b { display: grid; place-items: center; width: 30px; height: 30px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--rl-p-ink); cursor: pointer; transition: background-color .15s, transform .15s; -webkit-tap-highlight-color: transparent; }
.clik-rl-cpost .clik-rlt-b:hover { background: var(--rl-p-chip); }
.clik-rl-cpost .clik-rlt-b:active { transform: scale(.9); }
.clik-rl-cpost .clik-rlt-b:focus-visible { outline: 2px solid #0866FF; outline-offset: 1px; }
.clik-rl-cpost .clik-rlt-b svg { display: block; width: 18px; height: 18px; }
.clik-rl-cpost .clik-rlt-b[aria-pressed="true"] .t { fill: currentColor; }
.clik-rl-cpost .clik-rlt-b.is-pop svg { animation: clik-rlt-pop .45s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes clik-rlt-pop { 0% { transform: scale(1); } 35% { transform: scale(1.32) rotate(-10deg); } 100% { transform: scale(1); } }
.clik-rl-cpost .clik-rlt-n { min-width: 0; padding: 0 4px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1; color: var(--rl-p-soft); font-variant-numeric: tabular-nums; }
.clik-rl-cpost .clik-rlt-n:empty { display: none; }
/* « 2 réponses ⌄ » / « Masquer les réponses ⌃ »: YouTube's blue words, a round hover */
.clik-rl-cpost .post-comments .view-more-replies.clik-rlt-rt { display: inline-flex; align-self: flex-start; margin-inline-start: -8px; padding: 4px 12px 4px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #065fd4; cursor: pointer; transition: background-color .15s; }
.clik-rl-cpost .post-comments .view-more-replies.clik-rlt-rt:hover { background: rgba(6, 95, 212, .1); }
.clik-rl-cpost .post-comments .view-more-replies.clik-rlt-rt:focus-visible { outline: 2px solid #0866FF; outline-offset: 1px; }
.clik-rl-cpost .post-comments .view-more-replies.clik-rlt-rt .text-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none !important; }
.clik-rl-cpost .clik-rlt-chev { flex: none; transition: transform .2s; }
.clik-rl-cpost .clik-rlt-rt.is-open .clik-rlt-chev { transform: rotate(180deg); }
.clik-rl-cpost .view-more-replies.clik-rlt-rt[hidden] { display: none !important; }
/* the lines take a press: the trunk 20 px wide (its 2 px drawn in the middle), the elbows their whole box */
html.clik-rl-yt .clik-rl-cpost .post-comments .comment.clik-cm-has > .comment-avatar::after { box-sizing: content-box; border: 0 solid transparent; border-inline-width: 9px; background-clip: padding-box; inset-inline-start: calc(50% - 10px); pointer-events: auto; cursor: pointer; transition: background-color .15s; }
html.clik-rl-yt .clik-rl-cpost .post-comments .clik-cm-item::before { pointer-events: auto; cursor: pointer; transition: border-color .15s; }
html.clik-rl-yt .clik-rl-cpost .post-comments .comment.is-cline > .comment-avatar::after { background-color: #0866FF; }
html.clik-rl-yt .clik-rl-cpost .post-comments .comment.is-cline > .comment-data .clik-cm-item::before { border-color: #0866FF; }
body.night-mode .clik-rl-cpost .post-comments .view-more-replies.clik-rlt-rt { color: #3ea6ff; }
body.night-mode .clik-rl-cpost .post-comments .view-more-replies.clik-rlt-rt:hover { background: rgba(62, 166, 255, .14); }
html.clik-rl-yt body.night-mode .clik-rl-cpost .post-comments .comment.is-cline > .comment-avatar::after { background-color: #4C9AFF; }
html.clik-rl-yt body.night-mode .clik-rl-cpost .post-comments .comment.is-cline > .comment-data .clik-cm-item::before { border-color: #4C9AFF; }
@media (prefers-reduced-motion: reduce) {
  .clik-rl-cpost .clik-rlt-b, .clik-rl-cpost .clik-rlt-chev { transition: none; }
  .clik-rl-cpost .clik-rlt-b.is-pop svg { animation: none; }
}
