:root{--ppx-bg:#0b0e14;--ppx-panel:#121722;--ppx-panel2:#171e2b;--ppx-border:#2a3445;--ppx-text:#eef3fa;--ppx-muted:#9aa8bb;--ppx-orange:#ff8b35;--ppx-green:#43d39e;--ppx-red:#ff6978;--ppx-shadow:0 20px 65px #0009}#pp-social-root{font:14px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ppx-text)}#pp-social-root *{box-sizing:border-box}#pp-social-root button,#pp-social-root input,#pp-social-root textarea,#pp-social-root select{font:inherit}#pp-social-root button{cursor:pointer}#pp-social-root button:focus-visible,#pp-social-root input:focus-visible,#pp-social-root textarea:focus-visible{outline:2px solid var(--ppx-orange);outline-offset:2px}.ppx-launch{position:fixed;right:22px;bottom:22px;z-index:99980;display:flex;gap:10px;align-items:center;border:1px solid #ffad6b;background:linear-gradient(135deg,#ff9c4c,#ff7823);color:#20140d;padding:12px 16px;border-radius:16px;font-weight:800;box-shadow:0 12px 35px #0007}.ppx-launch .count{background:#28170c;color:#fff;border-radius:20px;padding:1px 7px;font-size:11px}.ppx-shell{position:fixed;z-index:99990;right:18px;bottom:82px;width:min(410px,calc(100vw - 24px));height:min(650px,calc(100vh - 110px));background:var(--ppx-panel);border:1px solid var(--ppx-border);border-radius:20px;box-shadow:var(--ppx-shadow);display:none;overflow:hidden}.ppx-shell.open{display:flex;flex-direction:column}.ppx-head{padding:14px 15px;background:linear-gradient(120deg,#1a2230,#121722);border-bottom:1px solid var(--ppx-border);display:flex;align-items:center;gap:10px}.ppx-brand{font-weight:850;font-size:15px;flex:1}.ppx-brand span{color:var(--ppx-orange)}.ppx-iconbtn{border:1px solid var(--ppx-border);background:#202938;color:#dce5f1;border-radius:10px;width:32px;height:32px}.ppx-tabs{display:flex;gap:4px;padding:8px;border-bottom:1px solid var(--ppx-border);background:#0f141d}.ppx-tab{flex:1;border:0;background:transparent;color:var(--ppx-muted);padding:9px 3px;border-radius:9px;font-size:12px!important}.ppx-tab.active{background:#252f40;color:#fff}.ppx-tab .n{color:var(--ppx-orange);font-weight:800}.ppx-view{display:none;min-height:0;flex:1;overflow:auto;padding:12px}.ppx-view.active{display:flex;flex-direction:column;gap:10px}.ppx-search{width:100%;border:1px solid var(--ppx-border);background:#0c1119;color:#fff;border-radius:11px;padding:11px 12px}.ppx-list{display:flex;flex-direction:column;gap:6px}.ppx-person{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid transparent;background:#171e29;border-radius:12px;min-width:0}.ppx-person:hover{border-color:#3b485d}.ppx-person .ppx-personmain{flex:1;min-width:0}.ppx-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ppx-person small{color:var(--ppx-muted)}.ppx-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:13px;background:#2a3445;display:grid;place-items:center;color:#ffd0a9;font-weight:800;overflow:hidden}.ppx-avatar img{width:100%;height:100%;object-fit:cover}.ppx-online{display:inline-block;width:7px;height:7px;background:var(--ppx-green);border-radius:50%;margin-right:5px}.ppx-offline{background:#697587}.ppx-action{border:1px solid var(--ppx-border);background:#222d3d;color:#e9eef6;border-radius:9px;padding:7px 9px;font-size:12px!important}.ppx-action.primary{background:var(--ppx-orange);color:#23150c;border-color:var(--ppx-orange);font-weight:800}.ppx-action.danger{color:#ff9aa4}.ppx-empty{color:var(--ppx-muted);text-align:center;padding:26px 14px}.ppx-alert{padding:10px 12px;border-radius:10px;background:#26364b;color:#dce9ff}.ppx-alert.error{background:#47252b;color:#ffd0d5}.ppx-alert.success{background:#173b2d;color:#b9f3d5}.ppx-chat{display:none;flex-direction:column;min-height:0;flex:1}.ppx-chat.active{display:flex}.ppx-chatbar{padding:10px 12px;display:flex;gap:9px;align-items:center;border-bottom:1px solid var(--ppx-border)}.ppx-chatbar .back{border:0;background:none;color:#fff;font-size:20px}.ppx-chatmsgs{padding:12px;display:flex;flex-direction:column;gap:9px;overflow:auto;min-height:0;flex:1;background:radial-gradient(ellipse at top right,#1a2230aa,transparent 50%)}.ppx-msg{max-width:85%;align-self:flex-start;background:#222b39;border:1px solid #303b4d;padding:9px 11px;border-radius:13px 13px 13px 4px;white-space:pre-wrap;overflow-wrap:anywhere}.ppx-msg.mine{align-self:flex-end;background:#5a321e;border-color:#704329;border-radius:13px 13px 4px 13px}.ppx-msg small{display:block;color:#b2bfce;font-size:10px;margin-top:5px}.ppx-msg a{color:#ffc18e}.ppx-chatcomposer{padding:10px;border-top:1px solid var(--ppx-border);display:flex;gap:7px;align-items:flex-end}.ppx-chatcomposer textarea{flex:1;resize:none;max-height:120px;min-height:42px;background:#0b1018;border:1px solid var(--ppx-border);border-radius:12px;color:#fff;padding:10px}.ppx-send{border:0;background:var(--ppx-orange);color:#24150c;font-weight:900;border-radius:12px;height:42px;padding:0 13px}.ppx-section-title{font-weight:800;margin:2px 0}.ppx-form label{display:block;color:var(--ppx-muted);font-size:12px;margin:6px 0}.ppx-form input,.ppx-form textarea{width:100%;display:block;margin-top:5px;border:1px solid var(--ppx-border);background:#0b1018;color:#fff;border-radius:10px;padding:10px}.ppx-form textarea{resize:vertical;min-height:75px}.ppx-authbar{display:flex;align-items:center;gap:9px;padding:10px 12px;border-top:1px solid var(--ppx-border);color:var(--ppx-muted);font-size:12px}.ppx-authbar .push{flex:1}.ppx-toast{position:fixed;right:20px;bottom:90px;z-index:100000;max-width:min(340px,90vw);padding:12px 15px;background:#1d2b3b;border:1px solid #3a4b62;color:#fff;border-radius:12px;box-shadow:var(--ppx-shadow)}.ppx-shareform{display:grid;gap:8px;padding:10px;background:#171e29;border:1px solid var(--ppx-border);border-radius:12px}.ppx-shareform input,.ppx-shareform select{width:100%;padding:9px;background:#0b1018;color:#fff;border:1px solid var(--ppx-border);border-radius:9px}.ppx-badge{font-size:10px;color:#ffc28f;border:1px solid #60452e;padding:2px 6px;border-radius:20px}.auth-page{margin:0;min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top,#182131,#090b10 65%);font:15px system-ui;color:#eef3fa}.auth-card{width:min(430px,92vw);padding:30px;background:#121722;border:1px solid #2a3445;border-radius:22px;box-shadow:0 24px 75px #0008}.auth-card h1{margin:12px 0 5px;font-size:26px}.auth-card h1 span{color:#ff8b35}.auth-card p{color:#9aa8bb;line-height:1.5}.brand-mark{width:46px;height:46px;display:grid;place-items:center;background:#ff8b35;color:#25150b;border-radius:15px;font-size:26px;font-weight:900}.auth-card label{display:block;color:#b9c5d5;font-size:13px;margin:14px 0}.auth-card input{width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #303b4e;border-radius:10px;background:#0a0e15;color:#fff}.primary{display:block;width:100%;border:0;background:#ff8b35;color:#24150b;font-weight:850;padding:13px;border-radius:11px;cursor:pointer}.as-link{text-align:center;text-decoration:none;box-sizing:border-box}.auth-links{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.auth-links a{color:#ffb77f;text-decoration:none}.alert{padding:11px;border-radius:10px;margin:12px 0}.alert.error{background:#482329;color:#ffc4c8}.alert.success{background:#173e2d;color:#b4f3cf}.small-note{font-size:12px}.ppx-dot{color:var(--ppx-green)}@media(max-width:600px){.ppx-shell{right:8px;bottom:74px;width:calc(100vw - 16px);height:min(76vh,680px);border-radius:17px}.ppx-launch{right:12px;bottom:12px}.ppx-view{padding:9px}.ppx-head{padding:11px}.ppx-person{padding:8px}}

/* Correções de layout social: isolamento das regras globais do player */
#pp-social-root .ppx-launch{
  display:inline-flex!important;
  width:auto!important;
  min-width:0!important;
  max-width:calc(100vw - 24px)!important;
  height:auto!important;
  min-height:0!important;
  position:fixed!important;
  right:22px!important;
  bottom:22px!important;
  left:auto!important;
  top:auto!important;
  padding:10px 14px!important;
  margin:0!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
  z-index:99980!important;
}
#pp-social-root .ppx-person{
  align-items:center;
  flex-wrap:wrap;
}
#pp-social-root .ppx-personmain{
  flex:1 1 105px;
  min-width:105px;
  overflow:hidden;
}
#pp-social-root .ppx-person-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  flex-wrap:wrap;
  margin-left:auto;
}
#pp-social-root .ppx-person-actions .ppx-action{
  flex:0 0 auto;
  width:auto!important;
  min-width:0!important;
  max-width:100%;
  white-space:nowrap;
  padding:6px 9px;
}
#pp-social-root .ppx-person-actions > div{
  flex-basis:100%;
  max-width:100%;
  text-align:right;
}
#pp-social-root .ppx-person-actions .count,
#pp-social-root .ppx-person-actions .ppx-badge{
  flex:0 0 auto;
}
#pp-social-root .ppx-tabs{
  flex-wrap:wrap;
}
#pp-social-root .ppx-tab{
  flex:1 1 62px;
  min-width:0;
  white-space:nowrap;
}
@media(max-width:600px){
  #pp-social-root .ppx-launch{
    right:12px!important;
    bottom:12px!important;
    width:auto!important;
    max-width:calc(100vw - 24px)!important;
    padding:9px 12px!important;
  }
  #pp-social-root .ppx-person-actions{
    flex:1 1 100%;
    justify-content:flex-end;
    margin-left:48px;
  }
  #pp-social-root .ppx-person-actions > div{
    text-align:left;
  }
}

/* Chat composer: controls alinhados, campo flexível e rótulo claro */
#pp-social-root .ppx-chat{min-width:0;width:100%;overflow:hidden}
#pp-social-root .ppx-chatbar,#pp-social-root .ppx-chatmsgs,#pp-social-root .ppx-chatcomposer{min-width:0;width:100%;max-width:100%}
#pp-social-root .ppx-chatbar #ppx-chat-title{overflow:hidden;overflow-wrap:anywhere}
#pp-social-root .ppx-chatbar #ppx-chat-title span{min-width:0;overflow:hidden;text-overflow:ellipsis}
#pp-social-root .ppx-chatmsgs{overflow-x:hidden}
#pp-social-root .ppx-msg{min-width:0;max-width:88%;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}
#pp-social-root .ppx-msg a{overflow-wrap:anywhere;word-break:break-word}
#pp-social-root .ppx-chatcomposer{position:relative;display:flex;align-items:flex-end;gap:6px;padding:10px;flex-wrap:nowrap}
#pp-social-root .ppx-chatcomposer .ppx-iconbtn{width:38px;height:42px;flex:0 0 38px;display:inline-flex;align-items:center;justify-content:center;font-size:19px;line-height:1;padding:0}
#pp-social-root .ppx-chatcomposer #ppx-message{display:block;flex:1 1 auto;width:0;min-width:0;max-width:100%;height:42px;min-height:42px;max-height:112px;resize:none;overflow-y:auto;overflow-wrap:anywhere;line-height:1.35;padding:10px 11px}
#pp-social-root .ppx-chatcomposer .ppx-send{height:42px;min-width:74px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;font-size:13px;font-weight:800;white-space:nowrap}
#pp-social-root .ppx-send .ppx-send-label{display:inline}
#pp-social-root .ppx-emoji-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;padding:9px;background:#0e141e;border-top:1px solid var(--ppx-border);max-height:150px;overflow-y:auto}
#pp-social-root .ppx-emoji-picker[hidden]{display:none!important}
#pp-social-root .ppx-emoji-choice{border:0;border-radius:8px;background:#202938;color:white;font-size:20px;padding:5px 0;min-width:0}
#pp-social-root .ppx-emoji-choice:hover{background:#36445a}
#pp-social-root .ppx-youtube-share{display:flex;flex-direction:column;gap:7px;min-width:0;width:100%}
#pp-social-root .ppx-youtube-share strong{overflow-wrap:anywhere;word-break:break-word}
#pp-social-root .ppx-youtube-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#000;margin-top:3px}
#pp-social-root .ppx-youtube-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:480px){
 #pp-social-root .ppx-chatcomposer{gap:5px;padding:8px}
 #pp-social-root .ppx-chatcomposer .ppx-iconbtn{width:34px;flex-basis:34px;height:40px}
 #pp-social-root .ppx-chatcomposer #ppx-message{height:40px;min-height:40px;padding:8px}
 #pp-social-root .ppx-chatcomposer .ppx-send{height:40px;min-width:65px;padding:0 8px}
 #pp-social-root .ppx-send .ppx-send-label{display:inline}
 #pp-social-root .ppx-emoji-picker{grid-template-columns:repeat(7,minmax(0,1fr))}
}


/* Redesign do chat: layout em duas áreas, mensagens legíveis e controles consistentes */
#pp-social-root .ppx-shell.chat-open{
  width:min(900px,calc(100vw - 32px));
  height:min(720px,calc(100vh - 112px));
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  grid-template-rows:auto auto minmax(0,1fr);
  align-items:stretch;
  background:#0e131c;
}
#pp-social-root .ppx-shell.chat-open .ppx-head{grid-column:1 / -1;grid-row:1}
#pp-social-root .ppx-shell.chat-open .ppx-tabs{
  grid-column:1;grid-row:2;align-content:start;gap:3px;padding:9px;
  border-right:1px solid var(--ppx-border);border-bottom:1px solid var(--ppx-border);
}
#pp-social-root .ppx-shell.chat-open .ppx-tab{padding:8px 3px;font-size:11px!important}
#pp-social-root .ppx-shell.chat-open .ppx-view.active{
  grid-column:1;grid-row:3;min-height:0;overflow:auto;padding:10px;
  border-right:1px solid var(--ppx-border);gap:9px;background:#101620;
}
#pp-social-root .ppx-shell.chat-open #ppx-view-chats .ppx-shareform{display:none}
#pp-social-root .ppx-shell.chat-open .ppx-chat.active{
  grid-column:2;grid-row:2 / 4;display:flex;min-width:0;min-height:0;height:100%;
  background:linear-gradient(180deg,#111823,#0d121a);
}
#pp-social-root .ppx-conversation-heading{display:flex;flex-direction:column;gap:2px;padding:2px 2px 6px}
#pp-social-root .ppx-conversation-heading strong{font-size:14px;color:#f5f7fb}
#pp-social-root .ppx-conversation-heading span{font-size:11px;color:var(--ppx-muted)}
#pp-social-root .ppx-conversation-item{
  width:100%;min-width:0;display:flex;align-items:center;gap:9px;text-align:left;
  padding:10px;border:1px solid #273243;border-radius:12px;background:#171e29;color:var(--ppx-text);
  transition:background .16s,border-color .16s,transform .16s;
}
#pp-social-root .ppx-conversation-item:hover{background:#202a39;border-color:#46556b;transform:translateY(-1px)}
#pp-social-root .ppx-conversation-item:focus-visible{outline:2px solid var(--ppx-orange);outline-offset:2px}
#pp-social-root .ppx-conversation-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
#pp-social-root .ppx-conversation-copy strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#pp-social-root .ppx-conversation-copy small{font-size:11px;color:var(--ppx-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#pp-social-root .ppx-unread{flex:0 0 auto;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:var(--ppx-orange);color:#23150c;font-size:10px;font-weight:900}
#pp-social-root .ppx-chatbar{min-height:66px;padding:11px 15px;background:linear-gradient(120deg,#171f2c,#111823);gap:11px}
#pp-social-root .ppx-chatbar #ppx-chat-title{font-size:13px;gap:10px!important}
#pp-social-root .ppx-chatbar #ppx-chat-title .ppx-avatar{width:39px;height:39px;flex-basis:39px;border-radius:50%;border:1px solid #3a4659}
#pp-social-root .ppx-chatmsgs{padding:18px;gap:11px;background:radial-gradient(ellipse at top right,#202b3a55,transparent 55%)}
#pp-social-root .ppx-msg{max-width:min(78%,560px);padding:10px 13px;border-radius:14px 14px 14px 5px;line-height:1.5;box-shadow:0 4px 12px #0001}
#pp-social-root .ppx-msg.mine{background:linear-gradient(135deg,#55301c,#402619);border-color:#765039;border-radius:14px 14px 5px 14px}
#pp-social-root .ppx-msg small{font-size:10px;opacity:.8}
#pp-social-root .ppx-chatcomposer{padding:12px;background:#111823;border-top:1px solid #273243;gap:8px}
#pp-social-root .ppx-chatcomposer .ppx-iconbtn{border-radius:12px;background:#1b2533;border-color:#354256;color:#e8edf5;transition:background .15s,border-color .15s}
#pp-social-root .ppx-chatcomposer .ppx-iconbtn:hover:not(:disabled){background:#293649;border-color:#53657d}
#pp-social-root .ppx-chatcomposer .ppx-iconbtn:disabled{opacity:.5;cursor:wait}
#pp-social-root .ppx-chatcomposer #ppx-message{background:#0b1018;border-color:#354154;border-radius:13px;font-size:13px}
#pp-social-root .ppx-chatcomposer #ppx-message:focus{border-color:#ff9b50;outline:none;box-shadow:0 0 0 3px #ff8b3520}
#pp-social-root .ppx-chatcomposer .ppx-send{border-radius:12px;background:linear-gradient(135deg,#ffa253,#ff812d);box-shadow:0 5px 14px #ff8b3525;transition:filter .15s,transform .15s}
#pp-social-root .ppx-chatcomposer .ppx-send:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}
#pp-social-root .ppx-youtube-frame{max-width:100%;margin:8px 0 2px;border:1px solid #354154}
#pp-social-root .ppx-msg .ppx-youtube-frame{width:min(100%,420px)}
#pp-social-root .ppx-msg a{overflow-wrap:anywhere;word-break:break-word}
#pp-social-root .ppx-emoji-picker{position:absolute;z-index:5;left:10px;bottom:calc(100% + 4px);width:min(300px,calc(100% - 20px));border:1px solid #354154;border-radius:13px;box-shadow:0 12px 35px #0008}
@media(max-width:700px){
  #pp-social-root .ppx-shell.chat-open{
    right:8px;left:8px;bottom:74px;width:auto;height:min(78vh,720px);
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);border-radius:17px;
  }
  #pp-social-root .ppx-shell.chat-open .ppx-head{grid-column:1;grid-row:1}
  #pp-social-root .ppx-shell.chat-open .ppx-tabs,
  #pp-social-root .ppx-shell.chat-open .ppx-view{display:none!important}
  #pp-social-root .ppx-shell.chat-open .ppx-chat.active{grid-column:1;grid-row:2;min-height:0}
  #pp-social-root .ppx-chatmsgs{padding:12px}
  #pp-social-root .ppx-msg{max-width:91%}
  #pp-social-root .ppx-chatbar{padding:9px 10px;min-height:58px}
  #pp-social-root .ppx-chatcomposer{gap:5px;padding:8px}
  #pp-social-root .ppx-chatcomposer .ppx-iconbtn{width:34px;flex-basis:34px;height:40px}
  #pp-social-root .ppx-chatcomposer .ppx-send{min-width:42px;padding:0 10px}
  #pp-social-root .ppx-chatcomposer .ppx-send-label{display:none}
  #pp-social-root .ppx-emoji-picker{left:7px;width:min(290px,calc(100% - 14px))}
}

#pp-social-root .ppx-attachment-status{padding:7px 13px;background:#192332;border-top:1px solid #273243;color:#dbe5f3;font-size:11px;overflow-wrap:anywhere}
#pp-social-root .ppx-attachment-status[hidden]{display:none!important}

/* Isolamento definitivo do chat contra regras globais do player original.
   O player define input,button { width:100%; margin-top:6px }, o que esticava
   o botão Enviar dentro do formulário flexível. */
#pp-social-root .ppx-shell .ppx-chatcomposer > button,
#pp-social-root .ppx-shell .ppx-chatbar > button{
  margin:0!important;
  box-sizing:border-box!important;
  align-self:center!important;
}
#pp-social-root .ppx-shell .ppx-chatcomposer > .ppx-iconbtn{
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  flex:0 0 38px!important;
  padding:0!important;
}
#pp-social-root .ppx-shell .ppx-chatcomposer > .ppx-send{
  display:inline-flex!important;
  width:auto!important;
  min-width:76px!important;
  max-width:84px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  flex:0 0 76px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  margin:0!important;
  padding:0 8px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
#pp-social-root .ppx-shell .ppx-chatcomposer > .ppx-send .ppx-send-label{
  display:inline!important;
  font-size:12px!important;
  line-height:1!important;
}
#pp-social-root .ppx-shell .ppx-chatcomposer > #ppx-message{
  margin:0!important;
  box-sizing:border-box!important;
  flex:1 1 0!important;
  width:0!important;
  min-width:0!important;
  max-width:100%!important;
}
@media(max-width:480px){
  #pp-social-root .ppx-shell .ppx-chatcomposer > .ppx-iconbtn{
    width:34px!important;min-width:34px!important;max-width:34px!important;
    height:40px!important;min-height:40px!important;max-height:40px!important;
    flex:0 0 34px!important;
  }
  #pp-social-root .ppx-shell .ppx-chatcomposer > .ppx-send{
    width:42px!important;min-width:42px!important;max-width:42px!important;
    height:40px!important;min-height:40px!important;max-height:40px!important;
    flex:0 0 42px!important;padding:0!important;
  }
  #pp-social-root .ppx-shell .ppx-chatcomposer > .ppx-send .ppx-send-label{display:none!important}
}

/* Corrige também a barra do cabeçalho: o CSS global do player estica todos os botões
   para 100%, fazendo o botão Voltar empurrar o nome e aumentar a altura da barra. */
#pp-social-root .ppx-shell .ppx-chatbar > .back{
  display:inline-flex!important;
  width:34px!important;min-width:34px!important;max-width:34px!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  flex:0 0 34px!important;
  align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;line-height:1!important;
}
#pp-social-root .ppx-shell .ppx-chatbar > .ppx-iconbtn{
  width:34px!important;min-width:34px!important;max-width:34px!important;
  height:34px!important;min-height:34px!important;max-height:34px!important;
  flex:0 0 34px!important;margin:0!important;padding:0!important;
}
#pp-social-root .ppx-shell .ppx-chatbar #ppx-chat-title{
  display:flex!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;
  height:auto!important;min-height:0!important;max-height:52px!important;overflow:hidden!important;
  align-items:center!important;
}
#pp-social-root .ppx-shell .ppx-chatbar #ppx-chat-title > span{
  display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:100%!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#pp-social-root .ppx-shell.chat-open .ppx-tabs > .ppx-tab{
  width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;
  flex:1 1 62px!important;
}
@media(max-width:700px){
  #pp-social-root .ppx-shell .ppx-chatbar > .back{width:32px!important;min-width:32px!important;max-width:32px!important;flex-basis:32px!important}
  #pp-social-root .ppx-shell .ppx-chatbar > .ppx-iconbtn{width:32px!important;min-width:32px!important;max-width:32px!important;flex-basis:32px!important}
}
@media(min-width:701px){
  #pp-social-root .ppx-shell.chat-open .ppx-tabs{flex-wrap:nowrap!important;gap:2px!important}
  #pp-social-root .ppx-shell.chat-open .ppx-tabs > .ppx-tab{
    flex:1 1 0!important;padding-left:1px!important;padding-right:1px!important;
    font-size:10px!important;letter-spacing:-.1px!important;
  }
}


/* YouTube: cartão de prévia compacto; o vídeo só carrega quando o usuário clicar. */
#pp-social-root .ppx-msg .ppx-youtube-preview{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:min(100%,310px)!important;max-width:310px!important;min-width:0!important;
  padding:0!important;margin:10px 0 2px!important;gap:0!important;text-align:left!important;
  white-space:normal!important;overflow:hidden!important;border-radius:13px!important;
  border:1px solid #3a4658!important;background:#141d2a!important;color:#edf3fb!important;
  box-shadow:0 7px 20px #0003!important;flex:0 1 auto!important;
  transition:border-color .18s,transform .18s,box-shadow .18s!important;
}
#pp-social-root .ppx-msg .ppx-youtube-preview:hover{
  border-color:#ff9a4d!important;transform:translateY(-1px)!important;
  box-shadow:0 10px 25px #0005!important;
}
#pp-social-root .ppx-youtube-thumb{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#080b10}
#pp-social-root .ppx-youtube-thumb img{display:block;width:100%;height:100%;object-fit:cover}
#pp-social-root .ppx-youtube-play{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:48px;height:34px;border-radius:11px;
  background:#ff3030;color:white;font-size:17px;padding-left:3px;
  box-shadow:0 4px 16px #0008;transition:transform .18s,background .18s;
}
#pp-social-root .ppx-youtube-preview:hover .ppx-youtube-play{transform:translate(-50%,-50%) scale(1.08);background:#f20}
#pp-social-root .ppx-youtube-duration{position:absolute;left:9px;top:9px;padding:3px 7px;
  border:1px solid #ffffff2b;border-radius:20px;background:#101722d9;color:#ffbf8b;
  font-size:9px;font-weight:850;letter-spacing:.08em}
#pp-social-root .ppx-youtube-preview-info{display:flex;flex-direction:column;gap:4px;padding:10px 11px 11px;min-width:0}
#pp-social-root .ppx-youtube-preview-info strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
#pp-social-root .ppx-youtube-preview-info small{font-size:10px;line-height:1.35;color:#9cabc0}
#pp-social-root .ppx-youtube-open{display:inline-flex;align-items:center;gap:5px;margin-top:3px;color:#ffad6d;font-size:10px;font-weight:800}
#pp-social-root .ppx-youtube-external{display:inline-flex;margin-top:7px;padding:8px 10px;border:1px solid #3a4658;border-radius:9px;text-decoration:none}
#pp-social-root .ppx-file-card{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid #344155;border-radius:11px;background:#141d2a}
#pp-social-root .ppx-file-card .ppx-file-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:9px;background:#293648;color:#ffb77f;font-size:19px}
#pp-social-root .ppx-file-card>span:nth-child(2){display:flex;flex:1;flex-direction:column;min-width:0}
#pp-social-root .ppx-file-card strong{font-size:11px;overflow-wrap:anywhere}
#pp-social-root .ppx-file-card small{font-size:10px;color:var(--ppx-muted)}
#pp-social-root .ppx-file-card a{font-size:11px;white-space:nowrap}
#pp-social-root .ppx-video-modal[hidden]{display:none!important}
#pp-social-root .ppx-video-modal{position:fixed;inset:0;z-index:100005;display:grid;place-items:center;padding:22px}
#pp-social-root .ppx-video-backdrop{position:absolute;inset:0;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#05080de8!important;backdrop-filter:blur(8px)}
#pp-social-root .ppx-video-dialog{position:relative;z-index:1;width:min(760px,100%);overflow:hidden;border:1px solid #35445a;border-radius:17px;background:#101722;box-shadow:0 24px 90px #000b}
#pp-social-root .ppx-video-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 16px;background:linear-gradient(120deg,#1b2636,#111722);border-bottom:1px solid #2b3748}
#pp-social-root .ppx-video-dialog header>div{display:flex;flex-direction:column;gap:3px;min-width:0}
#pp-social-root .ppx-video-eyebrow{color:#ffad6d;font-size:9px;font-weight:850;letter-spacing:.12em}
#pp-social-root .ppx-video-dialog header strong{color:#f3f6fb;font-size:14px;overflow-wrap:anywhere}
#pp-social-root .ppx-video-close{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:34px!important;margin:0!important;padding:0!important;border:1px solid #3b485b!important;border-radius:10px!important;background:#202b3b!important;color:#fff!important;font-size:24px!important;line-height:1!important}
#pp-social-root .ppx-video-modal-frame{width:100%;aspect-ratio:16/9;background:#000}
#pp-social-root .ppx-video-modal-frame iframe{display:block;width:100%;height:100%;border:0}
#pp-social-root .ppx-video-dialog footer{padding:9px 14px;color:#91a0b5;font-size:10px;border-top:1px solid #273243}
#pp-social-root .ppx-shell.chat-open .ppx-chatmsgs{align-items:stretch;gap:10px;overscroll-behavior:contain}
#pp-social-root .ppx-shell.chat-open .ppx-msg{width:fit-content;max-width:min(78%,560px);min-width:0;flex:0 0 auto}
#pp-social-root .ppx-shell.chat-open .ppx-msg.mine{align-self:flex-end}
#pp-social-root .ppx-shell.chat-open .ppx-msg:not(.mine){align-self:flex-start}
#pp-social-root .ppx-shell.chat-open .ppx-chatcomposer{flex:0 0 auto}
#pp-social-root .ppx-shell.chat-open .ppx-chatcomposer>.ppx-send{width:76px!important;min-width:76px!important;max-width:76px!important;flex:0 0 76px!important;padding:0 7px!important}
@media(max-width:700px){
 #pp-social-root .ppx-video-modal{padding:12px}
 #pp-social-root .ppx-video-dialog{border-radius:13px}
 #pp-social-root .ppx-video-dialog header{padding:10px 12px}
 #pp-social-root .ppx-video-dialog header strong{font-size:12px}
 #pp-social-root .ppx-shell.chat-open .ppx-msg{max-width:90%}
 #pp-social-root .ppx-msg .ppx-youtube-preview{width:min(100%,280px)!important;max-width:280px!important}
 #pp-social-root .ppx-shell.chat-open .ppx-chatcomposer>.ppx-send{width:42px!important;min-width:42px!important;max-width:42px!important;flex-basis:42px!important;padding:0 5px!important}
}



/* Previews de anexos e playlist do YouTube */
#pp-social-root .ppx-playlist-preview{border-color:#7856bd!important;background:linear-gradient(145deg,#211936,#151525)!important}
#pp-social-root .ppx-playlist-preview:hover{border-color:#b59aff!important;box-shadow:0 10px 26px #8b5cf633!important}
#pp-social-root .ppx-playlist-preview .ppx-youtube-duration{color:#e4d4ff;border-color:#a78bfa55;background:#241a3cdd}
#pp-social-root .ppx-playlist-art{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 35% 20%,#a78bfa55,#32204d 62%,#151525);color:#e9ddff;font-size:58px;font-weight:800}
#pp-social-root .ppx-playlist-preview .ppx-youtube-play{background:#8b5cf6;color:#fff}
#pp-social-root .ppx-file-preview{display:flex;flex-direction:column;gap:8px;max-width:min(100%,340px);padding:8px;border:1px solid #344155;border-radius:12px;background:#111a26;overflow:hidden}
#pp-social-root .ppx-image-open{display:block;width:100%;max-width:320px;max-height:260px;overflow:hidden;padding:0;margin:0;border:0;border-radius:8px;background:#080b10}
#pp-social-root .ppx-image-open img{display:block;width:100%;max-height:260px;object-fit:contain}
#pp-social-root .ppx-media-preview{display:block;width:100%;max-width:320px;max-height:240px;border-radius:8px;background:#000}
#pp-social-root .ppx-file-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;min-width:0}
#pp-social-root .ppx-file-meta strong{flex:1 1 100%;font-size:11px;overflow-wrap:anywhere}
#pp-social-root .ppx-file-meta small{font-size:10px;color:var(--ppx-muted);flex:1}
#pp-social-root .ppx-file-meta a{font-size:11px;color:#ffb77f;text-decoration:none}
#pp-social-root .ppx-audio-preview{flex-direction:row;align-items:flex-start}
#pp-social-root .ppx-audio-preview .ppx-file-icon{flex:0 0 36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#2a2037;color:#c4a7ff;font-size:22px}
#pp-social-root .ppx-audio-preview .ppx-file-meta{flex:1}
#pp-social-root .ppx-audio-preview audio{width:100%;height:34px}
#pp-social-root .ppx-pdf-preview{min-height:75px;justify-content:center;background:linear-gradient(135deg,#211d28,#121822)}
#pp-social-root .ppx-image-modal[hidden]{display:none!important}
#pp-social-root .ppx-image-modal{position:fixed;inset:0;z-index:100006;display:grid;place-items:center;padding:20px}
#pp-social-root .ppx-image-backdrop{position:absolute;inset:0;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#02050beF!important}
#pp-social-root .ppx-image-dialog{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:min(94vw,1100px);max-height:92vh;color:#eef3fa}
#pp-social-root .ppx-image-dialog img{display:block;max-width:92vw;max-height:82vh;object-fit:contain;border-radius:10px;box-shadow:0 20px 70px #000a}
#pp-social-root .ppx-image-close{position:absolute;right:-12px;top:-12px;width:34px;height:34px;margin:0;padding:0;border:1px solid #46536a;border-radius:50%;background:#1b2432;color:white;font-size:22px;z-index:2}
#pp-social-root #ppx-image-modal-title{font-size:12px;color:#c7d2e0;overflow-wrap:anywhere;text-align:center}
@media(max-width:480px){
 #pp-social-root .ppx-file-preview{max-width:100%}
 #pp-social-root .ppx-image-open,#pp-social-root .ppx-media-preview{max-width:100%}
 #pp-social-root .ppx-image-dialog img{max-height:75vh}
}


#pp-social-root .ppx-shared-playlist-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;max-width:min(100%,320px)}
#pp-social-root .ppx-shared-playlist-card .ppx-youtube-preview{margin:0!important}
#pp-social-root .ppx-import-playlist{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 11px;border:1px solid #8b5cf6;border-radius:9px;background:linear-gradient(135deg,#6d28d9,#4c1d95);color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:800;transition:filter .15s,transform .15s}
#pp-social-root .ppx-import-playlist:hover{filter:brightness(1.12);transform:translateY(-1px)}
