/* ============================================================
   Pawa TV Cloud — HLS Player CSS
   Dark Navy Theme | v1.0.0
   (Basé sur le design pawacast-player)
   ============================================================ */

:root {
  --pawa-bg:         #0d1135;
  --pawa-sidebar:    #111540;
  --pawa-card:       #161a55;
  --pawa-card-hover: #1a1e6a;
  --pawa-active:     #1e2370;
  --pawa-border:     rgba(108, 58, 245, 0.25);
  --pawa-purple:     #6c3af5;
  --pawa-purple-lt:  #8b5cf6;
  --pawa-orange:     #f5a623;
  --pawa-orange-dk:  #e09010;
  --pawa-green:      #22c55e;
  --pawa-red:        #ef4444;
  --pawa-text:       #ffffff;
  --pawa-text-muted: #a0a8d0;
  --pawa-text-dim:   #6870a8;
  --pawa-radius:     12px;
  --pawa-radius-sm:  8px;
  --pawa-header-h:   70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--pawa-bg); color: var(--pawa-text); font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.5; overflow-x: hidden; }
body.pawacply-canvas { background: var(--pawa-bg); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── APP SHELL ────────────────────────────────────────────── */
.pawacply-app { display: flex; flex-direction: column; height: 100vh; overflow: hidden; background: var(--pawa-bg); }
.pawacply-home-app { height: auto; min-height: 100vh; overflow-y: auto; }

/* ── HEADER ───────────────────────────────────────────────── */
.pawacply-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 20px; height: var(--pawa-header-h); padding: 0 24px; background: #0a0e2e; border-bottom: 1px solid var(--pawa-border); }
.pawacply-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: -.5px; }
.logo-text span { color: var(--pawa-orange); }
.logo-text em { color: var(--pawa-purple-lt); font-style: normal; }
.pawacply-site-logo { max-height: 44px; max-width: 150px; object-fit: contain; }
.pawacply-nav { display: flex; gap: 6px; margin-left: 10px; }
.pawacply-nav a { padding: 6px 14px; border-radius: 20px; color: var(--pawa-text-muted); font-size: 14px; font-weight: 500; transition: all .2s; }
.pawacply-nav a:hover, .pawacply-nav a.active { background: var(--pawa-card); color: var(--pawa-text); }
.pawacply-search-wrap { flex: 1; max-width: 520px; }
.pawacply-search { width: 100%; padding: 10px 18px; background: var(--pawa-sidebar); border: 1px solid var(--pawa-border); border-radius: 30px; color: var(--pawa-text); font-size: 14px; outline: none; transition: border-color .2s; }
.pawacply-search:focus { border-color: var(--pawa-purple); }
.pawacply-search::placeholder { color: var(--pawa-text-dim); }
.pawacply-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.pawacply-badge { padding: 5px 14px; border-radius: 6px; background: var(--pawa-purple); font-size: 12px; font-weight: 700; letter-spacing: 1px; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.pawacply-layout { display: flex; flex: 1; overflow: hidden; }

/* ── SIDEBAR (liste chaînes) ──────────────────────────────── */
.pawacply-sidebar { width: 400px; flex-shrink: 0; background: var(--pawa-sidebar); border-left: 1px solid var(--pawa-border); overflow-y: auto; padding: 10px 0; }
.pawacply-channel-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-left: 3px solid transparent; cursor: pointer; transition: all .15s; }
.pawacply-channel-item:hover { background: var(--pawa-card); }
.pawacply-channel-item.active { background: var(--pawa-active); border-left-color: var(--pawa-orange); }
.pawacply-ch-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--pawa-purple); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 20px; }
.pawacply-ch-icon img { width: 44px; height: 44px; object-fit: cover; }
.pawacply-ch-info { flex: 1; min-width: 0; }
.pawacply-ch-info strong { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pawacply-channel-item.active .pawacply-ch-info strong { color: var(--pawa-orange); }
.pawacply-ch-info small { color: var(--pawa-text-muted); font-size: 12px; }
.badge-bitrate { padding: 3px 8px; border-radius: 4px; background: var(--pawa-purple); font-size: 11px; font-weight: 700; }

/* ── MAIN / PLAYER ────────────────────────────────────────── */
.pawacply-main { flex: 1; overflow-y: hidden; display: flex; flex-direction: column; background: var(--pawa-bg); box-shadow: inset 0px -12px 20px 3px rgb(80 58 196); }
.pawacply-player-wrap { display: flex; flex-direction: column; height: 100%; }
.pawacply-player-header { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: rgba(10,14,46,.9); }
.player-ch-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.player-ch-name { font-weight: 700; font-size: 16px; }
.player-ch-bitrate { margin-left: 6px; padding: 2px 8px; border-radius: 4px; background: var(--pawa-purple); font-size: 11px; font-weight: 700; }
.player-live-badge { margin-left: auto; padding: 4px 12px; border-radius: 20px; background: var(--pawa-orange); color: #fff; font-size: 12px; font-weight: 700; }
.pawacply-video-container { position: relative; flex: 1; background: #000; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.pawacply-video { width: 100%; height: 100%; max-height: calc(100vh - var(--pawa-header-h) - 160px); object-fit: contain; background: #000; }
.pawacply-fullscreen-btn { position: absolute; bottom: 14px; right: 14px; width: 36px; height: 36px; border-radius: 6px; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; transition: background .2s; }
.pawacply-fullscreen-btn:hover { background: rgba(0,0,0,.8); }
.pawacply-player-info { padding: 14px 20px; background: var(--pawa-sidebar); border-top: 1px solid var(--pawa-border); }
.ch-desc { color: var(--pawa-text-muted); font-size: 13px; margin-top: 4px; }

/* ── HOME / GRILLE CHAÎNES ────────────────────────────────── */
.pawacply-section { padding: 0 24px 80px; }
.pawacply-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pawacply-section-header h2 { color: var(--pawa-green); font-size: 18px; font-weight: 700; }
.pawacply-channels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.pawacply-grid-card { display: flex; flex-direction: column; background: var(--pawa-card); border-radius: var(--pawa-radius); border: 1px solid var(--pawa-border); overflow: hidden; cursor: pointer; transition: all .2s; }
.pawacply-grid-card:hover { transform: translateY(-3px); border-color: var(--pawa-purple); box-shadow: 0 8px 24px rgba(108,58,245,.2); }
.grid-card-logo { height: 110px; display: flex; align-items: center; justify-content: center; background: var(--pawa-sidebar); position: relative; }
.grid-card-logo img { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; }
.grid-card-logo span { font-size: 40px; }
.grid-card-live-dot { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 700; color: var(--pawa-green); }
.grid-card-info { padding: 10px 12px; }
.grid-card-info strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.grid-card-info small { color: var(--pawa-text-muted); font-size: 11px; }
.grid-card-badges { display: flex; gap: 6px; padding: 0 12px 10px; flex-wrap: wrap; }
.badge-type { padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; background: var(--pawa-purple-lt); color: #fff; }

/* ── HERO / FEATURED ──────────────────────────────────────── */
.pawacply-hero { margin: 0 24px 24px; border-radius: var(--pawa-radius); background: linear-gradient(135deg,#1a1060 0%,#0a0e2e 60%,#0d1535 100%); border: 1px solid var(--pawa-border); }
.pawacply-hero-slideshow { padding-bottom: 40px; display: block; overflow: hidden; position: relative; }
.hero-slides-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.hero-slide { flex: 0 0 100%; min-width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; }
.hero-label { display: inline-block; padding: 4px 14px; border-radius: 20px; background: var(--pawa-orange); font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.hero-title { color: #fff; font-size: 36px; font-weight: 800; line-height: 1.1; margin-bottom: 8px; }
.hero-sub { color: var(--pawa-text-muted); margin-bottom: 20px; }
.hero-cta { font-size: 14px; padding: 10px 24px; }
.hero-visual { flex-shrink: 0; width: 260px; text-align: center; position: relative; }
.hero-ch-logo { width: 180px; height: 120px; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); margin: 0 auto; }
.hero-icon { font-size: 80px; }
.hero-live-badge { position: absolute; top: 8px; right: 0; padding: 4px 12px; border-radius: 20px; background: var(--pawa-orange); font-size: 12px; font-weight: 700; }
.hero-prev, .hero-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.45); border: none; color: #fff; font-size: 28px; line-height: 1; padding: 6px 14px; border-radius: 6px; cursor: pointer; z-index: 20; transition: background .2s; }
.hero-prev { left: 10px; }
.hero-next { right: 10px; }
.hero-prev:hover, .hero-next:hover { background: var(--pawa-orange); }
.hero-slide-nav { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 20; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: background .25s, transform .25s; padding: 0; }
.hero-dot.active { background: var(--pawa-orange); transform: scale(1.3); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.pawacply-btn-primary { display: inline-block; padding: 12px 28px; border-radius: 30px; background: var(--pawa-orange); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; border: none; transition: background .2s, transform .1s; }
.pawacply-btn-primary:hover { background: var(--pawa-orange-dk); transform: translateY(-1px); }

/* ── EMPTY/ERROR ──────────────────────────────────────────── */
.pawacply-empty { display: flex; align-items: center; justify-content: center; flex: 1; color: var(--pawa-text-muted); font-size: 18px; padding: 40px; }
.pawacply-access-gate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 60px 20px; text-align: center; }
.gate-icon { font-size: 64px; }

/* ── HIDDEN (search) ──────────────────────────────────────── */
.ptchlsp-hidden { display: none !important; }

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--pawa-bg); }
::-webkit-scrollbar-thumb { background: var(--pawa-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pawa-purple); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .pawacply-layout { flex-direction: column; }
  .pawacply-main { flex: 0 0 50%; min-height: 0; overflow: hidden; }
  .pawacply-sidebar { flex: 0 0 50%; width: 100%; border-left: none; border-top: 1px solid var(--pawa-border); overflow-y: auto; }
  .pawacply-video { max-height: none; }
  .hero-slide { flex-direction: column; padding: 20px 16px; }
  .hero-visual { width: 100%; }
  .hero-prev { left: 4px; font-size: 20px; padding: 4px 9px; }
  .hero-next { right: 4px; font-size: 20px; padding: 4px 9px; }
}
@media (max-width: 600px) {
  .pawacply-header { padding: 0 10px; gap: 8px; }
  .pawacply-nav { display: none; }
  .hero-title { font-size: 26px; }
}

/* ── Boutons de partage ────────────────────────────────────── */
.pawacply-player-info { padding: 14px 20px; background: var(--pawa-sidebar); border-top: 1px solid var(--pawa-border); display: flex; flex-direction: column; gap: 10px; }
.ptchlsp-share-bar { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ptchlsp-share-label { font-size: 12px; color: var(--pawa-text-muted); font-weight: 600; flex-shrink: 0; }
.ptchlsp-share-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
    color: #fff; text-decoration: none; border: none; cursor: pointer;
    transition: transform .15s, filter .15s; white-space: nowrap; flex-shrink: 0;
}
.ptchlsp-share-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }
.ptchlsp-copy-btn { background: var(--pawa-card); border: 1px solid var(--pawa-border); color: var(--pawa-text); }
.ptchlsp-copy-btn:hover { border-color: var(--pawa-orange); color: var(--pawa-orange); }

/* ── Layout sans entête (pages /ptc-tv/[slug]/) ───────────── */
.pawacply-layout-noheader {
    height: 100vh;
}

/* ── Topbar (header individuel chaîne) ───────────────────── */
.ptchlsp-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 0 16px; height: 56px; flex-shrink: 0;
    background: var(--pawa-sidebar); border-bottom: 1px solid var(--pawa-border);
    position: sticky; top: 0; z-index: 50;
}
.ptchlsp-topbar-left  { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ptchlsp-topbar-center{ display: flex; align-items: center; gap: 7px; flex: 1; justify-content: center; flex-wrap: wrap; }
.ptchlsp-topbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ptchlsp-topbar-logo  { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ptchlsp-topbar-viewers{ font-size: 15px; font-weight: 700; color: var(--pawa-text); white-space: nowrap; }
.ptchlsp-topbar-share-label { font-size: 12px; color: var(--pawa-text-muted); font-weight: 600; white-space: nowrap; }
.ptchlsp-live-pill { padding: 5px 14px; border-radius: 20px; background: var(--pawa-orange); font-size: 13px; font-weight: 700; color: #fff; }

/* ── Share icons (ronds) ─────────────────────────────────── */
.ptchlsp-share-icon {
    width: 36px; height: 36px; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
    text-decoration: none; border: none; cursor: pointer;
    transition: transform .15s, filter .15s;
}
.ptchlsp-share-icon:hover { transform: scale(1.12); filter: brightness(1.15); }
.ptchlsp-share-copy-icon { background: var(--pawa-purple); }

/* ── Chat sidebar ─────────────────────────────────────────── */
.ptchlsp-chat-sidebar { display: flex; flex-direction: column; width: 380px; }
.ptchlsp-ch-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--pawa-active); border-bottom: 1px solid var(--pawa-border); flex-shrink: 0; }
.ptchlsp-ch-card-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ptchlsp-ch-card-info { flex: 1; }
.ptchlsp-ch-card-info strong { display: block; font-size: 15px; font-weight: 700; color: var(--pawa-orange); }
.ptchlsp-ch-card-info span  { font-size: 13px; color: var(--pawa-text-muted); }

/* Chat wrap */
.ptchlsp-chat-wrap { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.ptchlsp-chat-header { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--pawa-border); flex-shrink: 0; }
.ptchlsp-chat-dot { color: var(--pawa-orange); font-size: 12px; animation: ptc-blink-chat 1.2s ease-in-out infinite; }
@keyframes ptc-blink-chat { 0%,100%{opacity:1} 50%{opacity:.3} }
.ptchlsp-chat-header strong { flex: 1; font-size: 14px; color: var(--pawa-purple); }
.ptchlsp-chat-viewers { font-size: 12px; color: var(--pawa-text-muted); }

/* Messages */
.ptchlsp-chat-messages { flex: 1; overflow-y: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.ptchlsp-msg { display: flex; gap: 6px; animation: ptc-msg-in .2s ease; font-size: 13px; line-height: 1.4; }
@keyframes ptc-msg-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.ptchlsp-msg-name { font-weight: 700; flex-shrink: 0; }
.ptchlsp-msg-text { color: var(--pawa-text-muted); word-break: break-word; }
.ptchlsp-msg-emoji { font-size: 18px; }

/* Reactions */
.ptchlsp-chat-reactions { display: flex; gap: 6px; padding: 8px 14px; border-top: 1px solid var(--pawa-border); flex-shrink: 0; }
.ptchlsp-react-btn { background: none; border: 1px solid var(--pawa-border); border-radius: 20px; padding: 4px 10px; font-size: 16px; cursor: pointer; color: var(--pawa-text); transition: background .15s; }
.ptchlsp-react-btn:hover { background: var(--pawa-card-hover); }

/* Input */
.ptchlsp-chat-input-row { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--pawa-border); flex-shrink: 0; }
.ptchlsp-chat-input-row input { flex: 1; padding: 9px 14px; border-radius: 20px; border: 1px solid var(--pawa-border); background: var(--pawa-card); color: var(--pawa-text); font-size: 13px; outline: none; }
.ptchlsp-chat-input-row input:focus { border-color: var(--pawa-purple); }
.ptchlsp-chat-input-row input::placeholder { color: var(--pawa-text-dim); }
#ptchlsp-chat-send { width: 38px; height: 38px; border-radius: 50%; background: var(--pawa-orange); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s; }
#ptchlsp-chat-send:hover { background: var(--pawa-orange-dk); }

/* Description bar */
.ptchlsp-ch-desc-bar { padding: 8px 16px; font-size: 12px; color: var(--pawa-text-muted); background: var(--pawa-sidebar); border-top: 1px solid var(--pawa-border); }

/* Layout noheader : prend la hauteur restante */
.pawacply-layout-noheader { height: calc(100vh - 56px); }

/* Mobile */
@media (max-width: 768px) {
    .ptchlsp-topbar-center { display: none; }
    .ptchlsp-chat-sidebar { width: 100%; }
    .ptchlsp-share-mobile-bar { display: flex !important; }
}
/* Barre partage sous vidéo (mobile) */
.ptchlsp-share-mobile-bar {
    display: none; align-items: center; gap: 8px; padding: 10px 14px;
    flex-wrap: wrap; background: var(--pawa-sidebar); border-top: 1px solid var(--pawa-border);
}

/* ══════════════════════════════════════════════════════════
   MOBILE — Pages individuelles /ptc-tv/[slug]/
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Topbar mobile : logo + viewers + LIVE seulement */
    .ptchlsp-single .ptchlsp-topbar {
        height: 48px;
        padding: 0 10px;
        gap: 8px;
    }
    .ptchlsp-single .ptchlsp-topbar-center { display: none; } /* partage masqué du topbar */
    .ptchlsp-single .ptchlsp-topbar-logo   { width: 32px; height: 32px; }
    .ptchlsp-single .ptchlsp-topbar-viewers{ font-size: 13px; }
    .ptchlsp-single .ptchlsp-live-pill     { padding: 4px 10px; font-size: 11px; }

    /* Layout vertical : vidéo en haut, chat en bas */
    .ptchlsp-single .pawacply-layout-noheader {
        flex-direction: column;
        height: calc(100vh - 48px);
        overflow-y: auto;
    }

    /* Main (vidéo) : hauteur fixe sur mobile */
    .ptchlsp-single .pawacply-main {
        flex: 0 0 auto;
        overflow: visible;
    }
    .ptchlsp-single .pawacply-video {
        max-height: 55vw; /* ratio 16:9 approx */
    }
    .ptchlsp-single .pawacply-video-container {
        min-height: 0;
    }

    /* Description : masquée sur mobile */
    .ptchlsp-single .ptchlsp-ch-desc-bar { display: none; }

    /* Barre de partage sous la vidéo (mobile uniquement) */
    .ptchlsp-single .ptchlsp-share-mobile-bar {
        display: flex !important;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        background: var(--pawa-sidebar);
        border-top: 1px solid var(--pawa-border);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .ptchlsp-single .ptchlsp-share-mobile-bar::-webkit-scrollbar { display: none; }
    .ptchlsp-single .ptchlsp-share-mobile-bar .ptchlsp-share-icon {
        width: 32px; height: 32px; flex-shrink: 0;
    }
    .ptchlsp-single .ptchlsp-share-mobile-bar .ptchlsp-topbar-share-label {
        font-size: 11px; flex-shrink: 0;
    }

    /* Sidebar (chat) : prend le reste de l'espace */
    .ptchlsp-single .ptchlsp-chat-sidebar {
        width: 100%;
        flex: 1;
        border-left: none;
        border-top: 1px solid var(--pawa-border);
        min-height: 0;
    }

    /* Carte chaîne : padding réduit */
    .ptchlsp-single .ptchlsp-ch-card {
        padding: 8px 10px;
        gap: 8px;
    }
    .ptchlsp-single .ptchlsp-ch-card-logo { width: 36px; height: 36px; }
    .ptchlsp-single .ptchlsp-ch-card-info strong { font-size: 13px; }
    .ptchlsp-single .ptchlsp-ch-card-info span   { font-size: 11px; }

    /* Chat : padding réduit */
    .ptchlsp-single .ptchlsp-chat-header  { padding: 7px 10px; }
    .ptchlsp-single .ptchlsp-chat-messages{ padding: 6px 10px; gap: 4px; }
    .ptchlsp-single .ptchlsp-chat-reactions{ padding: 5px 10px; gap: 4px; }
    .ptchlsp-single .ptchlsp-react-btn    { padding: 3px 8px; font-size: 14px; }
    .ptchlsp-single .ptchlsp-chat-input-row{ padding: 7px 10px; gap: 6px; }
    .ptchlsp-single .ptchlsp-chat-input-row input { padding: 7px 12px; font-size: 13px; }
    .ptchlsp-single #ptchlsp-chat-send    { width: 34px; height: 34px; }
    .ptchlsp-single .ptchlsp-msg          { font-size: 12px; }
}

/* ── Viewers icon style ───────────────────────────────────── */
.ptchlsp-topbar-viewers {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pawa-text);
    white-space: nowrap;
}
.ptchlsp-topbar-viewers svg { color: var(--pawa-text-muted); flex-shrink: 0; }
.ptchlsp-chat-viewers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--pawa-text-muted);
}
.ptchlsp-chat-viewers svg { color: var(--pawa-text-muted); flex-shrink: 0; }

/* ── Message épinglé ─────────────────────────────────────── */
.ptchlsp-chat-pinned {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(108, 58, 245, .12);
    border-left: 3px solid var(--pawa-purple);
    border-bottom: 1px solid var(--pawa-border);
    flex-shrink: 0;
}
.ptchlsp-pin-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.ptchlsp-pin-author {
    font-size: 11px;
    font-weight: 700;
    color: var(--pawa-purple-lt);
    flex-shrink: 0;
    white-space: nowrap;
}
.ptchlsp-pin-text {
    font-size: 12px;
    color: var(--pawa-text-muted);
    line-height: 1.4;
    word-break: break-word;
}
