.fengxinlou--list {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(180deg, #f7f7f8 0%, #f0f1f4 100%);
  color: #111214;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.fengxinlou--list .fengxinlou-topbar,
.fengxinlou-list-topbar {
  display: none;
}

.fengxinlou-list-topbar__back,
.fengxinlou-list-topbar__multi {
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(28, 30, 36, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f7f8fa);
  color: #121316;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.fengxinlou-list-topbar__back {
  justify-self: start;
}

.fengxinlou-list-topbar__multi {
  justify-self: end;
  color: #626671;
}

.fengxinlou-list-topbar__multi.is-active {
  border-color: #111214;
  background: #111214;
  color: #ffffff;
}

.fengxinlou-list-topbar__center {
  display: grid;
  place-items: center;
  min-width: 0;
}

.fengxinlou-list-topbar__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 820;
  letter-spacing: -0.035em;
}

.fengxinlou-home-main {
  flex: 1 1 0;
  min-height: 0;
  height: 0;
  overflow: hidden;
  background: transparent;
}

.fengxinlou--list[data-fengxinlou-home-tab="chat"] .fengxinlou-home-main,
.fengxinlou--list[data-fengxinlou-home-tab="settings"] .fengxinlou-home-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 0;
  overflow: hidden;
}

.fengxinlou-settings-scroll {
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.fengxinlou-settings-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fengxinlou-home-main::-webkit-scrollbar,
.fengxinlou-list-categories::-webkit-scrollbar,
.fengxinlou-list__groups::-webkit-scrollbar,
.fengxinlou-network-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fengxinlou-list__section {
  flex: 1 1 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  height: 100%;
  padding: 8px 0 0;
  box-sizing: border-box;
  overflow: hidden;
}

.fengxinlou-list-hero {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin: 0 10px;
  border: 1px solid rgba(28, 30, 36, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 251, 0.94));
  box-shadow: 0 16px 40px rgba(19, 21, 26, 0.06);
  overflow: hidden;
}

.fengxinlou-list-hero__actions {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 2px;
}

.fengxinlou-list-hero__back,
.fengxinlou-list-hero__multi {
  min-width: 0;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(28, 30, 36, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #17181b;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 22, 26, 0.04);
}

.fengxinlou-list-hero__back {
  justify-self: start;
}

.fengxinlou-list-hero__multi {
  justify-self: end;
  color: #626671;
}

.fengxinlou-list-hero__multi.is-active {
  border-color: #111214;
  background: #111214;
  color: #ffffff;
}

.fengxinlou-list-hero__title {
  overflow: hidden;
  color: #111214;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: -0.035em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fengxinlou-list-profile {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  grid-template-areas:
    "avatar stats"
    "main main";
  align-items: center;
  column-gap: 12px;
  row-gap: 14px;
  padding: 12px 16px 10px 22px;
}

.fengxinlou-list-profile__avatar {
  position: relative;
  grid-area: avatar;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  outline: none;
}

.fengxinlou-list-profile__avatar-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 50%;
  background: #f2f3f5;
  color: #111214;
  font-size: 16px;
  font-weight: 820;
  overflow: hidden;
  outline: none;
  box-shadow: 0 0 0 1px rgba(28, 30, 36, 0.08), 0 6px 16px rgba(18, 20, 25, 0.08);
}

.fengxinlou-list-profile__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fengxinlou-list-profile__in {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: #111214;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: translate(-50%, -50%);
}

.fengxinlou-list-profile__main {
  grid-area: main;
  min-width: 0;
}

.fengxinlou-list-profile__stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  margin: 0;
}

.fengxinlou-list-profile__stats span {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
}

.fengxinlou-list-profile__stats strong {
  overflow: hidden;
  max-width: 100%;
  color: #111214;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fengxinlou-list-profile__stats em {
  color: #626671;
  font-size: 11px;
  font-style: normal;
  line-height: 1.1;
}

.fengxinlou-list-profile__name {
  margin: 0;
  padding: 0;
  color: #111214;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.fengxinlou-list-profile__bio {
  margin: 4px 0 0;
  padding: 0;
  color: #737884;
  font-size: 12px;
  line-height: 1.35;
}

.fengxinlou-list-profile__inline-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  pointer-events: none;
}

.fengxinlou-list-profile__action {
  min-width: 0;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(28, 30, 36, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  color: #17181b;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 22, 26, 0.04);
  pointer-events: auto;
}

.fengxinlou-list-profile__action--multi {
  color: #626671;
}

.fengxinlou-list-profile__action.is-active {
  border-color: #111214;
  background: #111214;
  color: #ffffff;
}

.fengxinlou-list-categories {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 94px;
  padding: 18px 14px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.fengxinlou-list-category {
  position: relative;
  flex: 0 0 66px;
  display: grid;
  grid-template-rows: 62px 13px 10px;
  justify-items: center;
  align-content: start;
  gap: 4px;
  min-width: 0;
  min-height: 88px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111214;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fengxinlou-list-category__ring {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.fengxinlou-list-category.is-active .fengxinlou-list-category__ring {
  background: rgba(17, 18, 20, 0.035);
}

.fengxinlou-list-category.is-move-target .fengxinlou-list-category__ring {
  background: rgba(17, 18, 20, 0.03);
}

.fengxinlou-list-category__avatar,
.fengxinlou-list-category__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f5;
  color: #555963;
  font-size: 18px;
  font-weight: 780;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(28, 30, 36, 0.08), 0 6px 14px rgba(18, 20, 25, 0.06);
}

.fengxinlou-list-category__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fengxinlou-list-category__name,
.fengxinlou-list-category__count {
  display: block;
  max-width: 66px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.fengxinlou-list-category__name {
  color: #17181b;
  font-size: 11px;
  line-height: 1.1;
}

.fengxinlou-list-category__count {
  color: #9a9da5;
  font-size: 9px;
  line-height: 1;
}

.fengxinlou-list-category--add .fengxinlou-list-category__ring {
  border-color: #dfe1e6;
  border-style: solid;
}

.fengxinlou-list-multi-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 14px 10px;
  padding: 9px 12px;
  border: 1px solid #dfe1e6;
  border-radius: 14px;
  background: #f7f7f8;
}

.fengxinlou-list-multi-hint span {
  color: #111214;
  font-size: 12px;
  font-weight: 760;
}

.fengxinlou-list-multi-hint em {
  color: #81858e;
  font-size: 10px;
  font-style: normal;
}

.fengxinlou-list-category-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 8px 10px;
  border: 1px solid rgba(220, 54, 68, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
}

.fengxinlou-list-category-tools__delete {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(220, 54, 68, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: #b42b38;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}

.fengxinlou-list-category-tools span {
  min-width: 0;
  overflow: hidden;
  color: #9a6b70;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fengxinlou-list__groups {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 0;
  height: auto;
  margin: 12px 10px 0;
  padding-bottom: 18px;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.fengxinlou-list__group {
  overflow: hidden;
  border: 1px solid rgba(28, 30, 36, 0.07);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 20, 25, 0.045);
}

.fengxinlou-list__group + .fengxinlou-list__group {
  margin-top: 14px;
}

.fengxinlou-list__group-title {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 16px;
  border-bottom: 0;
  color: #8a8e98;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.fengxinlou-list__items {
  display: grid;
  gap: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
}

.fengxinlou-list-swipe {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.fengxinlou-list-swipe + .fengxinlou-list-swipe {
  border-top: 1px solid rgba(28, 30, 36, 0.055);
}

.fengxinlou-list-swipe__action {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 82px;
  border: 0;
  border-left: 1px solid #2b2c30;
  background: #15161a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 760;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fengxinlou-list-swipe.is-open .fengxinlou-list-swipe__action {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.fengxinlou-list-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 13px 15px;
  border: 0;
  background: #ffffff;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.18s ease;
}

.fengxinlou-list-swipe.is-open .fengxinlou-list-item {
  transform: translateX(-82px);
}

.fengxinlou-list-item:hover,
.fengxinlou-list-item:active {
  background: #f8f8f9;
}

.fengxinlou-list__items.is-multi-select .fengxinlou-list-item {
  grid-template-columns: 22px 50px minmax(0, 1fr);
}

.fengxinlou-list-item__check {
  display: none;
  width: 18px;
  height: 18px;
  border: 1px solid #cfd1d8;
  border-radius: 50%;
  background: #ffffff;
  box-sizing: border-box;
}

.fengxinlou-list__items.is-multi-select .fengxinlou-list-item__check {
  display: block;
}

.fengxinlou-list-swipe.is-selected .fengxinlou-list-item__check {
  border-color: #111214;
  background: #111214;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.fengxinlou-list-item__avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fengxinlou-list-item__notification-dot {
  top: 1px;
  right: 1px;
}

.fengxinlou-list-item__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid #d9dbe1;
  border-radius: 50%;
  background: #f1f2f4;
  color: #555963;
  font-size: 14px;
  font-weight: 780;
  overflow: hidden;
}

.fengxinlou-list-item__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fengxinlou-list-item__content {
  min-width: 0;
}

.fengxinlou-list-item__top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.fengxinlou-list-item__name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.fengxinlou-list-item__name {
  min-width: 0;
  overflow: hidden;
  color: #111214;
  font-size: 15px;
  font-weight: 820;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fengxinlou-list-item__pin-badge,
.fengxinlou-list-item__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 7px;
  border: 1px solid #dfe1e6;
  border-radius: 999px;
  background: #ffffff;
  color: #656973;
  font-size: 9px;
  line-height: 1.25;
  white-space: nowrap;
}

.fengxinlou-list-item__pin-badge {
  border-color: rgba(17, 18, 20, 0.16);
  background: #111214;
  color: #ffffff;
  font-weight: 780;
}

.fengxinlou-list-item__time {
  flex: 0 0 auto;
  color: #a0a3ab;
  font-size: 10px;
}

.fengxinlou-list-item__preview {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #777b84;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fengxinlou-list-item__preview--empty {
  color: #b0b3ba;
}

.fengxinlou-empty {
  margin: 10px 10px 0;
}

.fengxinlou-empty__card {
  border: 1px solid #dedfe3;
  border-radius: 28px;
  background: #ffffff;
}

.fengxinlou-empty__title {
  margin: 0;
  padding: 34px 16px;
  color: #8e929b;
  font-size: 13px;
  text-align: center;
}

.fengxinlou-home-tabs {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 14px calc(10px + env(safe-area-inset-bottom));
  padding: 5px;
  border: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 28px rgba(18, 20, 25, 0.05), 0 8px 24px rgba(18, 20, 25, 0.06);
  backdrop-filter: blur(18px);
}

.fengxinlou-home-tab {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 40px;
  border: 0;
  border-radius: 21px;
  background: transparent;
  color: #969aa3;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fengxinlou-home-tab.is-active {
  background: #f0f1f3;
  color: #111214;
  box-shadow: none;
}

.fengxinlou-home-tab__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 20px;
  font-size: 16px;
  line-height: 1;
}

.fengxinlou-home-tab.is-active .fengxinlou-home-tab__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #111214;
  transform: translateX(-50%);
}

.fengxinlou-home-tab__label {
  font-size: 10px;
  line-height: 1;
  text-transform: none;
}

/* ===== 人际网 - 树形布局 ===== */

.fengxinlou-network-panel {
  height: 100%;
  min-height: 0;
  padding: 10px;
  box-sizing: border-box;
}

.fengxinlou-network-panel--tree {
  padding: 0;
}

.fengxinlou-network-tree-scroll {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 14px 10px 24px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.fengxinlou-network-tree-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fengxinlou-network-tree {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0;
  min-height: 0;
}

/* 我的节点 */
.fengxinlou-network-me {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 0 6px;
}

/* 树干线 */
.fengxinlou-network-tree__trunk {
  width: 2px;
  height: 18px;
  margin: 0 auto;
  background: #d7d9df;
  border-radius: 1px;
}

/* 行列表 */
.fengxinlou-network-rows {
  display: grid;
  gap: 2px;
  width: 100%;
}

/* 单行 */
.fengxinlou-network-row {
  position: relative;
  border: 1px solid rgba(28, 30, 36, 0.07);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(18, 20, 25, 0.04);
  overflow: visible;
}

.fengxinlou-network-row__main {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 56px;
  padding: 10px 10px 10px 0;
}

/* 连接线（行左侧） */
.fengxinlou-network-row__connector {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2px;
  background: #d7d9df;
  margin: 0 0 0 0;
  border-radius: 1px;
}

/* 关系标签 */
.fengxinlou-network-relation {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  max-width: 96px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #dfe1e6;
  border-radius: 999px;
  background: #f8f8f9;
  color: #555963;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.fengxinlou-network-relation:hover,
.fengxinlou-network-relation:active {
  border-color: #111214;
  background: #ffffff;
  color: #111214;
}

.fengxinlou-network-relation--main {
  margin: 0 6px;
}

.fengxinlou-network-relation--npc {
  margin: 0 4px;
  min-width: 36px;
  height: 22px;
  font-size: 10px;
  padding: 0 7px;
}

/* 节点 */
.fengxinlou-network-node {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 8px 4px 4px;
  border: 1px solid rgba(28, 30, 36, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #17181a;
  font: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.fengxinlou-network-node:hover {
  border-color: rgba(17, 18, 20, 0.18);
  box-shadow: 0 4px 12px rgba(18, 20, 25, 0.08);
}

.fengxinlou-network-node--me {
  border-color: #111214;
  border-width: 1.5px;
  padding: 5px 12px 5px 5px;
}

.fengxinlou-network-node--character {
  margin: 0 6px 0 0;
}

.fengxinlou-network-node--npc {
  padding: 3px 7px 3px 3px;
}

.fengxinlou-network-node__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d7d9df;
  border-radius: 50%;
  background: #f1f2f4;
  color: #555963;
  font-size: 12px;
  font-weight: 760;
  overflow: hidden;
  flex-shrink: 0;
}

.fengxinlou-network-node__avatar--me {
  width: 44px;
  height: 44px;
  border-color: #111214;
  border-width: 1.5px;
  background: #ffffff;
  color: #111214;
  font-size: 13px;
}

.fengxinlou-network-node__avatar--npc {
  width: 28px;
  height: 28px;
  border-color: #e0e2e7;
  background: #f7f7f8;
  color: #656973;
  font-size: 10px;
}

.fengxinlou-network-node__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fengxinlou-network-node__name {
  display: block;
  max-width: 80px;
  overflow: hidden;
  color: #383b42;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fengxinlou-network-node__name--me {
  color: #111214;
  font-weight: 820;
  font-size: 13px;
}

/* + NPC 按钮 */
.fengxinlou-network-add-npc {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 26px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px dashed #c8cad0;
  border-radius: 999px;
  background: transparent;
  color: #81858e;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.fengxinlou-network-add-npc:hover,
.fengxinlou-network-add-npc:active {
  border-color: #111214;
  color: #111214;
}

/* NPC 子行 */
.fengxinlou-network-row__npcs {
  display: grid;
  gap: 2px;
  padding: 0 10px 10px 56px;
}

.fengxinlou-network-npc {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 34px;
}

/* NPC 分支线 */
.fengxinlou-network-branch {
  flex: 0 0 20px;
  display: flex;
  align-items: center;
  height: 2px;
  background: #e4e5ea;
  border-radius: 1px;
}

/* 空状态 */
.fengxinlou-network-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 48px 20px;
  text-align: center;
}

.fengxinlou-network-empty__title {
  margin: 0;
  color: #8e929b;
  font-size: 14px;
  font-weight: 760;
}

.fengxinlou-network-empty__hint {
  margin: 0;
  color: #a8abb3;
  font-size: 12px;
  line-height: 1.5;
}

.fengxinlou-home-settings {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: min-content;
  padding: 12px 10px 20px;
  padding-bottom: calc(60px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.fengxinlou-home-settings__card,
.fengxinlou-home-settings__row,
.fengxinlou-home-settings__panel {
  border: 1px solid #dcdee4;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: none;
}

.fengxinlou-home-settings__card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.fengxinlou-home-settings__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #111214;
  border-radius: 50%;
  color: #111214;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.fengxinlou-home-settings__card h4 {
  margin: 0;
  color: #111214;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.fengxinlou-home-settings__card p {
  margin: 0;
  color: #878b94;
  font-size: 12px;
}

.fengxinlou-home-settings__panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 16px;
  box-sizing: border-box;
}

.fengxinlou-home-settings__panel-head {
  display: grid;
  gap: 5px;
}

.fengxinlou-home-settings__panel-head h5 {
  margin: 0;
  color: #111214;
  font-size: 15px;
  font-weight: 820;
  letter-spacing: -0.03em;
}

.fengxinlou-home-settings__panel-head p {
  margin: 0;
  color: #878b94;
  font-size: 11px;
  line-height: 1.45;
}

.fengxinlou-home-settings__field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.fengxinlou-home-settings__field span {
  color: #656973;
  font-size: 11px;
  font-weight: 760;
}

.fengxinlou-home-settings__input,
.fengxinlou-home-settings__select,
.fengxinlou-home-settings__textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe1e6;
  border-radius: 14px;
  background: #f8f8f9;
  color: #151619;
  font: inherit;
  font-size: 12px;
  outline: none;
  box-sizing: border-box;
}

.fengxinlou-home-settings__input,
.fengxinlou-home-settings__select {
  height: 34px;
  padding: 0 12px;
}

.fengxinlou-home-settings__textarea {
  min-height: 188px;
  padding: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  line-height: 1.5;
  resize: vertical;
}

.fengxinlou-home-settings__input:focus,
.fengxinlou-home-settings__select:focus,
.fengxinlou-home-settings__textarea:focus {
  border-color: rgba(17, 18, 20, 0.24);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(17, 18, 20, 0.06);
}

.fengxinlou-home-settings__inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.fengxinlou-home-settings__button,
.fengxinlou-home-settings__ghost-button {
  min-width: 0;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #dfe1e6;
  border-radius: 14px;
  background: #ffffff;
  color: #17181b;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
}

.fengxinlou-home-settings__button {
  justify-self: start;
  border-color: #111214;
  background: #111214;
  color: #ffffff;
}

.fengxinlou-home-settings__button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fengxinlou-home-settings__ghost-button--primary {
  border-color: #111214;
  background: #111214;
  color: #ffffff;
}

.fengxinlou-home-settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
}

.fengxinlou-home-settings__row span {
  color: #858992;
  font-size: 12px;
}

.fengxinlou-home-settings__row strong {
  color: #151619;
  font-size: 12px;
}

@media (max-width: 420px) {
  .fengxinlou-list-profile {
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 14px;
  }

  .fengxinlou-list-profile__avatar {
    width: 72px;
    height: 72px;
  }

  .fengxinlou-list-profile__avatar-inner {
    width: 66px;
    height: 66px;
  }

  .fengxinlou-list-categories {
    gap: 14px;
  }
}
