

.fsw-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: fswFadeIn .15s var(--ease-out);
}

@keyframes fswFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fsw {
  width: 100%;
  max-width: 420px;
  max-height: 70vh;
  background: var(--c-surface);
  border-radius: 24px;
  border: 1px solid var(--c-border2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
  .fsw-overlay {
    align-items: flex-end;
  }
  .fsw {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 80vh;
  }
}


.fsw__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.fsw__title {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.fsw__close {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: var(--c-surface2);
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background .2s var(--ease-out);
}

.fsw__close:hover {
  background: var(--c-surface3);
}


.fsw__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.fsw__search i {
  font-size: 14px;
  color: var(--c-muted);
  flex-shrink: 0;
}

.fsw__search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 14px;
}

.fsw__search-input::placeholder {
  color: var(--c-muted2);
}


.fsw__list {
  flex: 1;
  overflow-y: auto;
}

.fsw__list::-webkit-scrollbar {
  display: none;
}


.fsw__user {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 12px;
  border-bottom: 1px solid var(--c-border);
  transition: background .15s var(--ease-out);
  cursor: pointer;
}

.fsw__user:hover {
  background: var(--c-surface2);
}

.fsw__user-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--c-surface3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--c-border);
}

.fsw__user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fsw__user-avatar i {
  font-size: 18px;
  color: var(--c-muted2);
}

.fsw__user-info {
  flex: 1;
  min-width: 0;
}

.fsw__user-name {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.01em;
}

.fsw__verified {
  color: var(--c-accent);
  font-size: 11px;
}

.fsw__user-handle {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--c-muted);
}


.fsw__send-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  background: var(--c-accent);
  color: var(--c-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all .2s var(--ease-out);
}

.fsw__send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px var(--c-accent-glow);
}

.fsw__send-btn:active {
  transform: scale(0.95);
}


.fsw__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--c-muted2);
  text-align: center;
}

.fsw__empty i {
  font-size: 40px;
}

.fsw__empty p {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--c-muted);
}