/* ═══════════════════════════════════════════════════════════════════════
       SCREEN: CHATS LIST
       ═══════════════════════════════════════════════════════════════════════ */
    .chats-search-wrap {
      padding: 0 16px 12px;
      flex-shrink: 0;
    }
    .chats-search {
      width: 100%;
      padding: 10px 16px 10px 40px;
      border-radius: var(--radius-full);
      border: 1px solid var(--border);
      background: var(--bg-elevated);
      color: #fff;
      font-size: 14px;
      outline: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: 14px center;
    }
    .chats-search::placeholder { color: var(--text-tertiary); }

    .chats-scroll {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .chat-list-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      cursor: pointer;
      transition: background 0.15s;
    }
    .chat-list-item:hover { background: rgba(255,255,255,0.04); }
    .chat-list-item:active { background: rgba(255,255,255,0.06); }
    .chat-list-item__avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
    }
    .chat-list-item__avatar img { width: 100%; height: 100%; object-fit: cover; }
    .chat-list-item__content {
      flex: 1;
      min-width: 0;
    }
    .chat-list-item__name {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 2px;
    }
    .chat-list-item__last-msg {
      font-size: 13px;
      color: var(--text-secondary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .chat-list-item__meta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 4px;
      flex-shrink: 0;
    }
    .chat-list-item__time {
      font-size: 11px;
      color: var(--text-tertiary);
    }
    .chat-list-item__unread {
      min-width: 20px;
      height: 20px;
      border-radius: 10px;
      background: var(--accent);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 6px;
    }
    .chats-empty {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 20px;
      text-align: center;
      color: var(--text-secondary);
    }
    .chats-empty__icon { font-size: 48px; margin-bottom: 16px; }
    .chats-empty__text { font-size: 14px; line-height: 1.5; }

    