/* ══════════════════════════════════════════════════════════════════════════
   POLARISTAR LIVE — interface plein écran (akasha-live.js), 26/11
   .aklf--m  : téléphone (styles de base dans akasha.page.css, compléments ici)
   .aklf--pc : ordinateur — dispositions Agora / Immersion / Cinéma
   Palette : noir cosmique, violet abyssal, or céleste, blanc stellaire.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Téléphone : compléments ── */
.aklf--m .aklf-time { display: none; }
.aklf--m .aklf-qtag { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 700;
  letter-spacing: .04em; background: rgba(185,140,255,.35); color: #fff; text-shadow: none; }
.aklf--m .aklf-at { color: #f6dc98; font-weight: 700; }
.aklf--m .lv-chat-msg { position: relative; }
.aklf--m .lv-chat-msg-actions { gap: 0; }
.aklf--m .lv-chat-msg-actions button { opacity: .7 !important; color: #fff; }
.aklf--m .aklf-ma { width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #fff; display: inline-grid; place-items: center; cursor: pointer; opacity: .75; }
.aklf--m .aklf-ma svg { width: 14px; height: 14px; }
.aklf--m .is-mention .lv-chat-msg-text { color: #f6dc98 !important; }
.aklf--m .aklf-banner--m { position: absolute; z-index: 4; left: 10px; right: 10px; top: calc(env(safe-area-inset-top, 0px) + 66px);
  padding: 9px 12px; border-radius: 14px; background: rgba(26,14,52,.82); border: 1px solid rgba(232,196,106,.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 18px rgba(232,196,106,.2); }
.aklf--m .aklf-banner--m .aklf-banner-k { display: flex; align-items: center; gap: 5px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #f6dc98; }
.aklf--m .aklf-banner--m .aklf-banner-k svg { width: 13px; height: 13px; }
.aklf--m .aklf-banner--m p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.35; color: #fff; }
.aklf--m .aklf-banner-x { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: #fff; width: 26px; height: 26px; display: grid; place-items: center; }
.aklf--m .aklf-banner-x svg { width: 14px; height: 14px; }
/* les 5 réactions restent visibles même avec les boutons du créateur (l'ancienne règle comptait les boutons) */
.aklf--m .aklf-side .lv-reaction-btn:nth-child(n+6) { display: grid; }
.aklf--m .aklf-flip.is-off { background: rgba(255,70,100,.42) !important; color: #fff; }
.aklf--m .aklf-flip svg { width: 22px; height: 22px; }
.aklf-m-ended { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 22px 26px; border-radius: 18px; background: rgba(12,6,28,.9); border: 1px solid rgba(232,196,106,.4); color: #fff; text-align: center; }
.aklf-m-ended button { border: 0; border-radius: 999px; padding: 10px 22px; font-weight: 700; background: linear-gradient(135deg, #b98cff, #e8c46a); color: #1a0b33; }

/* ══ ORDINATEUR ══ */
.aklf--pc {
  --gold: #e8c46a; --gold2: #f6dc98; --vio: #8f6ad8; --vio2: #b98cff; --ink: #05040b; --star: #f4f0ff;
  --line: rgba(232,196,106,.22); --glass: rgba(12,8,26,.78); --hd: 58px; --pw: 360px; --cb: 44px;
  position: fixed; inset: 0; z-index: 2147482000; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  background: radial-gradient(1200px 700px at 30% 10%, #1a0f36 0%, transparent 60%), radial-gradient(900px 600px at 90% 100%, #140a2c 0%, transparent 60%), var(--ink);
  color: var(--star); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased;
}
.aklf--pc *, .aklf--pc *::before, .aklf--pc *::after { box-sizing: border-box; }
.aklf--pc button { font-family: inherit; }
.aklf--pc svg { flex: none; }
.aklf--pc [hidden] { display: none !important; }
.aklf--pc :focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
.aklf--pc.is-dragging, .aklf--pc.is-dragging * { user-select: none !important; cursor: grabbing; }

/* ── En-tête compact ── */
.aklf--pc .aklf-hd { position: relative; z-index: 6; height: var(--hd); display: flex; align-items: center; gap: 10px; padding: 0 14px;
  background: linear-gradient(180deg, rgba(14,8,30,.94), rgba(8,5,18,.86)); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .35s ease, transform .35s ease; }
.aklf--pc .aklf-brand { display: flex; align-items: center; gap: 8px; padding-right: 14px; margin-right: 2px; border-right: 1px solid var(--line); color: var(--gold); }
.aklf--pc .aklf-brand svg { filter: drop-shadow(0 0 8px rgba(246,220,152,.55)); animation: aklfStarGlow 5s ease-in-out infinite; }
.aklf--pc .aklf-brand span { font-family: "Cinzel", "Cinzel Fallback", serif; font-size: 12px; letter-spacing: .24em; color: var(--star); white-space: nowrap; }
.aklf--pc .aklf-brand b { color: var(--gold); margin-left: 6px; font-weight: 700; }
@keyframes aklfStarGlow { 50% { filter: drop-shadow(0 0 14px rgba(246,220,152,.9)); transform: rotate(8deg); } }
.aklf--pc .aklf-hd-host { display: flex; align-items: center; gap: 10px; min-width: 0; }
.aklf--pc .aklf-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-family: "Cinzel", serif;
  background: linear-gradient(135deg, #b98cff, #e8c46a); color: #1a0b33; border: 1.5px solid rgba(255,248,225,.9); box-shadow: 0 0 12px rgba(185,140,255,.35); }
.aklf--pc .aklf-av--sm { width: 28px; height: 28px; font-size: 12px; }
.aklf--pc .aklf-av--lg { width: 46px; height: 46px; font-size: 18px; }
.aklf--pc .aklf-hd-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.aklf--pc .aklf-hd-id b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 18vw; }
.aklf--pc .aklf-hd-id small { font-size: 12px; color: rgba(244,240,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22vw; }
.aklf--pc .aklf-onair { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; flex: none;
  background: linear-gradient(180deg, #ff4f78, #d41f4c); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .14em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 0 18px rgba(255,61,106,.35); animation: aklfOnairIn .7s cubic-bezier(.2,1.5,.4,1) both; }
.aklf--pc .aklf-onair i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: aklfPulse 1.3s ease-in-out infinite; }
.aklf--pc .aklf-onair.is-off { background: rgba(255,255,255,.12); box-shadow: none; }
.aklf--pc .aklf-onair.is-off i { background: rgba(255,255,255,.6); }
@keyframes aklfOnairIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aklfPulse { 50% { opacity: .3; } }
.aklf--pc .aklf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; flex: none;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(244,240,255,.88); }
.aklf--pc .aklf-chip svg { width: 15px; height: 15px; opacity: .8; }
.aklf--pc .aklf-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.aklf--pc .aklf-bars i { width: 3px; border-radius: 1px; background: rgba(255,255,255,.22); }
.aklf--pc .aklf-bars i:nth-child(1) { height: 5px; } .aklf--pc .aklf-bars i:nth-child(2) { height: 8px; } .aklf--pc .aklf-bars i:nth-child(3) { height: 12px; }
.aklf--pc .aklf-qual[data-q="excellent"] .aklf-bars i { background: var(--gold2); }
.aklf--pc .aklf-qual[data-q="good"] .aklf-bars i:nth-child(-n+2) { background: var(--gold2); }
.aklf--pc .aklf-qual[data-q="poor"] .aklf-bars i:nth-child(1) { background: #ff7a8f; }
.aklf--pc .aklf-qual[data-q="poor"], .aklf--pc .aklf-qual[data-q="lost"] { color: #ffb3c2; border-color: rgba(255,70,100,.35); }
.aklf--pc .aklf-warn { background: rgba(255,70,100,.14); border-color: rgba(255,70,100,.4); color: #ffc2cf; }
.aklf--pc .aklf-share-on { background: rgba(232,196,106,.14); border-color: rgba(232,196,106,.45); color: var(--gold2); }
.aklf--pc .aklf-grow { flex: 1 1 auto; min-width: 8px; }
.aklf--pc .aklf-seg { display: flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); flex: none; }
.aklf--pc .aklf-seg button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 0; background: none;
  color: rgba(244,240,255,.7); font-size: 12.5px; cursor: pointer; transition: background .25s, color .25s; }
.aklf--pc .aklf-seg button svg { width: 17px; height: 17px; }
.aklf--pc .aklf-seg button:hover { color: #fff; background: rgba(255,255,255,.06); }
.aklf--pc .aklf-seg button[aria-pressed="true"] { background: linear-gradient(180deg, #f6dc98, #e2b95a); color: #1a1405; box-shadow: 0 0 14px rgba(232,196,106,.35); }
.aklf--pc .aklf-hb { width: 38px; height: 38px; border-radius: 50%; flex: none; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.05);
  color: var(--star); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s, border-color .2s; }
.aklf--pc .aklf-hb:hover { background: rgba(232,196,106,.14); border-color: rgba(232,196,106,.45); }
.aklf--pc .aklf-hb[aria-pressed="true"] { border-color: rgba(232,196,106,.5); color: var(--gold2); }
.aklf--pc .aklf-hb-x:hover { background: rgba(255,70,100,.18); border-color: rgba(255,70,100,.5); }

/* ── Zone principale ── */
.aklf--pc .aklf-main { position: relative; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 10px var(--pw); }
.aklf--pc .aklf-stage { position: relative; min-width: 0; min-height: 0; display: grid; gap: 12px; padding: 16px 6px 14px 16px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto;
  grid-template-areas: "screen screen screen" "banner banner banner" "info cock ."; }
.aklf--pc .aklf-screen { grid-area: screen; position: relative; min-height: 0; overflow: hidden; border-radius: 18px;
  border: 1px solid rgba(232,196,106,.3); box-shadow: 0 0 0 1px rgba(143,106,216,.18) inset, 0 24px 70px rgba(0,0,0,.55), 0 0 60px rgba(106,63,192,.14);
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 74% 30%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 82%, rgba(246,220,152,.45), transparent 60%),
    radial-gradient(1px 1px at 88% 72%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 22% 64%, rgba(185,140,255,.45), transparent 60%),
    radial-gradient(ellipse at 50% 45%, #170d2e 0%, #0a0717 58%, #05040b 100%);
  transition: border-radius .4s ease, border-color .4s ease; }
.aklf--pc .aklf-corner { position: absolute; z-index: 3; width: 22px; height: 22px; border: 0 solid rgba(246,220,152,.75); pointer-events: none; transition: opacity .4s; }
.aklf--pc .aklf-corner.tl { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 6px; }
.aklf--pc .aklf-corner.tr { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; border-top-right-radius: 6px; }
.aklf--pc .aklf-corner.bl { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-bottom-left-radius: 6px; }
.aklf--pc .aklf-corner.br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 6px; }
/* la vidéo : jamais déformée, ratio natif respecté (Ajuster par défaut) */
.aklf--pc .aklf-frame.lv-player-frame { position: absolute; inset: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: hidden; }
.aklf--pc .aklf-frame::before, .aklf--pc .aklf-frame::after { display: none !important; }
.aklf--pc .aklf-surface.lv-player-surface { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; background: transparent; }
.aklf--pc .aklf-surface video { width: 100% !important; height: 100% !important; background: transparent !important; object-fit: contain !important; }
.aklf--pc[data-fit="cover"] .aklf-surface video { object-fit: cover !important; }
.aklf--pc .aklf-surface > .loader { display: none; }
.aklf--pc .aklf-surface > p, .aklf--pc .lv-cam-msg { color: rgba(244,240,255,.78) !important; font-size: 14px !important; text-align: center; padding: 0 18%; }
.aklf--pc .lv-float-emoji { display: none; }

/* états de la diffusion (jamais de voile sombre sur toute la vidéo) */
.aklf--pc .aklf-state { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.aklf--pc .aklf-state-card { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 420px; text-align: center;
  padding: 22px 28px; border-radius: 18px; background: rgba(10,6,22,.82); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.aklf--pc .aklf-state-card > svg { width: 40px; height: 40px; color: var(--gold); }
.aklf--pc .aklf-state-card b { font-size: 16px; font-weight: 600; }
.aklf--pc .aklf-state-card span { font-size: 13px; color: rgba(244,240,255,.7); }
.aklf--pc .aklf-state-card button { margin-top: 4px; border: 0; border-radius: 999px; padding: 9px 20px; font-weight: 700; cursor: pointer;
  background: linear-gradient(180deg, #f6dc98, #e2b95a); color: #1a1405; }
.aklf--pc .aklf-state-card.is-soft { background: rgba(10,6,22,.6); }
.aklf--pc .aklf-state-card.is-soft > svg { color: rgba(244,240,255,.75); }
.aklf--pc .aklf-spin { color: var(--gold); display: grid; }
.aklf--pc .aklf-spin svg { width: 40px; height: 40px; animation: aklfSpin 2.4s linear infinite; filter: drop-shadow(0 0 10px rgba(246,220,152,.6)); }
@keyframes aklfSpin { to { transform: rotate(360deg); } }

/* ── Réactions célestes ── */
.aklf--pc .aklf-rx { position: absolute; z-index: 4; right: 16px; bottom: 18px; display: flex; flex-direction: column; gap: 8px;
  padding: 6px; border-radius: 999px; background: rgba(10,6,22,.45); border: 1px solid rgba(232,196,106,.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .35s ease, transform .35s ease; }
.aklf--pc .aklf-rxb { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid transparent; background: rgba(255,255,255,.04);
  display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .18s ease, background .2s, border-color .2s; }
.aklf--pc .aklf-rxb:hover { transform: scale(1.1); background: rgba(232,196,106,.12); border-color: rgba(232,196,106,.4); }
.aklf--pc .aklf-rxb:active { transform: scale(.92); }
.aklf--pc .aklf-rxb em { position: absolute; right: -4px; top: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; font-style: normal;
  font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; background: var(--gold); color: #1a1405; }
.aklf--pc .aklf-rxb em:empty { display: none; }
.aklf--pc .aklf-rxb.is-pulse { animation: aklfRxPulse .45s ease; }
@keyframes aklfRxPulse { 40% { transform: scale(1.18); box-shadow: 0 0 18px rgba(246,220,152,.55); } }
.aklf--pc.rx-off .aklf-rx, .aklf--pc.rx-off .aklf-fx { display: none; }
.aklf--pc .aklf-fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.aklf--pc .aklf-pt { position: absolute; bottom: 90px; opacity: 0; animation: aklfRise 2.2s cubic-bezier(.2,.7,.3,1) forwards; will-change: transform, opacity; }
.aklf--pc .aklf-pt svg { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(246,220,152,.6)); }
.aklf--pc .aklf-pt-n { font-weight: 800; font-size: 15px; color: var(--gold2); text-shadow: 0 0 10px rgba(232,196,106,.8); }
@keyframes aklfRise { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 0), -300px) scale(1.15); } }

/* ── Question mise en avant ── */
.aklf--pc .aklf-banner { grid-area: banner; position: relative; display: flex; flex-direction: column; gap: 3px; padding: 12px 46px 12px 16px; border-radius: 14px;
  background: linear-gradient(100deg, rgba(42,22,86,.94), rgba(18,10,38,.9)); border: 1px solid rgba(232,196,106,.5);
  box-shadow: 0 0 0 1px rgba(185,140,255,.15) inset, 0 0 26px rgba(232,196,106,.18); animation: aklfHalo 3.6s ease-in-out infinite; }
.aklf--pc .aklf-banner-k { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.aklf--pc .aklf-banner-k svg { width: 15px; height: 15px; }
.aklf--pc .aklf-banner p { margin: 0; font-size: 16.5px; line-height: 1.4; }
.aklf--pc .aklf-banner-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06);
  color: var(--star); display: grid; place-items: center; cursor: pointer; }
.aklf--pc .aklf-banner-x svg { width: 15px; height: 15px; }
@keyframes aklfHalo { 50% { box-shadow: 0 0 0 1px rgba(185,140,255,.2) inset, 0 0 38px rgba(232,196,106,.3); } }

/* ── Informations du créateur ── */
.aklf--pc .aklf-info { grid-area: info; display: flex; align-items: center; gap: 12px; min-width: 0; }
.aklf--pc .aklf-info-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.aklf--pc .aklf-info-txt b { font-size: 15px; font-family: "Cinzel", serif; letter-spacing: .04em; }
.aklf--pc .aklf-info-txt span { font-size: 13px; color: rgba(244,240,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aklf--pc .aklf-info-txt small { font-size: 11.5px; color: rgba(246,220,152,.75); }

/* ── Cockpit ── */
.aklf--pc .aklf-cockpit { grid-area: cock; justify-self: center; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: opacity .35s ease, transform .35s ease; z-index: 5; }
.aklf--pc .aklf-cgroup { display: flex; align-items: center; gap: 6px; }
.aklf--pc .aklf-cb { position: relative; width: var(--cb); height: var(--cb); border-radius: 50%; padding: 0; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.06); color: var(--star); display: grid; place-items: center; cursor: pointer; overflow: visible;
  transition: background .2s, border-color .2s, color .2s, transform .15s; }
.aklf--pc .aklf-cb:hover { background: rgba(232,196,106,.14); border-color: rgba(232,196,106,.45); }
.aklf--pc .aklf-cb:active { transform: scale(.94); }
.aklf--pc .aklf-cb.is-off { background: rgba(255,70,100,.18); border-color: rgba(255,70,100,.5); color: #ffb3c2; }
.aklf--pc .aklf-cb.is-on { background: linear-gradient(180deg, rgba(246,220,152,.3), rgba(232,196,106,.16)); border-color: rgba(246,220,152,.7); color: var(--gold2); }
.aklf--pc .aklf-cb.is-on::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,248,225,.45) 50%, transparent 70%); background-size: 250% 100%; animation: aklfSheen 2.8s ease-in-out infinite; }
@keyframes aklfSheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.aklf--pc .aklf-split { display: inline-flex; }
.aklf--pc .aklf-split > .aklf-cb:first-child { border-radius: 22px 4px 4px 22px; width: calc(var(--cb) - 2px); }
.aklf--pc .aklf-split > .aklf-caret { width: 24px; border-radius: 4px 22px 22px 4px; margin-left: 2px; }
.aklf--pc .aklf-caret svg { width: 14px; height: 14px; }
.aklf--pc .aklf-csep { width: 1px; height: 26px; background: rgba(232,196,106,.25); flex: none; }
.aklf--pc .aklf-csep--wide { margin: 0 6px; }
.aklf--pc .aklf-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.aklf--pc .aklf-endbtn, .aklf--pc .aklf-leavebtn { display: inline-flex; align-items: center; gap: 8px; height: var(--cb); padding: 0 18px; border-radius: 999px; cursor: pointer;
  font-size: 13.5px; font-weight: 700; flex: none; transition: background .2s, border-color .2s; }
.aklf--pc .aklf-endbtn { border: 1px solid rgba(255,80,110,.55); background: linear-gradient(180deg, rgba(255,60,95,.24), rgba(170,20,60,.26)); color: #ffd7df; }
.aklf--pc .aklf-endbtn:hover { background: linear-gradient(180deg, rgba(255,60,95,.42), rgba(170,20,60,.4)); }
.aklf--pc .aklf-leavebtn { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: var(--star); }
.aklf--pc .aklf-leavebtn:hover { border-color: rgba(255,70,100,.5); background: rgba(255,70,100,.15); }
.aklf--pc .aklf-volume input[type="range"] { width: 110px; accent-color: var(--gold); cursor: pointer; }
/* infobulles */
.aklf--pc [data-tip]:hover::after, .aklf--pc [data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; pointer-events: none; z-index: 20;
  padding: 6px 10px; border-radius: 9px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: #f6efe0;
  background: rgba(10,6,22,.96); border: 1px solid rgba(232,196,106,.4); box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.aklf--pc .aklf-rx [data-tip]:hover::after, .aklf--pc .aklf-rx [data-tip]:focus-visible::after { left: auto; right: calc(100% + 12px); bottom: 50%; transform: translateY(50%); }

/* ── Poignée de redimensionnement ── */
.aklf--pc .aklf-resizer { position: relative; cursor: col-resize; z-index: 4; }
.aklf--pc .aklf-resizer::after { content: ""; position: absolute; top: 16px; bottom: 16px; left: 4px; width: 2px; border-radius: 2px; background: rgba(232,196,106,.12); transition: background .2s; }
.aklf--pc .aklf-resizer:hover::after, .aklf--pc .aklf-resizer:focus-visible::after, .aklf--pc.is-dragging .aklf-resizer::after { background: var(--gold); }

/* ── Panneau latéral : l'Agora ── */
.aklf--pc .aklf-panel { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; margin: 16px 16px 14px 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20,12,42,.92), rgba(9,6,20,.94)); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transition: opacity .35s ease, transform .35s ease; }
.aklf--pc .aklf-tabs { display: flex; align-items: stretch; gap: 2px; padding: 6px 6px 0; border-bottom: 1px solid rgba(255,255,255,.07); flex: none; }
/* onglets : icône au-dessus du libellé, quatre onglets tiennent sans se chevaucher */
.aklf--pc .aklf-tab { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 2px 9px;
  border: 0; background: none; cursor: pointer; color: rgba(244,240,255,.6); font-size: 11.5px; letter-spacing: .02em; line-height: 1.1;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.aklf--pc .aklf-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.aklf--pc .aklf-tab svg { width: 18px; height: 18px; }
.aklf--pc .aklf-tab:hover { color: #fff; }
.aklf--pc .aklf-tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--gold); }
.aklf--pc .aklf-tab em { position: absolute; top: 4px; left: calc(50% + 8px); font-style: normal; font-size: 9.5px; line-height: 14px; min-width: 15px; padding: 0 4px; text-align: center;
  border-radius: 999px; background: var(--gold); color: #1a1405; font-weight: 700; }
.aklf--pc .aklf-tab em:empty { display: none; }
.aklf--pc .aklf-panel-x { width: 30px; height: 30px; align-self: center; margin-left: 2px; }
.aklf--pc .aklf-panel-x svg { width: 15px; height: 15px; }
.aklf--pc .aklf-pane { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.aklf--pc .aklf-pane[data-pane="questions"], .aklf--pc .aklf-pane[data-pane="people"], .aklf--pc .aklf-pane[data-pane="mod"] { overflow-y: auto; padding: 12px; gap: 10px; }
.aklf--pc .aklf-muted { color: rgba(244,240,255,.55); font-size: 12.5px; margin: 0; }
.aklf--pc .aklf-empty { padding: 18px 6px; text-align: center; font-style: italic; }

/* chat */
.aklf--pc .aklf-chatslot { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.aklf--pc .lv-chat-panel { flex: 1 1 auto; min-height: 0 !important; max-height: none !important; height: auto !important; display: flex; flex-direction: column;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; padding: 0 !important; }
.aklf--pc .lv-chat-panel-head { display: none; }
.aklf--pc .lv-chat-panel::before, .aklf--pc .lv-chat-panel::after { display: none !important; }
.aklf--pc .lv-chat-messages { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 10px 6px !important; gap: 2px !important; font-size: 13.5px;
  scrollbar-width: thin; scrollbar-color: rgba(232,196,106,.3) transparent; }
.aklf--pc .lv-chat-msg { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 7px 8px; border-radius: 12px; transition: background .2s; }
.aklf--pc .lv-chat-msg:hover, .aklf--pc .lv-chat-msg:focus-within { background: rgba(255,255,255,.04); }
.aklf--pc .lv-chat-avatar { width: 30px; height: 30px; font-size: 12.5px; }
.aklf--pc .lv-chat-msg-body { display: block; padding-right: 4px; }
.aklf--pc .lv-chat-msg-body > span { display: block; }
.aklf--pc .lv-chat-msg-name { font-weight: 700; }
.aklf--pc .lv-chat-msg-text { display: block; margin-top: 1px; color: rgba(244,240,255,.92); line-height: 1.45; }
.aklf--pc .aklf-time { font-size: 10.5px; color: rgba(244,240,255,.38); position: absolute; top: 8px; right: 10px; transition: opacity .2s; }
.aklf--pc .lv-chat-msg-actions { position: absolute; top: 4px; right: 6px; display: flex; gap: 3px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.aklf--pc .lv-chat-msg:hover .lv-chat-msg-actions, .aklf--pc .lv-chat-msg:focus-within .lv-chat-msg-actions { opacity: 1; pointer-events: auto; }
.aklf--pc .lv-chat-msg:hover .aklf-time, .aklf--pc .lv-chat-msg:focus-within .aklf-time { opacity: 0; }
.aklf--pc .lv-chat-msg-actions button { width: 26px; height: 26px; padding: 0 !important; border-radius: 8px; opacity: 1 !important; font-size: 12px !important;
  background: rgba(18,10,36,.96) !important; border: 1px solid rgba(232,196,106,.22) !important; color: #e9dcff; display: grid; place-items: center; cursor: pointer; }
.aklf--pc .lv-chat-msg-actions button:hover { border-color: rgba(232,196,106,.6) !important; color: var(--gold2); }
.aklf--pc .aklf-ma svg { width: 14px; height: 14px; }
.aklf--pc .aklf-at { color: var(--gold2); font-weight: 600; }
.aklf--pc .lv-chat-msg.is-mention { background: rgba(232,196,106,.08); box-shadow: inset 2px 0 0 var(--gold); }
.aklf--pc .lv-chat-msg.is-question { box-shadow: inset 2px 0 0 var(--vio2); }
.aklf--pc .aklf-qtag { display: inline-block; margin: 0 6px 0 0; padding: 0 6px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(185,140,255,.22); color: #dcc8ff; vertical-align: 1px; }
.aklf--pc .lv-chat-empty { text-align: center; margin: auto 0; padding: 30px 14px; }
.aklf--pc .lv-chat-emojis { gap: 2px; padding: 4px 10px; border-top: 1px solid rgba(255,255,255,.06); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.aklf--pc .lv-chat-emoji-btn { font-size: 16px; padding: 4px 5px; border-radius: 8px; }
.aklf--pc .lv-chat-emoji-btn:hover { background: rgba(255,255,255,.06); }
.aklf--pc .lv-chat-input-row { gap: 8px; padding: 10px 12px 12px; border-top: 1px solid rgba(255,255,255,.07); }
.aklf--pc .lv-chat-input { border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(232,196,106,.2); color: #fff; padding: 11px 14px;
  font-size: 14px; text-transform: none !important; letter-spacing: normal !important; }
.aklf--pc .lv-chat-input:focus { border-color: rgba(246,220,152,.7); box-shadow: 0 0 0 3px rgba(232,196,106,.12); }
.aklf--pc .lv-chat-send { width: 44px; border-radius: 14px; border: 0; display: grid; place-items: center; background: linear-gradient(180deg, #f6dc98, #e2b95a); color: #1a1405; }
.aklf--pc .lv-chat-send svg { width: 18px; height: 18px; }
.aklf--pc .aklf-unread { position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%); z-index: 3; border: 1px solid rgba(232,196,106,.5); border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; background: rgba(26,14,52,.95); color: var(--gold2); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.aklf--pc .aklf-pinned { display: flex; align-items: flex-start; gap: 10px; margin: 10px 10px 0; padding: 10px 10px 10px 12px; border-radius: 12px; flex: none;
  background: rgba(232,196,106,.08); border: 1px solid rgba(232,196,106,.32); }
.aklf--pc .aklf-pin-ic { color: var(--gold2); display: grid; padding-top: 2px; }
.aklf--pc .aklf-pin-ic svg { width: 16px; height: 16px; }
.aklf--pc .aklf-pinned > div { flex: 1; min-width: 0; font-size: 13px; }
.aklf--pc .aklf-pinned b { display: block; font-size: 11.5px; color: var(--gold2); }
.aklf--pc .aklf-pinned .aklf-hb { width: 28px; height: 28px; }
.aklf--pc .aklf-pinned .aklf-hb svg { width: 14px; height: 14px; }

/* questions */
.aklf--pc .aklf-qfilter { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); flex: none; }
.aklf--pc .aklf-qfilter button { flex: 1; border: 0; border-radius: 999px; padding: 7px 10px; background: none; color: rgba(244,240,255,.7); font-size: 12.5px; cursor: pointer; }
.aklf--pc .aklf-qfilter button[aria-pressed="true"] { background: rgba(232,196,106,.18); color: var(--gold2); }
.aklf--pc .aklf-qfilter em { font-style: normal; opacity: .8; }
.aklf--pc .aklf-ask { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(185,140,255,.07); border: 1px solid rgba(185,140,255,.22); flex: none; }
.aklf--pc .aklf-ask textarea { resize: none; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.25); color: #fff; padding: 9px 11px; font: inherit; font-size: 13.5px; }
.aklf--pc .aklf-ask textarea:focus { outline: none; border-color: rgba(246,220,152,.6); }
.aklf--pc .aklf-ask button { align-self: flex-end; border: 0; border-radius: 999px; padding: 8px 18px; font-weight: 700; cursor: pointer; background: linear-gradient(180deg, #f6dc98, #e2b95a); color: #1a1405; }
.aklf--pc .aklf-qlist { display: flex; flex-direction: column; gap: 8px; }
.aklf--pc .aklf-q { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.aklf--pc .aklf-q header { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.aklf--pc .aklf-q header time { margin-left: auto; font-size: 11px; color: rgba(244,240,255,.45); }
.aklf--pc .aklf-q p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; }
.aklf--pc .aklf-q footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.aklf--pc .aklf-q footer button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 5px 11px;
  font-size: 12px; cursor: pointer; background: rgba(255,255,255,.04); color: var(--star); }
.aklf--pc .aklf-q footer button svg { width: 14px; height: 14px; }
.aklf--pc .aklf-q footer button:hover { border-color: rgba(232,196,106,.5); }
.aklf--pc .aklf-q footer button.is-gold { border-color: rgba(232,196,106,.55); color: var(--gold2); background: rgba(232,196,106,.1); }
.aklf--pc .aklf-q.is-featured { border-color: rgba(232,196,106,.6); box-shadow: 0 0 22px rgba(232,196,106,.16); background: rgba(232,196,106,.06); }
.aklf--pc .aklf-q.is-done { opacity: .62; }
.aklf--pc .aklf-qbadge { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: #1a1405; font-weight: 700; }
.aklf--pc .aklf-quizzone { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.aklf--pc .aklf-quizbtn { border: 1px dashed rgba(232,196,106,.5); border-radius: 12px; padding: 10px; background: none; color: var(--gold2); font-weight: 600; cursor: pointer; }
.aklf--pc .aklf-sheet { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.aklf--pc .aklf-sheet-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.aklf--pc .aklf-sheet-head small { font-weight: 400; opacity: .65; }
.aklf--pc .aklf-sheet-x { border: 0; background: none; color: var(--star); cursor: pointer; }
.aklf--pc .aklf-sheet input, .aklf--pc .aklf-sheet select { width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.25); color: #fff;
  padding: 8px 10px; font: inherit; font-size: 13.5px; text-transform: none; }
.aklf--pc .aklf-sheet select { width: auto; flex: 1; }
.aklf--pc .aklf-sheet option { color: #000; }
.aklf--pc .aklf-sheet-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.aklf--pc .aklf-send { border: 0; border-radius: 999px; padding: 9px; font-weight: 700; cursor: pointer; background: linear-gradient(180deg, #f6dc98, #e2b95a); color: #1a1405; }
.aklf--pc .aklf-poll .lv-poll-card, .aklf--pc .aklf-poll .lv-poll-result, .aklf--pc .aklf-poll .lv-poll-empty { margin: 0; }
.aklf--pc .aklf-poll:empty { display: none; }

/* présents */
.aklf--pc .aklf-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.aklf--pc .aklf-people li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 13.5px; }
.aklf--pc .aklf-people li:hover { background: rgba(255,255,255,.04); }
.aklf--pc .aklf-people b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aklf--pc .aklf-role { font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: rgba(232,196,106,.18); color: var(--gold2); }
.aklf--pc .aklf-role.is-prem { background: rgba(185,140,255,.18); color: #dcc8ff; }
.aklf--pc .aklf-pact { margin-left: auto; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.aklf--pc .aklf-people li:hover .aklf-pact, .aklf--pc .aklf-people li:focus-within .aklf-pact { opacity: 1; }
.aklf--pc .aklf-pact button { border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px 9px; font-size: 11.5px; background: none; color: var(--star); cursor: pointer; }
.aklf--pc .aklf-pact button:hover { border-color: rgba(255,70,100,.5); color: #ffc2cf; }

/* ── Studio ── */
.aklf--pc .aklf-studio { position: absolute; z-index: 9; top: var(--hd); right: 0; bottom: 0; width: min(420px, 92vw); overflow-y: auto;
  background: linear-gradient(180deg, rgba(18,10,38,.98), rgba(8,5,18,.98)); border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(0,0,0,.5);
  animation: aklfSlide .35s cubic-bezier(.2,.8,.3,1) both; }
@keyframes aklfSlide { from { transform: translateX(30px); opacity: 0; } }
.aklf--pc .aklf-studio-in { padding: 16px 18px 28px; display: flex; flex-direction: column; gap: 14px; }
.aklf--pc .aklf-studio-in > header { display: flex; align-items: center; justify-content: space-between; }
.aklf--pc .aklf-studio-t { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.aklf--pc .aklf-studio-t span { font-family: "Cinzel", serif; letter-spacing: .14em; font-size: 13px; color: var(--star); }
.aklf--pc .aklf-studio-t b { color: var(--gold); }
.aklf--pc .aklf-studio section { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.aklf--pc .aklf-studio h4 { margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); font-weight: 600; }
.aklf--pc .aklf-studio select { width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.3); color: #fff; padding: 8px 10px; font: inherit; font-size: 13px; }
.aklf--pc .aklf-studio option { color: #000; }
.aklf--pc .aklf-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.aklf--pc .aklf-row select { width: auto; flex: 1; }
.aklf--pc .aklf-prev { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #05040b; border: 1px solid rgba(232,196,106,.25); display: grid; place-items: center; }
.aklf--pc .aklf-prev video { width: 100%; height: 100%; object-fit: contain; }
.aklf--pc .aklf-prev span { position: absolute; font-size: 12.5px; color: rgba(244,240,255,.65); }
.aklf--pc .aklf-toggle { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.aklf--pc .aklf-toggle input { width: 18px; height: 18px; accent-color: var(--gold); }
.aklf--pc .aklf-note { margin: 0; font-size: 11.5px; color: rgba(244,240,255,.5); }
.aklf--pc .aklf-meter { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.aklf--pc .aklf-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8f6ad8, #e8c46a 70%, #ff7a8f); transition: width .08s linear; }
.aklf--pc .aklf-meter[data-off="1"] i { background: rgba(255,255,255,.2); }
.aklf--pc .aklf-seg--sm button { flex: 1; justify-content: center; }
.aklf--pc .aklf-wide { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(232,196,106,.35); border-radius: 12px; padding: 9px;
  background: rgba(232,196,106,.08); color: var(--gold2); cursor: pointer; font-size: 13px; }
.aklf--pc .aklf-diag { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 0; font-size: 12.5px; }
.aklf--pc .aklf-diag dt { color: rgba(244,240,255,.55); }
.aklf--pc .aklf-diag dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

/* ── Menu des périphériques, dialogue ── */
.aklf--pc .aklf-menu { position: fixed; z-index: 12; min-width: 250px; max-width: 360px; padding: 6px; border-radius: 14px; display: flex; flex-direction: column; gap: 2px;
  background: rgba(14,8,30,.98); border: 1px solid rgba(232,196,106,.35); box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.aklf--pc .aklf-menu-h { margin: 4px 8px 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.aklf--pc .aklf-menu button { display: flex; align-items: center; gap: 8px; text-align: left; border: 0; border-radius: 9px; padding: 8px 10px; background: none; color: var(--star); font-size: 13px; cursor: pointer; }
.aklf--pc .aklf-menu button:hover, .aklf--pc .aklf-menu button:focus-visible { background: rgba(232,196,106,.12); }
.aklf--pc .aklf-menu button[aria-checked="true"] { color: var(--gold2); }
.aklf--pc .aklf-menu button[aria-checked="true"]::before { content: "✦"; }
.aklf--pc .aklf-menu svg { width: 16px; height: 16px; }
.aklf--pc .aklf-dialog { position: absolute; inset: 0; z-index: 14; display: grid; place-items: center; background: rgba(3,2,8,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.aklf--pc .aklf-dialog-in { width: min(440px, 90vw); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 26px 26px 22px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(26,14,52,.98), rgba(10,6,22,.98)); border: 1px solid rgba(232,196,106,.4); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.aklf--pc .aklf-dialog-in > svg { color: var(--gold); width: 38px; height: 38px; }
.aklf--pc .aklf-dialog-in h3 { margin: 0; font-family: "Cinzel", serif; font-size: 18px; letter-spacing: .06em; }
.aklf--pc .aklf-dialog-in p { margin: 0; font-size: 13.5px; color: rgba(244,240,255,.72); }
.aklf--pc .aklf-dialog-a { display: flex; gap: 10px; margin-top: 10px; }
.aklf--pc .aklf-dialog-a button { border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; background: rgba(255,255,255,.06); color: var(--star); }
.aklf--pc .aklf-dialog-a .is-danger { border-color: rgba(255,80,110,.6); background: linear-gradient(180deg, #ff4f78, #c41c48); color: #fff; }

/* ── Étoile polaire d'ouverture ── */
.aklf--pc .aklf-intro { position: absolute; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 16px; pointer-events: none;
  background: radial-gradient(circle at 50% 46%, rgba(30,16,60,.98), #05040b 70%); animation: aklfIntroOut .55s ease 1s forwards; }
.aklf--pc .aklf-intro-star { color: var(--gold); }
.aklf--pc .aklf-intro-star svg { width: 88px; height: 88px; filter: drop-shadow(0 0 22px rgba(246,220,152,.75)); animation: aklfStarIn 1.1s cubic-bezier(.2,1.2,.3,1) both; }
.aklf--pc .aklf-intro-txt { font-family: "Cinzel", serif; letter-spacing: .42em; font-size: 15px; color: var(--star); animation: aklfFadeUp .8s ease .25s both; }
.aklf--pc .aklf-intro-txt b { color: var(--gold); }
@keyframes aklfStarIn { from { transform: scale(.2) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aklfFadeUp { from { transform: translateY(10px); opacity: 0; } }
@keyframes aklfIntroOut { to { opacity: 0; visibility: hidden; } }

/* ══ AGORA : panneau replié ══ */
.aklf--pc[data-layout="agora"].panel-off .aklf-main { grid-template-columns: minmax(0, 1fr) 0 0; }
.aklf--pc[data-layout="agora"].panel-off .aklf-panel, .aklf--pc[data-layout="agora"].panel-off .aklf-resizer { display: none; }
.aklf--pc[data-layout="agora"].panel-off .aklf-stage { padding-right: 16px; }

/* ══ IMMERSION et CINÉMA : la vidéo occupe la surface ══ */
.aklf--pc:not([data-layout="agora"]) { grid-template-rows: minmax(0, 1fr); }
.aklf--pc:not([data-layout="agora"]) .aklf-hd { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(180deg, rgba(5,4,11,.86), rgba(5,4,11,.35) 70%, transparent); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.aklf--pc:not([data-layout="agora"]) .aklf-main { grid-template-columns: minmax(0, 1fr); grid-row: 1; }
.aklf--pc:not([data-layout="agora"]) .aklf-resizer { display: none; }
.aklf--pc:not([data-layout="agora"]) .aklf-stage { padding: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "screen"; }
.aklf--pc:not([data-layout="agora"]) .aklf-screen { border: 0; border-radius: 0; box-shadow: none; }
.aklf--pc:not([data-layout="agora"]) .aklf-corner, .aklf--pc:not([data-layout="agora"]) .aklf-info { display: none; }
.aklf--pc:not([data-layout="agora"]) .aklf-cockpit { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); }
.aklf--pc:not([data-layout="agora"]) .aklf-banner { position: absolute; z-index: 4; left: 24px; bottom: 100px; max-width: min(560px, 44%); }
.aklf--pc:not([data-layout="agora"]) .aklf-rx { bottom: 100px; right: 20px; }
.aklf--pc[data-layout="immersion"] .aklf-panel { position: fixed; z-index: 7; margin: 0; top: calc(var(--hd) + 14px); right: 20px; bottom: 96px; width: var(--pw);
  background: rgba(10,6,22,.56); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-color: rgba(232,196,106,.25); }
.aklf--pc[data-layout="immersion"] .aklf-tabs { cursor: grab; }
.aklf--pc[data-layout="immersion"].fx-moved .aklf-panel { left: var(--fx); top: var(--fy); right: auto; bottom: auto; height: min(64vh, 680px); }
.aklf--pc[data-layout="immersion"]:not(.panel-off):not(.fx-moved) .aklf-rx { right: calc(var(--pw) + 40px); }
.aklf--pc[data-layout="immersion"].panel-off .aklf-panel, .aklf--pc[data-layout="cinema"] .aklf-panel { display: none; }
.aklf--pc[data-layout="immersion"] .lv-chat-msg:hover { background: rgba(255,255,255,.07); }
/* commandes qui s'effacent au repos (souris immobile) */
.aklf--pc.is-idle .aklf-hd { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.aklf--pc.is-idle .aklf-cockpit { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }
.aklf--pc.is-idle .aklf-rx { opacity: 0; pointer-events: none; }
.aklf--pc[data-layout="cinema"].is-idle { cursor: none; }
.aklf--pc[data-layout="cinema"] .aklf-rx { padding: 4px; gap: 6px; }
.aklf--pc[data-layout="cinema"] .aklf-rxb { width: 38px; height: 38px; }

/* ══ Tailles d'écran ══ */
@media (max-width: 1240px) {
  .aklf--pc .aklf-brand span, .aklf--pc .aklf-seg button span { display: none; }
  .aklf--pc .aklf-seg button { padding: 6px 9px; }
  .aklf--pc .aklf-hd-id small { display: none; }
  .aklf--pc[data-layout="agora"] .aklf-stage { grid-template-areas: "screen screen screen" "banner banner banner" "cock cock cock"; }
  .aklf--pc[data-layout="agora"] .aklf-info { display: none; }
  .aklf--pc .aklf-tab { font-size: 10.5px; }
  .aklf--pc .aklf-endbtn span, .aklf--pc .aklf-leavebtn span { display: none; }
  .aklf--pc .aklf-endbtn, .aklf--pc .aklf-leavebtn { padding: 0 13px; }
}
@media (max-width: 1040px) {
  .aklf--pc .aklf-chip:not(.aklf-warn) > span:not(.aklf-bars) { font-size: 11.5px; }
  .aklf--pc .aklf-qual [data-slot="qualtxt"] { display: none; }
  .aklf--pc .aklf-volume input[type="range"] { width: 70px; }
}
@media (max-height: 640px) {
  .aklf--pc { --hd: 50px; --cb: 40px; }
  .aklf--pc .aklf-stage { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .aklf--pc .aklf-panel { margin-top: 10px; margin-bottom: 10px; }
  .aklf--pc .aklf-banner p { font-size: 14.5px; }
}
@media (min-width: 1800px) {
  .aklf--pc { --hd: 66px; --cb: 50px; font-size: 15px; }
  .aklf--pc .aklf-hd { gap: 14px; padding: 0 22px; }
  .aklf--pc .aklf-stage { padding: 22px 8px 18px 22px; gap: 16px; }
  .aklf--pc .aklf-panel { margin: 22px 22px 18px 0; }
  .aklf--pc .aklf-hd-id b { font-size: 15.5px; }
  .aklf--pc .aklf-chip, .aklf--pc .aklf-seg button { font-size: 13.5px; }
  .aklf--pc .aklf-tab { font-size: 12.5px; }
  .aklf--pc .lv-chat-messages, .aklf--pc .lv-chat-input { font-size: 15px !important; }
  .aklf--pc .aklf-banner p { font-size: 19px; }
  .aklf--pc .aklf-rxb { width: 48px; height: 48px; }
  .aklf--pc .aklf-rxb svg { width: 26px; height: 26px; }
}
@media (min-width: 2400px) {
  .aklf--pc { --hd: 80px; --cb: 60px; font-size: 17px; }
  .aklf--pc svg { width: 24px; height: 24px; }
  .aklf--pc .aklf-av { width: 42px; height: 42px; }
  .aklf--pc .aklf-hd-id b { font-size: 18px; }
  .aklf--pc .aklf-chip, .aklf--pc .aklf-seg button, .aklf--pc .aklf-tab { font-size: 15.5px; }
  .aklf--pc .lv-chat-messages, .aklf--pc .lv-chat-input { font-size: 17px !important; }
  .aklf--pc .lv-chat-avatar { width: 38px; height: 38px; }
  .aklf--pc .aklf-banner p { font-size: 22px; }
  .aklf--pc .aklf-rxb { width: 58px; height: 58px; }
  .aklf--pc .aklf-rxb svg { width: 32px; height: 32px; }
  .aklf--pc .aklf-endbtn, .aklf--pc .aklf-leavebtn { font-size: 16px; padding: 0 24px; }
  .aklf--pc .aklf-studio { width: 520px; }
}
/* écrans très larges (21:9 et plus) : la vidéo garde son ratio, le panneau s'élargit un peu */
@media (min-aspect-ratio: 21/9) and (min-width: 2000px) {
  .aklf--pc[data-layout="agora"] .aklf-stage { padding-left: 4vw; }
}

/* ══ Mouvement réduit : rien ne bouge, tout reste lisible ══ */
@media (prefers-reduced-motion: reduce) {
  .aklf--pc *, .aklf--pc *::before, .aklf--pc *::after { animation: none !important; transition: none !important; }
  .aklf--pc .aklf-intro, .aklf--pc .aklf-fx { display: none !important; }
}

/* téléphone : colonne de boutons plus compacte sur les écrans bas (créateur : 9 boutons) */
@media (max-height: 760px) {
  .aklf--m .aklf-side { gap: 5px; }
  .aklf--m .aklf-side .lv-reaction-btn, .aklf--m .aklf-flip { width: 38px !important; height: 38px !important; font-size: 17px !important; }
  .aklf--m .aklf-flip svg { width: 19px; height: 19px; }
  /* créateur sur petit écran : 3 réactions au lieu de 5 pour ne pas toucher le haut */
  .aklf--m .aklf-side:has([data-aklf="flip"]) .lv-reaction-btn:nth-last-child(-n+2) { display: none; }
}
