/* Albatar : mascotte et chat Level UP */
    .lu-chat { --lu-paper: #0d2746; --lu-paper-strong: #12385f; --lu-ink: #edf7ff; --lu-muted: #abc2dc; --lu-lime: #8b5cf6; --lu-line: rgba(220, 240, 255, .2); --lu-shadow: 0 18px 50px rgba(1, 10, 25, .28); }
    .lu-chat, .lu-chat * { box-sizing: border-box; }
    .lu-chat button { font-family: inherit; }

    .lu-chat { position: fixed; right: 10px; bottom: var(--lu-lift, 0px); z-index: 40; font-family: 'Manrope', sans-serif; transition: bottom .25s ease; }
    .lu-launcher { display: block; position: relative; width: 147px; margin: 0; padding: 0; background: none; border: 0; cursor: pointer; line-height: 0; -webkit-tap-highlight-color: transparent; }
    .lu-launcher img { display: block; width: 147px; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; user-select: none; -webkit-user-drag: none; transition: transform .2s ease; }
    .lu-launcher:hover img { transform: translateY(-3px); }
    .lu-launcher:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 8px; }
    .lu-fixe { display: none !important; }
    .lu-hint { position: absolute; right: 0; bottom: calc(100% + 4px); width: 230px; max-width: calc(100vw - 20px); padding: 11px 30px 11px 14px; border-radius: 14px 14px 4px 14px; background: var(--lu-ink); color: #06152d; box-shadow: 0 10px 26px rgba(1, 10, 25, .4); animation: luHint .35s ease-out; }
    .lu-hint[hidden] { display: none; }
    .lu-hint::after { content: ''; position: absolute; right: 36px; bottom: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--lu-ink); }
    .lu-hint-open { display: block; width: 100%; padding: 0; background: none; color: inherit; text-align: left; font: 800 13.5px/1.4 'Manrope', sans-serif; cursor: pointer; }
    .lu-hint-x { position: absolute; top: 5px; right: 6px; width: 22px; height: 22px; border-radius: 6px; background: transparent; color: #06152d; opacity: .6; font: 400 18px/1 'Manrope', sans-serif; cursor: pointer; }
    .lu-hint-x:hover { opacity: 1; background: rgba(6, 21, 45, .1); }
    .lu-hint-open:focus-visible, .lu-hint-x:focus-visible { outline: 2px solid #06152d; outline-offset: 2px; }
    .lu-panel { position: absolute; right: 0; bottom: calc(100% + 8px); width: 360px; max-width: calc(100vw - 20px); height: 500px; max-height: max(220px, calc(100vh - 255px - var(--lu-lift, 0px))); max-height: max(220px, calc(100dvh - 255px - var(--lu-lift, 0px))); display: flex; flex-direction: column; background: var(--lu-paper); border: 1px solid var(--lu-line); border-radius: 18px; box-shadow: var(--lu-shadow), 0 0 0 1px rgba(139, 92, 246, .18); overflow: hidden; transform-origin: bottom right; animation: luPop .22s ease-out; color: var(--lu-ink); }
    .lu-panel[hidden] { display: none; }
    .lu-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--lu-paper-strong); border-bottom: 1px solid var(--lu-line); }
    .lu-ava { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--lu-lime); background: #06152d; object-fit: cover; image-rendering: pixelated; image-rendering: crisp-edges; }
    .lu-title { margin: 0; font: 800 15px/1.2 'Nunito', 'Manrope', sans-serif; color: var(--lu-ink); }
    .lu-close { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 9px; background: transparent; color: var(--lu-ink); font: 400 22px/1 'Manrope', sans-serif; cursor: pointer; }
    .lu-close:hover { background: rgba(220, 240, 255, .12); }
    .lu-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
    .lu-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font: 500 14px/1.45 'Manrope', sans-serif; white-space: pre-line; overflow-wrap: anywhere; animation: luMsg .2s ease-out; }
    .lu-bot { align-self: flex-start; background: var(--lu-paper-strong); color: var(--lu-ink); border-bottom-left-radius: 4px; }
    .lu-user { align-self: flex-end; background: var(--lu-lime); color: #06152d; font-weight: 700; border-bottom-right-radius: 4px; }
    .lu-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; white-space: normal; }
    .lu-link { display: inline-block; padding: 7px 11px; border-radius: 9px; background: var(--lu-lime); color: #06152d; font: 800 12.5px/1.2 'Manrope', sans-serif; text-decoration: none; }
    .lu-link:hover { filter: brightness(1.12); }
    .lu-link:focus-visible, .lu-chip:focus-visible, .lu-close:focus-visible, .lu-send:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
    .lu-typing { display: inline-flex; gap: 4px; align-items: center; padding: 13px 14px; }
    .lu-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--lu-muted); animation: luDot 1s infinite ease-in-out; }
    .lu-typing i:nth-child(2) { animation-delay: .15s; }
    .lu-typing i:nth-child(3) { animation-delay: .3s; }
    .lu-chips { display: flex; flex-wrap: nowrap; gap: 6px; padding: 0 14px 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
    .lu-chip { flex: none; white-space: nowrap; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--lu-line); background: transparent; color: var(--lu-ink); font: 700 12.5px/1.2 'Manrope', sans-serif; cursor: pointer; }
    .lu-chip:hover { border-color: var(--lu-lime); background: rgba(139, 92, 246, .18); }
    .lu-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--lu-line); background: rgba(6, 21, 45, .55); }
    .lu-input { flex: 1; min-width: 0; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--lu-line); background: #06152d; color: var(--lu-ink); font: 500 16px/1.2 'Manrope', sans-serif; }
    .lu-input::placeholder { color: var(--lu-muted); }
    .lu-input:focus-visible { outline: 2px solid var(--lu-lime); outline-offset: 1px; }
    .lu-send { flex: none; padding: 0 15px; border-radius: 11px; background: var(--lu-lime); color: #06152d; font: 800 14px/1 'Manrope', sans-serif; cursor: pointer; }
    .lu-send:hover { filter: brightness(1.12); }
    @keyframes luPop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
    @keyframes luMsg { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
    @keyframes luHint { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
    @keyframes luDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
    @media (max-width: 800px) {
      .lu-chat { right: 6px; }
      .lu-launcher, .lu-launcher img { width: 98px; }
      .lu-hint { width: 210px; }
      .lu-panel { max-height: max(220px, calc(100vh - 205px - var(--lu-lift, 0px))); max-height: max(220px, calc(100dvh - 205px - var(--lu-lift, 0px))); }
    }
    @media print { .lu-chat { display: none; } }
    @media (prefers-reduced-motion: reduce) {
      .lu-anim { display: none !important; }
      .lu-fixe { display: block !important; }
      .lu-panel, .lu-msg, .lu-hint, .lu-typing i { animation: none; }
      .lu-launcher img { transition: none; }
      .lu-chat { transition: none; }
      .lu-log { scroll-behavior: auto; }
    }
