/* PATCH-005: Empty status boxes (UI only)
   - Adds a small empty square to the left of each guest item.
   - No JS, no state, no clicks. */
.fcchat-guestlist .fcchat-guestitem{
  position: relative;
  padding-left: 24px; /* space for the box */
}
.fcchat-guestlist .fcchat-guestitem::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 2px;
  background: transparent;
  z-index: 0;
}
.fcchat-guestlist .fcchat-guest-status{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: inherit;
  z-index: 1;
  pointer-events: none;
}
.fcchat-guestlist .fcchat-guest-name{
  display: inline-block;
  vertical-align: middle;
}
.fcchat-guestlist .fcchat-guestitem[data-status="BAN"] .fcchat-guest-name{
  text-decoration: line-through;
  text-decoration-color: #d00000;
  text-decoration-thickness: 2px;
}
.fcchat-guestlist .fcchat-guestitem[data-status="X"] .fcchat-guest-name{
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.85);
  text-decoration-thickness: 2px;
}
.fcchat-guestlist .fcchat-guestitem.is-pm-target{
  background: transparent;
}
.fcchat-guestlist .fcchat-guest-name{
  padding: 2px 4px;
  border-radius: 3px;
  cursor: pointer;
}
.fcchat-guestlist .fcchat-guest-name:hover{
  background: rgba(255,255,255,0.06);
}
.fcchat-guestlist .fcchat-guestitem.is-pm-target .fcchat-guest-name{
  background: transparent;
  box-shadow: none;
  padding: 2px 4px;
  border-radius: 3px;
}
.fcchat-guestlist .fcchat-guestitem.is-pm-target{
  background: linear-gradient(90deg, transparent 0 24px, rgba(196,116,0,0.18) 24px);
  border-left: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  border-radius: 999px;
  padding-left: 24px;
}
.fcchat-root.fcchat-banned .fcchat-guests{
  visibility: hidden;
}
.fcchat-root.fcchat-banned .fcchat-input{
  opacity: 0.6;
  cursor: not-allowed;
}
.fcchat-inputwrap{
  position: relative;
}
.fcchat-pm-badge{
  position: absolute;
  left: 8px;
  top: var(--pm-badge-top, 6px);
  transform: none;
  max-width: calc(100% - 16px);
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.2;
  background: rgba(0,0,0,0.45);
  border: none;
  border-radius: 999px;
  box-shadow: none;
  outline: none;
  color: #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 2;
}
.fcchat-pm-badge[hidden]{
  display: none !important;
}
.fcchat-pm-badge-label{
  margin-right: 4px;
  opacity: 0.8;
}
.fcchat-pm-badge-arrow{
  opacity: 0.7;
}
.fcchat-inputwrap.has-pm-badge .fcchat-input{
  padding-left: calc(var(--pm-badge-w, 0px) + 12px);
}
.fcchat-ban-message{
  padding: 10px;
  color: #ff6666;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(208,0,0,0.4);
  border-radius: 8px;
  background: rgba(120,0,0,0.12);
}
.fcchat-guestlist .fcchat-guestitem[data-status="BAN"] .fcchat-guest-status{
  color: transparent; /* hide BAN text */
}
.fcchat-guestlist .fcchat-guestitem[data-status="BAN"] .fcchat-guest-status::before{
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2px solid #d00000;
  box-sizing: border-box;
}
.fcchat-guestlist .fcchat-guestitem[data-status="BAN"] .fcchat-guest-status::after{
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: #d00000;
  transform: rotate(-45deg);
  left: 2px;
  top: 7px;
}
