.app-view-panel__body--fengxinlou {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 248, 249, 0.98), rgba(241, 242, 245, 0.98));
}

.app-view-panel__body--fengxinlou > .fengxinlou {
  flex: 1;
  min-height: 0;
}

.fengxinlou {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: #17181a;
}

.fengxinlou-topbar {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 68px;
  align-items: center;
  gap: 8px;
  padding: 14px 12px 12px;
  border-bottom: 1px solid rgba(20, 22, 26, 0.06);
  background: rgba(248, 249, 251, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.fengxinlou-topbar--with-avatars {
  grid-template-columns: 34px 42px minmax(0, 1fr) 42px 34px;
  gap: 7px;
}

.fengxinlou-topbar-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  overflow: hidden;
  border: 1px solid rgba(20, 22, 26, 0.08);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(230, 234, 242, 0.9));
  box-shadow: 0 8px 18px rgba(20, 22, 26, 0.08);
}

.fengxinlou-topbar-avatar--other {
  justify-self: start;
}

.fengxinlou-topbar-avatar--self {
  justify-self: end;
}

.fengxinlou-topbar-avatar__inner,
.fengxinlou-topbar-avatar__image,
.fengxinlou-topbar-avatar__inner img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center center;
}

.fengxinlou-topbar-avatar__inner:not(:has(img)) {
  display: grid;
  place-items: center;
  color: rgba(23, 24, 26, 0.58);
  font-size: 15px;
  font-weight: 700;
}

.fengxinlou-topbar__button,
.fengxinlou-topbar__placeholder {
  min-width: 0;
  height: 34px;
}

.fengxinlou-topbar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(19, 22, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #17181a;
  font-size: 12px;
  cursor: pointer;
}

.fengxinlou-topbar__button--icon {
  width: 34px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.fengxinlou-topbar__button--right {
  justify-self: end;
}

.fengxinlou-topbar--with-avatars .fengxinlou-topbar__button--icon {
  justify-self: center;
}

.fengxinlou-topbar__title-group {
  min-width: 0;
  text-align: center;
}

.fengxinlou-topbar__eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(23, 24, 26, 0.42);
}

.fengxinlou-topbar__title {
  margin: 4px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  color: #17181a;
}

.fengxinlou-topbar__sub {
  margin: 4px 0 0;
  font-size: 11px;
  color: rgba(23, 24, 26, 0.46);
}

.fengxinlou--chat .fengxinlou-topbar__button--icon {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fengxinlou--list,
.fengxinlou--settings {
  overflow-y: auto;
}

.fengxinlou--chat {
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(244, 245, 247, 0.92), rgba(237, 239, 243, 0.96));
}

.fengxinlou-list-item__avatar,
.fengxinlou-message-row__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #d8dbe2, #f1f2f6);
  color: #5d616a;
  font-weight: 600;
}

.fengxinlou-list-item__avatar {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(21, 23, 27, 0.08);
}

.fengxinlou-message-row__avatar {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(21, 23, 27, 0.08);
  font-size: 12px;
}

.fengxinlou-list-item__avatar img,
.fengxinlou-message-row__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fengxinlou-empty,
.fengxinlou-chat__empty {
  display: grid;
  place-items: center;
  padding: 24px 18px 28px;
}

.fengxinlou-empty {
  min-height: 260px;
  text-align: center;
}

.fengxinlou-empty__title,
.fengxinlou-chat__empty-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #17181a;
}

.fengxinlou-empty__text,
.fengxinlou-chat__empty-text {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(23, 24, 26, 0.58);
}

.fengxinlou-empty__card,
.fengxinlou-chat__empty-card {
  width: 100%;
  max-width: 280px;
  padding: 18px 16px;
  border: 1px solid rgba(20, 22, 26, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(24, 26, 30, 0.04);
  text-align: center;
}

@media (max-width: 420px) {
  .fengxinlou-topbar {
    grid-template-columns: 62px minmax(0, 1fr) 62px;
    padding: 12px 10px 10px;
  }

  .fengxinlou-topbar--with-avatars {
    grid-template-columns: 32px 38px minmax(0, 1fr) 38px 32px;
    gap: 5px;
  }

  .fengxinlou-topbar-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
  }

  .fengxinlou-topbar__button {
    height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .fengxinlou-topbar__button--icon {
    width: 32px;
    padding: 0;
    font-size: 17px;
  }

  .fengxinlou-topbar__title {
    font-size: 15px;
  }
}
