/* PC43: isolated layout fixes. The existing EXP/frames and PC38 theme remain untouched. */
.pc-chat-log .pc-chat-message{
  display:grid!important;
  grid-template-columns:74px minmax(0,1fr)!important;
  column-gap:12px!important;
  row-gap:4px!important;
  align-items:start;
  min-width:0;
}
.pc-chat-log .pc-chat-message>.pc40-frame,
.pc-chat-log .pc-chat-message>.pc27-avatar{
  grid-column:1!important;
  grid-row:1 / span 4!important;
  align-self:start;
  justify-self:center;
  margin:5px 0 20px!important;
}
.pc-chat-log .pc-chat-message>strong{
  grid-column:2!important;grid-row:1!important;min-width:0;
  display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px;
  overflow-wrap:anywhere;line-height:1.35;
}
.pc-chat-log .pc-chat-message>small{
  grid-column:2!important;grid-row:2!important;
  justify-self:start!important;text-align:left!important;margin:0!important;
  font-size:11px;
}
.pc-chat-log .pc-chat-message>p{
  grid-column:2!important;grid-row:3!important;
  min-width:0;margin:4px 0!important;
  white-space:pre-wrap;overflow-wrap:anywhere;
}
.pc-chat-log .pc-chat-message>.pc-chat-delete{
  grid-column:2!important;grid-row:4!important;
  justify-self:end!important;
}
@media(max-width:480px){
 .pc-chat-log .pc-chat-message{grid-template-columns:65px minmax(0,1fr)!important;column-gap:9px!important}
}
.pc-v24-online-list[hidden],#pc43-online-empty[hidden]{display:none!important}
.pc-v24-online-list.pc43-online-scroll{
 max-height:800px;overflow-y:auto;overflow-x:hidden;
 overscroll-behavior:contain;padding:2px 6px 2px 2px;
 scrollbar-width:thin;scrollbar-color:var(--pc-accent,#e8a33d) #142322;
}
.pc-v24-online-list.pc43-online-scroll::-webkit-scrollbar{width:7px}
.pc-v24-online-list.pc43-online-scroll::-webkit-scrollbar-thumb{background:var(--pc-accent,#e8a33d);border-radius:8px}
.pc-v24-online-list.pc43-online-scroll::-webkit-scrollbar-track{background:#142322;border-radius:8px}
