/**
 * IKMATA Live 3.0.0 - styles of a channel (.ikl), of the "On air" module (.ikl-onair) and of the
 * component pages (.ikl-page). Every rule is scoped under these blocks (or .ikl-overlay-- modifiers
 * used only inside .ikl): nothing here touches the rest of the page.
 *
 * Owner since the hand-over of 16/10/2026: the YOOtheme integrator (art direction
 * projet/design/02-direction-artistique.md, markup src/ikmata-live/docs/balisage.md, frozen).
 * The look is driven by the contract tokens (03-architecture-v3 § 5). Their defaults below are the
 * art direction values, declared with :where() (no specificity): the child template may set them on
 * .ikl, .ikl--appearance-dark|light, .ikl-onair, .ikl-page with any selector.
 *
 * Sections: 1 tokens · 2 icons · 3 protection · 4 channel layout · 5 stage (player, overlays, badge,
 * slate, countdown) · 6 under the video (full screen, announce, banner) · 7 information panel and
 * people · 8 chat · 9 reactions · 10 phones and tablets (tabs, sticky stage) · 11 control room page
 * layout · 12 light appearance · 13 "On air" module · 14 component pages · 15 focus · 16 motion
 */

/* ---------- 1. Tokens ---------- */
:where(.ikl, .ikl-onair, .ikl-page) {
  --ikl-font: inherit;
  --ikl-font-display: inherit;
  --ikl-radius: 12px;
  --ikl-gap: 16px;
  --ikl-stage-bg: #0e0e1a;
  --ikl-surface: #fff;
  --ikl-surface-2: #f6f3f9;
  --ikl-text: #1a1a2e;
  --ikl-text-muted: #5b5870;
  --ikl-border: #7a7390;
  --ikl-accent: #95218f;
  --ikl-accent-contrast: #fff;
  --ikl-live: #d6006f;
  --ikl-focus: #303093;
  --ikl-banner-bg: #1a1a2e;
  --ikl-banner-text: #fff;
  /* internal (not part of the contract) */
  --ikl-subtle: #e3ddea;
  --ikl-slate-bg: #12122a;
  --ikl-slate-text: #f5f3fa;
  --ikl-slate-muted: #d6d1e6;
  /* 3.2.0: text colours of the state screens before a per-status choice (Screens.php, module parameters) */
  --ikl-slate-text-base: var(--ikl-slate-text);
  --ikl-slate-muted-base: var(--ikl-slate-muted);
  --ikl-hex: #154f7b;
  --ikl-point: #e872ac;
  --ikl-pending: #8a5a00;
  --ikl-hidden: #6e757d;
  --ikl-treated: #0b6e4f;
  --ikl-danger: #b3261e;
  --ikl-target: 44px;
}

:where(.ikl--appearance-dark) {
  --ikl-surface: #1a1a2e;
  --ikl-surface-2: #25253f;
  --ikl-text: #f5f3fa;
  --ikl-text-muted: #b8b3cc;
  --ikl-border: #74709a;
  --ikl-accent: #e872ac;
  --ikl-accent-contrast: #1a1a2e;
  --ikl-focus: #7fd1f5;
  --ikl-subtle: #2f2e4a;
  --ikl-pending: #f0b44c;
  --ikl-hidden: #a9a6b8;
  --ikl-treated: #6fcf97;
  --ikl-danger: #ff8a80;
}

/* ---------- 2. Icons: the SVG files of the art direction, drawn with the current text colour ---------- */
.ikl__icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  background-color: currentColor;
  -webkit-mask: var(--ikl-icon) center / contain no-repeat;
  mask: var(--ikl-icon) center / contain no-repeat;
}

.ikl__icon--annonce { --ikl-icon: url("../images/icons/annonce.svg"); }
.ikl__icon--cadenas { --ikl-icon: url("../images/icons/cadenas.svg"); }
.ikl__icon--chat { --ikl-icon: url("../images/icons/chat.svg"); }
.ikl__icon--epingle { --ikl-icon: url("../images/icons/epingle.svg"); }
.ikl__icon--hors-ligne { --ikl-icon: url("../images/icons/hors-ligne.svg"); }
.ikl__icon--infos { --ikl-icon: url("../images/icons/infos.svg"); }
.ikl__icon--lecture { --ikl-icon: url("../images/icons/lecture.svg"); }
.ikl__icon--plein-ecran { --ikl-icon: url("../images/icons/plein-ecran.svg"); }
.ikl__icon--quitter-plein-ecran { --ikl-icon: url("../images/icons/quitter-plein-ecran.svg"); }
.ikl__icon--programme { --ikl-icon: url("../images/icons/programme.svg"); }
.ikl__icon--son { --ikl-icon: url("../images/icons/son.svg"); }
.ikl__icon--son-coupe { --ikl-icon: url("../images/icons/son-coupe.svg"); }
.ikl__icon--statut-direct { --ikl-icon: url("../images/icons/statut-direct.svg"); }
.ikl__icon--statut-hors-antenne { --ikl-icon: url("../images/icons/statut-hors-antenne.svg"); }
.ikl__icon--statut-pause { --ikl-icon: url("../images/icons/statut-pause.svg"); }
.ikl__icon--statut-programme { --ikl-icon: url("../images/icons/statut-programme.svg"); }
.ikl__icon--statut-replay { --ikl-icon: url("../images/icons/statut-replay.svg"); }
.ikl__icon--statut-termine { --ikl-icon: url("../images/icons/statut-termine.svg"); }
.ikl__icon--reaction-thumb { --ikl-icon: url("../images/icons/reaction-thumb.svg"); }
.ikl__icon--reaction-clap { --ikl-icon: url("../images/icons/reaction-clap.svg"); }
.ikl__icon--reaction-heart { --ikl-icon: url("../images/icons/reaction-heart.svg"); }
.ikl__icon--reaction-bulb { --ikl-icon: url("../images/icons/reaction-bulb.svg"); }
.ikl__icon--reaction-curious { --ikl-icon: url("../images/icons/reaction-curious.svg"); }

/* ---------- 3. Protection against the template's own element styles ---------- */
.ikl :where(h3, h4, p, ul, ol, dl, dd, figure, fieldset, legend),
.ikl-onair :where(h2, h3, h4, p, ul, ol, dl, dd),
.ikl-page :where(fieldset, legend) {
  margin: 0;
  padding: 0;
  border: 0;
  text-transform: none;
  letter-spacing: normal;
}

.ikl :where(h3, h4, legend),
.ikl-onair :where(h2, h3, h4) {
  color: inherit;
  font-family: var(--ikl-font-display);
  font-size: 1em;
  line-height: 1.3;
}

.ikl :where(button, input, textarea, select),
.ikl-onair :where(button, a.ikl-onair__button) {
  font-family: inherit;
  font-size: inherit;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  min-height: 0;
}

.ikl *,
.ikl *::before,
.ikl *::after {
  box-sizing: border-box;
}

.ikl [hidden],
.ikl-onair [hidden],
.ikl-page [hidden] {
  display: none !important;
}

/* ---------- 4. Channel layout ---------- */
.ikl {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ikl-gap);
  color: var(--ikl-text);
  font-family: var(--ikl-font);
  font-size: 15px;
  line-height: 1.45;
}

/* The dark stage is a dark space as a whole (chat and panels included) */
.ikl--appearance-dark {
  background: var(--ikl-stage-bg);
  border-radius: var(--ikl-radius);
  padding: var(--ikl-gap);
  color-scheme: dark;
}

.ikl__main {
  display: grid;
  gap: 0;
  min-width: 0;
}

.ikl__side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

/* Computer (art direction § 5.3): video | chat 380 px (340 px under 1280 px), chat sticky, full height */
@media (min-width: 1024px) {
  .ikl--chat-right {
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas: "main side" "info side" "regie regie";
    column-gap: 24px;
    row-gap: 20px;
    align-items: start;
  }

  .ikl--chat-right .ikl__main { grid-area: main; }
  .ikl--chat-right .ikl__info { grid-area: info; }
  .ikl--chat-right .ikl__regie { grid-area: regie; }

  .ikl--chat-right .ikl__side {
    grid-area: side;
    position: sticky;
    top: 16px;
  }

  .ikl--chat-right .ikl__chat {
    height: calc(100vh - 104px);
    min-height: 560px;
  }
}

@media (min-width: 1280px) {
  .ikl--chat-right {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}

/* ---------- 5. Stage: player, overlays, badge, state screen, countdown ---------- */
/* The stage is a one-cell grid: the player keeps its 16:9 box and the state screen shares the cell, so a long
   state screen (long title, next broadcast, replay link) makes the stage grow instead of overflowing it (D-M3).
   A 44 px strip on top carries the status badge, off the provider's title bar (D-m6). */
.ikl {
  --ikl-strip: 0px;
}

.ikl:has(.ikl__onair:not([hidden])) {
  --ikl-strip: 44px;
}

.ikl__stage {
  position: relative;
  display: grid;
  grid-template: minmax(0, auto) / minmax(0, 1fr);
  width: 100%;
  padding-top: var(--ikl-strip);
  background: var(--ikl-stage-bg);
  border-radius: var(--ikl-radius);
  overflow: hidden;
  container-type: inline-size;
}

.ikl__stage > .ikl__player,
.ikl__stage > .ikl__slate {
  grid-area: 1 / 1;
}

.ikl__stage > .ikl__player {
  align-self: start;
}

.ikl__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.ikl__player .ikl__iframe,
.ikl__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* The focus is in the player (Tab reached the iframe): a 3 px frame over it, as everywhere else (§ 9) */
.ikl__player:focus-within::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 3px solid var(--ikl-focus);
  pointer-events: none;
}

.ikl__no-video {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ikl-slate-muted);
  text-align: center;
  padding: 16px;
}

.ikl__layer {
  position: absolute;
  inset: 0;
}

.ikl__stage > .ikl__layer--overlays,
.ikl__stage > .ikl__layer--fx {
  top: var(--ikl-strip);
}

/* Overlays: HTML layers over the player (the video stream is never modified), stacked by their
   order (inline z-index). They let clicks through, so the player's controls stay usable. */
.ikl__layer--overlays {
  z-index: 2;
  pointer-events: none;
}

/* Safety margins (art direction § 7.10): 4 % top and sides, 12 % at the bottom (provider's bar) */
.ikl__layer--overlay {
  position: absolute;
  inset: 4% 4% 12%;
  display: flex;
  pointer-events: none;
}

.ikl__layer--overlay img {
  display: block;
  width: auto;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Sizes as a share of the stage width (18 / 30 / 46 %, art direction § 7.10), inside the 92 % wide safe box.
   The size is a width, whatever the size of the file (REG-06): a small image is enlarged to it (the control
   room warns when it may look blurred); a tall image is limited by the height of the safe box, never distorted. */
.ikl-overlay--small img { width: 19.5%; max-width: 19.5%; }
.ikl-overlay--medium img { width: 32.6%; max-width: 32.6%; }
.ikl-overlay--large img { width: 50%; max-width: 50%; }

.ikl-overlay--full { inset: 0; }

.ikl-overlay--full img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.ikl-overlay--full.ikl-overlay--cover img { object-fit: cover; }

.ikl-overlay--top-left { justify-content: flex-start; align-items: flex-start; }
.ikl-overlay--top { justify-content: center; align-items: flex-start; }
.ikl-overlay--top-right { justify-content: flex-end; align-items: flex-start; }
.ikl-overlay--left { justify-content: flex-start; align-items: center; }
.ikl-overlay--center { justify-content: center; align-items: center; }
.ikl-overlay--right { justify-content: flex-end; align-items: center; }
.ikl-overlay--bottom-left { justify-content: flex-start; align-items: flex-end; }
.ikl-overlay--bottom { justify-content: center; align-items: flex-end; }
.ikl-overlay--bottom-right { justify-content: flex-end; align-items: flex-end; }

/* Status badge (art direction § 7.1): 28 px pill, 12.5 px capitals; "live" = filled, others = outline */
.ikl__onair {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  margin: 0;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  background: rgba(14, 14, 26, 0.78);
  color: #fff;
  font-family: var(--ikl-font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.ikl__onair .ikl__icon {
  width: 16px;
  height: 16px;
}

.ikl__onair--live {
  border-color: var(--ikl-live);
  background: var(--ikl-live);
  color: #fff;
}

.ikl__onair--replay {
  color: var(--ikl-point);
}

/* The live badge shows the dot, not the icon */
.ikl__onair--live .ikl__icon {
  display: none;
}

.ikl__onair-dot {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

/* The dot only exists in the "live" badge (rule of truth of the contract) */
.ikl--indicator-pulse .ikl__onair--live .ikl__onair-dot,
.ikl--indicator-static .ikl__onair--live .ikl__onair-dot {
  display: inline-block;
}

/* Ring that widens and fades, 2 s (art direction § 4) */
.ikl--indicator-pulse .ikl__onair--live .ikl__onair-dot {
  animation: ikl-pulse 2s ease-out infinite;
}

@keyframes ikl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
}

/* State screen (§ 7.2): covers the stage, two soft halos, centred content, hexagon emblem */
.ikl__slate {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5% 7%;
  /* 3.2.0: background chosen for this status in the module (colour or image), else the art direction */
  background: var(--ikl-screen-bg,
    radial-gradient(70% 90% at 15% 0%, rgba(167, 82, 170, 0.3), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(19, 149, 211, 0.22), transparent 60%),
    var(--ikl-slate-bg));
  --ikl-slate-text: var(--ikl-screen-text, var(--ikl-slate-text-base));
  --ikl-slate-muted: var(--ikl-screen-muted, var(--ikl-slate-muted-base));
  color: var(--ikl-slate-text);
  text-align: center;
  overflow: visible; /* the stage grows with the content (D-M3): no inner scroll area */
}

/* Paused: over the player (not reloaded), the video is dimmed */
.ikl__slate--paused {
  background: var(--ikl-screen-bg, rgba(10, 10, 24, 0.84));
}

/* 3.2.0: per-status screen settings of the channel (custom properties written on the root by Screens::style();
   a property left undefined makes the variable invalid, so the default above applies) */
.ikl__slate--scheduled { --ikl-screen-bg: var(--ikl-screen-scheduled-bg); --ikl-screen-text: var(--ikl-screen-scheduled-text); --ikl-screen-muted: var(--ikl-screen-scheduled-muted); }
.ikl__slate--live { --ikl-screen-bg: var(--ikl-screen-live-bg); --ikl-screen-text: var(--ikl-screen-live-text); --ikl-screen-muted: var(--ikl-screen-live-muted); }
.ikl__slate--paused { --ikl-screen-bg: var(--ikl-screen-paused-bg); --ikl-screen-text: var(--ikl-screen-paused-text); --ikl-screen-muted: var(--ikl-screen-paused-muted); }
.ikl__slate--ended { --ikl-screen-bg: var(--ikl-screen-ended-bg); --ikl-screen-text: var(--ikl-screen-ended-text); --ikl-screen-muted: var(--ikl-screen-ended-muted); }
.ikl__slate--replay { --ikl-screen-bg: var(--ikl-screen-replay-bg); --ikl-screen-text: var(--ikl-screen-replay-text); --ikl-screen-muted: var(--ikl-screen-replay-muted); }
.ikl__slate--offline { --ikl-screen-bg: var(--ikl-screen-offline-bg); --ikl-screen-text: var(--ikl-screen-offline-text); --ikl-screen-muted: var(--ikl-screen-offline-muted); }

/* ... and the visuals do not show through the pause screen (SPE-06): they come back with the live */
.ikl__stage:has(> .ikl__slate--paused:not([hidden])) > .ikl__layer--overlays {
  visibility: hidden;
}

/* Expired session (SPE-02): neutral screen, no badge, no player, no visual (state no longer known) */
.ikl__slate--login .ikl__slate-emblem { background: var(--ikl-hex); }

.ikl--login .ikl__layer--overlays,
.ikl--login .ikl__banner,
.ikl--login .ikl__announce {
  display: none !important;
}

/* Ended (SPE-09): "Thank you for watching" under the title */
.ikl__slate-thanks {
  color: var(--ikl-slate-text);
  font-size: clamp(0.9375rem, 2.2cqw, 1.25rem);
}

.ikl__slate-body {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 680px;
}

.ikl__slate-body > * {
  margin: 0;
}

/* 3.5.1 (D-02): a very long word (texts of the module or of the control room) breaks inside the screen instead of
   overflowing it; texts that fit are laid out exactly as before */
.ikl__slate-body {
  min-width: 0;
  max-width: min(680px, 100%);
}

.ikl__slate-body > *,
.ikl__slate-session-title,
.ikl__slate-next-title {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ikl__slate-emblem {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 72px;
  margin-bottom: 6px;
  background: var(--ikl-hex);
  color: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.ikl__slate--error .ikl__slate-emblem { background: #5a1e2a; }

.ikl__slate-emblem .ikl__icon {
  width: 28px;
  height: 28px;
}

/* 3.5.0: logo of the gallery chosen in the control room for this screen (no hexagon, proportions kept) */
.ikl__slate-emblem.ikl__slate-emblem--logo {
  width: auto;
  height: auto;
  max-width: min(240px, 70%);
  background: none;
  clip-path: none;
}

.ikl__slate-emblem--logo img {
  display: block;
  max-width: 100%;
  max-height: clamp(40px, 9cqw, 72px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.ikl__slate-channel {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ikl-slate-muted);
}

.ikl__slate-title {
  font-family: var(--ikl-font-display);
  font-size: clamp(1.125rem, 3.6cqw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.ikl__slate-session {
  display: grid;
  gap: 4px;
  color: var(--ikl-slate-muted);
  font-size: clamp(0.875rem, 1.9cqw, 1.0625rem);
}

.ikl__slate-session-title {
  display: block;
  color: var(--ikl-slate-text);
  font-weight: 600;
  line-height: 1.35;
}

.ikl__slate-message,
.ikl__slate-next {
  max-width: 52ch;
  color: var(--ikl-slate-muted);
  font-size: clamp(0.875rem, 1.9cqw, 1.0625rem);
}

.ikl__slate-next-label { font-weight: 600; }

.ikl__slate-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--ikl-target);
  margin-top: 6px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #95218f;
  font-weight: 600;
  text-decoration: none;
}

.ikl__slate-link:hover,
.ikl__slate-link:focus-visible {
  text-decoration: underline;
}

.ikl__tz {
  opacity: 0.9;
  white-space: nowrap;
}

/* Countdown (§ 7.3): three blocks, digits in fixed cells (Lexend has no tabular figures), pink separators */
.ikl__countdown {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 4px 0;
}

.ikl__countdown-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ikl-slate-muted);
}

.ikl__countdown-value {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 2.2cqw, 20px);
  font-family: var(--ikl-font-display);
  font-size: clamp(2rem, 7cqw, 4.25rem);
  font-weight: 300;
  line-height: 1;
}

.ikl__countdown-value:empty { display: none; }

.ikl__countdown-part {
  display: inline-grid;
  justify-items: center;
  gap: 6px;
}

.ikl__countdown-digits {
  display: inline-flex;
}

.ikl__digit {
  display: inline-block;
  width: 0.64em;
  text-align: center;
}

.ikl__countdown-unit {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ikl-slate-muted);
}

.ikl__countdown-sep {
  color: var(--ikl-point);
}

.ikl__countdown--done .ikl__countdown-label {
  font-size: clamp(1rem, 2.4cqw, 1.25rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ikl-slate-text);
}

/* Compact state screen: narrow stage (phones, preview of the control room) */
@container (max-width: 620px) {
  .ikl__slate { padding: 14px 12px; }
  .ikl__slate-body { gap: 4px; }
  .ikl__slate-emblem { width: 40px; height: 46px; margin-bottom: 2px; }
  .ikl__slate-emblem .ikl__icon { width: 20px; height: 20px; }
  .ikl__slate-channel { font-size: 11px; }
  .ikl__slate-title { font-size: 1.0625rem; }
  .ikl__slate-session, .ikl__slate-message, .ikl__slate-next { font-size: 0.8125rem; }
  .ikl__countdown { gap: 2px; margin: 0; }
  .ikl__countdown-value { font-size: 1.75rem; }
  .ikl__countdown-unit, .ikl__countdown-label { font-size: 10px; }
  .ikl__countdown-part { gap: 2px; }
  .ikl__onair { top: 10px; left: 8px; height: 24px; font-size: 11px; padding: 0 9px 0 8px; }
  .ikl__slate-link { min-height: 44px; margin-top: 4px; padding: 0 18px; font-size: 14px; }
}

/* Phones: no emblem, the channel name on one line, secondary texts smaller */
@container (max-width: 480px) {
  .ikl__slate-emblem { display: none; }
  .ikl__slate-channel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .ikl__slate-next, .ikl__slate-message { font-size: 0.8125rem; line-height: 1.35; }
}

@container (max-width: 380px) {
  .ikl__slate-emblem, .ikl__slate-channel { display: none; }
  .ikl__slate-title { font-size: 0.9375rem; }
  .ikl__countdown-value { font-size: 1.5rem; }
}

/* Reactions float over the video but never block the player's own controls */
.ikl__layer--fx {
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.ikl__fx-item {
  position: absolute;
  bottom: -70px;
  width: 56px;
  height: 56px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
  will-change: transform, opacity;
  animation: ikl-float var(--ikl-dur, 3s) ease-out forwards;
  transform: translateX(0) scale(var(--ikl-scale, 1)) rotate(var(--ikl-rot, 0deg));
}

@keyframes ikl-float {
  0% { transform: translate(0, 0) scale(var(--ikl-scale, 1)) rotate(var(--ikl-rot, 0deg)); opacity: 0; }
  10% { opacity: 1; }
  70% { opacity: 0.9; }
  100% { transform: translate(var(--ikl-drift, 0px), var(--ikl-rise, -520px)) scale(var(--ikl-scale, 1)) rotate(var(--ikl-rot, 0deg)); opacity: 0; }
}

/* Reduced motion: no flight, a short fade in place */
.ikl__fx-item--still {
  bottom: 12px;
  width: 44px;
  height: 44px;
  animation: ikl-fade 1.6s ease-out forwards;
  transform: none;
}

@keyframes ikl-fade {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}

/* ---------- 6. Under the video: full screen button, announce, banner ---------- */
.ikl__stage-bar {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  margin: 6px 0 2px;
}

.ikl__fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--ikl-target);
  padding: 0 14px;
  border: 1.5px solid var(--ikl-border);
  border-radius: 999px;
  background: transparent;
  color: var(--ikl-text);
  font: 500 14px/1 var(--ikl-font);
  cursor: pointer;
}

.ikl__fullscreen:hover {
  background: var(--ikl-surface-2);
}

.ikl__fullscreen .ikl__icon {
  width: 18px;
  height: 18px;
}

/* Container full screen: player + overlays + reactions + banner */
.ikl__main:fullscreen {
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.ikl__main:fullscreen .ikl__stage {
  border-radius: 0;
  flex: 1 1 auto;
  display: grid;
  align-content: center;
  min-height: 0;
}

.ikl__main:fullscreen .ikl__player {
  width: 100%;
  max-width: calc((100vh - 4em) * 16 / 9);
  max-height: 100%;
  margin: auto;
}

.ikl__main:fullscreen .ikl__stage-bar,
.ikl__main:fullscreen .ikl__announce {
  display: none;
}

.ikl__main:fullscreen .ikl__banner {
  border-radius: 0;
}

.ikl__fs-exit {
  position: absolute;
  z-index: 6;
  /* in the badge strip when there is one (overlays start below it, D-m4) */
  top: max(0px, calc(12px - var(--ikl-strip)));
  right: 12px;
  min-height: var(--ikl-target);
  padding: 0 16px;
  border: 1.5px solid #fff;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font: 500 14px/1 var(--ikl-font);
  cursor: pointer;
}

/* Announce (§ 7.6): surface, 1.5 px accent border, megaphone icon, "Announce" label; never on the video */
.ikl__announce {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--ikl-radius);
  border: 1.5px solid var(--ikl-accent);
  background: var(--ikl-surface);
  color: var(--ikl-text);
  font-size: 14px;
}

.ikl__announce .ikl__icon {
  grid-row: span 2;
  margin-top: 2px;
  color: var(--ikl-accent);
}

.ikl__announce-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ikl-accent);
}

.ikl__announce-text {
  margin: 2px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Banner (§ 7.5): 44 px, night background, 3 px violet → cyan line on top, pink "Info" label */
.ikl__banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 0;
  padding: 0 16px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #a752aa, #1395d3) 1;
  border-radius: 0 0 var(--ikl-radius) var(--ikl-radius);
  background: var(--ikl-banner-bg, #1a1a2e);
  color: var(--ikl-banner-text, #fff);
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
}

.ikl__banner::before {
  content: "Info";
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ikl-point);
}

.ikl__banner-track {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 0;
}

.ikl__banner-text {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ikl__banner--scroll .ikl__banner-track {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  gap: 4em;
  animation: ikl-banner var(--ikl-banner-duration, 30s) linear infinite;
}

.ikl__banner--scroll .ikl__banner-text {
  white-space: nowrap;
}

.ikl__banner--scroll:hover .ikl__banner-track,
.ikl__banner--scroll:focus-within .ikl__banner-track,
.ikl__banner--paused .ikl__banner-track {
  animation-play-state: paused;
}

.ikl__banner-pause {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--ikl-banner-bg, #1a1a2e);
  color: inherit;
  font: 500 12.5px/1 var(--ikl-font);
  cursor: pointer;
}

.ikl__banner:has(.ikl__banner-pause:not([hidden])) {
  min-height: 52px;
  padding-right: 96px;
}

/* Scrolling: the moving text passes under the label and under the pause button, never over them (SPE-07) */
.ikl__banner--scroll::before {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin-left: -16px;
  padding: 0 12px 0 16px;
  background: var(--ikl-banner-bg, #1a1a2e);
  box-shadow: 10px 0 10px -2px var(--ikl-banner-bg, #1a1a2e);
}

.ikl__banner--scroll::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 96px;
  background: var(--ikl-banner-bg, #1a1a2e);
  box-shadow: -10px 0 10px -2px var(--ikl-banner-bg, #1a1a2e);
  pointer-events: none;
}

@keyframes ikl-banner {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 2em)); }
}

/* Order under the video: banner glued to it, then the full screen button, then the announce */
.ikl__stage { order: 1; }
.ikl__banner { order: 2; }
.ikl__stage-bar { order: 3; }
.ikl__announce { order: 4; }

/* With a banner, the video's lower corners are square: banner and video read as one block */
.ikl__main:has(.ikl__banner:not([hidden])) .ikl__stage {
  border-radius: var(--ikl-radius) var(--ikl-radius) 0 0;
}

/* ---------- 7. Information panel (§ 7.4) and people (§ 7.12) ---------- */
.ikl__info {
  padding: 20px 24px 24px;
  border: 1px solid var(--ikl-subtle);
  border-radius: var(--ikl-radius);
  background: var(--ikl-surface);
  min-width: 0;
}

.ikl__info-heading {
  margin: 0 0 8px;
  font-family: var(--ikl-font-display);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ikl-text-muted);
}

.ikl__info-body,
.ikl__info-current {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ikl__info-body p,
.ikl__people-list {
  margin: 0;
}

.ikl__info-title {
  font-family: var(--ikl-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 34ch;
}

.ikl__info-subtitle {
  font-size: 1.0625rem;
  color: var(--ikl-text);
}

.ikl__info-when,
.ikl__info-next {
  color: var(--ikl-text-muted);
  font-size: 14px;
}

.ikl__info-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--ikl-target);
  color: var(--ikl-accent);
  font-weight: 600;
  text-decoration: none;
}

.ikl__info-link::after { content: "→"; }
.ikl__info-link:hover { text-decoration: underline; }

.ikl__info-desc {
  max-width: 68ch;
  white-space: pre-wrap;
}

.ikl__info-next {
  margin-top: 12px;
  padding: 4px 0 4px 14px;
  border-left: 2px solid var(--ikl-accent);
}

.ikl__info-next-label,
.ikl__info-next-title {
  font-weight: 600;
  color: var(--ikl-text);
}

/* Only the next broadcast: the panel heading already says « Prochaine émission » */
.ikl__info-body:not(:has(.ikl__info-current)) .ikl__info-next {
  margin-top: 0;
  padding: 0;
  border-left: 0;
  color: var(--ikl-text-muted);
}

.ikl__info-body:not(:has(.ikl__info-current)) .ikl__info-next-label {
  display: none;
}

.ikl__info-body:not(:has(.ikl__info-current)) .ikl__info-next-title {
  display: block;
  font-family: var(--ikl-font-display);
  font-size: 1.25rem;
  line-height: 1.3;
}

/* People: hosts set apart (pink rule), speakers one per line; portraits only when they exist */
.ikl__people {
  margin-top: 12px;
  min-width: 0;
}

.ikl__people-title {
  margin: 0 0 6px;
  font-family: var(--ikl-font-display);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ikl-text-muted);
}

.ikl__people-list {
  padding: 0;
  list-style: none;
  display: grid;
  column-gap: 32px;
}

.ikl__person {
  padding: 10px 0;
  border-top: 1px solid var(--ikl-subtle);
  min-width: 0;
}

.ikl__person > span {
  display: block;
}

.ikl__person-name {
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.ikl__person-role,
.ikl__person-org {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ikl-text-muted);
}

.ikl__people--hosts .ikl__person {
  border-top: 0;
  border-left: 3px solid var(--ikl-point);
  padding: 2px 0 2px 12px;
}

.ikl__people--hosts .ikl__person--photo {
  border-left: 0;
  padding-left: 0;
}

/* Portrait: sober circle, 48 px (64 px for the host), decorative (alt=""), name written beside it */
.ikl__person--photo {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  align-content: center;
}

.ikl__person--photo > span {
  grid-column: 2;
}

.ikl__person-photo {
  grid-row: 1 / span 3;
  align-self: start;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ikl-surface-2);
}

.ikl__people--hosts .ikl__person--photo {
  grid-template-columns: 64px minmax(0, 1fr);
}

.ikl__people--hosts .ikl__person-photo {
  width: 64px;
  height: 64px;
  box-shadow: 0 0 0 3px var(--ikl-point);
}

/* Support (§ 7.12): separate block, logo 32 px high on a white cartouche, never recoloured */
.ikl__support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--ikl-subtle);
}

.ikl__support-label {
  font-size: 14px;
  color: var(--ikl-text-muted);
}

.ikl__support-logo {
  display: block;
  box-sizing: content-box;
  height: 32px;
  width: auto;
  max-width: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
}

/* The logo carries the name (alt): the written name is kept for screen readers only */
.ikl__support-logo + .ikl__support-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ikl__support-name {
  font-weight: 600;
}

@media (min-width: 1024px) {
  .ikl__info .ikl__people--speakers .ikl__people-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 8. Chat (§ 7.8) ---------- */
.ikl__chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--ikl-subtle);
  border-radius: var(--ikl-radius);
  background: var(--ikl-surface);
  overflow: hidden;
}

.ikl__chat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ikl-subtle);
}

.ikl__chat-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.ikl__chat-status {
  font-size: 12.5px;
  color: var(--ikl-text-muted);
}

/* Pinned message (§ 7.7) */
.ikl__pinned {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  margin: 12px 12px 0;
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid var(--ikl-accent);
  background: var(--ikl-surface-2);
  font-size: 14px;
}

.ikl__pinned .ikl__icon {
  grid-row: span 3;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--ikl-accent);
}

.ikl__pinned p { margin: 0; }

.ikl__pinned-label,
.ikl__pinned-meta {
  font-size: 12.5px;
  color: var(--ikl-text-muted);
}

.ikl__pinned-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-weight: 500;
}

/* The list fills the column (the inline height of the module parameter only applies without flex room) */
.ikl__messages {
  flex: 1 1 auto;
  min-height: 160px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 4px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
}

@media (min-width: 1024px) {
  .ikl--chat-right .ikl__messages {
    height: auto !important;
  }
}

.ikl__empty {
  margin: auto;
  padding: 32px 24px;
  text-align: center;
  color: var(--ikl-text-muted);
  font-size: 14px;
}

.ikl__msg {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ikl__msg--mine { background: var(--ikl-surface-2); }

.ikl__msg--pending {
  border: 1.5px dashed var(--ikl-border);
}

.ikl__msg--hidden { opacity: 0.65; }

.ikl__msg--treated {
  border-left: 3px solid var(--ikl-treated);
}

.ikl__msg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-bottom: 1px;
}

.ikl__author {
  font-weight: 600;
  font-size: 14px;
  color: var(--ikl-text);
}

.ikl__time {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ikl-text-muted);
}

.ikl__badge {
  display: inline-block;
  order: 3;
  flex-basis: 100%;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ikl-text-muted);
}

.ikl__badge--pending { color: var(--ikl-pending); }
.ikl__badge--hidden { color: var(--ikl-hidden); }
.ikl__badge--treated { color: var(--ikl-treated); }

.ikl__body {
  white-space: pre-wrap;
  margin-top: 1px;
}

/* Moderation buttons (moderators only): 36 px, 44 px hit area */
.ikl__mod {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ikl__mod-btn {
  position: relative;
  min-height: var(--ikl-target);
  padding: 0 12px;
  border: 1.5px solid var(--ikl-border);
  border-radius: 999px;
  background: transparent;
  color: var(--ikl-text);
  font: 500 12.5px/1 var(--ikl-font);
  cursor: pointer;
}



.ikl__mod-btn:hover {
  border-color: var(--ikl-accent);
  color: var(--ikl-accent);
}

.ikl__mod-btn--delete:hover {
  border-color: var(--ikl-danger);
  color: var(--ikl-danger);
}

.ikl__older {
  align-self: center;
  min-height: var(--ikl-target);
  margin: 4px auto 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ikl-accent);
  font: 600 14px/1 var(--ikl-font);
  cursor: pointer;
}

.ikl__older:hover { text-decoration: underline; }

/* "New messages": accent pill glued to the bottom of the list */
.ikl__jump {
  display: flex;
  align-items: center;
  align-self: center;
  min-height: var(--ikl-target);
  margin: -52px auto 8px;
  position: relative;
  z-index: 1;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ikl-accent);
  color: var(--ikl-accent-contrast);
  font: 600 14px/1 var(--ikl-font);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}


/* Form: rounded field (44 px), "Send" in action pink, counter */
.ikl__form {
  display: grid;
  gap: 6px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--ikl-subtle);
}

.ikl__form-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.ikl__input,
.ikl__guest {
  width: 100%;
  min-height: var(--ikl-target);
  max-height: 120px;
  padding: 12px 14px;
  border: 1.5px solid var(--ikl-border);
  border-radius: 22px;
  background: var(--ikl-stage-bg);
  color: var(--ikl-text);
  font: 400 14px/1.3 var(--ikl-font);
  resize: none;
}

.ikl--appearance-light .ikl__input,
.ikl--appearance-light .ikl__guest,
.ikl:not(.ikl--appearance-dark) .ikl__input {
  background: #fff;
}

.ikl__input::placeholder,
.ikl__guest::placeholder {
  color: var(--ikl-text-muted);
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ikl__input:focus,
.ikl__guest:focus {
  border-color: var(--ikl-focus);
}

.ikl__send {
  flex: none;
  min-height: var(--ikl-target);
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ikl-live);
  color: #fff;
  font: 600 14px/1 var(--ikl-font);
  white-space: nowrap;
  cursor: pointer;
}

.ikl__send:hover { background: #b8005f; }

.ikl__send:disabled {
  background: #5b5870;
  cursor: default;
}

.ikl__counter {
  justify-self: end;
  min-height: 1em;
  font-size: 12.5px;
  color: var(--ikl-text-muted);
}

.ikl__notice {
  margin: 8px 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ikl-surface-2);
  color: var(--ikl-text);
  font-size: 14px;
}

.ikl__notice--warning { border-left: 4px solid var(--ikl-pending); }
.ikl__notice--error { border-left: 4px solid var(--ikl-danger); }
.ikl__notice--login { border-left: 4px solid var(--ikl-focus); }

.ikl__login-link {
  font-weight: 600;
  color: var(--ikl-accent);
}

.ikl--offline .ikl__chat,
.ikl--login .ikl__chat {
  border-color: var(--ikl-pending);
}

.ikl__noscript {
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff6e0;
  color: #5c3c00;
}

/* ---------- 9. Reactions (§ 7.9): five 44 px buttons, line icons, no emoji ---------- */
.ikl__reactions {
  display: flex;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 12px;
  border-top: 1px solid var(--ikl-subtle);
}

/* The label is redundant with the buttons' names: kept for screen readers */
.ikl__reactions-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ikl__reactions-buttons {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
}

.ikl__reaction {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--ikl-target);
  min-height: var(--ikl-target);
  padding: 0;
  border: 1.5px solid var(--ikl-subtle);
  border-radius: 8px;
  background: transparent;
  color: var(--ikl-text);
  cursor: pointer;
  line-height: 0;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}

.ikl__reaction:hover {
  border-color: var(--ikl-border);
  background: var(--ikl-surface-2);
}

.ikl__reaction:active,
.ikl__reaction--sent {
  transform: scale(0.96);
  border-color: var(--ikl-accent);
  color: var(--ikl-accent);
}

.ikl__reaction[aria-pressed="true"] {
  border: 2px solid var(--ikl-accent);
  color: var(--ikl-accent);
  background: color-mix(in srgb, var(--ikl-accent) 14%, transparent);
}

.ikl__reaction .ikl__icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* ---------- 10. Phones and tablets (§ 5.3): stage sticky at the top, chat and information as tabs ---------- */
.ikl__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ikl-subtle);
}

.ikl__tab {
  flex: 1 1 0;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ikl-text-muted);
  font: 500 14px/1 var(--ikl-font);
  cursor: pointer;
}

.ikl__tab[aria-selected="true"] {
  border-bottom-color: var(--ikl-accent);
  color: var(--ikl-text);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .ikl .ikl__tabs {
    display: none;
  }
}

@media (max-width: 1023px) {
  .ikl--appearance-dark {
    padding: 0 0 var(--ikl-gap);
    border-radius: 0;
  }

  .ikl {
    gap: 0;
  }

  /* The stage (video, overlays, badge) and the banner stay at the top while the page scrolls (DA-20).
     .ikl__main gives its children to the channel grid (display: contents), so that they can stick for the
     whole height of the channel; the full screen of the container keeps its own box (:fullscreen). */
  .ikl--mode-live .ikl__main:not(:fullscreen) {
    display: contents;
  }

  .ikl--mode-live .ikl__stage {
    position: sticky;
    top: 0;
    z-index: 7;
    order: 1;
  }

  .ikl--mode-live .ikl__banner {
    position: sticky;
    top: calc(56.25vw + var(--ikl-strip));
    z-index: 6;
    order: 2;
  }

  .ikl--mode-live .ikl__stage-bar { order: 3; }
  .ikl--mode-live .ikl__tabs { order: 4; }
  .ikl--mode-live .ikl__announce { order: 5; }
  .ikl--mode-live .ikl__side,
  .ikl--mode-live .ikl__info { order: 6; }
  .ikl--mode-live .ikl__regie { order: 7; }

  /* The announce belongs to the Discussion tab (§ 5.3) */
  .ikl--tabs.ikl--tab-info .ikl__announce { display: none; }

  .ikl__stage,
  .ikl__main:has(.ikl__banner:not([hidden])) .ikl__stage {
    border-radius: 0;
  }

  .ikl__banner {
    border-radius: 0;
  }

  .ikl__banner::before {
    display: none;
  }

  .ikl__stage-bar {
    margin: 0;
    padding: 4px 12px;
  }

  .ikl__fullscreen {
    border: 0;
  }

  .ikl__announce {
    margin: 10px 16px 0;
    padding: 8px 12px;
  }

  .ikl__announce-label {
    display: none;
  }

  .ikl__tabs {
    margin: 0 0 0;
  }

  .ikl--tabs.ikl--tab-info .ikl__side,
  .ikl--tabs:not(.ikl--tab-info) .ikl__info {
    display: none;
  }

  .ikl__info {
    margin: 12px 16px 0;
    padding: 16px;
  }

  .ikl__info-title {
    font-size: 1.25rem;
  }

  .ikl__side {
    padding: 12px 16px 0;
  }

  .ikl__chat-head {
    display: none;
  }

  /* Chat height = viewport − sticky stage (16:9 + full screen bar) − tabs: form and reactions reachable
     while the video stays visible (DA-20) */
  .ikl--mode-live .ikl__chat {
    height: auto;
    min-height: max(360px, calc(100dvh - 56.25vw - var(--ikl-strip) - 124px));
  }

  .ikl--mode-live:has(.ikl__banner:not([hidden])) .ikl__chat {
    min-height: max(360px, calc(100dvh - 56.25vw - var(--ikl-strip) - 172px));
  }

  /* With the pinned message and the form, at least about five messages stay readable (SPE-10) */
  .ikl--mode-live .ikl__messages {
    height: auto !important;
    flex: 1 1 0;
    min-height: 240px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .ikl__info .ikl__people--speakers .ikl__people-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .ikl {
    font-size: 14px;
  }

  .ikl__send {
    padding: 0 14px;
  }
}

/* ---------- 11. Control room page (com_ikmatalive view "regie"): control room first, then the channel ---------- */
.ikl--mode-regie {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "regie" "main" "info" "side";
}

.ikl--mode-regie .ikl__regie { grid-area: regie; }
.ikl--mode-regie .ikl__main { grid-area: main; }
.ikl--mode-regie .ikl__info { grid-area: info; }
.ikl--mode-regie .ikl__side { grid-area: side; position: static; }

@media (min-width: 1024px) {
  .ikl--mode-regie,
  .ikl--mode-regie.ikl--chat-right {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas: "regie regie" "main side" "info side";
  }

  .ikl--mode-regie .ikl__chat {
    height: 640px;
    min-height: 0;
  }
}

/* ---------- 12. Light appearance (the default stage is dark) ---------- */
.ikl--appearance-light .ikl__info,
.ikl--appearance-light .ikl__chat {
  border-color: var(--ikl-subtle);
}

/* ---------- 13. "On air" module (mod_ikmata_live_onair) ---------- */
.ikl-onair {
  color: var(--ikl-text);
  font-family: var(--ikl-font);
  line-height: 1.45;
}

.ikl-onair__empty {
  margin: 0;
  color: var(--ikl-text-muted);
}

.ikl-onair__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.ikl-onair__label {
  font-family: var(--ikl-font-display);
  font-weight: 600;
}

/* Badges of the module and of the pages share one look */
.ikl-onair__status,
.ikl-page__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--ikl-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ikl-onair__status .ikl__icon,
.ikl-page__status .ikl__icon {
  width: 16px;
  height: 16px;
}

.ikl-onair__status--live,
.ikl-page__status--live {
  border-color: var(--ikl-live);
  background: var(--ikl-live);
  color: #fff;
}

.ikl-onair__status--live::before,
.ikl-page__status--live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.ikl-onair__status--replay,
.ikl-page__status--replay {
  color: var(--ikl-accent);
}

/* List: one line per channel (no cards) */
.ikl-onair__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ikl-subtle);
}

.ikl-onair__channel {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 4px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ikl-subtle);
}

.ikl-onair__channel .ikl-onair__head {
  grid-column: 1;
  grid-row: 1 / span 2;
  flex-direction: column;
  align-items: flex-start;
}

.ikl-onair__now,
.ikl-onair__next {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
  color: var(--ikl-text-muted);
}

.ikl-onair__now .ikl-onair__title,
.ikl-onair__next .ikl-onair__title {
  display: block;
  color: var(--ikl-text);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

.ikl-onair__time,
.ikl-onair__tz {
  color: var(--ikl-text-muted);
  font-size: 14px;
}

.ikl-onair__link {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--ikl-target);
  color: var(--ikl-accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.ikl-onair__link::after { content: "→"; }
.ikl-onair__link:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .ikl-onair__channel {
    grid-template-columns: minmax(0, 1fr);
  }

  .ikl-onair__channel .ikl-onair__head,
  .ikl-onair__now,
  .ikl-onair__next,
  .ikl-onair__link {
    grid-column: 1;
    grid-row: auto;
  }

  .ikl-onair__channel .ikl-onair__head {
    flex-direction: row;
    align-items: center;
  }
}

/* Featured broadcast */
.ikl-onair__featured {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ikl-onair__title {
  font-family: var(--ikl-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.ikl-onair__subtitle,
.ikl-onair__when {
  margin: 0;
}

.ikl-onair__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 8px;
}

.ikl-onair__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ikl-target);
  padding: 0 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--ikl-accent);
  font-weight: 600;
  text-decoration: none;
}

.ikl-onair__button--primary {
  border-color: var(--ikl-live);
  background: var(--ikl-live);
  color: #fff;
}

.ikl-onair__button--primary:hover {
  border-color: #b8005f;
  background: #b8005f;
  color: #fff;
}

.ikl-onair .ikl__countdown {
  justify-items: start;
}

.ikl-onair .ikl__countdown-value {
  font-size: 2.5rem;
  gap: 14px;
}

.ikl-onair .ikl__countdown-label,
.ikl-onair .ikl__countdown-unit {
  color: var(--ikl-text-muted);
}

.ikl-onair__cover {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 8px;
}

.ikl-onair .ikl__people-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

/* ---------- 14. Component pages: programme, replays, broadcast page (.ikl-page) ---------- */
.ikl-page {
  color: var(--ikl-text);
  font-family: var(--ikl-font);
  line-height: 1.55;
}

.ikl-page__title {
  margin: 0 0 24px;
}

.ikl-page__meta,
.ikl-page__channel {
  margin: 0;
  color: var(--ikl-text-muted);
  font-size: 14px;
}

.ikl-page__empty,
.ikl-page__note {
  color: var(--ikl-text-muted);
}

.ikl-page__note {
  margin-top: 32px;
  font-size: 14px;
}

/* Dates: « mardi 17 novembre » (the helper capitalises every word) */
.ikl-when__day {
  display: inline-block;
  text-transform: lowercase;
}

.ikl-page__day {
  text-transform: lowercase;
}

.ikl-page__day::first-letter,
.ikl-when__day::first-letter {
  text-transform: uppercase;
}

/* Programme (§ 5.4): the "parcours line" — time column, 2 px violet rail, one dot per broadcast */
.ikl-page--programme .ikl-page__section {
  margin-top: 32px;
}

.ikl-page__day {
  margin: 0 0 16px;
}

.ikl-page--programme .ikl-page__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ikl-page--programme .ikl-page__item {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 12px 0 24px 40px;
  min-width: 0;
}

.ikl-page--programme .ikl-page__item::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ikl-accent);
}

.ikl-page--programme .ikl-page__item:first-child::before { top: 22px; }
.ikl-page--programme .ikl-page__item:last-child::before { bottom: calc(100% - 22px); }
.ikl-page--programme .ikl-page__item:only-child::before { display: none; }

.ikl-page--programme .ikl-page__item::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ikl-accent);
  background: #fff;
  box-sizing: border-box;
}

.ikl-page--programme .ikl-page__item--past::after,
.ikl-page--programme .ikl-page__item--ended::after,
.ikl-page--programme .ikl-page__item--replay::after {
  background: var(--ikl-accent);
}

.ikl-page--programme .ikl-page__item--live::after {
  left: 6px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-color: var(--ikl-live);
  background: var(--ikl-live);
  box-shadow: 0 0 0 4px #fbd9ea;
}

/* Broadcast on air or next: tinted, the rail stays visible on the left */
.ikl-page--programme .ikl-page__item--current,
.ikl-page--programme .ikl-page__item--live {
  padding-right: 16px;
  background: linear-gradient(90deg, transparent 32px, var(--ikl-surface-2) 32px);
  border-radius: 0 8px 8px 0;
}

.ikl-page--programme .ikl-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.ikl-page--programme .ikl-page__meta time {
  color: var(--ikl-accent);
  font-weight: 600;
  font-size: 1.0625rem;
}

.ikl-page__item-title {
  margin: 0;
  font-family: var(--ikl-font-display);
  font-size: 1.1875rem;
  line-height: 1.3;
}

.ikl-page__item-title a {
  color: var(--ikl-text);
  text-decoration: none;
}

.ikl-page__item-title a:hover {
  color: var(--ikl-accent);
  text-decoration: underline;
}

.ikl-page__subtitle {
  margin: 0;
  color: var(--ikl-text-muted);
}

.ikl-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 4px 0 0;
}

.ikl-page__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--ikl-target);
  color: var(--ikl-accent);
  font-weight: 600;
  text-decoration: none;
}

.ikl-page__link::after { content: "→"; }
.ikl-page__link:hover { text-decoration: underline; }

.ikl-page--programme .ikl__people {
  margin-top: 8px;
}

.ikl-page--programme .ikl__people-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

/* Replays (§ 5.5): cards here only (parallel video objects); night block with the replay icon, no mood image */
.ikl-page__list--replays {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ikl-page__item--replay {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ikl-page__item--replay::before {
  content: "";
  order: -1;
  aspect-ratio: 16 / 9;
  border-radius: var(--ikl-radius);
  background:
    no-repeat center / 44px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='%23F5F3FA' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.6 8.5A8.5 8.5 0 1 1 3.5 12.5'/%3E%3Cpath d='M4.2 3.8v4.9h4.9'/%3E%3Cpath d='M10.5 9.3v5.4l4.3-2.7z'/%3E%3C/svg%3E"),
    radial-gradient(60% 80% at 20% 10%, rgba(167, 82, 170, 0.35), transparent 70%),
    #1a1a2e;
}

.ikl-page__list--replays .ikl-page__item-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* The whole card is clickable through its title link */
.ikl-page__list--replays .ikl-page__item-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (max-width: 1023px) {
  .ikl-page__list--replays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .ikl-page__list--replays { grid-template-columns: minmax(0, 1fr); }
}

/* Broadcast page (§ 5.6) */
.ikl-page--session {
  display: grid;
  gap: 12px;
  max-width: 1280px;
}

.ikl-page__cover {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin-bottom: 8px;
  border-radius: 8px;
}

.ikl-page--session .ikl-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.ikl-page--session .ikl-page__title {
  margin: 0;
  max-width: 30ch;
  font-size: 2rem;
  line-height: 1.2;
}

.ikl-page__when {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.ikl-page--session .ikl__countdown {
  justify-items: start;
  margin: 8px 0;
}

.ikl-page--session .ikl__countdown-value {
  font-size: 2.5rem;
  gap: 14px;
}

.ikl-page--session .ikl__countdown-label,
.ikl-page--session .ikl__countdown-unit {
  color: var(--ikl-text-muted);
}

.ikl-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 8px 0 0;
}

.ikl-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ikl-target);
  padding: 0 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--ikl-accent);
  font-weight: 600;
  text-decoration: none;
}

.ikl-page__button--primary {
  border-color: var(--ikl-live);
  background: var(--ikl-live);
  color: #fff;
}

.ikl-page__button--primary:hover {
  border-color: #b8005f;
  background: #b8005f;
  color: #fff;
}

.ikl-page__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ikl-stage-bg);
  border-radius: var(--ikl-radius);
  overflow: hidden;
}

.ikl-page__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ikl-page__section {
  margin-top: 16px;
}

.ikl-page__text {
  max-width: 68ch;
  white-space: pre-wrap;
}

.ikl-page__people {
  display: grid;
  gap: 8px;
}

.ikl-page__people .ikl__people-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ikl-page__people .ikl__people--hosts .ikl__people-list {
  grid-template-columns: minmax(0, 1fr);
}

.ikl-page .ikl__people-title {
  font-size: 12.5px;
}

.ikl-page__practical {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 24px;
  margin: 16px 0 0;
  padding: 16px 20px;
  border-radius: var(--ikl-radius);
  background: var(--ikl-surface-2);
}

.ikl-page__practical dt { font-weight: 600; }
.ikl-page__practical dd { margin: 0; white-space: pre-wrap; }

.ikl-page__unpublished {
  padding: 2px 10px;
  border: 1px dashed var(--ikl-pending);
  border-radius: 999px;
  color: var(--ikl-pending);
  font-size: 12.5px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .ikl-page--session .ikl-page__title { font-size: 1.625rem; }
  .ikl-page__people .ikl__people-list { grid-template-columns: minmax(0, 1fr); }
  .ikl-page__practical { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 15. Visible keyboard focus everywhere (3 px, § 9) ---------- */
.ikl :focus-visible,
.ikl-onair :focus-visible,
.ikl-page :focus-visible {
  outline: 3px solid var(--ikl-focus);
  outline-offset: 2px;
}

.ikl__input:focus-visible,
.ikl__guest:focus-visible {
  outline-offset: 1px;
}

/* ---------- 16. Reduced motion (§ 4): fixed dot, no scrolling banner, no flight ---------- */
@media (prefers-reduced-motion: reduce) {
  .ikl--indicator-pulse .ikl__onair--live .ikl__onair-dot {
    animation: none;
  }

  .ikl__banner--scroll .ikl__banner-track {
    animation: none;
    width: auto;
    flex: 1 1 auto;
  }

  .ikl__banner--scroll .ikl__banner-text {
    white-space: pre-wrap;
  }

  .ikl__banner--scroll [data-ikl-banner-copy],
  .ikl__banner--scroll .ikl__banner-pause {
    display: none;
  }

  .ikl__fx-item {
    bottom: 12px;
    width: 44px;
    height: 44px;
    animation: ikl-fade 1.6s ease-out forwards;
    transform: none;
  }

  .ikl__reaction {
    transition: none;
  }

  .ikl__reaction:active,
  .ikl__reaction--sent {
    transform: none;
  }
}

/* ---------- 17. Teaser (visitor): « Se connecter pour suivre l'émission » (balisage § 7) ----------
   Placed with the actions, after the date (the primary button is absent in teaser mode): secondary pill, 44 px. */
.ikl-onair__login,
.ikl-page__login {
  margin: 8px 0 0;
}

.ikl-onair__login-link,
.ikl-page__login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ikl-target);
  padding: 0 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--ikl-accent);
  font-weight: 600;
  text-decoration: none;
}

.ikl-onair__login-link:hover,
.ikl-page__login-link:hover {
  background: var(--ikl-surface-2);
  text-decoration: underline;
}

/* Broadcast page: the link follows the date and the countdown, before the people */
.ikl-page--session > * { order: 2; }
.ikl-page--session > .ikl-page__cover,
.ikl-page--session > .ikl-page__meta,
.ikl-page--session > .ikl-page__title,
.ikl-page--session > .ikl-page__subtitle,
.ikl-page--session > .ikl-page__when,
.ikl-page--session > .ikl__countdown,
.ikl-page--session > .ikl-page__actions,
.ikl-page--session > .ikl-page__login { order: 1; }

/* ---------- 18. Closed chat (D-m14) ----------
   Without chat (the script hides .ikl__chat), the empty column folds away and the video takes the width; a notice
   placed in the side column by the script (« La discussion est fermée… ») is shown as a quiet panel. */
@media (min-width: 1024px) {
  .ikl--chat-right:has(.ikl__chat[hidden]):not(:has(.ikl__side > :not(.ikl__chat):not([hidden]))) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "info" "regie";
  }

  .ikl--chat-right:has(.ikl__chat[hidden]):not(:has(.ikl__side > :not(.ikl__chat):not([hidden]))) .ikl__side {
    display: none;
  }

  .ikl--chat-right:has(.ikl__chat[hidden]):not(:has(.ikl__side > :not(.ikl__chat):not([hidden]))) .ikl__main,
  .ikl--chat-right:has(.ikl__chat[hidden]):not(:has(.ikl__side > :not(.ikl__chat):not([hidden]))) .ikl__info {
    width: 100%;
    max-width: min(1120px, calc((100vh - 140px) * 16 / 9));
    justify-self: center;
  }
}

.ikl__side > .ikl__notice,
.ikl__chat-closed {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--ikl-subtle);
  border-radius: var(--ikl-radius);
  background: var(--ikl-surface);
  color: var(--ikl-text-muted);
  font-size: 14px;
}

/* ---------- 12. Full screen card (3.6.0): over the whole stage; the player is removed meanwhile ---------- */
.ikl__stage > .ikl__curtain {
  grid-area: 1 / 1;
}

.ikl__curtain {
  position: relative;
  z-index: 6;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  padding: 4%;
  box-sizing: border-box;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.ikl__curtain[hidden] {
  display: none;
}

.ikl__curtain-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ikl__curtain-text {
  position: relative;
  align-self: stretch;
  margin: auto 0 0;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.66);
  font-size: clamp(14px, 2.4cqi, 28px);
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

/* The badge "Direct" and the state screen stay under the card (nothing of the stream shows) */
.ikl--curtain .ikl__slate,
.ikl--curtain .ikl__layer--overlays {
  visibility: hidden;
}

/* ---------- 13. Control room alone in its window (3.6.0, ?ikl_regie=solo, operators only) ---------- */
.ikl.ikl--solo {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: block;
  max-width: none;
  margin: 0;
  padding: 12px 16px;
  overflow: auto;
  background: #efebf4;
}

.ikl.ikl--solo > :not(.ikl__regie) {
  display: none !important;
}

.ikl.ikl--solo > .ikl__regie {
  display: block;
  width: 100%;
  max-width: none;
}

html.ikl-solo-page,
html.ikl-solo-page body {
  overflow: hidden;
}

/* ---------- 14. Consent screen of the third-party player (3.7.0): no iframe before the consent ---------- */
.ikl__stage > .ikl__consent {
  grid-area: 1 / 1;
}

.ikl__consent {
  position: relative;
  z-index: 5;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  padding: 5%;
  box-sizing: border-box;
  background: #14142b;
  color: #fff;
  text-align: center;
}

.ikl__consent[hidden] {
  display: none;
}

.ikl__consent-text {
  max-width: 34em;
  margin: 0;
  font-size: clamp(14px, 2.2cqi, 20px);
  line-height: 1.4;
}

.ikl__consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

.ikl__consent-accept {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #14142b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ikl__consent-more {
  color: #fff;
  text-decoration: underline;
}

.ikl__consent-accept:focus-visible,
.ikl__consent-more:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
